CN102999554A - Business data processing method and business data processing device - Google Patents

Business data processing method and business data processing device Download PDF

Info

Publication number
CN102999554A
CN102999554A CN 201210389148 CN201210389148A CN102999554A CN 102999554 A CN102999554 A CN 102999554A CN 201210389148 CN201210389148 CN 201210389148 CN 201210389148 A CN201210389148 A CN 201210389148A CN 102999554 A CN102999554 A CN 102999554A
Authority
CN
China
Prior art keywords
business datum
service
task list
passback
business
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 201210389148
Other languages
Chinese (zh)
Other versions
CN102999554B (en
Inventor
高玉峰
侯江
谭礼孝
朱少华
翟长权
卢明田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201210389148.XA priority Critical patent/CN102999554B/en
Publication of CN102999554A publication Critical patent/CN102999554A/en
Application granted granted Critical
Publication of CN102999554B publication Critical patent/CN102999554B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a business data processing method and a business data processing device which can save the system resource, reduce the pressure on the business database, and improve the efficiency of returning the business data to an upstream system. The business data processing method comprises the following steps in sequence: implementing a business command released by the upstream system through a business system so as to obtain the business data, correspondingly storing a postback identification and a business identification of the business data in the business database into a task table, wherein the postback identification is used for identifying whether the business data is posted back to the upstream system; traversing the task table; searching the business data corresponding to the business identification which is corresponding to the postback identification which identifies that the business data is not posted back to the upstream system, from the business database during traversing according to the business identification in the task table; and then posting back the business data to the upstream system.

Description

Business data processing method and device
Technical field
The present invention relates to computer technology, relate to especially business data processing method and device.
Background technology
Along with the development of society, the scale of company constantly enlarges, and professional complexity also increases day by day.Often there is the different operation system of many covers in intra-company with the regular traffic operation of auxiliary company, sometimes needs the mutual of data sharing and data between many cover systems.
Warehouse management system WMS(Warehouse Management System) is the company's operation system commonly used with logistics business, WMS has been contained the operation flow such as operation in outbound warehouse-in and the storehouse, by the cooperation between each business, to realize the fine-grained management to commodity in the warehouse.Take WMS as example, as the executive system of company, need to and a plurality of system between carry out the mutual of data, such as adopting pin system, interior match system, form ordering system etc., up-stream system is sent to WMS with service order, and WMS carries out service order, and the result feedback after will carrying out is to up-stream system.
Middleware is a kind of independently system software or service routine, and Distributed Application software is by this software shared resource between different technology.Middleware is positioned on the operating system of client/server, supervisory computer resource and network communication.The software that connects two stand-alone utilities or autonomous system.The system that is connected, even they have different interfaces, but each other still can exchange message by middleware.A critical path carrying out middleware is the information transmission.By middleware, application program can work in multi-platform or operating system.
In the prior art, when WMS is carried out execution result behind the service order and feeds back to up-stream system, be to be realized by the mode of middleware by the Service Database of traversal WMS.Middleware traverses qualified data, then data is organized, and is distributed to up-stream system, finishes the data interaction of WMS system and up-stream system.When the ageing requirement of data interaction is higher, in the prior art common way be will be at every turn traversal adjust interval time shorter, to traverse as quickly as possible qualified data.
The inventor finds in realizing process of the present invention, because WMS carries out the service needed regular hour, in the situation of lacking the interval time of above-mentioned each traversal, the service order of WMS may also not finished, so this time traversal becomes idle work, waste system resource, and the frequency of too high ergodic data storehouse business datum can cause Service Database pressure to strengthen, affecting WMS moves normally, and when the business datum amount of WMS strengthens gradually, the time of each traversal also can be long, and the system upstream of having affected returns the efficient of business datum.
Summary of the invention
In view of this, the invention provides a kind of business data processing method and device, can conserve system resources and alleviate Service Database pressure and improve the efficient that system upstream returns business datum.
For achieving the above object, according to an aspect of the present invention, provide a kind of business data processing method.
Business data processing method of the present invention comprises: thereby after the service order that operation system execution up-stream system issues draws business datum, preserve accordingly passback sign and the service identification of this business datum in Service Database in task list, this passback sign is used for this business datum of sign and whether has returned to described up-stream system; Travel through described task list, in the process of traversal, identify the passback that business datum do not return to described up-stream system in according to task list and identified corresponding service identification, in described Service Database, retrieve business datum corresponding to this service identification, then this business datum is returned to described up-stream system.
Alternatively, described service identification is the professional major key of business datum in Service Database.
Alternatively, described step of preserving accordingly the service identification of this business datum in Service Database and passback sign in task list comprises: receive passback sign and the service identification of described business datum in Service Database of the subsystem transmission of described operation system, this subsystem is the subsystem of the described service order of execution of described operation system; Described passback sign and described service identification are kept in the task list accordingly.
Alternatively, the step of the described task list of described traversal comprises: travel through circularly described task list.
Alternatively, described operation system comprises warehouse management system.
According to a further aspect in the invention, provide a kind of service data processing apparatus.
Service data processing apparatus of the present invention comprises: preserve module, be used for after thereby the service order that operation system execution up-stream system issues draws business datum, preserve accordingly passback sign and the service identification of this business datum in Service Database in task list, this passback sign is used for this business datum of sign and whether has returned to described up-stream system; Spider module is used for traveling through described task list, has identified the passback that business datum do not return to described up-stream system in the table that sets the tasks and identify corresponding service identification in the process of traversal; Retrieval module, for the service identification of determining according to described spider module, business datum corresponding to this service identification of retrieval in described Service Database; The passback module, the business datum that is used for described retrieval module is retrieved returns to described up-stream system.
Alternatively, described service identification is the professional major key of business datum in Service Database.
Alternatively, described preservation module also is used for: receive passback sign that the subsystem of described operation system sends and described business datum at the service identification of Service Database, this subsystem is the subsystem of the described service order of execution of described operation system; Described passback sign and described service identification are kept in the task list accordingly.
Alternatively, described spider module also is used for traveling through circularly described task list.
According to technical scheme of the present invention, need not to travel through the business datum in the Service Database, and only need travel through a task list, so can not waste system resource because of the idle work that exists in the traversal Service Database, can not cause excessive pressure and the normal operation that affects operation system to Service Database yet.Can find out from description above, the structure of task list is comparatively simple, therefore travel through the speed of task list, and when going out corresponding business datum according to the service identification that finds from professional database retrieval, the speed of this retrieval is far away faster than the speed that travels through Service Database, to adopt professional major key retrieve data as example, only need data query in traffic table corresponding to this business major key, utilized fully the index of database, and traversal Service Database of the prior art is to have traveled through all traffic table.So use the technical scheme of present embodiment compared with prior art, can also improve the efficient that system upstream returns business datum.
Description of drawings
Accompanying drawing is used for understanding the present invention better, does not consist of improper restriction of the present invention.Wherein:
Fig. 1 is the synoptic diagram according to the basic procedure of the business data processing of the embodiment of the invention;
Fig. 2 is the synoptic diagram according to the basic structure of the service data processing apparatus of the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing example embodiment of the present invention is explained, to help understanding, they should be thought it only is exemplary comprising the various details of the embodiment of the invention.Therefore, those of ordinary skills will be appreciated that, can make various changes and modification to the embodiments described herein, and can not deviate from scope and spirit of the present invention.Equally, for clarity and conciseness, omitted the description to known function and structure in the following description.
Fig. 1 is the synoptic diagram according to the basic procedure of the business data processing of the embodiment of the invention.
As shown in Figure 1, the basic procedure of the business data processing of the embodiment of the invention comprises that following step S11 is to step S14.
Step S11: thus the service order that operation system execution up-stream system issues draws business datum.Business datum is generally held in the Service Database.
Step S12: in task list, preserve accordingly passback sign and the service identification of this business datum in Service Database.
Passback sign in this step is whether to have returned to up-stream system for this business datum of sign.The passback sign can be simple zone bit, and for example " 1 " expression returns, not passback of " 0 " expression.
Because operation system can receive the multinomial service order that up-stream system issues in operational process, so can produce multinomial business datum, correspondingly have many group passback signs and service identification, so comprise a plurality of list items in the task list, each list item comprises one group of corresponding passback sign and service identification.
Step S13: the traversal task list finds out in the process of traversal and has identified the passback sign that business datum does not return to up-stream system.The passback sign that finds out may be one, also may be a plurality of.Traversal to task list can loop with many times, because can constantly receive service order in the operation system operational process, thereby also can constantly increase new list item in the task list.
Step S14: identify corresponding service identification according to the passback that in task list, finds out, in Service Database, retrieve business datum corresponding to this service identification.
Can find out from above step, in the operation system operational process, pay close attention to instruction and whether finished, if finish, then produce corresponding result, be i.e. passback sign and service identification.The service identification here can adopt the professional major key of business datum in Service Database.Because operation system is carried out multinomial instruction usually, so the result who produces has formed a plurality of list items in the task list, travel through this task list this moment and just can find the not sign of the business datum of passback, utilize the retrieval technique in the database can find corresponding business datum.Take adopt professional major key as service identification as example, can find corresponding traffic table according to professional major key, data query and tissue obtain returning to the data of up-stream system from this traffic table again.
Above-mentioned step S12 can be finished by operation system self to step S14; Also can by one independently return system carry out, passback this moment sign is generated by the subsystem of the execution service order in the operation system, in step S12, specifically can be passback sign and the service identification of business datum in Service Database that receives first the subsystem transmission of operation system, this subsystem is the subsystem of the execution service order of operation system, then should return sign and this service identification and be kept in the task list accordingly.
Above-mentioned return system can adopt structure shown in Figure 2.Fig. 2 is the synoptic diagram according to the basic structure of the service data processing apparatus of the embodiment of the invention.As shown in Figure 2, service data processing apparatus 20 mainly comprises preservation module 21, spider module 22, retrieval module 23 and passback module 24.
Preserving module 21 is used for after thereby the service order that operation system execution up-stream system issues draws business datum, preserve accordingly passback sign and the service identification of this business datum in Service Database in task list, this passback sign is used for this business datum of sign and whether has returned to described up-stream system.Also can be used for receiving passback sign and the service identification of business datum in Service Database that the subsystem of operation system sends, then should return and identify and this service identification is kept in the task list accordingly.
Spider module 22 is used for traveling through above-mentioned task list, has identified the passback that business datum do not return to up-stream system in the table that sets the tasks and identify corresponding service identification in the process of traversal.Retrieval module 23 is retrieved business datum corresponding to this service identification for the service identification of determining according to spider module 22 in Service Database.The business datum that passback module 24 is used for retrieval module 23 is retrieved returns to up-stream system.
The technical scheme of present embodiment can be applied to comprise in the miscellaneous service system of WMS.Technical scheme according to present embodiment, need not to travel through the business datum in the Service Database, and only need travel through a task list, so can not waste system resource because of the idle work that exists in the traversal Service Database, can not cause excessive pressure and the normal operation that affects operation system to Service Database yet.Can find out from description above, the structure of task list is comparatively simple, therefore travel through the speed of task list, and when going out corresponding business datum according to the service identification that finds from professional database retrieval, the speed of this retrieval is far away faster than the speed that travels through Service Database, to adopt professional major key retrieve data as example, only need data query in traffic table corresponding to this business major key, utilized fully the index of database, and traversal Service Database of the prior art is to have traveled through all traffic table.So use the technical scheme of present embodiment compared with prior art, can also improve the efficient that system upstream returns business datum.Through the application testing of inventor on WMS, adopt the technical scheme of the embodiment of the invention, can realize about reduction of 10% to 15% to the pressure of Service Database, and the efficient of upstream system's passback business datum can promote about 20% to 30%.
Ultimate principle of the present invention has below been described in conjunction with specific embodiments, but, it is to be noted, for those of ordinary skill in the art, can understand whole or any steps or the parts of method and apparatus of the present invention, can be in the network of any calculation element (comprising processor, storage medium etc.) or calculation element, realized that with hardware, firmware, software or their combination this is that those of ordinary skills use their basic programming skill just can realize in the situation of having read explanation of the present invention.
Therefore, purpose of the present invention can also be by realizing in any program of calculation element operation or batch processing.Described calculation element can be known fexible unit.Therefore, purpose of the present invention also can be only by providing the program product that comprises the program code of realizing described method or device to realize.That is to say that such program product also consists of the present invention, and the storage medium that stores such program product also consists of the present invention.Obviously, described storage medium can be any storage medium that develops in any known storage medium or future.
It is pointed out that also that in apparatus and method of the present invention obviously, each parts or each step can decompose and/or reconfigure.These decomposition and/or reconfigure and to be considered as equivalents of the present invention.And, carry out the step of above-mentioned series of processes and can order naturally following the instructions carry out in chronological order, but do not need necessarily to carry out according to time sequencing.Some step can walk abreast or carry out independently of one another.
Above-mentioned embodiment does not consist of limiting the scope of the invention.Those skilled in the art should be understood that, depend on designing requirement and other factors, and various modifications, combination, sub-portfolio and alternative can occur.Any modification of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within the protection domain of the present invention.

Claims (10)

1. a business data processing method is characterized in that, comprising:
After thereby the service order that operation system execution up-stream system issues draws business datum, preserve accordingly passback sign and the service identification of this business datum in Service Database in task list, this passback sign is used for this business datum of sign and whether has returned to described up-stream system;
Travel through described task list, in the process of traversal, identify the passback that business datum do not return to described up-stream system in according to task list and identified corresponding service identification, in described Service Database, retrieve business datum corresponding to this service identification, then this business datum is returned to described up-stream system.
2. method according to claim 1 is characterized in that, described service identification is the professional major key of business datum in Service Database.
3. method according to claim 1 and 2 is characterized in that, described step of preserving accordingly the service identification of this business datum in Service Database and passback sign in task list comprises:
Receive passback sign and the service identification of described business datum in Service Database of the subsystem transmission of described operation system, this subsystem is the subsystem of the described service order of execution of described operation system;
Described passback sign and described service identification are kept in the task list accordingly.
4. method according to claim 1 and 2 is characterized in that, the step of the described task list of described traversal comprises: travel through circularly described task list.
5. method according to claim 1 and 2 is characterized in that, described operation system comprises warehouse management system.
6. a service data processing apparatus is characterized in that, comprising:
Preserve module, be used for after thereby the service order that operation system execution up-stream system issues draws business datum, preserve accordingly passback sign and the service identification of this business datum in Service Database in task list, this passback sign is used for this business datum of sign and whether has returned to described up-stream system;
Spider module is used for traveling through described task list, has identified the passback that business datum do not return to described up-stream system in the table that sets the tasks and identify corresponding service identification in the process of traversal;
Retrieval module, for the service identification of determining according to described spider module, business datum corresponding to this service identification of retrieval in described Service Database;
The passback module, the business datum that is used for described retrieval module is retrieved returns to described up-stream system.
7. device according to claim 6 is characterized in that, described service identification is the professional major key of business datum in Service Database.
8. according to claim 6 or 7 described devices, it is characterized in that described preservation module also is used for:
Receive passback sign and the service identification of described business datum in Service Database of the subsystem transmission of described operation system, this subsystem is the subsystem of the described service order of execution of described operation system;
Described passback sign and described service identification are kept in the task list accordingly.
9. according to claim 6 or 7 described devices, it is characterized in that described spider module also is used for traveling through circularly described task list.
10. according to claim 6 or 7 described devices, it is characterized in that described operation system comprises warehouse management system.
CN201210389148.XA 2012-10-15 2012-10-15 Business data processing method and device Active CN102999554B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210389148.XA CN102999554B (en) 2012-10-15 2012-10-15 Business data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210389148.XA CN102999554B (en) 2012-10-15 2012-10-15 Business data processing method and device

Publications (2)

Publication Number Publication Date
CN102999554A true CN102999554A (en) 2013-03-27
CN102999554B CN102999554B (en) 2016-04-06

Family

ID=47928122

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210389148.XA Active CN102999554B (en) 2012-10-15 2012-10-15 Business data processing method and device

Country Status (1)

Country Link
CN (1) CN102999554B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104391932A (en) * 2014-11-21 2015-03-04 北京京东尚科信息技术有限公司 Method and system for processing service data
CN105468784A (en) * 2015-12-24 2016-04-06 北京京东尚科信息技术有限公司 Method and device for processing highly concurrent traffic
CN106815062A (en) * 2015-12-02 2017-06-09 阿里巴巴集团控股有限公司 A kind of business pipelined data processing method and processing device
CN110221952A (en) * 2019-04-18 2019-09-10 北京互金新融科技有限公司 The processing method and processing device of business datum, business data processing system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100358360C (en) * 2004-06-10 2007-12-26 华为技术有限公司 Method and system for realizing safety running of digital television user management system
CN101206644B (en) * 2006-12-18 2010-05-12 厦门雅迅网络股份有限公司 Method for processing vehicle running track data
CN101739435B (en) * 2008-11-07 2012-05-09 中国移动通信集团公司 Database access method and control device
CN101789009B (en) * 2010-01-26 2012-03-07 恒生电子股份有限公司 Method for processing business data, device and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104391932A (en) * 2014-11-21 2015-03-04 北京京东尚科信息技术有限公司 Method and system for processing service data
CN104391932B (en) * 2014-11-21 2018-03-02 北京京东尚科信息技术有限公司 The method and system of processing business data
CN106815062A (en) * 2015-12-02 2017-06-09 阿里巴巴集团控股有限公司 A kind of business pipelined data processing method and processing device
CN105468784A (en) * 2015-12-24 2016-04-06 北京京东尚科信息技术有限公司 Method and device for processing highly concurrent traffic
CN110221952A (en) * 2019-04-18 2019-09-10 北京互金新融科技有限公司 The processing method and processing device of business datum, business data processing system

Also Published As

Publication number Publication date
CN102999554B (en) 2016-04-06

Similar Documents

Publication Publication Date Title
US11086687B2 (en) Managing resource allocation in a stream processing framework
US10606711B2 (en) Recovery strategy for a stream processing system
US9842000B2 (en) Managing processing of long tail task sequences in a stream processing framework
US10198298B2 (en) Handling multiple task sequences in a stream processing framework
Bi et al. Big data analytics with applications
Van der Aalst Data scientist: The engineer of the future
US20170083368A1 (en) Maintaining throughput of a stream processing framework while increasing processing load
CN107515878B (en) Data index management method and device
Kawa SMART logistics chain
US9135071B2 (en) Selecting processing techniques for a data flow task
US11949760B2 (en) System and method for content parsing
Robak et al. Applying big data and linked data concepts in supply chains management
CN102236580B (en) Method for distributing node to ETL (Extraction-Transformation-Loading) task and dispatching system
CN110188100A (en) Data processing method, device and computer storage medium
Mikavicaa et al. Big data: challenges and opportunities in logistics systems
US20130173703A1 (en) Efficient sharing of artifacts between collaboration applications
Jamal et al. Cloud computing solution and services for RFID based supply chain management
CN102999554A (en) Business data processing method and business data processing device
CN103235811A (en) Data storage method and device
KR20240046468A (en) Systems and methods of balancing network load for ultra high server availability
CN108897729A (en) A kind of trading template sharing method, device, electronic equipment and storage medium
Robak et al. Research Problems Associated with Big Data Utilization in Logistics and Supply Chains Design and Management.
CN110069488A (en) A kind of date storage method, method for reading data and its device
US20200210945A1 (en) Computer storage system for generating warehouse management orders
WO2020110345A1 (en) Computer system for assisting with promotion of business improvement, and method and program executed on said computer system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant