CN106168914A - Information propagation pattern determines method and system - Google Patents

Information propagation pattern determines method and system Download PDF

Info

Publication number
CN106168914A
CN106168914A CN201610547693.5A CN201610547693A CN106168914A CN 106168914 A CN106168914 A CN 106168914A CN 201610547693 A CN201610547693 A CN 201610547693A CN 106168914 A CN106168914 A CN 106168914A
Authority
CN
China
Prior art keywords
information
goods orders
propagation pattern
information propagation
determines
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.)
Pending
Application number
CN201610547693.5A
Other languages
Chinese (zh)
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.)
LeTV Holding Beijing Co Ltd
LeTV eCommerce Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV eCommerce Beijing 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 LeTV Holding Beijing Co Ltd, LeTV eCommerce Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610547693.5A priority Critical patent/CN106168914A/en
Publication of CN106168914A publication Critical patent/CN106168914A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5038Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The open a kind of information propagation pattern of embodiments of the invention determines method and system, belongs to areas of information technology, and wherein method includes: for being respectively configured priority level each of in information propagation pattern, each mode has different priority levels;Multiple task parallelisms determine the mode belonging to goods orders according to goods orders, the most corresponding a kind of information propagation pattern of each process in multiple processes;The priority level of the information propagation pattern belonging to goods orders that will determine is written as the memory space that goods orders is configured;It is defined as in the memory space that goods orders is configured the target information circulation way that the information propagation pattern corresponding to the highest priority level is goods orders of write;Information propagation pattern in the embodiment of the present invention determines method and system to avoid one by one and determines the time delay queued up and block up and cause more that the information propagation pattern of goods orders causes, alleviate the burden of server, enhance the stability of system.

Description

Information propagation pattern determines method and system
Technical field
The present invention relates to areas of information technology, determine method and system particularly to a kind of information propagation pattern.
Background technology
Along with the development of ecommerce, the commodity of more and more categories are sold on line, each big electricity business and commodity Supplier, in order to increase sales volume, constantly releases the various ways of promotion and channel to sell more commodity.Such as, happy regarding store It is electric business's system platform of merchandise sales, this electricity business's system platform is sold the commodity of different businessman.When selling certain business Can generate goods orders during product, electricity business's system platform analyzes the way of promotion of these commodity according to goods orders, and then according to popularization Mode is fed back commission to the popularization side of these commodity.The way of promotion is broadly divided into: buy on behalf, share invitation, promote, happy code, excellent Favour certificate.
At present, the way of promotion that electricity business's system platform analyzes these commodity according to goods orders is to use linear process mode; The most each goods orders sequentially processes, and an order processing reprocesses another order after completing.The processing mode of each order is such as Under: obtain the order eigenvalue of goods orders, and judge whether order eigenvalue comprises each way of promotion one by one.
Inventor is in practice, it has been found that use the way of promotion of the mode determination order commodity one by one of linear process, place Reason speed is slower.Especially in some advertising campaign, the huge impact causing server of order volume will cannot be estimated, Such as, during double 11 sales promotion, hundreds of millions of order volume of generating at short notice or cause that the order way of promotion determines super Long delay or the accumulation due to amount of calculation cause the collapse of server.
Summary of the invention
Embodiments of the invention provide a kind of information propagation pattern to determine method and system, at least solving above-mentioned skill One of art problem.
On the one hand, embodiments of the invention provide a kind of information propagation pattern to determine method, including:
It is respectively configured priority level, each information for information propagation pattern each of in much information circulation way Circulation way has different priority levels;
Multiple task parallelisms determine the information propagation pattern belonging to described goods orders according to goods orders, the plurality of enter The most corresponding a kind of information propagation pattern of each process in journey;
The priority level of the information propagation pattern belonging to described goods orders that will determine is written as described goods orders The memory space configured;
It is defined as in the memory space that described goods orders is configured the letter corresponding to the highest priority level of write Breath circulation way is the target information circulation way of described goods orders.
On the other hand, embodiments of the invention also provide for a kind of information propagation pattern and determine system, including:
Priority configuration module, for being respectively configured excellent for information propagation pattern each of in much information circulation way First level grade, each information propagation pattern has different priority levels;
Information propagation pattern determines module, determines belonging to described goods orders according to goods orders for multiple task parallelisms Information propagation pattern, the most corresponding a kind of information propagation pattern of each process in the plurality of process;
Priority writing module, the priority level of the information propagation pattern belonging to described goods orders for determining It is written as the memory space that described goods orders is configured;
Target information circulation way determines module, for being defined as in the memory space that described goods orders is configured write The target information circulation way that the information propagation pattern corresponding to the highest priority level is described goods orders.
Information propagation pattern in the embodiment of the present invention determines in method and system, it is first determined goods orders uses The priority level of different information propagation patterns, the most parallel information propagation pattern corresponding to determination goods orders, And the priority level corresponding to the information propagation pattern that will determine is respectively written in the memory space corresponding to goods orders, with For determining the Information Communication side corresponding to the highest priority level stored in the memory space corresponding to this goods orders Formula is the target information circulation way of goods orders;On the one hand by the way of parallel processing, improve the process to goods orders Speed, the opposing party's name is used for follow-up leading to by being stored in by the priority level of the goods orders determined in the memory space of correspondence Cross and choose the method that square Information Communication formula is target information circulation way that priority level is the highest, save inquiry data base's Time, improve the treatment effeciency to goods orders, complete the judgement of the information propagation pattern efficiently and accurately to goods orders, Avoid the time delay queued up and block up and cause more determining that the information propagation pattern of goods orders causes one by one, alleviate clothes The burden of business device, enhances the stability of system.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, required use in embodiment being described below Accompanying drawing be briefly described, it should be apparent that, below describe in accompanying drawing be some embodiments of the present invention, for ability From the point of view of the those of ordinary skill of territory, on the premise of not paying creative work, it is also possible to obtain the attached of other according to these accompanying drawings Figure.
Fig. 1 is the flow chart that the information propagation pattern of the present invention determines method one embodiment;
Fig. 2 is the flow chart that the information propagation pattern of the present invention determines another embodiment of method;
Fig. 3 is the flow chart that the information propagation pattern of the present invention determines the another embodiment of method;
Fig. 4 is the theory diagram that the information propagation pattern of the present invention determines system one embodiment;
Fig. 5 is the theory diagram that the information propagation pattern of the present invention determines another embodiment of system;
Fig. 6 is that the information propagation pattern that the information propagation pattern of the present invention determines in system determines the former of module one embodiment Reason block diagram;
Fig. 7 is that the information propagation pattern that the information propagation pattern of the present invention determines in system determines another embodiment of module Theory diagram;
Fig. 8 is the structural representation of an embodiment of the server of the present invention.
Specific embodiment
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is The a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under not making creative work premise, broadly falls into the scope of protection of the invention.
It should be noted that in the case of not conflicting, the embodiment in the application and the feature in embodiment can phases Combination mutually.
The present invention can be used in numerous general or special purpose computing system environment or configuration.Such as: personal computer, service Device computer, handheld device or portable set, laptop device, multicomputer system, system based on microprocessor, top set Box, programmable consumer-elcetronics devices, network PC, minicomputer, mainframe computer, include any of the above system or equipment Distributed computing environment etc..
The present invention can be described in the general context of computer executable instructions, such as program Module.Usually, program module includes performing particular task or realizing the routine of particular abstract data type, program, object, group Part, data structure etc..The present invention can also be put into practice in a distributed computing environment, in these distributed computing environment, by The remote processing devices connected by communication network performs task.In a distributed computing environment, program module is permissible It is positioned in the local and remote computer-readable storage medium of storage device.
In the present invention, " assembly ", " device ", " system " etc. refer to be applied to the related entities of computer, such as hardware, hard Part and the combination of software, software or executory software etc..In detail, such as, assembly can but be not limited to run on place The reason process of device, processor, object, can executive module, perform thread, program and/or computer.Further, server is run on On application program or shell script, server can be assembly.One or more assemblies can be at the process performed and/or line Cheng Zhong, and assembly can localize and/or be distributed between two or multiple stage computer on one computer, it is possible to by Various computer-readable mediums run.Assembly can also be according to having the signal of one or more packet, such as, from one With another component interaction in local system, distributed system, and/or the network in the Internet handed over by signal and other system The signal of mutual data is communicated by locally and/or remotely process.
Finally, in addition it is also necessary to explanation, in this article, the relational terms of such as first and second or the like be used merely to by One entity or operation separate with another entity or operating space, and not necessarily require or imply these entities or operation Between exist any this reality relation or order.And, term " includes ", " comprising ", not only includes those key elements, and And also include other key elements being not expressly set out, or also include intrinsic for this process, method, article or equipment Key element.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that including described wanting Process, method, article or the equipment of element there is also other identical element.
As it is shown in figure 1, the information propagation pattern of one embodiment of the invention determines method, including:
S11, it is respectively configured priority level for information propagation pattern each of in much information circulation way, each Information propagation pattern has different priority levels;
S12, multiple task parallelism determine the information propagation pattern belonging to described goods orders according to goods orders, described many The most corresponding a kind of information propagation pattern of each process in individual process;
S13, the priority level of the information propagation pattern belonging to described goods orders that will determine are written as described commodity The memory space that order is configured;
S14, be defined as in the memory space that described goods orders is configured write the highest priority level corresponding to The target information circulation way that information propagation pattern is described goods orders.
Information propagation pattern in the embodiment of the present invention determines in method, it is first determined it is different that goods orders uses The priority level of information propagation pattern, the most parallel information propagation pattern corresponding to determination goods orders, and will be really The fixed priority level corresponding to information propagation pattern is respectively written in the memory space corresponding to goods orders, for really In fixed memory space corresponding to this goods orders, the information propagation pattern corresponding to the highest priority level of storage is business The target information circulation way of product order;On the one hand by the way of parallel processing, improve the processing speed to goods orders, The opposing party's name is used for subsequently through choosing by being stored in by the priority level of the goods orders determined in the memory space of correspondence Take the method that square Information Communication formula is target information circulation way that priority level is the highest, save inquiry data base time Between, improve the treatment effeciency to goods orders, complete the judgement of the information propagation pattern efficiently and accurately to goods orders, keep away Exempt to determine the time delay queued up and block up and cause more that the information propagation pattern of goods orders causes one by one, alleviated service The burden of device, enhances the stability of system.
The information propagation pattern of the present embodiment determines that method can be used for the way of promotion of commodity and determines method, the most above-mentioned reality The information propagation pattern executed determines that the information propagation pattern in method shows as the different ways of promotion.
In step S11, the current way of promotion is varied, and the mode combined from different dimensions determines more Add the way of promotion become more meticulous, illustrate with the way of promotion of two dimensions here, but be not limited to two dimensions, first Promote dimension (M) to include: buy (M1), popularization (M2) on behalf, share invitation (M3), happy code (M4), five kinds of popularization canals of reward voucher (M5) Road, first promotes dimension includes, but are not limited to above-mentioned listed five kinds of channels, can come further according to the needs of business Increase or delete listed channels;Second promotes dimension (N) including: individual (N1), enterprise (N2), campus (N3), teacher (N4) four kinds of channels, second promotes dimension includes, but are not limited to above-mentioned listed four kinds of channels, can be according to business Need further to increase or delete listed channels.Above-mentioned listed first popularization dimension and second is promoted dimension and is carried out Permutation and combination can draw 20 kinds of ways of promotion altogether: M1+N1, M1+N2, M1+N3, M1+N4, M2+N1, M2+N2 ... M5+N3, M5+N4, for each of which way of promotion configuration preference level grade, 20 priority levels altogether, priority level is by the One weight promoting dimension and the second channels promoting dimension determines, the biggest priority level of weight is the highest, such as, point It is not that to be respectively configured weight be M1=1, M2=2, M3=3, M4=4, M5=5 for five kinds of channels of the first popularization dimension, point It is not that to be respectively configured weight be N1=1, N2=6, N3=12, N4=18 for five kinds of channels of the second popularization dimension;The present invention Embodiment in the priority level of the way of promotion can be directly by Mx+NyNumerical value represent, or according to Mx+NyBig Little relation determines.
In step S12, multiple processes are when determining the way of promotion belonging to goods orders parallel, with this information it is possible to determine current commodity Order is pertaining only to a kind of way of promotion, it is also possible to determine that current commodity order belongs to the multiple way of promotion, i.e. at least current business Product order determines a kind of way of promotion, and is stored by the priority level of the way of promotion determined and order corresponding to current commodity In single memory space, memory space here represents in the form of a list, wherein the priority level of the different ways of promotion Be stored at random list optional position or according to priority level from low to high or from high to low be sequentially written in list Fixed position (when according to from low to high or from high to low when being sequentially written in can so that in subsequent step more quick Determine that the way of promotion that priority level is the highest is targeted promotion mode).
In certain embodiments, the memory space configured by all described goods orders collectively forms storage form;
Storage form is with order for row, and the columns of described storage form is less than the quantity of goods orders to be determined;
Storage form with information propagation pattern as row, the kind that line number is described information propagation pattern of described storage form Number.
The information propagation pattern of the present embodiment determines that method can be used for the way of promotion of commodity and determines method, the most above-mentioned reality The information propagation pattern executed determines that the information propagation pattern in method shows as the different ways of promotion.Passing through in the present embodiment will Memory space corresponding to all goods orders is shown with the form of storage form, thus in the goods orders that will determine Priority level more intuitively determines the way of promotion that priority level is the highest after writing corresponding memory space efficiently, as Shown in table 1 below:
Order number A Order number B ……
Buy+individual on behalf M1+N1 M1+N1
Buy+enterprise on behalf M1+N2 M1+N2
Buy+campus on behalf M1+N3 M1+N3
Buy+teacher on behalf M1+N4 M1+N4
Promote+individual M2+N1 M2+N1
Popularization+enterprise M2+N2 M2+N2
……
In Table 1, when determine the goods orders that order number is A or B be the one in the way of promotion listed by wardrobe or When person is several, then weighted value (the M corresponding to one or several ways of promotion that will determine accordinglyx+Ny) put number, remaining Way of promotion zero setting, belongs simultaneously to the way of promotion " buy on behalf+individual " and " pushes away determining the order number goods orders as A here Extensively+individual ", and the goods orders that order number is B belongs simultaneously to the way of promotion and " buys+enterprise on behalf " and as a example by " popularization+enterprise ", As shown in table 2 below:
Order number A Order number B ……
Buy+individual on behalf 2 0
Buy+enterprise on behalf 0 7
Buy+campus on behalf 0 0
Buy+teacher on behalf 0 0
Promote+individual 3 0
Popularization+enterprise 0 8
……
Form 1 and form 2 are that the 20 kinds of ways of promotion determined with two described in above-described embodiment dimension are as base respectively Plinth.
In the present embodiment, the way of promotion that highest priority level is 3 is determined for the goods orders that order number is A " promoting+individual " is targeted promotion mode, determines, for the goods orders that order number is B, the popularization that highest priority level is 8 Mode " popularization+enterprise " is targeted promotion mode.
In the present embodiment, multiple task parallelisms determine the way of promotion belonging to goods orders.Such as, there are 20 processes respectively Successively corresponding to 20 kinds of ways of promotion: M1+N1, M1+N2, M1+N3, M1+N4, M2+N1, M2+N2 ... M5+N3, M5+N4, then When judging the way of promotion of goods orders each time, 20 processes respectively to same order parallel be analyzed judge, and Traditional method is that by a process, each goods orders will be carried out 20 times the popularization that judges to determine goods orders Mode, owing to using parallel form in the present embodiment, will save the time of 19/20, and when the kind of the way of promotion More, ratio is during if any hundreds and thousands of kinds, and the efficiency improved will be distincter by more the time saved.
For making the clearest of the embodiment of the present invention, with 8 kinds of ways of promotion, processing 1600 single goods orders is Example, and the mode contrasting prior art is further detailed as follows:
If the time that carrying out goods orders condition adjudgement needs the relevant sql logic performed to need be M (that is, it is judged that Whether 1600 goods orders exist the time required for a certain way of promotion that derives from is M).
If the time of the height needs that java carries out a multilevel iudge priority level is N.
The processing mode of prior art, judges that goods orders belongs in 8 in the way of promotion any, it is judged that institute one by one The comparison time having the way of promotion of goods orders to need is:
Worst condition is 8*M, and the most all goods orders are all not belonging to the situation of any way of promotion or own The popularization type described in goods orders all just determine when comparing the last a type of way of promotion;Optimal situation For M, the way of promotion belonging to the most all goods orders is all to determine when the type with the first way of promotion compares.
The processing mode of the embodiment of the present invention:
The first step, first 8 task parallelisms judge whether 1600 single goods orders exist way of promotion required time and be: M;
Second step, by all goods orders write storage form:
Worst condition is that all orders in 1600 goods orders are all belonging respectively to 8 kinds of ways of promotion, then need write 1600*8 time, required time is 1600*8N=12800*N;
Best-case is, all orders in 1600 goods orders are not belonging to any one of 8 kinds of ways of promotion, needs Number of times to be write is 0, and the time used is 0*N=0;
3rd step, then from storing the way of promotion judging goods orders form:
Worst condition is, needs each order to compare 7 times, and last has value, needs to compare the time and is: 1600* 7*N=11200N;
Best-case is, it is not necessary to load, and storage form is made without judging, needs to compare the time and is: 0*N=0;
But, owing to the worst condition of second step is more excellent solution three steps when in fact, needed for compare the time and be: 1600*N;
The worst condition of the 3rd step, having only to load number of times second step when is 1600 times, and required time is: 1600*N;
So considering, require time under second step worst condition into:
12800*N+1600*N+M=14400N+M;
Require time under 3rd step worst condition as 1600*N+1600*7*N+M=12800N+M;
After determine need under worst condition be time-consumingly: 14400N+M.
Under practical situation, carry out a sql logical judgment and (simplify, be actually needed according to different situations, inquiry difference number According to storehouse, and comprising other logical operation) estimation about needs about 120ms, and java performs once-through operation and has only to the tens of cpu Individual instruction, experimental test shows, writing to storage form continuously is the most time-consumingly for 10000 times 5.4ms.
1M=120ms, 10000N=5.4ms, it follows that, 1M approximates the 1N of 22*10000 times, therefore, the present invention's Needed for embodiment, the most time-consuming 14400N+M is compared with the most time-consuming traditional 8M, saves nearly seven times of times, and this is at information Bring the lifting in beyond thought performance reason technology will to information processing system (such as, computer or server).
Alternatively, the storage Form Handle mode in the embodiment of the present invention, the mode once obtaining effective priority is illustrated As follows:
With 8 kinds of priority, 8 binary digits represent:
8 power 255 kinds of its intermediate value a total of 2 may minima be 1 (Binary Zero 0000001) maximum 255 (two System 11111111).
Can determine 255 kinds of possible correspondences within the time of 255*N pushes away canal.(such as, all lowest orders are 1 just may be used To judge being the first way of promotion).A Hash table is built according to the numeral way of promotion.
Then will originally need the form of 8 row, pool two row, as follows:
Order A Order B Order N
Priority 46 25 2
Determine that the way of promotion of a goods orders has only to once every time.
The worst condition of the 3rd step becomes 1600*N+255*N from original 1600*7*N.
As can be seen here, the mode of the present embodiment further shorten the time judging the way of promotion described in goods orders.
As in figure 2 it is shown, in certain embodiments, multiple task parallelisms determine belonging to described goods orders according to goods orders Information propagation pattern include:
S21, multiple process receive the characteristic information of described goods orders respectively;
S22, multiple described process determine the information belonging to described goods orders according to the described characteristic information received respectively Circulation way.
The characteristic information of goods orders can be electricity business's system platform (Platform Server or calculating in the present embodiment Machine) resolve what goods orders determined, all processes unified reception electricity business's system platform resolves the characteristic information determined and ensure that institute There is the concordance of the characteristic information that process receives, it is to avoid all processes each self-analytic data goods orders determines that tool is differentiated Characteristic information, and affect accuracy and the concordance of the information propagation pattern corresponding to goods orders finally determined.In this reality Executing in example, the characteristic information of goods orders at least includes CPS_ID (Commodity Promotion Solution Identification), one or more in happy code field, reward voucher field, order user information and merchandise news.
The information propagation pattern of the present embodiment determines that method can be used for the way of promotion of commodity and determines method, the most above-mentioned reality The information propagation pattern executed determines that the information propagation pattern in method shows as the different ways of promotion.Wherein, CPS_ID is passed through (fix tentatively and be characterized ID) can be distinguished the way of promotion and share invitation or promote;Popularization can be distinguished by happy code field Whether mode is happy code;Can distinguish whether the way of promotion is reward voucher by reward voucher field;By order user information (address name etc, as long as placing an order, necessarily have the user that places an order) and merchandise news may determine that whether the way of promotion is Buy on behalf, it is also possible to by order user information judge the way of promotion be whether individual, enterprise, campus, teacher etc. (because, order User profile at least includes the information such as the mailbox of user, address, phone).
As it is shown on figure 3, in certain embodiments, multiple task parallelisms determine belonging to described goods orders according to goods orders Information propagation pattern include:
S31, multiple process resolve described goods orders respectively to determine the characteristic information of described goods orders;
S32, multiple process determine the Information Communication belonging to described goods orders according to the described characteristic information determined respectively Mode.
In the present embodiment, each process resolves goods orders respectively to determine the characteristic information of goods orders, it is to avoid When all processes receive the characteristic information in same source, the characteristic information in this source makes mistakes and causes all of process to commodity The generation of the situation that the judgement of the information propagation pattern of order makes mistakes simultaneously;Such as, outside all receiving if all of process Portion's server or the 3rd process resolve the characteristic information that goods orders determines, when external server or the 3rd process are resolved The characteristic information that determines of goods orders will affect all processes to the information propagation pattern of goods orders accurately when makeing mistakes Judge.
The information propagation pattern of the present embodiment determines that method can be used for the way of promotion of commodity and determines method, the most above-mentioned reality The information propagation pattern executed determines that the information propagation pattern in method shows as the different ways of promotion.
The embodiment of the present invention can be passed through hardware processor (hardware processor) and realize correlation function mould Block.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Action merge, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some step can use other orders or carry out simultaneously.Secondly, those skilled in the art also should know Knowing, embodiment described in this description belongs to preferred embodiment, involved action and the module not necessarily present invention Necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not has the portion described in detail in certain embodiment Point, may refer to the associated description of other embodiments.
As shown in Figure 4, the embodiment of the present invention also provides for a kind of information propagation pattern and determines system, comprising:
Priority configuration module, for being respectively configured excellent for information propagation pattern each of in much information circulation way First level grade, each information propagation pattern has different priority levels;
Information propagation pattern determines module, determines belonging to described goods orders according to goods orders for multiple task parallelisms Information propagation pattern, the most corresponding a kind of information propagation pattern of each process in the plurality of process;
Priority writing module, the priority level of the information propagation pattern belonging to described goods orders for determining It is written as the memory space that described goods orders is configured;
Target information circulation way determines module, for being defined as in the memory space that described goods orders is configured write The target information circulation way that the information propagation pattern corresponding to the highest priority level is described goods orders.
Information propagation pattern in the embodiment of the present invention determines in system, it is first determined it is different that goods orders uses The priority level of information propagation pattern, the most parallel information propagation pattern corresponding to determination goods orders, and will be really The fixed priority level corresponding to information propagation pattern is respectively written in the memory space corresponding to goods orders, for really In fixed memory space corresponding to this goods orders, the information propagation pattern corresponding to the highest priority level of storage is business The target information circulation way of product order;On the one hand by the way of parallel processing, improve the processing speed to goods orders, The opposing party's name is used for subsequently through choosing by being stored in by the priority level of the goods orders determined in the memory space of correspondence Take the method that square Information Communication formula is target information circulation way that priority level is the highest, save inquiry data base time Between, improve the treatment effeciency to goods orders, complete the judgement of the information propagation pattern efficiently and accurately to goods orders, keep away Exempt to determine the time delay queued up and block up and cause more that the information propagation pattern of goods orders causes one by one, alleviated service The burden of device, enhances the stability of system.
Information propagation pattern in the present embodiment determines that system is a server or server cluster, the most each mould Block can be single server or server cluster, now, and showing as alternately corresponding to each module between above-mentioned module Server or server cluster between mutual, the plurality of server or server cluster collectively form the letter of the present invention Breath circulation way determines system.
Specifically, the plurality of server or server cluster collectively form the information propagation pattern of the present invention and determine system Including:
Priority configuration service device or server cluster, for for Information Communication each of in much information circulation way Mode is respectively configured priority level, and each information propagation pattern has different priority levels;
Information propagation pattern determines server or server cluster, determines institute for multiple task parallelisms according to goods orders State the information propagation pattern belonging to goods orders, the most corresponding a kind of Information Communication side of each process in the plurality of process Formula;
Priority write server or server cluster, for the Information Communication side belonging to described goods orders that will determine The priority level of formula is written as the memory space that described goods orders is configured;
Target information circulation way determines server or server cluster, for being defined as what described goods orders was configured The target information that information propagation pattern corresponding to the highest priority level is described goods orders of write in memory space Circulation way.
As it is shown in figure 5, in certain embodiments, also include table generation module, be used for thinking all described goods orders The memory space configured constitutes storage form;
Described storage form is with order for row, and the columns of described storage form is less than the quantity of goods orders to be determined;
Described storage form is with information propagation pattern as row, and the line number of described storage form is described information propagation pattern Species number.
As shown in Figure 6, in certain embodiments, information propagation pattern determines that module includes:
Characteristic information receives unit, receives the characteristic information of described goods orders respectively for calling multiple process;
Information propagation pattern determines unit, true according to the described characteristic information received respectively for calling multiple described process Fixed information propagation pattern belonging to described goods orders.
As it is shown in fig. 7, in certain embodiments, information propagation pattern determines that module includes:
Characteristic information determines unit, is used for calling multiple process and resolves described goods orders respectively to determine that described commodity are ordered Single characteristic information;
Information propagation pattern determines unit, determines institute according to the described characteristic information determined respectively for calling multiple process State the information propagation pattern belonging to goods orders.
In certain embodiments, information propagation pattern includes first information propagation dimension and the second Information Communication dimension;
Described first information propagation dimension at least includes: buys on behalf, promote, share invitation, happy code, reward voucher;
Described second Information Communication dimension at least includes: individual, enterprise, campus, teacher.
In certain embodiments, the characteristic information of goods orders at least include CPS_ID, happy code field, reward voucher field, One or more in order user information and merchandise news.
The information propagation pattern of the invention described above embodiment determines that system can be used for performing the information biography of the embodiment of the present invention Broadcast mode determines method, and the information propagation pattern reaching the invention described above embodiment accordingly determines the technology that method is reached Effect, repeats no more here.
On the other hand, embodiments of the invention are also disclosed a kind of server, and the server of the present invention has been laid in the present invention State the information propagation pattern described in any embodiment and determine system, and perform the information described in the above embodiment of the present invention accordingly Circulation way determines method.
On the other hand, embodiments of the invention are also disclosed a kind of machine room, include multiple server in the machine room of the present invention, At least one in multiple servers in the present embodiment has laid the Information Communication side described in any of the above-described embodiment of the present invention Formula determines system, and execution information propagation pattern described in the above embodiment of the present invention determines method accordingly.
The information propagation pattern of the present embodiment determines that system can be used for the way of promotion of commodity and determines system, the most above-mentioned reality The information propagation pattern executed determines that the information propagation pattern in system shows as the different ways of promotion.
In certain embodiments, server disclosed above includes:
Memorizer, is used for depositing computer-managed instruction;
Processor, for performing the computer-managed instruction of described memorizer storage, to perform:
It is respectively configured priority level, each information for information propagation pattern each of in much information circulation way Circulation way has different priority levels;
Multiple task parallelisms determine the information propagation pattern belonging to described goods orders according to goods orders, the plurality of enter The most corresponding a kind of information propagation pattern of each process in journey;
The priority level of the information propagation pattern belonging to described goods orders that will determine is written as described goods orders The memory space configured;
It is defined as in the memory space that described goods orders is configured the letter corresponding to the highest priority level of write Breath circulation way is the target information circulation way of described goods orders.
As shown in Figure 8, for the structural representation of server in the above embodiment of the present invention one embodiment, the application is specifically real Execute example implementing of server 800 not to be limited, comprising:
Processor (processor) 810, communication interface (Communications Interface) 820, memorizer (memory) 830 and communication bus 840.Wherein:
Processor 810, communication interface 820 and memorizer 830 complete mutual communication by communication bus 840.
Communication interface 820, for the net element communication with such as third party's access end etc..
Processor 810, is used for the program that performs 832, specifically can perform the correlation step in said method embodiment.
Specifically, program 832 can include that program code, described program code include computer-managed instruction.
Processor 810 is probably a central processor CPU, or specific integrated circuit ASIC (Application Specific Integrated Circuit), or it is configured to implement the one or more integrated electricity of the embodiment of the present application Road.
Embodiment of the method described above is only schematically, and the wherein said unit illustrated as separating component can To be or to may not be physically separate, the parts shown as unit can be or may not be physics list Unit, i.e. may be located at a place, or can also be distributed on multiple NE.Can be selected it according to the actual needs In some or all of module realize the purpose of the present embodiment scheme.Those of ordinary skill in the art are not paying creativeness Work in the case of, be i.e. appreciated that and implement.
By the description of above embodiment, those skilled in the art is it can be understood that can be by each embodiment Software adds the mode of required general hardware platform and realizes, naturally it is also possible to pass through hardware.Based on such understanding, above-mentioned skill The part that prior art is contributed by art scheme the most in other words can embody with the form of software product, this calculating Machine software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., uses including some instructions So that computer equipment (can be personal computer, server, or the network equipment etc.) perform each embodiment or The method described in some part of person's embodiment.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program Product.Therefore, the reality in terms of the present invention can use complete hardware embodiment, complete software implementation or combine software and hardware Execute the form of example.And, the present invention can use at one or more computers wherein including computer usable program code The shape of the upper computer program implemented of usable storage medium (including but not limited to disk memory and optical memory etc.) Formula.
The present invention is with reference to method, equipment (system) and the flow process of computer program according to embodiments of the present invention Figure and/or block diagram describe.It should be understood that can the most first-class by computer program instructions flowchart and/or block diagram Flow process in journey and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided Instruction arrives the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce A raw machine so that the instruction performed by the processor of computer or other programmable data processing device is produced for real The device of the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame now.
These computer program instructions may be alternatively stored in and computer or other programmable data processing device can be guided with spy Determine in the computer-readable memory that mode works so that the instruction being stored in this computer-readable memory produces and includes referring to Make the manufacture of device, this command device realize at one flow process of flow chart or multiple flow process and/or one square frame of block diagram or The function specified in multiple square frames.These computer program instructions also can be loaded into computer or other programmable datas process and set It is standby upper so that on computer or other programmable devices, execution sequence of operations step is to produce computer implemented process, Thus the instruction performed on computer or other programmable devices provides for realizing at one flow process of flow chart or multiple stream The step of the function specified in journey and/or one square frame of block diagram or multiple square frame.
Last it is noted that above example is only in order to illustrate technical scheme, it is not intended to limit;Although With reference to previous embodiment, the present invention is described in detail, it will be understood by those within the art that: it still may be used So that the technical scheme described in foregoing embodiments to be modified, or wherein portion of techniques feature is carried out equivalent; And these amendment or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and Scope.

Claims (12)

1. information propagation pattern determines a method, including:
It is respectively configured priority level, each Information Communication for information propagation pattern each of in much information circulation way Mode has different priority levels;
Multiple task parallelisms determine the information propagation pattern belonging to described goods orders according to goods orders, in the plurality of process Each process respectively corresponding a kind of information propagation pattern;
The priority level of the information propagation pattern belonging to described goods orders that will determine is written as described goods orders and is joined The memory space put;
The information corresponding to the highest priority level being defined as in the memory space that described goods orders is configured write passes Broadcast mode is the target information circulation way of described goods orders.
Method the most according to claim 1, wherein, the memory space configured by all described goods orders collectively forms Storage form;
Described storage form is with order for row, and the columns of described storage form is less than the quantity of goods orders to be determined;
Described storage form with information propagation pattern as row, the kind that line number is described information propagation pattern of described storage form Number.
Method the most according to claim 2, wherein, according to goods orders, the plurality of task parallelism determines that described commodity are ordered Information propagation pattern belonging to list includes:
The plurality of process receives the characteristic information of described goods orders respectively;
The plurality of process determines the information propagation pattern belonging to described goods orders according to the described characteristic information received respectively.
Method the most according to claim 2, wherein, according to goods orders, the plurality of task parallelism determines that described commodity are ordered Information propagation pattern belonging to list includes:
The plurality of process resolves described goods orders respectively to determine the characteristic information of described goods orders;
The plurality of process determines the information propagation pattern belonging to described goods orders according to the described characteristic information determined respectively.
5. according to the method described in any one of claim 1-4, wherein, described information propagation pattern includes that the first information propagates dimension Degree and the second Information Communication dimension;
Described first information propagation dimension at least includes: buys on behalf, promote, share invitation, happy code, reward voucher;
Described second Information Communication dimension at least includes: individual, enterprise, campus, teacher.
Method the most according to claim 5, wherein, the characteristic information of described goods orders at least includes CPS_ID, happy code One or more in field, reward voucher field, order user information and merchandise news.
7. information propagation pattern determines a system, including:
Priority configuration module, for being respectively configured priority for information propagation pattern each of in much information circulation way Grade, each information propagation pattern has different priority levels;
Information propagation pattern determines module, determines the letter belonging to described goods orders for multiple task parallelisms according to goods orders Breath circulation way, the most corresponding a kind of information propagation pattern of each process in the plurality of process;
Priority writing module, the priority level write of the information propagation pattern belonging to described goods orders for determining The memory space configured by described goods orders;
Target information circulation way determines module, is used for being defined as in the memory space that described goods orders is configured writing The high target information circulation way that the information propagation pattern corresponding to priority level is described goods orders.
System the most according to claim 7, wherein, also includes table generation module, is used for thinking that all described commodity are ordered Single memory space configured constitutes storage form;
Described storage form is with order for row, and the columns of described storage form is less than the quantity of goods orders to be determined;
Described storage form with information propagation pattern as row, the kind that line number is described information propagation pattern of described storage form Number.
System the most according to claim 8, wherein, described information propagation pattern determines that module includes:
Characteristic information receives unit, receives the characteristic information of described goods orders respectively for calling multiple process;
Information propagation pattern determines unit, determines institute according to the described characteristic information received respectively for calling multiple described process State the information propagation pattern belonging to goods orders.
System the most according to claim 8, wherein, described information propagation pattern determines that module includes:
Characteristic information determines unit, resolves described goods orders respectively to determine described goods orders for calling multiple process Characteristic information;
Information propagation pattern determines unit, determines described business according to the described characteristic information determined respectively for calling multiple process Information propagation pattern belonging to product order.
11. according to the system described in any one of claim 7-10, and wherein, described information propagation pattern includes that the first information is propagated Dimension and the second Information Communication dimension;
Described first information propagation dimension at least includes: buys on behalf, promote, share invitation, happy code, reward voucher;
Described second Information Communication dimension at least includes: individual, enterprise, campus, teacher.
12. systems according to claim 11, wherein, the characteristic information of described goods orders at least includes CPS_ID, pleasure One or more in code field, reward voucher field, order user information and merchandise news.
CN201610547693.5A 2016-07-12 2016-07-12 Information propagation pattern determines method and system Pending CN106168914A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610547693.5A CN106168914A (en) 2016-07-12 2016-07-12 Information propagation pattern determines method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610547693.5A CN106168914A (en) 2016-07-12 2016-07-12 Information propagation pattern determines method and system

Publications (1)

Publication Number Publication Date
CN106168914A true CN106168914A (en) 2016-11-30

Family

ID=58064602

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610547693.5A Pending CN106168914A (en) 2016-07-12 2016-07-12 Information propagation pattern determines method and system

Country Status (1)

Country Link
CN (1) CN106168914A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110852710A (en) * 2019-11-05 2020-02-28 泰康保险集团股份有限公司 Method, system, medium and electronic device for configuring annuity service audit docking mode

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101414375A (en) * 2008-12-15 2009-04-22 阿里巴巴集团控股有限公司 System and method for networking trading using intermediate platform
CN102663628A (en) * 2012-04-27 2012-09-12 门利 Rebate sales promotion system capable of automatically queuing based on product rebate grades
CN103778545A (en) * 2012-09-07 2014-05-07 阿里巴巴集团控股有限公司 Commodity information processing method and commodity information processing system
CN104318443A (en) * 2014-10-14 2015-01-28 深圳市云商微店网络技术有限公司 Cloud sale electronic commerce trading method and system
CN105049539A (en) * 2015-09-21 2015-11-11 黎锋 Rebating method, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101414375A (en) * 2008-12-15 2009-04-22 阿里巴巴集团控股有限公司 System and method for networking trading using intermediate platform
CN102663628A (en) * 2012-04-27 2012-09-12 门利 Rebate sales promotion system capable of automatically queuing based on product rebate grades
CN103778545A (en) * 2012-09-07 2014-05-07 阿里巴巴集团控股有限公司 Commodity information processing method and commodity information processing system
CN104318443A (en) * 2014-10-14 2015-01-28 深圳市云商微店网络技术有限公司 Cloud sale electronic commerce trading method and system
CN105049539A (en) * 2015-09-21 2015-11-11 黎锋 Rebating method, device and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110852710A (en) * 2019-11-05 2020-02-28 泰康保险集团股份有限公司 Method, system, medium and electronic device for configuring annuity service audit docking mode

Similar Documents

Publication Publication Date Title
JP7072054B2 (en) Methods and equipment for sorting cargo
Nagata et al. A new genetic algorithm for the asymmetric traveling salesman problem
US9633315B2 (en) Method and system for distributed machine learning
Pan et al. An effective hybrid discrete differential evolution algorithm for the flow shop scheduling with intermediate buffers
US10467236B2 (en) Mining association rules in the map-reduce framework
Doulgerakis et al. Finding closest lattice vectors using approximate Voronoi cells
US20130254169A1 (en) Fast Component Enumeration in Graphs with Implicit Edges
US20140025420A1 (en) Simultaneous micro space and assortment optimization for products
JP6779231B2 (en) Data processing method and system
US11100073B2 (en) Method and system for data assignment in a distributed system
US20180039693A1 (en) Learned data filtering
CN105678323A (en) Image-based-on method and system for analysis of users
JP2019501464A5 (en)
Cerrone et al. Heuristics for the strong generalized minimum label spanning tree problem
Keshavarz et al. Efficient upper and lower bounding methods for flowshop sequence-dependent group scheduling problems
Garcia et al. Multiple parallel mapreduce k-means clustering with validation and selection
CN109255563B (en) Method and device for determining storage area of article
CN106168914A (en) Information propagation pattern determines method and system
Balboa et al. Terminal star operations algorithm for tetrahedral mesh improvement
Chernoskutov et al. Heuristic algorithm for approximation betweenness centrality using graph coarsening
CN111723122A (en) Method, device and equipment for determining association rule between data and readable storage medium
CN112711588B (en) Method and device for multi-table connection
CN110019531A (en) A kind of method and apparatus obtaining analogical object set
Goodrich et al. Cole's parametric search technique made practical
CN112734312B (en) Method for outputting reference data and computer equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161130

WD01 Invention patent application deemed withdrawn after publication