CN106327276A - Form processing method and device - Google Patents
Form processing method and device Download PDFInfo
- Publication number
- CN106327276A CN106327276A CN201510359212.3A CN201510359212A CN106327276A CN 106327276 A CN106327276 A CN 106327276A CN 201510359212 A CN201510359212 A CN 201510359212A CN 106327276 A CN106327276 A CN 106327276A
- Authority
- CN
- China
- Prior art keywords
- list
- data
- initial
- information
- generate
- 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
Links
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the invention provides a form processing method and device. The form processing method comprises the steps of: receiving a request for generating a form; acquiring information for generating the form, and generating an initial form according to the information; updating second data, corresponding to first data, in a preset form according to the first data in the initial form; and after the second data is successfully updated, validating the initial form to generate the form. In the method, the step of acquiring the form information is performed before the step of updating data of the preset form, and the initial form is generated in advance according to the information, so that the device only needs to directly set a validation state of the initial form simply after data update, and data processing pressure of the device at a data updating stage is relieved. Moreover, in a scene that multiple forms are generated in a concurrent manner, through the method, a process that acquiring information of the multiple forms can be performed in a concurrent manner, so that the form processing efficiency is improved, the system response speed is accelerated, and the user experience is improved.
Description
Technical field
The application relates to technical field of data processing, particularly relates to a kind of sheet disposal method and a kind of table
Processing apparatus.
Background technology
Along with developing rapidly of the Internet, shopping at network has incorporated in daily life, the Internet
The swift and violent growth of user, also brings acid test while bringing infinite commercial opportunities to electricity business's platform.Due to
User's rapid development, system to bear high concurrent processing request, some application is unexpected owing to supporting
Flow increases sharply, and the system that results even in directly is collapsed.Occur that the key reason of the problems referred to above is application
Response speed occurs in that bottleneck, and this phenomenon is especially prominent in height concurrently competes the ordering system of stock.
When the order of multiple purchase identical goodses concurrently competes stock, the handling capacity of system should be ensured,
Stock to be ensured reduces correctly.Order processing method under this scene is to carry receiving user at present
After the request generating order handed over, first carry out stock and reduce, use database row lock to update stock,
After stock reduces successfully, collect the user profile etc. required for order, generate final order, and will order
Unijunction fruit is back to user.Wherein, database row lock be to ensure that thread monopolize, when a thread more
The when of a new data, this data is just pinned by current thread, and other threads cannot update this number
According to.Database row lock is used to can ensure that stock reduces correctly.
But, in this processing method, multiple orders can only serial process, when need compete stock process
When order gets more and more, the waiting queue of order processing is more and more longer, and this processing method efficiency is the lowest, and
And along with the increase of concurrent request, system bottleneck will be reached, and then cause system response slack-off, even
System crash.
Summary of the invention
The embodiment of the present application technical problem to be solved is to provide a kind of sheet disposal method, it is possible to increase
Sheet disposal efficiency.
Accordingly, the embodiment of the present application additionally provides a kind of sheet disposal device, in order to ensure said method
Realization and application.
In order to solve the problems referred to above, this application discloses a kind of sheet disposal method, including:
Receive the request generating list;
Obtain the information for generating described list, and generate initial list according to described information;
Update in preset list corresponding with described first data according to the first data in described initial list
The second data;
After described second data are updated successfully, make described initial list come into force, generate described list.
Further, described initial list includes the field that comes into force, described in come into force field field value characterize
Described initial list Pending The Entry Into Force;
After described second data are updated successfully, make described initial list come into force, generate described list, including:
After described second data are updated successfully, the field value of the described field that comes into force is set to described initial table
Singly come into force, generate described list.
Further, the described request receiving generation list, including:
Receive at least two simultaneously and generate the request of list, including generating the request of the first list and generating the
The request of two lists.
Further, described acquisition is for generating the information of described list, and generates initial according to described information
List, including:
Parallel acquisition is used for generating the first information of described first list and for generating described second list
The second information, and parallel generate the first initial list according to the described first information and believe according to described second
Breath generates the second initial list.
Further, described update in preset list with described the according to the first data in described initial list
The second data that one data are corresponding, including:
When the described first initial list and the described second initial list all comprise described first data, according to
The first data using data storehouse optimism lock machine in described first initial list and the described second initial list
System updates the second data corresponding with described first data in described preset list.
Further, after described second data are updated successfully, make described initial list come into force, generate described table
Single, including:
When the second data after updating meet preset update condition, make described initial list come into force, generate
Described list.
Further, described first data are to specify the quantity purchase of commodity, and described second data are described finger
Determine the quantity in stock of commodity.
The embodiment of the present application also discloses a kind of sheet disposal device, including:
Request reception unit, is configured to receive the request generating list;
Initialization unit, is configured to the information obtained for generating described list, and according to described information
Generate initial list;
Data updating unit, is configured to update preset list according to the first data in described initial list
In second data corresponding with described first data;
List signal generating unit, is configured to, after described second data are updated successfully, make described initial list
Come into force, generate described list.
Further, described initial list includes the field that comes into force, described in come into force field field value characterize
Described initial list Pending The Entry Into Force;
List signal generating unit, is configured to after described second data are updated successfully, by the described field that comes into force
Field value be set to described initial list and come into force, generate described list.
Further, described request reception unit, it is configured to receive at least two simultaneously and generates asking of list
Ask, including generating the request of the first list and generating the request of the second list.
Further, described initialization unit, it is configured to obtain parallel for generating described first list
The first information and for generating the second information of described second list and raw according to the described first information parallel
Become the first initial list and generate the second initial list according to described second information.
Compared with prior art, the embodiment of the present application includes advantages below:
The embodiment of the present application is by being advanced to update preset form data by the step obtaining form information
Before step, and previously generate initial list according to this information so that this device is direct after data update
The active states of initial list is simply provided, alleviates this device at the data of data more new stage
Reason pressure, and, in the scene that many lists concurrently generate, the method makes to obtain multiple form information
Process can change in prior art whole list and generate process with executed in parallel and all must serial perform
Mode, thus improve sheet disposal efficiency, accelerate system response time, improve Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is the flow chart of steps of a kind of sheet disposal embodiment of the method for the application;
Fig. 2 is the flow chart of steps of the another kind of sheet disposal embodiment of the method for the application;
Fig. 3 is the schematic diagram of a kind of sheet disposal process of the application;
Fig. 4 is the structured flowchart of a kind of sheet disposal device embodiment of the application.
Detailed description of the invention
Understandable, below in conjunction with the accompanying drawings for enabling the above-mentioned purpose of the application, feature and advantage to become apparent from
With detailed description of the invention, the application is described in further detail.
With reference to Fig. 1, it is shown that the flow chart of steps of a kind of sheet disposal embodiment of the method for the application, tool
Body may include steps of:
Step 101, receives the request generating list.
In the embodiment of the present application, this sheet disposal device (hereinafter referred to as this device) can be specifically data
Place, storehouse server itself or be arranged on the device in this server, it is also possible to be independently of this server and set
Put and can be with this server interaction.
This device may receive only, at current time, the request generating list that a user sends, such as
The request of one goods orders of generation that one buyer sends when net purchase;It is likely to be simultaneously received multiple
The request generating list that user sends simultaneously, the most multiple users send when the second kills same commodity simultaneously
The request of multiple generation goods orders.
Step 102, it is thus achieved that for generating the information of list, and generate initial list according to this information.
In the embodiment of the present application, if this device receives a request generating list, the most directly obtain
For generating the information of list, and generate initial list according to this information.If being simultaneously received multiple life
Become the request of list, then can enable multiple thread parallel and obtain each information for generating list, and root
The initial list corresponding with request is generated according to each information.This initial list is the most formally effective list, right
User is invisible, and this is the transitory state during sheet disposal, and such list is complete initialization,
And have been inserted into data base, the most invisible to user, and user cannot be to its operation.
In this step, this initial list specifically can include the field that comes into force, the field value of this field that comes into force
Characterize this initial list Pending The Entry Into Force.Such as, the field that comes into force is is_enable, if is_enable=N,
It is expressed as initial list, i.e. Pending The Entry Into Force list.
Wherein, the particular content of the above-mentioned information for generating list along with form types difference and not
With, such as the order of buyer, this information can comprise O/No., Buyer Number, goods number
And commodity amount, the order amount of money etc..
Step 103, updates in preset list corresponding with the first data according to the first data in initial list
The second data.
After obtaining this initial list, can be according to the first data in initial list, in more new database
The second data corresponding in preset list.Such as, according in initial list to specify commodity quantity purchase,
The quantity in stock of these appointment data in stock's list of more new database.
When needs update preset list according to multiple initial lists, data base's pessimism lock machine can be used
System or data base's optimism lock mechanism control the renewal process of the second data.Specifically refer to subsequent embodiment
Description.
Step 104, after the second data are updated successfully, makes initial list come into force, and generates list.
After the second data are updated successfully, initial list can be made to come into force, the initial list after coming into force is
The list ultimately generated, this list is visible to user, and the list of this generation can directly be fed back by this device
To user.
The process that comes into force of this initial list can be specifically to arrange the field value of the field that comes into force in initial list,
Come into force with the initial list of sign.Such as, field is_enable that will come into force is set to is_enable=Y.
The embodiment of the present application is by being advanced to update preset form data by the step obtaining form information
Before step, and previously generate initial list according to this information so that this device is direct after data update
The active states of initial list is simply provided, alleviates this device at the data of data more new stage
Reason pressure, and, in the scene that many lists concurrently generate, the method makes to obtain multiple form information
Process can change in prior art whole list and generate process with executed in parallel and all must serial perform
Mode, thus improve sheet disposal efficiency, accelerate system response time, improve Consumer's Experience.
With reference to Fig. 2, it is shown that the flow chart of steps of the another kind of sheet disposal embodiment of the method for the application.
The scene that the present embodiment concurrently generates for many lists, illustrates this method.Specifically can wrap
Include following steps:
Step 201, receives at least two simultaneously and generates the request of list, including generating asking of the first list
Summation generates the request of the second list.
In the present embodiment, it is simultaneously received with this device and generates the request of the first list and generate the second list
Request as a example by illustrate.This device be simultaneously received two or more generate list request time permissible
Generate also according to following methods.
Step 202, parallel acquisition is used for the first information of generation the first list and for generating the second list
The second information, and parallel generate the first initial list and according to the second information generation the according to the first information
Two initial lists.
In this step, first can open two threads 1,2, thread 1 obtains the first information, and according to
The first information generates the first initial list, and thread 2 obtains the second information, and according to the second information generation the
Two initial lists, two thread parallels perform.
Wherein it is possible to be respectively provided with, in the first initial list and the second initial list, the field that comes into force
Is_enable, and it is set to is_enable=N, to characterize two initial list Pending The Entry Into Forces.
Step 203, when the first initial list and the second initial list all comprise the first data, according to
With the first data in the first data serial preset list of renewal in one initial list and the second initial list
The second corresponding data.
Must go here and there when the first initial list and the second initial list are not included in the follow-up data more new stage
During the first data that row processes, this device can perform the first initial table by two independent thread parallels
Single data more new stage with the second initial list, the such as different buyers order to different commodity.
But, when the first initial list and the second initial list all comprise above-mentioned first data, the most not
With buyer's order to same commodity, two orders all comprise to the quantity purchase specifying commodity, now count
According to storehouse when carrying out data and updating, it is necessary to serial is carried out, i.e. according to the first initial list and the second initial table
The first data in list update the second data corresponding with the first data in preset list successively.
Concrete, this serial can use Pessimistic Locking or the machine of optimistic lock to data base during performing
System updates the second data.
Step 204, after the second data are updated successfully, makes initial list come into force, and generates list.
Either using the machine-processed or optimistic lock mechanism of Pessimistic Locking, initial list is all updated in the second data
Come into force after merit, it is thus achieved that the list that user is asked.
For the mechanism of optimism lock, the thread updating the second data and the thread that makes initial list come into force without
Need to pin simultaneously, update condition such as where condition can be set for updating the process of the second data,
When performing to make the thread that initial list comes into force, need to judge whether the second data after updating meet preset
Update condition, makes initial list come into force if meeting again, generates list.
The embodiment of the present application is in the scene that many lists concurrently generate, by the step by obtaining form information
Before being advanced to update the step of preset form data, and previously generate initial list according to this information, no
The process only making the multiple form information of acquisition with executed in parallel, and can alleviate and go here and there in the data more new stage
Row performs the pressure that data process, and improves sheet disposal efficiency, accelerates system response time, improves
Consumer's Experience.
Illustrate as a example by the high scene concurrently simultaneously competing stock of order buying like products below,
This scene can be that double the 11 of Holiday Sale activity, such as Taobao held by electricity business's platform, sales promotion same day
Have and have very much low-price high-quality commodity in the open purchase of some time point.A large number of users is purchased simultaneously at that moment
Buying commodity, concurrent request ramps, and stock is to determine the key factor that can user buy commodity.
In this scene, after this device receives the request of multiple generation order at the same time, parallel acquisition is respectively ordered
The information that single pair of is answered, can include ship-to, user profile, merchandise news etc., obtain the most parallel
The initial order of each order, initial order includes multiple field, each field and be explained as follows shown in table:
Wherein, is_enable is the field that comes into force, and in initial order, field value is N.
After obtaining initial order, this initial order is inserted database pending.
Corresponding with the first data second is being updated in preset list according to the first data in initial list
In the step of data, these first data are to specify the quantity purchase of commodity, and the second data are to specify commodity
Quantity in stock.Preset list is designated as cash statement, field in cash statement and resolve as shown in the table:
Attribute | Explain |
goods_id | Commodity id |
quality | Stock's number |
In the present embodiment, data updating process uses the mechanism of optimism lock.This optimism lock can use biography
The optimistic lock of system, it is achieved time by increasing a version field on record, the where when performing to update
Condition needs to meet: version=#version#, gives an example:
In data base, cash statement is:
id | quality | version |
1 | 100 | 23 |
When carrying out data and updating, if the quantity purchase to this appointment commodity id=1 is 1 in initial list,
Then can get the record of id=1, version is 23, and quanlity is 100, performs renewal, quality
Being set to 99, the version of cash statement adds 1 simultaneously, and now cash statement is updated to:
id | Quality | Version |
1 | 99 | 24 |
When carrying out data renewal according to next initial order, reading the record of id=1, version is
24, quanlity is 99, then repeats said process and performs renewal.
But, when 2 initial orders carry out data renewal simultaneously, the record of id=1 all can be got,
Version is 23, and quanlity is 100.
Thread 1 first carries out renewal, and quality is set to 99, and the version of data base adds 1 simultaneously, this
Time cash statement be:
id | Quality | Version |
1 | 99 | 24 |
When thread 2 performs to update, thread 2 wants quality to be updated to 98, but thread 2 is initial
The version read is 23 and cash statement has been updated to version=24, when therefore thread 2 performs not
Meet version=#version#, namely the version read is different from current version, therefore can
Perform failure.This optimism is locked under high complications, has multiple thread to read a version
Version, when multiple threads perform to update again, only one of which thread is able to carry out successfully, and other can perform
Failure.The experience that this optimism lock brings to user is poor, thus reduces throughput of system.
In the present embodiment, the optimistic lock that the process that data update and initial order comes into force is used, specifically
Can perform following statement:
// #id#: order id
// #goods_id#: the commodity id bought in order
// #amount#: the commodity amount of actual purchase in order
Update kucun_table set quality=(quality-#amount#) where
The sql of (quality-#amount# >=0) and goods_id=#goods_id# // renewal stock
Update order_table set is enable=' Y ' where id=#id# and
The sql of goods_id=#goods_id# // more new order is_enable
In this optimism lock, preset update condition is the quantity in stock specifying commodity and specifies the purchase of commodity
The difference of quantity is more than or equal to 0, i.e. (quality-#amount# >=0).
This optimism lock controls concurrent update not by version, but passes through
(quality-#amount# >=0) accomplishes the effect of optimistic lock control oversold.Return to two lines of example from above
When journey updates stock simultaneously, as long as meeting (quality-#amount# >=0), two threads can be updated to
Merit, Consumer's Experience is good, also improves throughput of system simultaneously, promotes the service efficiency of data base as far as possible.
After this where condition quality-#amount# >=0 judges that the second data are updated successfully, Ji Kegeng
Change the field that comes into force in initial order, make initial order come into force, it is thus achieved that order.This device can also enter one
Step will place an order successful information and sequence information feeds back to user.
As it is shown on figure 3, in the 2015-03-0122:02:33.221 moment, have four user A, B, C,
Commodity are placed an order by D simultaneously, and this device obtains initial order the most parallel, i.e. initializes 4 orders;
In the 2015-03-0122:02:33.345 moment, these 4 initial orders perform data renewal and carry out storehouse
Depositing and reduce, the concrete mode using above-mentioned optimistic lock carries out stock and reduces.The order of user A, B, D
Owing to stock is sufficient, then placing an order successfully, the order of user C, due to the shortage of stock, is unsatisfactory for where bar
Part quality-#amount# >=0, places an order unsuccessfully.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as one it be
The combination of actions of row, but those skilled in the art should know, and the embodiment of the present application is not by described
The restriction of sequence of movement because according to the embodiment of the present application, some step can use other orders or
Person is carried out simultaneously.Secondly, those skilled in the art also should know, embodiment described in this description
Belong to preferred embodiment, necessary to involved action not necessarily the embodiment of the present application.
With reference to Fig. 4, it is shown that the structured flowchart of the application a kind of sheet disposal device embodiment, specifically may be used
To include such as lower unit:
Request reception unit 401, is configured to receive the request generating list.
Initialization unit 402, is configured to the information obtained for generating described list, and according to described
Information generates initial list.
Data updating unit 403, is configured to update preset according to the first data in described initial list
The second data corresponding with described first data in list.
List signal generating unit 404, is configured to after described second data are updated successfully, make described initially
List comes into force, and generates described list.
In the embodiment of the present application, this device is by being advanced to update preset table by the step obtaining form information
Before the step of forms data, and previously generate initial list according to this information so that this device is in data more
The active states of initial list is directly simply provided after Xin, alleviates this device in the data more new stage
Data processing pressure, and, in the scene that many lists concurrently generate, this device makes to obtain multiple
The process of form information can change whole list generation process in prior art the most necessary with executed in parallel
Serially, thus improve sheet disposal efficiency, accelerate system response time, improve
Consumer's Experience.
In another embodiment, including, in initial list, the field that comes into force, the field value of the field that comes into force characterizes
Initial list Pending The Entry Into Force;
List signal generating unit 404, is configured to, after described second data are updated successfully, come into force described
The field value of field is set to described initial list and comes into force, and generates described list.
In another embodiment, request reception unit 401, can be configured to receive at least two simultaneously
Generate the request of list, including generating the request of the first list and generating the request of the second list.
Initialization unit 402, is configured to the first information obtained parallel for generating described first list
And for generating the second information of described second list, and generate at the beginning of first according to the described first information parallel
Beginning list and according to described second information generate the second initial list.
Data updating unit 403, is configured as the described first initial list and the described second initial list
When all comprising described first data, according in the described first initial list and the described second initial list
In preset list described in one data using data storehouse Pessimistic Locking new mechanism corresponding with described first data
Second data.
Data updating unit 403, it is also possible to be configured as at the beginning of the described first initial list and described second
When beginning list all comprises described first data, according to the initial list of preset update condition and described first and institute
The the first data using data storehouse optimism lock mechanism stated in the second initial list updates in described preset list
Second data corresponding with described first data.List signal generating unit 404 is in the second data after updating
When meeting described preset update condition, make described initial list come into force, generate described list.
In an instantiation, above-mentioned first data can be to specify the quantity purchase of commodity, the second data
Quantity in stock for these appointment commodity.
The embodiment of the present application also discloses a kind of electronic equipment, including memorizer, receptor and processor.
Processor is connected with each other by bus with memorizer, receptor;Bus can be isa bus, PCI
Bus or eisa bus etc..Described bus can be divided into address bus, data/address bus, control bus etc..
Wherein, memorizer is for one section of program of storage, and specifically, program can include program code, institute
State program code and include computer-managed instruction.Memorizer may comprise high-speed RAM memorizer, it is possible to
Can also include nonvolatile memory (non-volatile memory), for example, at least one disk memory.
Receptor, for receiving the request generating list.
Processor is used for reading the program code in memorizer, execution following steps:
Obtain the information for generating described list, and generate initial list according to described information;
Update in preset list corresponding with described first data according to the first data in described initial list
The second data;
After described second data are updated successfully, make described initial list come into force, generate described list.
For device embodiment, due to itself and embodiment of the method basic simlarity, so the comparison described
Simply, relevant part sees the part of embodiment of the method and illustrates.
Each embodiment in this specification all uses the mode gone forward one by one to describe, and each embodiment stresses
Be all the difference with other embodiments, between each embodiment, identical similar part sees mutually
?.
Those skilled in the art are it should be appreciated that the embodiment of the embodiment of the present application can be provided as method, dress
Put or computer program.Therefore, the embodiment of the present application can use complete hardware embodiment, completely
Software implementation or the form of the embodiment in terms of combining software and hardware.And, the embodiment of the present application
Can use and can be situated between with storage at one or more computers wherein including computer usable program code
The upper computer journey implemented of matter (including but not limited to disk memory, CD-ROM, optical memory etc.)
The form of sequence product.
In a typical configuration, described computer equipment includes one or more processor
(CPU), input/output interface, network interface and internal memory.Internal memory potentially includes computer-readable medium
In volatile memory, the shape such as random access memory (RAM) and/or Nonvolatile memory
Formula, such as read only memory (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium
Example.Computer-readable medium includes removable media permanent and non-permanent, removable and non-
Information storage can be realized by any method or technology.Information can be computer-readable instruction,
Data structure, the module of program or other data.The example of the storage medium of computer includes, but
Be not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic random are deposited
Access to memory (DRAM), other kinds of random access memory (RAM), read only memory
(ROM), Electrically Erasable Read Only Memory (EEPROM), fast flash memory bank or other in
Deposit technology, read-only optical disc read only memory (CD-ROM), digital versatile disc (DVD) or other
Optical storage, magnetic cassette tape, tape magnetic rigid disk storage other magnetic storage apparatus or any its
His non-transmission medium, can be used for the information that storage can be accessed by a computing device.According to herein
Defining, computer-readable medium does not include the computer readable media (transitory media) of non-standing,
Data signal and carrier wave such as modulation.
The embodiment of the present application is with reference to the method according to the embodiment of the present application, terminal unit (system) and meter
The flow chart of calculation machine program product and/or block diagram describe.It should be understood that can be by computer program instructions
Each flow process in flowchart and/or block diagram and/or square frame and flow chart and/or square frame
Flow process in figure and/or the combination of square frame.Can provide these computer program instructions to general purpose computer,
The processor of special-purpose computer, Embedded Processor or other programmable data processing terminal equipment is to produce
One machine so that performed by the processor of computer or other programmable data processing terminal equipment
Instruction produce for realizing at one flow process of flow chart or multiple flow process and/or one square frame of block diagram or
The device of the function specified in multiple square frames.
These computer program instructions may be alternatively stored in and computer or other programmable datas can be guided to process
In the computer-readable memory that terminal unit works in a specific way so that be stored in this computer-readable
Instruction in memorizer produces the manufacture including command device, and this command device realizes flow chart one
The function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded into computer or other programmable data processing terminals set
Standby upper so that on computer or other programmable terminal equipment, to perform sequence of operations step in terms of producing
The process that calculation machine realizes, thus the instruction performed on computer or other programmable terminal equipment provides and uses
In realizing in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame
The step of the function specified.
Although having been described for the preferred embodiment of the embodiment of the present application, but those skilled in the art being once
Know basic creative concept, then these embodiments can be made other change and amendment.So,
Claims are intended to be construed to include preferred embodiment and fall into the institute of the embodiment of the present application scope
There are change and amendment.
Finally, in addition it is also necessary to explanation, in this article, the relational terms of such as first and second or the like
It is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires
Or imply relation or the order that there is any this reality between these entities or operation.And, art
Language " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that
Process, method, article or terminal unit including a series of key elements not only include those key elements, and
Also include other key elements being not expressly set out, or also include for this process, method, article or
The key element that person's terminal unit is intrinsic.In the case of there is no more restriction, statement " include one
It is individual ... " key element that limits, it is not excluded that including the process of described key element, method, article or end
End equipment there is also other identical element.
Above to a kind of sheet disposal method provided herein and a kind of sheet disposal device, carry out
Being discussed in detail, principle and the embodiment of the application are set forth by specific case used herein,
The explanation of above example is only intended to help and understands the present processes and core concept thereof;Meanwhile, right
In one of ordinary skill in the art, according to the thought of the application, in detailed description of the invention and range of application
On all will change, in sum, this specification content should not be construed as the restriction to the application.
Claims (11)
1. a sheet disposal method, it is characterised in that including:
Receive the request generating list;
Obtain the information for generating described list, and generate initial list according to described information;
Update in preset list corresponding with described first data according to the first data in described initial list
The second data;
After described second data are updated successfully, make described initial list come into force, generate described list.
Method the most according to claim 1, it is characterised in that include in described initial list
Come into force field, described in come into force field field value characterize described initial list Pending The Entry Into Force;
After described second data are updated successfully, make described initial list come into force, generate described list, including:
After described second data are updated successfully, the field value of the described field that comes into force is set to described initial table
Singly come into force, generate described list.
Method the most according to claim 1, it is characterised in that described reception generates asking of list
Ask, including:
Receive at least two simultaneously and generate the request of list, including generating the request of the first list and generating the
The request of two lists.
Method the most according to claim 3, it is characterised in that described acquisition is used for generating described
The information of list, and generate initial list according to described information, including:
Parallel acquisition is used for generating the first information of described first list and for generating described second list
The second information, and parallel generate the first initial list according to the described first information and believe according to described second
Breath generates the second initial list.
Method the most according to claim 4, it is characterised in that described according to described initial list
In the first data update the second data corresponding with described first data in preset list, including:
When the described first initial list and the described second initial list all comprise described first data, according to
The first data using data storehouse optimism lock machine in described first initial list and the described second initial list
System updates the second data corresponding with described first data in described preset list.
Method the most according to claim 5, it is characterised in that described second data are updated successfully
After, make described initial list come into force, generate described list, including:
When the second data after updating meet preset update condition, make described initial list come into force, generate
Described list.
Method the most as claimed in any of claims 1 to 6, it is characterised in that described
One data are to specify the quantity purchase of commodity, and described second data are the quantity in stock of described appointment commodity.
8. a sheet disposal device, it is characterised in that including:
Request reception unit, is configured to receive the request generating list;
Initialization unit, is configured to the information obtained for generating described list, and according to described information
Generate initial list;
Data updating unit, is configured to update preset list according to the first data in described initial list
In second data corresponding with described first data;
List signal generating unit, is configured to, after described second data are updated successfully, make described initial list
Come into force, generate described list.
Device the most according to claim 8, it is characterised in that include in described initial list
Come into force field, described in come into force field field value characterize described initial list Pending The Entry Into Force;
List signal generating unit, is configured to after described second data are updated successfully, by the described field that comes into force
Field value be set to described initial list and come into force, generate described list.
Device the most according to claim 8 or claim 9, it is characterised in that
Described request reception unit, is configured to receive at least two simultaneously and generates the request of list, including
Generate the request of the first list and generate the request of the second list.
11. devices according to claim 10, it is characterised in that
Described initialization unit, is configured to the first information obtained parallel for generating described first list
And for generating the second information of described second list, and generate at the beginning of first according to the described first information parallel
Beginning list and according to described second information generate the second initial list.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510359212.3A CN106327276A (en) | 2015-06-25 | 2015-06-25 | Form processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510359212.3A CN106327276A (en) | 2015-06-25 | 2015-06-25 | Form processing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106327276A true CN106327276A (en) | 2017-01-11 |
Family
ID=57729329
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510359212.3A Pending CN106327276A (en) | 2015-06-25 | 2015-06-25 | Form processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106327276A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113901769A (en) * | 2021-12-09 | 2022-01-07 | 北京轻松筹信息技术有限公司 | Transaction form forming method and device |
CN114282752A (en) * | 2021-11-15 | 2022-04-05 | 煤炭科学研究总院 | Method and device for generating flow task, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101388096A (en) * | 2007-09-14 | 2009-03-18 | 阿里巴巴集团控股有限公司 | Multi-platform data standardization processing method and system |
CN103426072A (en) * | 2013-07-16 | 2013-12-04 | 无限极(中国)有限公司 | Order processing system of high concurrency competitive inventory and processing method thereof |
WO2014154121A1 (en) * | 2013-03-25 | 2014-10-02 | Tencent Technology (Shenzhen) Company Limited | Method,apparatus,and system for synchronizing inventory information |
-
2015
- 2015-06-25 CN CN201510359212.3A patent/CN106327276A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101388096A (en) * | 2007-09-14 | 2009-03-18 | 阿里巴巴集团控股有限公司 | Multi-platform data standardization processing method and system |
WO2014154121A1 (en) * | 2013-03-25 | 2014-10-02 | Tencent Technology (Shenzhen) Company Limited | Method,apparatus,and system for synchronizing inventory information |
CN103426072A (en) * | 2013-07-16 | 2013-12-04 | 无限极(中国)有限公司 | Order processing system of high concurrency competitive inventory and processing method thereof |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114282752A (en) * | 2021-11-15 | 2022-04-05 | 煤炭科学研究总院 | Method and device for generating flow task, electronic equipment and storage medium |
CN113901769A (en) * | 2021-12-09 | 2022-01-07 | 北京轻松筹信息技术有限公司 | Transaction form forming method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8688544B2 (en) | Analyzing marketplace listing strategies | |
US20230229669A1 (en) | Synchronized data management in a distributed computing environment using microservice architecture | |
CN106934479B (en) | Method and device for selecting customs declaration and preparing customs declaration information | |
CN113763125A (en) | Method and device for generating purchase order about purchased goods | |
CN112348420A (en) | Storage position information acquisition method and system, storage medium and electronic equipment | |
US10169757B1 (en) | Scalable data storage and retrieval | |
CN115422205A (en) | Data processing method and device, electronic equipment and storage medium | |
US8145626B2 (en) | Method and system for data processing using multidimensional filtering | |
CN106327276A (en) | Form processing method and device | |
US20120041831A1 (en) | Catalog generation based on divergent listings | |
CN108241620B (en) | Query script generation method and device | |
CN102467505B (en) | Product information searching method, system and device | |
CN117194764A (en) | Goods display method, equipment and medium based on multi-platform fusion mall | |
CN115936875A (en) | Financial product form hanging processing method and device | |
CN110956478A (en) | Method and device for determining goods input quantity | |
CN114723354A (en) | Online business opportunity mining method, equipment and medium for suppliers | |
CN115409014A (en) | Document template generation method and device, computer equipment and storage medium | |
CN110782313B (en) | Database transaction processing method and device based on sub-database and sub-table | |
CN110298528B (en) | Method and device for grouping articles | |
CN111583559A (en) | Order processing method, device and system | |
CN114693389B (en) | Online source searching method, equipment and medium for purchasing company | |
CN113222627A (en) | Method and equipment for blind box commodity distribution | |
CN117611183B (en) | Commodity pre-sale operation method and device, electronic equipment and readable storage medium | |
CN109472668B (en) | Commodity data processing method, system, server and storage medium | |
US8626746B2 (en) | Tracking modifications to values of various fields in a database serve |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170111 |
|
RJ01 | Rejection of invention patent application after publication |