CN110097386A - Method and device for data processing - Google Patents

Method and device for data processing Download PDF

Info

Publication number
CN110097386A
CN110097386A CN201810092410.1A CN201810092410A CN110097386A CN 110097386 A CN110097386 A CN 110097386A CN 201810092410 A CN201810092410 A CN 201810092410A CN 110097386 A CN110097386 A CN 110097386A
Authority
CN
China
Prior art keywords
commodity
predetermined
storehouse
boot
attribute information
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
CN201810092410.1A
Other languages
Chinese (zh)
Other versions
CN110097386B (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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke 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 Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201810092410.1A priority Critical patent/CN110097386B/en
Priority to PCT/CN2019/073684 priority patent/WO2019149189A1/en
Publication of CN110097386A publication Critical patent/CN110097386A/en
Application granted granted Critical
Publication of CN110097386B publication Critical patent/CN110097386B/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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • 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/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0283Price estimation or determination
    • 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
    • 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/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Engineering & Computer Science (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a kind of method and device for data processing.It is related to computer information processing field, the purchase of predetermined commodity is instructed this method comprises: receiving and responding user, the predetermined commodity include price fluctuation commodity;The attribute information of the predetermined commodity is extracted by the relevant information of the predetermined commodity;According to the attribute information of the predetermined commodity by determining the boot commodity as the predetermined commodity in multiple first commodity in storehouse;And lower forms data is generated by the predetermined commodity and the boot commodity.Method and device disclosed in the present application for data processing, it can be frequent for price change, it needs in the transaction for obtaining supplier's real-time sale valence constantly that places an order, the positioning of price difference fill-ins, the calibration of commodity amount payable are carried out into, the experience problem and order contract dispute in goods purchase process are avoided.

Description

Method and device for data processing
Technical field
The present invention relates to computer information processing fields, in particular to a kind of method and dress for data processing It sets.
Background technique
It sells on the line of the trip class commodity such as travel in holiday and increasingly popularizes, but offer to be only capable of providing on line and estimate trigger price, because Commodity price fluctuation is frequent, the commodity amount payable that can be sold when the commodity price that foreground is shown is not necessarily user's bill of lading, User often forms interim order during purchase, and can customer service and user be needed under line just to can confirm that after linking up according to most Pay invoice after new amount payable change order.And it needs second of order side of user (or customer service replacement) progress to produce and deals with The accurate order to be paid of the amount of money.
In the prior art, it includes: text that solution to the problems described above, which mainly has commodity sequence, searches with traversal method, Correlation, characteristic value positioning etc..In the prior art, it can for example be solved the above problems by text relevant, as from commodity In title or description, the feature of the commodity can be represented by extracting a batch, utilize the target and source text of key search algorithm traversal It is whether related, including fuzzy correlation and accurate related two kinds of positioning methods.It in the prior art, can also such as characteristic value positioning side Method solves the above problems, usually by the speciality consistency of identification image, for example whether being identical or class with the picture retrieved As picture.
In the prior art, the floating part calibration of order amount payable needs to find suitable price difference fill-ins and just may be used To complete, price difference fill-ins must belong to identical category, same provider with to lower single commodity, could complete order submission. Firstly, text relevant algorithm is more suitable for user search commodity, the commodity without being suitably for only hiking find floating sale The price difference fill-ins of valence, this price difference fill-ins is not associated by text relevant, by needing commodity Place category, place supplier position.Secondly, characteristic value location algorithm is the retrieval of picture, nothing more suitable for source data The positioning of method progress category and supplier.Finally, the lookup of price difference fill-ins and place an order, purchase user must unaware, need The computational valid time of tp99 or more is wanted, two methods in the prior art can not accomplish timeliness of trading.
Therefore, it is necessary to a kind of new method and devices for data processing.
Above- mentioned information are only used for reinforcing the understanding to background of the invention, therefore it disclosed in the background technology part It may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
In view of this, the present invention provides a kind of method and device for data processing, it can be frequent for price change, It needs in the transaction for obtaining supplier's real-time sale valence constantly that places an order, carries out dealing with gold at the positioning of price difference fill-ins, commodity Volume calibration avoids experience problem and order contract dispute in goods purchase process.
Other characteristics and advantages of the invention will be apparent from by the following detailed description, or partially by the present invention Practice and acquistion.
According to an aspect of the invention, it is proposed that a kind of method for data processing, this method comprises: receiving and responding use Family instructs the purchase of predetermined commodity, and the predetermined commodity include price fluctuation commodity;Pass through the correlation letter of the predetermined commodity Breath extracts the attribute information of the predetermined commodity;According to the attribute information of the predetermined commodity by determining multiple first quotient in storehouse The boot commodity as the predetermined commodity in product;And under being generated by the predetermined commodity and the boot commodity Forms data.
In a kind of exemplary embodiment of the disclosure, further includes: when in the storehouse do not include and the predetermined commodity Attribute information corresponding first commodity when, establish first quotient corresponding with the attribute information of the predetermined commodity Product.
In a kind of exemplary embodiment of the disclosure, further includes: establish the storehouse by multiple first commodity.
In a kind of exemplary embodiment of the disclosure, the attribute information according to the predetermined commodity is by true in storehouse The boot commodity as the predetermined commodity in fixed multiple first commodity, comprising: extract the attribute of the predetermined commodity Information;Obtain the weight of the first commodity of each of the multiple first commodity;According to the attribute information and the weight, First commodity corresponding with the predetermined commodity are determined in the storehouse;And using first commodity as the benefit Valence commodity.
It is described by under the predetermined commodity and boot commodity generation in a kind of exemplary embodiment of the disclosure Forms data, comprising: determine the quantity of the boot commodity, generate boot merchandise news;By the boot merchandise news with it is described The relevant information of predetermined commodity inputs lower one-pipe, generates the lower forms data.
It is described to work as the category not included in the storehouse with the predetermined commodity in a kind of exemplary embodiment of the disclosure Property information corresponding first commodity when, establish first commodity corresponding with the attribute information of the predetermined commodity, wrap It includes: establishing the first commodity for making a reservation for unit price, first commodity are identical as the attribute information of the predetermined commodity;It will be newly-established First commodity are inserted into the storehouse;And the index by storehouse described in MAX-HEAP-INSERT plant maintenance.
It is described to establish the storehouse by multiple first commodity in a kind of exemplary embodiment of the disclosure, comprising: logical Current all predetermined commodity and the multiple first commodity sequence are crossed, incidence matrix is obtained;The multiple first commodity are set Initial weight sequence;And weight sequence is determined by iterative calculation by the incidence matrix and initial weight sequence.
In a kind of exemplary embodiment of the disclosure, the iterative calculation includes:
Di=LDi-1
Wherein,For the initial weight sequence, DiFor i-th iteration numerical value, L is the association Matrix, n are the quantity of the first commodity.
In a kind of exemplary embodiment of the disclosure, further includes: utilize process MAX- using bottom-up method HEAPIFY constructs a most raft, as the storehouse.
In a kind of exemplary embodiment of the disclosure, further includes: according to category temperature, history sales volume, businessman's day degree is fixed Shi Gengxin incidence matrix.
In a kind of exemplary embodiment of the disclosure, comprising: receiving module, for receiving and responding user to predetermined quotient The purchase of product instructs, and the predetermined commodity include price fluctuation commodity;Information module, for the correlation by the predetermined commodity The attribute information of predetermined commodity described in information extraction;Boot module, for according to the attribute information of the predetermined commodity by storehouse The boot commodity as the predetermined commodity in middle multiple first commodity of determination;And lower single module, for passing through It states predetermined commodity and the boot commodity generates lower forms data.
In a kind of exemplary embodiment of the disclosure, the boot module, comprising: judging submodule, for when described When not including first commodity corresponding with the attribute information of the predetermined commodity in storehouse, establish and the predetermined commodity Corresponding first commodity of attribute information.
In a kind of exemplary embodiment of the disclosure, further includes: stack module, for being established by multiple first commodity The storehouse.
According to an aspect of the invention, it is proposed that a kind of electronic equipment, which includes: one or more processors; Storage device, for storing one or more programs;When one or more programs are executed by one or more processors, so that one A or multiple processors realize such as methodology above.
According to an aspect of the invention, it is proposed that a kind of computer-readable medium, is stored thereon with computer program, the program Method as mentioned in the above is realized when being executed by processor.
Method and device according to the present invention for data processing, can be frequent for price change, needs placing an order Moment obtains in the transaction of supplier's real-time sale valence, calibrate at the positioning of price difference fill-ins, commodity amount payable, avoids Experience problem and order contract dispute in goods purchase process.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited Invention.
Detailed description of the invention
Its example embodiment is described in detail by referring to accompanying drawing, above and other target of the invention, feature and advantage will It becomes more fully apparent.Drawings discussed below is only some embodiments of the present invention, for the ordinary skill of this field For personnel, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of system block diagram of method for data processing shown according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of method for data processing shown according to an exemplary embodiment.
Fig. 3 is a kind of flow chart of the method for data processing shown according to another exemplary embodiment.
Fig. 4 is a kind of block diagram of device for data processing shown according to an exemplary embodiment.
Fig. 5 is a kind of block diagram of device for data processing shown according to an exemplary embodiment.
Fig. 6 is the block diagram of a kind of electronic equipment shown according to an exemplary embodiment.
Fig. 7 schematically shows a kind of computer readable storage medium schematic diagram in disclosure exemplary embodiment.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be real in a variety of forms It applies, and is not understood as limited to embodiment set forth herein;On the contrary, thesing embodiments are provided so that the present invention will be comprehensively and complete It is whole, and the design of example embodiment is comprehensively communicated to those skilled in the art.Identical appended drawing reference indicates in figure Same or similar part, thus repetition thereof will be omitted.
In addition, described feature, structure or characteristic can be incorporated in one or more implementations in any suitable manner In example.In the following description, many details are provided to provide and fully understand to the embodiment of the present invention.However, It will be appreciated by persons skilled in the art that technical solution of the present invention can be practiced without one or more in specific detail, Or it can be using other methods, constituent element, device, step etc..In other cases, it is not shown in detail or describes known side Method, device, realization or operation are to avoid fuzzy each aspect of the present invention.
Block diagram shown in the drawings is only functional entity, not necessarily must be corresponding with physically separate entity. I.e., it is possible to realize these functional entitys using software form, or realized in one or more hardware modules or integrated circuit These functional entitys, or these functional entitys are realized in heterogeneous networks and/or processor device and/or microcontroller device.
Flow chart shown in the drawings is merely illustrative, it is not necessary to including all content and operation/step, It is not required to execute by described sequence.For example, some operation/steps can also decompose, and some operation/steps can close And or part merge, therefore the sequence actually executed is possible to change according to the actual situation.
It should be understood that although herein various assemblies may be described using term first, second, third, etc., these groups Part should not be limited by these terms.These terms are to distinguish a component and another component.Therefore, first group be discussed herein below Part can be described as the second component without departing from the teaching of disclosure concept.As used herein, term " and/or " include associated All combinations for listing any of project and one or more.
It will be understood by those skilled in the art that attached drawing is the schematic diagram of example embodiment, module or process in attached drawing Necessary to not necessarily implementing the present invention, therefore it cannot be used for limiting the scope of the invention.
Fig. 1 is a kind of system block diagram of method for data processing shown according to an exemplary embodiment.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104 and server 105. Network 104 between terminal device 101,102,103 and server 105 to provide the medium of communication link.Network 104 can be with Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 101,102,103 and be interacted by network 104 with server 105, to receive or send out Send message etc..Various telecommunication customer end applications, such as the application of shopping class, net can be installed on terminal device 101,102,103 The application of page browsing device, searching class application, instant messaging tools, mailbox client, social platform software etc..
Terminal device 101,102,103 can be the various electronic equipments with display screen and supported web page browsing, packet Include but be not limited to smart phone, tablet computer, pocket computer on knee and desktop computer etc..
Server 105 can be to provide the server of various services, such as utilize terminal device 101,102,103 to user The shopping class website browsed provides the back-end data management server (merely illustrative) supported.Back-end data management server can Analyze etc. processing to data such as the information query requests received, and (such as target push is believed by processing result Breath, product information) feed back to terminal device.
It should be noted that the method provided by the embodiment of the present application for data processing is generally held by server 105 Row, correspondingly, auto-building html files device is generally positioned in client 101.
Fig. 2 is a kind of flow chart of method for data processing shown according to an exemplary embodiment.
As shown in Fig. 2, in S202, the purchase instruction for receiving and responding user to predetermined commodity, the predetermined commodity bundle Include price fluctuation commodity.Predetermined commodity may be, for example, the trip class commodity such as travel in holiday, also may be, for example, to offer to be only capable of mentioning on line For estimating the commodity of trigger price, predetermined commodity also may be, for example, price fluctuation commodity, and the application is not limited.In this application, Trigger price refers to lowest price of certain commodity within one section of date, time (such as moving in time, travel time, the departure time).It is floating Dynamic sale price refers to: the real-time sale valence that commodity under the time can strike a bargain is moved in trip selected by consumer, be one with the date, The value that time change is floated.In this application, predetermined commodity also may be, for example, commodity to be calibrated: only hiking, has the pin that floats The commodity of price characteristic.
In S204, the attribute information of the predetermined commodity is extracted by the relevant information of the predetermined commodity.As above Described, the floating part calibration of order amount payable, which needs to find suitable price difference fill-ins, can just complete, price difference supplement Commodity must belong to identical category, same provider with to lower single commodity, could complete order submission.The attribute information of commodity can The businessman of category, predetermined merchandise sales for example including predetermined commodity, Sales Volume of Commodity temperature weight etc..In this application, it answers It pays the amount of money to refer to: when consumer buys commodity, when the secondary amount of money for needing to pay.
In S206, according to the attribute information of the predetermined commodity by determining a work in multiple first commodity in storehouse For the boot commodity of the predetermined commodity.In one embodiment of the application, the storehouse is established by multiple first commodity. It can be for example, extracting the attribute information of the predetermined commodity;Obtain the power of the first commodity of each of the multiple first commodity Weight;According to the attribute information and the weight, first quotient corresponding with the predetermined commodity is determined in the storehouse Product;And using first commodity as the boot commodity.Boot commodity, also referred to as price difference fill-ins, to guarantee Commodity can be sold according to real-time sale valence, and need to fill into a commodity of order automatically, can will be risen by this commodity The difference (price difference) of valence and amount payable supplement is complete.In this application, the benefit to be selected in order to avoid obscuring, in storehouse Valence commodity are defined as the first commodity.
In S208, lower forms data is generated by the predetermined commodity and the boot commodity.It can be for example, determining the benefit The quantity of valence commodity generates boot merchandise news;The boot merchandise news and the relevant information of the predetermined commodity are inputted Lower one-pipe generates the lower forms data.
Method according to the present invention for data processing, by storing boot commodity in the storehouse pre-established, When single under predetermined commodity, according to the corresponding boot commodity of the attribute information real-time calling of predetermined commodity and then lower forms data is generated Mode, can be frequent for price change, needs to carry out in the transaction for obtaining supplier's real-time sale valence constantly that places an order into difference Commodity attribute, the calibration of commodity amount payable are filled in price subsidies, avoid the experience problem and order contract dispute in goods purchase process.And And guarantee the timeliness of transaction.Wherein, transaction timeliness refers to that one of requisite item of transaction system generally requires electric business system System smooth non-delay and Caton during order is submitted, the performance indicator usually measured are tp90 and tp99.
It will be clearly understood that the present disclosure describe how being formed and using particular example, but the principle of the present invention is not limited to These exemplary any details.On the contrary, the introduction based on present disclosure, these principles can be applied to many other Embodiment.
In a kind of exemplary embodiment of the disclosure, further includes: when in the storehouse do not include and the predetermined commodity Attribute information corresponding first commodity when, establish first quotient corresponding with the attribute information of the predetermined commodity Product.
Fig. 3 is a kind of flow chart of the method for data processing shown according to another exemplary embodiment.Fig. 3 is pair The exemplary description of method for data processing.
In S302, user selects commodity to prepare to submit order, and user selects commodity among multiple predetermined commodity.
In S304, the first commodity storehouse is traversed, boot commodity are judged whether there is, when there are boot commodity in storehouse When, S306 is entered step, S308 is otherwise entered.
In S306, boot commodity are determined.
In S308, the first commodity are created.
In S310, creates boot commodity and be inserted into storehouse.
In S312, boot commodity and predetermined commodity carry out price fluctuation and calibrate operation.
In S314, price updating is completed according to amount payable and is placed an order.
In a kind of exemplary embodiment of the disclosure, further includes: establish the storehouse by multiple first commodity.At this It is arranged as follows in application:
Order commodity collection is submitted to be combined into S={ SKU1, SKU2... SKUn,
Predetermined commodity are K={ SKUx, SKUy... SKUm,
Amount payable is
Commodity trigger price
First commodity index storehouse H.
As H==Null, the first commodity are initialized according to following steps and index storehouse H.
Step 1: setting the first goods weight sequence as D=[SKU1, SKU2..., SKUm]T
Step 2: the commodity issued at present according to businessman, traversal is searched at present using in the first goods weight sequence D The commodity that SKU is paired unsalable goods up with goods that sell well obtain SKU incidence matrix:
L in formulaabIndicate SKUa, SKUbBetween mutually pair unsalable goods up with goods that sell well the quantity of commodity.
Step 3: the value in initializing set the first goods weight sequence D is
Show that iterative formula is D step 4: can deduce at this timei=LDi-1, can prove that D can be final after successive ignition Convergence, i.e. Di≈Di-1, finally obtaining the first goods weight sequence is D.
Step 5: in above-mentioned step 4 can optimization processing be the numerical value in SKU incidence matrix L is averaged first, if mean valueWherein ∝ is a lesser constant.Think that SKU incidence matrix is sparse at this time, iterative formula is smoothly located Reason optimization are as follows:
In formula, I is unit matrix.
Step 6: being based on acquired first goods weight sequence D, process MAX- is utilized using bottom-up method HEAPIFY constructs a most raft.
If: predetermined commodity are SKUα(α >=x, α≤m), amount payableCommodity trigger priceObtain its category Cid and affiliated supplier venderid is traversed into the first commodity storehouse H, obtains SKUαThe first commodity SKUβ
Work as SKUβWhen==Null, i.e. SKUβNot in the first commodity index storehouse H, the first new commodity SKU need to be createdβ, And it is added into the first commodity index storehouse H;
If SKUβUnit priceMember, category cid, affiliated supplier be venderid and SKUαIt is identical;
If the first commodity SKUβComprehensive weight, according to weight equation complete the first commodity be inserted into storehouse H;
Firstly, by SKUβIt is added in the first goods weight sequence D, identifies SKUβSituation is paired unsalable goods up with goods that sell well with other SKU, is re-started The first step in storehouse index is established to the 5th step, is then indexed using the first commodity of MAX-HEAP-INSERT plant maintenance Storehouse H.
Dynamic updates SKU incidence matrix L:
Periodically according to category temperature storehouse weight q, history sales volume storehouse weight t, businessman temperature weight f, dynamic updates SKU Incidence matrixMore new algorithm can be adjusted according to market real-time condition.
Floating sale price calibration value γ
To SKUαCalibrator completes combination:
As α < m, then only needs to enter initial step, complete whole K={ SKUx, SKUy... SKUmUnder calibration;
Method according to the present invention for data processing, can be frequent in price change, needs to be obtained constantly placing an order In the transaction of supplier's real-time sale valence, the real-time sale valence provided by calibrator according to supplier interface accurately places an order, and leads to Heap row and the Stack walk mechanism for crossing comprehensive weight, complete the positioning of price difference fill-ins, the calibration of commodity amount payable, promote user Experience reduces customer service pressure, quickly puts through deal.Comprehensive weight refers to set category weight, businessman's weight and sales volume power The average weight value being integrated again.
In this application, the creation of the first commodity also for example can carry out heap row by first in first out, last in first out, can press It is indexed, is completed after heap is arranged for traversal according to time sequencing.
In this application, predetermined commodity can for example carry out parallel calibration, without looping through, be able to ascend higher efficiency.
It will be appreciated by those skilled in the art that realizing that all or part of the steps of above-described embodiment is implemented as being executed by CPU Computer program.When the computer program is executed by CPU, above-mentioned function defined by the above method provided by the invention is executed Energy.The program can store in a kind of computer readable storage medium, which can be read-only memory, magnetic Disk or CD etc..
Further, it should be noted that above-mentioned attached drawing is only place included by method according to an exemplary embodiment of the present invention Reason schematically illustrates, rather than limits purpose.It can be readily appreciated that above-mentioned processing shown in the drawings is not indicated or is limited at these The time sequencing of reason.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
Following is apparatus of the present invention embodiment, can be used for executing embodiment of the present invention method.For apparatus of the present invention reality Undisclosed details in example is applied, embodiment of the present invention method is please referred to.
Fig. 4 is a kind of block diagram of device for data processing shown according to an exemplary embodiment.At data The device 40 of reason includes: receiving module 402, information module 404, boot module 406, lower list module 408.
Receiving module 402 is used to receive and respond user and instructs to the purchase of predetermined commodity, and the predetermined commodity include valence Lattice floating commodity.The predetermined commodity include price fluctuation commodity.Predetermined commodity may be, for example, the trip class commodity such as travel in holiday, It also may be, for example, to offer to be only capable of providing the commodity for estimating trigger price on line, predetermined commodity also may be, for example, price fluctuation commodity, this Shen It please be not limited.In this application, trigger price refers to that certain commodity (is such as moved in the time, the travel time, risen in one section of date, time Fly time etc.) in lowest price.Floating sale price refers to: trip selected by consumer moves in what commodity under the time can strike a bargain Real-time sale valence is the value floated with date, time change.In this application, predetermined commodity also may be, for example, to be calibrated Commodity: only hiking, the commodity with floating sale price characteristic.
Information module 404 is used to extract the attribute information of the predetermined commodity by the relevant information of the predetermined commodity. The floating part calibration of order amount payable, which needs to find suitable price difference fill-ins, can just complete, and price difference fill-ins must Identical category, same provider must be belonged to lower single commodity, order submission could be completed.The attribute information of commodity can be wrapped for example Include the category of predetermined commodity, the businessman of predetermined merchandise sales, Sales Volume of Commodity temperature weight etc..In this application, amount payable Refer to: when consumer buys commodity, when the secondary amount of money for needing to pay.
Boot module 406 is used for the attribute information according to the predetermined commodity by determining in multiple first commodity in storehouse One boot commodity as the predetermined commodity.Further include: judging submodule, for do not include in the storehouse with it is described When corresponding first commodity of the attribute information of predetermined commodity, establish it is corresponding with the attribute information of the predetermined commodity described in First commodity.
Lower list module 408 is used to generate lower forms data by the predetermined commodity and the boot commodity.Determine the benefit The quantity of valence commodity generates boot merchandise news;The boot merchandise news and the relevant information of the predetermined commodity are inputted Lower one-pipe generates the lower forms data.
Further include: stack module (not shown) is used to establish the storehouse by multiple first commodity.
Device according to the present invention for data processing, by storing boot commodity in the storehouse pre-established, When single under predetermined commodity, according to the corresponding boot commodity of the attribute information real-time calling of predetermined commodity and then lower forms data is generated Mode, can be frequent for price change, needs to carry out in the transaction for obtaining supplier's real-time sale valence constantly that places an order into difference Commodity attribute, the calibration of commodity amount payable are filled in price subsidies, avoid the experience problem and order contract dispute in goods purchase process.And And guarantee the timeliness of transaction.Wherein, transaction timeliness refers to that one of requisite item of transaction system generally requires electric business system System smooth non-delay and Caton during order is submitted, the performance indicator usually measured are tp90 and tp99.
Fig. 5 is a kind of block diagram of device for data processing shown according to an exemplary embodiment.At data The device 50 of reason includes: receiving module 502, calibrator module 504, price difference fill-ins stack module 506, lower list module 508.
Wherein, receiving module 502 instruct the purchase of predetermined commodity for receiving and responding user.Only hike commodity When lower single, providing its floating sale price calibrator parameter, (containing commodity SKU to be calibrated, commodity are dealt under the currently selected travel time The amount of money);
Calibrator module 504, in the price difference fill-ins storehouse arranged with comprehensive weight heap, according to the product of commodity to be calibrated Class, businessman, sales volume temperature weight, find legal price difference fill-ins.
Stack module 506, for creating price difference fill-ins, newly-built commodity are needed according to above-mentioned category, businessman, sales volume Temperature weight carries out heap row's application, updates the price difference fill-ins storehouse arranged with comprehensive weight heap.
Lower list module 508, calculates the supplemental amount of price difference fill-ins, completes floating sale price calibrator and calculates, to school 5. quasi- commodity SKU and price difference fill-ins enter lower one-pipe simultaneously, complete accurate amount payable and place an order.
Device according to the present invention for data processing, floating sale price calibrator can by product characteristics to be calibrated, It is quickly traversed and fixed in storehouse according to the comprehensive weight of the category temperature weight of commodity to be calibrated, businessman's temperature, sales volume Position.Newly-established price difference fill-ins carries out heap row also according to comprehensive weight, is convenient for subsequent quick-searching.And it completes to school The floating sale price of quasi- commodity and price difference fill-ins is calibrated, and realization, which is combined, to place an order.
Fig. 6 is the block diagram of a kind of electronic equipment shown according to an exemplary embodiment.
The electronic equipment 200 of this embodiment according to the present invention is described referring to Fig. 6.The electronics that Fig. 6 is shown Equipment 200 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in fig. 6, electronic equipment 200 is showed in the form of universal computing device.The component of electronic equipment 200 can wrap It includes but is not limited to: at least one processing unit 210, at least one storage unit 220, (including the storage of the different system components of connection Unit 220 and processing unit 210) bus 230, display unit 240 etc..
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 210 Row, so that the processing unit 210 executes described in this specification above-mentioned electronic prescription circulation processing method part according to this The step of inventing various illustrative embodiments.For example, the processing unit 210 can be executed such as Fig. 2, walked shown in Fig. 3 Suddenly.
The storage unit 220 may include the readable medium of volatile memory cell form, such as random access memory Unit (RAM) 2201 and/or cache memory unit 2202 can further include read-only memory unit (ROM) 2203.
The storage unit 220 can also include program/practical work with one group of (at least one) program module 2205 Tool 2204, such program module 2205 includes but is not limited to: operating system, one or more application program, other programs It may include the realization of network environment in module and program data, each of these examples or certain combination.
Bus 230 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures Local bus.
Electronic equipment 200 can also be with one or more external equipments 300 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 200 communicate, and/or with make Any equipment (such as the router, modulation /demodulation that the electronic equipment 200 can be communicated with one or more of the other calculating equipment Device etc.) communication.This communication can be carried out by input/output (I/O) interface 250.Also, electronic equipment 200 can be with By network adapter 260 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, Such as internet) communication.Network adapter 260 can be communicated by bus 230 with other modules of electronic equipment 200.It should Understand, although not shown in the drawings, other hardware and/or software module can be used in conjunction with electronic equipment 200, including but unlimited In: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and number According to backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the disclosure The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating Equipment (can be personal computer, server or network equipment etc.) executes the above-mentioned electronics according to disclosure embodiment Prescription circulation processing method.
Fig. 7 schematically shows a kind of computer readable storage medium schematic diagram in disclosure exemplary embodiment.
Refering to what is shown in Fig. 7, describing the program product for realizing the above method of embodiment according to the present invention 400, can using portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device, Such as it is run on PC.However, program product of the invention is without being limited thereto, in this document, readable storage medium storing program for executing can be with To be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or It is in connection.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
The computer readable storage medium may include in a base band or the data as the propagation of carrier wave a part are believed Number, wherein carrying readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetism Signal, optical signal or above-mentioned any appropriate combination.Readable storage medium storing program for executing can also be any other than readable storage medium storing program for executing Readable medium, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or Person's program in connection.The program code for including on readable storage medium storing program for executing can transmit with any suitable medium, packet Include but be not limited to wireless, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages Code, described program design language include object oriented program language-Java, C++ etc., further include conventional mistake Formula programming language-such as " C " language or similar programming language.Program code can be calculated fully in user It executes in equipment, partly execute on a user device, executing, as an independent software package partially in user calculating equipment Upper part executes on a remote computing or executes in remote computing device or server completely.It is being related to remotely counting In the situation for calculating equipment, remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network (WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP To be connected by internet).
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by one When the equipment executes, so that the computer-readable medium implements function such as: receiving and respond purchase of the user to predetermined commodity Instruction, the predetermined commodity include price fluctuation commodity;The predetermined commodity are extracted by the relevant information of the predetermined commodity Attribute information;According to the attribute information of the predetermined commodity as being determined in storehouse described in a conduct in multiple first commodity The boot commodity of predetermined commodity;And lower forms data is generated by the predetermined commodity and the boot commodity.
It will be appreciated by those skilled in the art that above-mentioned each module can be distributed in device according to the description of embodiment, it can also Uniquely it is different from one or more devices of the present embodiment with carrying out corresponding change.The module of above-described embodiment can be merged into One module, can also be further split into multiple submodule.
By the description of above embodiment, those skilled in the art is it can be readily appreciated that example embodiment described herein It can also be realized in such a way that software is in conjunction with necessary hardware by software realization.Therefore, implement according to the present invention The technical solution of example can be embodied in the form of software products, which can store in a non-volatile memories In medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) or on network, including some instructions are so that a calculating equipment (can To be personal computer, server, mobile terminal or network equipment etc.) it executes according to the method for the embodiment of the present invention.
It is particularly shown and described exemplary embodiment of the present invention above.It should be appreciated that the present invention is not limited to Detailed construction, set-up mode or implementation method described herein;On the contrary, it is intended to cover included in appended claims Various modifications and equivalence setting in spirit and scope.
In addition, structure shown by this specification Figure of description, ratio, size etc., only to cooperate specification institute Disclosure, for skilled in the art realises that be not limited to the enforceable qualifications of the disclosure with reading, therefore Do not have technical essential meaning, the modification of any structure, the change of proportionate relationship or the adjustment of size are not influencing the disclosure Under the technical effect and achieved purpose that can be generated, it should all still fall in technology contents disclosed in the disclosure and obtain and can cover In the range of.Meanwhile cited such as "upper" in this specification, " first ", " second " and " one " term, be also only and be convenient for Narration is illustrated, rather than to limit the enforceable range of the disclosure, relativeness is altered or modified, without substantive change Under technology contents, when being also considered as the enforceable scope of the present invention.

Claims (15)

1. a kind of method for data processing characterized by comprising
It receives and responds user and the purchase of predetermined commodity is instructed, the predetermined commodity include price fluctuation commodity;
The attribute information of the predetermined commodity is extracted by the relevant information of the predetermined commodity;
The predetermined quotient is used as by one determined in multiple first commodity in storehouse according to the attribute information of the predetermined commodity The boot commodity of product;And
Lower forms data is generated by the predetermined commodity and the boot commodity.
2. the method as described in claim 1, which is characterized in that further include:
When in the storehouse do not include first commodity corresponding with the attribute information of the predetermined commodity when, establish with it is described Corresponding first commodity of the attribute information of predetermined commodity.
3. the method as described in claim 1, which is characterized in that further include:
The storehouse is established by multiple first commodity.
4. the method as described in claim 1, which is characterized in that the attribute information according to the predetermined commodity is by storehouse Determine the boot commodity as the predetermined commodity in multiple first commodity, comprising:
Extract the attribute information of the predetermined commodity;
Obtain the weight of the first commodity of each of the multiple first commodity;
According to the attribute information and the weight, first quotient corresponding with the predetermined commodity is determined in the storehouse Product;And
Using first commodity as the boot commodity.
5. the method as described in claim 1, which is characterized in that described to be generated by the predetermined commodity and the boot commodity Lower forms data, comprising:
It determines the quantity of the boot commodity, generates boot merchandise news;
The boot merchandise news and the relevant information of the predetermined commodity are inputted into lower one-pipe, generate the lower forms data.
6. method according to claim 2, which is characterized in that described not include in the storehouse and the predetermined commodity When corresponding first commodity of attribute information, first commodity corresponding with the attribute information of the predetermined commodity are established, Include:
The first commodity for making a reservation for unit price are established, first commodity are identical as the attribute information of the predetermined commodity;
Newly-established first commodity are inserted into the storehouse;And
Pass through the index of storehouse described in MAX-HEAP-INSERT plant maintenance.
7. method as claimed in claim 3, which is characterized in that described to establish the storehouse by multiple first commodity, comprising:
By current all predetermined commodity and the multiple first commodity sequence, incidence matrix is obtained;
The initial weight sequence of the multiple first commodity is set;And
Weight sequence is determined by iterative calculation by the incidence matrix and initial weight sequence.
8. the method for claim 7, which is characterized in that the iterative calculation includes:
Di=LDi-1
Wherein,For the initial weight sequence, DiFor i-th iteration numerical value, L is the association square Battle array, n are the quantity of the first commodity.
9. the method for claim 7, which is characterized in that further include:
One most raft is constructed using process MAX-HEAPIFY using bottom-up method, as the storehouse.
10. the method for claim 7, which is characterized in that further include:
According to category temperature, history sales volume, businessman's temperature, timing update incidence matrix.
11. a kind of device for data processing characterized by comprising
Receiving module instructs the purchase of predetermined commodity for receiving and responding user, and the predetermined commodity include price fluctuation Commodity;
Information module, for extracting the attribute information of the predetermined commodity by the relevant information of the predetermined commodity;
Boot module, for the attribute information according to the predetermined commodity by determining a work in multiple first commodity in storehouse For the boot commodity of the predetermined commodity;And
Lower list module, for generating lower forms data by the predetermined commodity and the boot commodity.
12. device as claimed in claim 11, which is characterized in that the boot module, comprising:
Judging submodule does not include first quotient corresponding with the attribute information of the predetermined commodity for working as in the storehouse When product, first commodity corresponding with the attribute information of the predetermined commodity are established.
13. device as claimed in claim 11, which is characterized in that further include:
Stack module, for establishing the storehouse by multiple first commodity.
14. a kind of electronic equipment characterized by comprising
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The now method as described in any in claim 1-10.
15. a kind of computer-readable medium, is stored thereon with computer program, which is characterized in that described program is held by processor The method as described in any in claim 1-10 is realized when row.
CN201810092410.1A 2018-01-30 2018-01-30 Method and device for data processing Active CN110097386B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810092410.1A CN110097386B (en) 2018-01-30 2018-01-30 Method and device for data processing
PCT/CN2019/073684 WO2019149189A1 (en) 2018-01-30 2019-01-29 Method and device for data processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810092410.1A CN110097386B (en) 2018-01-30 2018-01-30 Method and device for data processing

Publications (2)

Publication Number Publication Date
CN110097386A true CN110097386A (en) 2019-08-06
CN110097386B CN110097386B (en) 2024-06-18

Family

ID=67442862

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810092410.1A Active CN110097386B (en) 2018-01-30 2018-01-30 Method and device for data processing

Country Status (2)

Country Link
CN (1) CN110097386B (en)
WO (1) WO2019149189A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113902467A (en) * 2021-09-14 2022-01-07 特赞(上海)信息科技有限公司 Method and system for matching supply and demand based on design service industry SKU and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020138400A1 (en) * 2000-06-30 2002-09-26 Kitchen Louise J. Buying and selling goods and services using automated method and apparatus
CN102402757A (en) * 2010-09-15 2012-04-04 阿里巴巴集团控股有限公司 Method and device for providing information, and method and device for determining comprehensive relevance
CN105894347A (en) * 2016-03-11 2016-08-24 上海鸿安能源科技有限公司 Fluctuating valuation method for oil product transaction website
CN106022888A (en) * 2016-05-27 2016-10-12 北京众成汇通信息技术有限公司 Goods recommendation method and device
CN107180371A (en) * 2016-03-11 2017-09-19 北京京东尚科信息技术有限公司 The method and system of commodity is bought using reward voucher
CN107248096A (en) * 2017-04-20 2017-10-13 多点生活(中国)网络科技有限公司 Order processing method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020138400A1 (en) * 2000-06-30 2002-09-26 Kitchen Louise J. Buying and selling goods and services using automated method and apparatus
CN102402757A (en) * 2010-09-15 2012-04-04 阿里巴巴集团控股有限公司 Method and device for providing information, and method and device for determining comprehensive relevance
CN105894347A (en) * 2016-03-11 2016-08-24 上海鸿安能源科技有限公司 Fluctuating valuation method for oil product transaction website
CN107180371A (en) * 2016-03-11 2017-09-19 北京京东尚科信息技术有限公司 The method and system of commodity is bought using reward voucher
CN106022888A (en) * 2016-05-27 2016-10-12 北京众成汇通信息技术有限公司 Goods recommendation method and device
CN107248096A (en) * 2017-04-20 2017-10-13 多点生活(中国)网络科技有限公司 Order processing method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113902467A (en) * 2021-09-14 2022-01-07 特赞(上海)信息科技有限公司 Method and system for matching supply and demand based on design service industry SKU and storage medium

Also Published As

Publication number Publication date
CN110097386B (en) 2024-06-18
WO2019149189A1 (en) 2019-08-08

Similar Documents

Publication Publication Date Title
CN107729937A (en) For determining the method and device of user interest label
CN109697641A (en) The method and apparatus for calculating commodity similarity
KR102250131B1 (en) Method and apparatus for recommending supply companies to demand companies for inter-company transactions
CN113643103A (en) Product recommendation method, device, equipment and storage medium based on user similarity
CN107590678A (en) Method of Commodity Recommendation and system
CN110827112A (en) Deep learning commodity recommendation method and device, computer equipment and storage medium
CN110852818A (en) Commodity sorting method and device and computer-readable storage medium
KR20200041173A (en) Product information batch registration system and method for a plurality of open markets
CN110348921A (en) The method and apparatus that shops&#39;s article is chosen
WO2014110950A1 (en) Method and device for pushing information
CN110020124A (en) The method and device excavated for Related product
CN110399479A (en) Search for data processing method, device, electronic equipment and computer-readable medium
Abdullah et al. Evaluating E-commerce website content management system in assisting usability issues
CN103885767A (en) System and method used for geographical area correlated websites
CN109978306B (en) Data processing method and device
CN110097386A (en) Method and device for data processing
CN112348300A (en) Method and device for pushing information
CN114429384A (en) Intelligent product recommendation method and system based on e-commerce platform
KR20210004086A (en) Apparatus for automatically adjusting prices
CN109903104A (en) Method and device for data analysis
CN113449175A (en) Hot data recommendation method and device
CN101211449A (en) Consumer oriented services system and method
CN113762992A (en) Method and device for processing data
CN103455566A (en) Information display method and device
CN109992714A (en) Information recommendation method, device, medium and electronic equipment based on financial big data

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