CN110019170A - Data processing method, system, computer system and computer readable storage medium - Google Patents

Data processing method, system, computer system and computer readable storage medium Download PDF

Info

Publication number
CN110019170A
CN110019170A CN201711498841.XA CN201711498841A CN110019170A CN 110019170 A CN110019170 A CN 110019170A CN 201711498841 A CN201711498841 A CN 201711498841A CN 110019170 A CN110019170 A CN 110019170A
Authority
CN
China
Prior art keywords
data
goods
return
preset cache
stored
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
CN201711498841.XA
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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201711498841.XA priority Critical patent/CN110019170A/en
Publication of CN110019170A publication Critical patent/CN110019170A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/215Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • G06Q10/0875Itemisation or classification of parts, supplies or services, e.g. bill of materials

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Business, Economics & Management (AREA)
  • Quality & Reliability (AREA)
  • Economics (AREA)
  • Tourism & Hospitality (AREA)
  • Strategic Management (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Computational Linguistics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Development Economics (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Present disclose provides a kind of data processing methods, comprising: the return of goods for obtaining object to be returned goods build forms data, wherein it includes creating the required related data when returning note for object of returning goods that the return of goods, which build forms data,;And the return of goods that will acquire are built forms data and are pre-stored in preset cache in case use when creating returning note.The disclosure additionally provides a kind of data processing system, a kind of computer system and a kind of computer readable storage medium.

Description

Data processing method, system, computer system and computer readable storage medium
Technical field
This disclosure relates to technical field of data processing, more particularly, to a kind of data processing method, system, computer System and computer readable storage medium.
Background technique
Currently, the return of goods system of supplier is a link more important in supply chain operation system, for example all kinds of face Phase commodity and unseasonable goods are required to be returned to supplier by return of goods system, to reduce the operation cost of businessman, improve library The utilization rate in room.
However, it is existing that inventor has found that the prior art at least has the following deficiencies: during realizing disclosure design Face phase commodity or unseasonable goods return of goods system, have the defects that build single low efficiency and even exist to build and singly fail.
In view of the above-mentioned problems, not yet providing effective solution scheme in presently relevant technology.
Summary of the invention
It builds forms data by that will return goods in view of this, present disclose provides one kind and is pre-stored in preset cache to avoid temporary When data-interface it is unavailable caused by build singly fail data processing method and system.
An aspect of this disclosure provides a kind of data processing method, comprising: the return of goods for obtaining object to be returned goods build list Data, wherein it includes the above-mentioned related data required when the returning note for object of returning goods of creation that the above-mentioned return of goods, which build forms data,;With And the above-mentioned return of goods that will acquire are built forms data and are pre-stored in preset cache in case use when creating above-mentioned returning note.
In accordance with an embodiment of the present disclosure, it includes source data and/or growth data, above-mentioned source data that the above-mentioned return of goods, which build forms data, Originally in the database, it includes: to obtain from the above-mentioned of above-mentioned database that the return of goods for obtaining object to be returned goods, which build forms data, for storage The source data of object to be returned goods;And/or obtain the growth data of the above-mentioned object to be returned goods from specific data interface.
In accordance with an embodiment of the present disclosure, above-mentioned growth data includes inertia data and activity data, above-mentioned wait move back obtaining During the above-mentioned growth data of goods object: above-mentioned inertia data are obtained from above-mentioned specific data interface, it is above-mentioned without obtaining Activity data.
In accordance with an embodiment of the present disclosure, above-mentioned growth data includes inertia data and activity data, be pre-stored it is above-mentioned to During the above-mentioned growth data of return of goods object: the storage of the above-mentioned inertia data pre-storage that will acquire in above-mentioned preset cache, without The above-mentioned activity data that will acquire is pre-stored in above-mentioned preset cache.
In accordance with an embodiment of the present disclosure, above-mentioned data processing method further include: the tool in above-mentioned preset cache will be stored in Relevant all return of goods are built forms data and are polymerize, and a data chain is formed.
In accordance with an embodiment of the present disclosure, above-mentioned data processing method further include: when creating corresponding returning note, from above-mentioned The corresponding return of goods are obtained in preset cache builds forms data.
In accordance with an embodiment of the present disclosure, above-mentioned preset cache includes distributed caching cluster.
Another aspect of the present disclosure provides one kind first and obtains module, and the return of goods for obtaining object to be returned goods build odd number According to, wherein it includes the above-mentioned related data required when the returning note for object of returning goods of creation that the above-mentioned return of goods, which build forms data,;And When pre-stored module, the above-mentioned return of goods for will acquire are built forms data and are pre-stored in preset cache in case creating above-mentioned returning note It uses.
In accordance with an embodiment of the present disclosure, it includes source data and/or growth data, above-mentioned source data that the above-mentioned return of goods, which build forms data, Originally in the database, obtaining module includes: first acquisition unit, for obtaining from the above-mentioned wait move back of above-mentioned database for storage The source data of goods object;And/or second acquisition unit, for obtaining the expansion of the above-mentioned object to be returned goods from specific data interface Open up data.
In accordance with an embodiment of the present disclosure, above-mentioned growth data includes inertia data and activity data, above-mentioned wait move back obtaining During the above-mentioned growth data of goods object: above-mentioned inertia data are obtained from above-mentioned specific data interface, it is above-mentioned without obtaining Activity data.
In accordance with an embodiment of the present disclosure, above-mentioned growth data includes inertia data and activity data, be pre-stored it is above-mentioned to During the above-mentioned growth data of return of goods object: the storage of the above-mentioned inertia data pre-storage that will acquire in above-mentioned preset cache, without The above-mentioned activity data that will acquire is pre-stored in above-mentioned preset cache.
In accordance with an embodiment of the present disclosure, above-mentioned data processing system further include: aggregation module, it is above-mentioned pre- for that will be stored in If all return of goods with incidence relation in caching are built forms data and polymerize, a data chain is formed.
In accordance with an embodiment of the present disclosure, above-mentioned data processing system further include: second obtains module, for corresponding in creation Returning note when, obtained from above-mentioned preset cache it is corresponding the return of goods build forms data.
In accordance with an embodiment of the present disclosure, above-mentioned preset cache includes distributed caching cluster.
Another aspect of the present disclosure provides a kind of computer system, comprising: one or more processors;Memory is used In the one or more programs of storage, wherein when said one or multiple programs are executed by said one or multiple processors, make It obtains said one or multiple processors realizes as above described in any item data processing methods.
Another aspect of the present disclosure provides a kind of computer readable storage medium, is stored thereon with executable instruction, should Instruction makes processor realize as above described in any item data processing methods when being executed by processor.
In accordance with an embodiment of the present disclosure, the skill that forms data is pre-stored in preset cache is built by that will return goods because using Art means, can at least be partially solved it is existing face phase commodity or unseasonable goods return of goods system and exist build single low efficiency or even deposit The technical issues of building single failure, and it therefore may be implemented to avoid building caused by transient data interface is unavailable the skill singly to fail Art effect.
Detailed description of the invention
By referring to the drawings to the description of the embodiment of the present disclosure, the above-mentioned and other purposes of the disclosure, feature and Advantage will be apparent from, in the accompanying drawings:
Fig. 1 diagrammatically illustrate according to the embodiment of the present disclosure can be with application data processing method and systematic difference field Scape;
Fig. 2 diagrammatically illustrates the flow chart of the data processing method according to the embodiment of the present disclosure;
Fig. 3 A diagrammatically illustrates the schematic diagram building forms data by returning goods and polymerizeing according to the embodiment of the present disclosure;
Fig. 3 B diagrammatically illustrates the schematic diagram of the growth data for obtaining object to be returned goods according to the embodiment of the present disclosure;
Fig. 3 C diagrammatically illustrates the schematic diagram of the access performance of the various types of memory according to the embodiment of the present disclosure;
Fig. 3 D, which is diagrammatically illustrated, to be built forms data to the return of goods according to the embodiment of the present disclosure and carries out that pre-stored and polymerize shows It is intended to;
Fig. 4 diagrammatically illustrates the block diagram of the data processing system according to the embodiment of the present disclosure;
Fig. 5 A diagrammatically illustrates the block diagram of the data processing system according to another embodiment of the disclosure;
Fig. 5 B diagrammatically illustrates the block diagram of the data processing system according to another embodiment of the disclosure;And
Fig. 6 diagrammatically illustrates the frame of the computer system for being adapted for carrying out data processing method according to the embodiment of the present disclosure Figure.
Specific embodiment
Hereinafter, will be described with reference to the accompanying drawings embodiment of the disclosure.However, it should be understood that these descriptions are only exemplary , and it is not intended to limit the scope of the present disclosure.In addition, in the following description, descriptions of well-known structures and technologies are omitted, with Avoid unnecessarily obscuring the concept of the disclosure.
Term as used herein is not intended to limit the disclosure just for the sake of description specific embodiment.It uses herein The terms "include", "comprise" etc. show the presence of the feature, step, operation and/or component, but it is not excluded that in the presence of Or add other one or more features, step, operation or component.
There are all terms (including technical and scientific term) as used herein those skilled in the art to be generally understood Meaning, unless otherwise defined.It should be noted that term used herein should be interpreted that with consistent with the context of this specification Meaning, without that should be explained with idealization or excessively mechanical mode.
It, in general should be according to this using statement as " at least one in A, B and C etc. " is similar to Field technical staff is generally understood the meaning of the statement to make an explanation (for example, " system at least one in A, B and C " Should include but is not limited to individually with A, individually with B, individually with C, with A and B, with A and C, have B and C, and/or System etc. with A, B, C).Using statement as " at least one in A, B or C etc. " is similar to, generally come Saying be generally understood the meaning of the statement according to those skilled in the art to make an explanation (for example, " having in A, B or C at least One system " should include but is not limited to individually with A, individually with B, individually with C, with A and B, have A and C, have B and C, and/or the system with A, B, C etc.).It should also be understood by those skilled in the art that substantially arbitrarily indicating two or more The adversative conjunction and/or phrase of optional project shall be construed as either in specification, claims or attached drawing A possibility that giving including one of these projects, either one or two projects of these projects.For example, phrase " A or B " should A possibility that being understood to include " A " or " B " or " A and B ".
Embodiment of the disclosure provides a kind of goods delivery system, comprising: the first conveying track, be laid on delivery point with Between sortation hubs, the first container for that will deliver a little is transported by the first conveying track to sortation hubs;And control Equipment executes the first transport operation for controlling the first conveying track according to business datum.
Fig. 1 diagrammatically illustrate according to the embodiment of the present disclosure can be with application data processing method and systematic difference field Scape.It should be noted that being only the example that can apply the system architecture of the embodiment of the present disclosure shown in Fig. 1, to help this field Technical staff understands the technology contents of the disclosure, but be not meant to the embodiment of the present disclosure may not be usable for other equipment, system, Environment or scene.
As shown in Figure 1, in embodiment of the disclosure, due to the return of goods system of supplier be in supply chain operation system compared with For an important link, for example, it is all kinds of face phase commodity and unseasonable goods are required to be returned to supplier by return of goods system, from And the operation cost of businessman is reduced, improve the utilization rate of storehouse.But it is existing face phase commodity or unseasonable goods return of goods system, Have the defects that build single low efficiency or even exist to build singly to fail.At this point it is possible to the data processing scheme provided using the disclosure, it will The return of goods are built forms data 101 and are pre-stored in preset cache 102, and when creating returning note, the acquisition pair from the preset cache 102 The return of goods answered build forms data 101, so can to avoid transient data interface it is unavailable caused by build single failure, wherein It may include facing the return of goods of phase commodity to build forms data 1011 and/or the return of goods of unseasonable goods build list in forms data 101 that the return of goods, which are built, Data 1012.
Fig. 2 diagrammatically illustrates the flow chart of the data processing method according to the embodiment of the present disclosure.
As shown in Fig. 2, the data processing method may include operation S201~S202, in which:
In operation S201, the return of goods for obtaining object to be returned goods build forms data, wherein it includes creating wait move back that the return of goods, which build forms data, Required related data when the returning note of goods object.
In embodiment of the disclosure, object to be returned goods can include but is not limited to face phase commodity and/or unseasonable goods etc., Facing phase commodity for example can be the commodity for closing on the shelf-life, and it is extremely slow or can not sell that unseasonable goods for example can be sale speed Commodity.It should be understood that face in phase commodity may include it is one or more face phase commodity, it may include one in phase commodity that every kind, which is faced, It is a or multiple face phase commodity;Correspondingly, also may include one or more unseasonable goods in unseasonable goods, in every kind of unseasonable goods It may include one or more unseasonable goods.
In accordance with an embodiment of the present disclosure, may include on returning note with when object of returning goods corresponding returning note in creation Related data corresponding with object to be returned goods, the related data for example may include keeper unit (Stock Keeping Unit, referred to as SKU), supplier's brevity code, DC number, storehouse number, build single member etc., wherein the return of goods, which build forms data, can wrap Include above-mentioned related data.
In operation S202, the return of goods that will acquire, which are built forms data and are pre-stored in preset cache when in case creating returning note, to be made With.
In embodiment of the disclosure, preset cache can include but is not limited to distributed caching cluster such as JimDB, should Distributed caching cluster may include multiple and different kinds of pond, and every kind of different pond can be used for storing different data.
In accordance with an embodiment of the present disclosure, the return of goods that can be will acquire are built forms data and are stored in advance in preset cache.It is creating When building returning note, the return of goods corresponding with object to be returned goods can be extracted from the preset cache and build forms data;Building unijunction beam Afterwards, the return of goods that can be destroyed in the preset cache build forms data, to save the resource information of server.
It is different from embodiment of the disclosure, generally, face phase commodity or unseasonable goods return of goods system, it can be according to supplying system The information for facing phase commodity or unseasonable goods of push, automatically creates returning note according to respective rule.But since service logic is non- Often complicated, the external interface relied on is numerous, when to face phase commodity or unseasonable goods creation returning note on a large scale, builds single-action Rate is lower, occupies server resource, while also sacrificing user experience.Therefore, there are following defects for the scheme of the prior art, such as Face phase data source needs to obtain from database, obtains be required to processing full dose data every time, in the very big Shi Rongyi of data volume Cause acquisition efficiency lower;Some extension information datas need to realize the intercommunication of data by interface, if interface data prolongs It is slow or unavailable, it will lead to and build the reduction of single-action rate and even result in and build single failure;And to the data cleansing for facing issue evidence with And a time point processing is concentrated on to the acquisition of extension information data and is also responded and imitates by interface although multithreading The influence of rate.
And by embodiment of the disclosure, the return of goods, which are built forms data, to be pre-stored in preset cache, when creating returning note Can be inquired from preset cache the return of goods build forms data, not only can to avoid transient data interface it is unavailable caused by build single mistake It loses, can also improve and build single-action rate.
Below with reference to Fig. 3 A~Fig. 3 D, method shown in Fig. 2 is described further in conjunction with specific embodiments.
As a kind of optional embodiment, it includes source data and/or growth data that the return of goods, which build forms data, and source data is deposited originally In the database, it may include: to obtain the object to be returned goods from database that the return of goods for obtaining object to be returned goods, which build forms data, for storage Source data;And/or obtain the growth data of the object to be returned goods from specific data interface.
In embodiment of the disclosure, returning goods and building forms data may include source data and/or growth data, wherein source number According to the date of production, the due date etc. that for example may include object to be returned goods;Growth data for example may include supplier data, Commodity data, storehouse attribute etc..
In accordance with an embodiment of the present disclosure, the return of goods for obtaining object to be returned goods, which are built forms data and be can be, obtains object to be returned goods Source data and/or the growth data for obtaining object to be returned goods.Wherein, the source data for obtaining object to be returned goods can be acquisition and come from Source data in database such as MySQL database;The growth data for obtaining object to be returned goods can be acquisition and connect from specific Mouth growth data.Specifically, obtaining the growth data can be, for example by the self-built middleware data-interface service of enterprise JSF service call special interface, and obtain from the special interface growth data of object to be returned goods.
By embodiment of the disclosure, forms data is built by obtaining the return of goods in advance, which forms data can be built into and prestored Storage builds forms data in preset cache can directly to transfer the return of goods from the preset cache when creating returning note, into And can to avoid transient data interface it is unavailable caused by build single failure.
As a kind of optional embodiment, growth data includes inertia data and activity data, is obtaining object to be returned goods Growth data during: from specific data interface obtain inertia data, without obtain activity data.
In embodiment of the disclosure, growth data may include inertia data and activity data, wherein inertia data example It such as can be the data that supplier data infrequently changes, activity data for example can be the warp such as stockpile number, game data The data often changed.
In short, not all growth data is all stable, such as the timeliness of activity data is shorter, and change is more Frequently.Therefore, if obtaining activity data in advance, when creating returning note over time, above-mentioned activity data greatly may be used It can change.So activity data can be obtained in real time when creating returning note, to avoid using the activity data of mistake to lead Creation returning note is caused to go wrong.
By embodiment of the disclosure, inertia data are obtained during obtaining growth data without obtaining active number According to, can to avoid due to used mistake activity data and cause to build single failure.
As a kind of optional embodiment, growth data includes inertia data and activity data, pre-stored wait return goods pair During the growth data of elephant: the inertia data pre-storage that will acquire is stored up in preset cache, and the activity data without will acquire is pre- It is stored in preset cache.
In embodiment of the disclosure, after getting growth data, may include in the growth data inertia data and Activity data, at this point it is possible to which the inertia data pre-storage that will acquire is stored up into preset cache.And activity data can then faced It carries out obtaining but not caching again when closely building list, when it is implemented, the correctness in order to guarantee business, for some real-time changes And once caching may cause and build the activity data of single mistake and for example build the data such as single member and logic batch inventory, Ke Yifang Abandon caching;And for the inertia data such as warehouse information, it, then can be with buffered in advance to preset cache since the frequency of change is not high In.
By embodiment of the disclosure, inertia data are pre-stored without right during pre-stored growth data Activity data is pre-stored, thus can cause to build single failure to avoid due to having used the activity data of mistake.
As a kind of optional embodiment, which can also include: the tool that will be stored in preset cache Relevant all return of goods are built forms data and are polymerize, and a data chain is formed.
In embodiment of the disclosure, incidence relation corresponding with a certain object to be returned goods can for example return goods and build forms data, Such as all return of goods such as storehouse attribute corresponding with a certain object to be returned goods, supplier data, time of received orders build forms data.
In accordance with an embodiment of the present disclosure, all return of goods with incidence relation being stored in preset cache will can be built Forms data is polymerize, and forms a data chain.
Specifically, as shown in Figure 3A, it is possible, firstly, to which the JMQ return of goods pushed, which are built forms data, for example builds single member, commodity number According to, supplier data, storehouse attribute, inventory data etc. stored and initialized, and it is the growth data after initialization is synchronous (also known as store) to preset cache such as JimDB heteromerism according in polymeric pool;In addition, due to being initialized to source data Time belongs to blank interval, so can use the blank interval and cleaned to the source data in preset cache (can be used for Filter out the invalid return of goods and build forms data) and it is synchronized to DB (the source data relation data pond of also known as JimDB).Secondly, in advance and Batch calls external expansion interface (also known as special interface), and by calling JSP interface by growth data such as SKU, supply Quotient's brevity code, DC number, storehouse number, to build single member etc. pre- first pass through memory Map storage to preset cache such as JimDB heteromerism According in polymeric pool, to wait data aggregate.Further, build incidence relation in forms data according to returning goods, will be cached to it is default All return of goods with incidence relation in caching are built forms data and are polymerize, and corresponding data-link is formed.
By embodiment of the disclosure, it is polymerize and is formed by the way that all return of goods with incidence relation are built forms data Data-link may be implemented to call a preset cache that can obtain all return of goods and build forms data, can mention to the full extent It rises to obtain to return goods and builds the efficiency of forms data.
As a kind of optional embodiment, the data processing method can also include: when creating corresponding returning note, from The corresponding return of goods are obtained in preset cache builds forms data.
It in embodiment of the disclosure, as shown in Figure 3B, can will be all kinds of before the returning note for establishing object to be returned goods Inertia data in growth data are prestored in preset cache such as JimDB (can be the total buffer area of JimDB in figure). In thread request growth data, the corresponding inertia number of the growth data can have preferentially been searched whether from preset cache According to if can be directly acquired with being found in preset cache;If cannot, (memory in figure can be can be from memory Map Map1 and memory Map2) in search the return of goods build forms data, if including that the return of goods build forms data in memory Map, directly obtain It takes, and the return of goods is built into forms data storage into preset cache, it is convenient to use next time;If there is no the return of goods to build in memory Map Forms data can then call directly special interface and obtain the return of goods and build forms data, and the return of goods are built forms data storage to default In caching.
It should be noted that the return of goods that can be destroyed in preset cache corresponding with the returning note are built after building list Forms data, to save server resource.
By embodiment of the disclosure, when creating returning note, preferentially obtains to return goods from preset cache and build forms data, it can Single-action rate is built to be promoted.
As a kind of optional embodiment, preset cache includes distributed caching cluster.
In embodiment of the disclosure, as shown in Figure 3 C, it will therefore be readily appreciated that the access performance of memory is substantially better than disk, because This, places the data into memory, can provide faster reading efficiency.And the distribution that the preset cache of the embodiment of the present disclosure includes Formula cache cluster such as JimDB is a kind of distributed caching framework realized based on caching, can effectively mitigate database Load, can also save the data in the memory of different server, can also quickly access, mention when needing data High server execution efficiency.
So by embodiment of the disclosure, builds forms data by that will return goods and be pre-stored in distributed caching cluster, it can To avoid transient data interface it is unavailable caused by build single failure, can also improve and build single-action rate.
Fig. 3 D, which is diagrammatically illustrated, to be built forms data to the return of goods according to the embodiment of the present disclosure and carries out that pre-stored and polymerize shows It is intended to.
As shown in Figure 3D, after handling JMQ PUSH message, source data and growth data are respectively stored into DB and JimDB In, then DB is cleaned and be synchronized to the source data in JimDB, secondly calls special interface to build to obtain and need when list Inertia data, and the inertia data are saved into JimDB as heteromerism evidence, according to incidence relation, all return of goods build forms data It is polymerize and is stored, and activity data piecemeal is stored but is not polymerize, then builds forms data wound according to above-mentioned all return of goods Build returning note.
By embodiment of the disclosure, it can not only guarantee the efficiency of data acquisition, moreover it is possible to guarantee to build list to greatest extent Accuracy.
Fig. 4 diagrammatically illustrates the block diagram of the data processing system according to the embodiment of the present disclosure.
As shown in figure 4, the data processing system 400 may include the first acquisition module 410 and pre-stored module 420, In:
The return of goods that first acquisition module 410 is used to obtain object to be returned goods build forms data, wherein the return of goods build forms data and include Create the required related data when returning note for object of returning goods.
The return of goods that pre-stored module 420 is used to will acquire are built forms data and are pre-stored in preset cache in case creation returning note When use.
And by embodiment of the disclosure, the return of goods, which are built forms data, to be pre-stored in preset cache, when creating returning note Can be inquired from preset cache the return of goods build forms data, not only can to avoid transient data interface it is unavailable caused by build single mistake It loses, can also improve and build single-action rate.
As a kind of optional embodiment, it includes source data and/or growth data that the return of goods, which build forms data, and source data is deposited originally In the database, obtaining module may include: first acquisition unit, for obtaining the source of the object to be returned goods from database for storage Data;And/or second acquisition unit, for obtaining the growth data of the object to be returned goods from specific data interface.
By embodiment of the disclosure, forms data is built by obtaining the return of goods in advance, which forms data can be built into and prestored Storage builds forms data in preset cache can directly to transfer the return of goods from the preset cache when creating returning note, into And can to avoid transient data interface it is unavailable caused by build single failure.
As a kind of optional embodiment, growth data includes inertia data and activity data, is obtaining object to be returned goods Growth data during: from specific data interface obtain inertia data, without obtain activity data.
By embodiment of the disclosure, inertia data are obtained during obtaining growth data without obtaining active number According to, thus can cause to build single failure to avoid due to having used the activity data of mistake.
As a kind of optional embodiment, growth data includes inertia data and activity data, pre-stored wait return goods pair During the growth data of elephant: the inertia data pre-storage that will acquire is stored up in preset cache, and the activity data without will acquire is pre- It is stored in preset cache.
By embodiment of the disclosure, inertia data are pre-stored without right during pre-stored growth data Activity data is pre-stored, thus can cause to build single failure to avoid due to having used the activity data of mistake.
Fig. 5 A diagrammatically illustrates the block diagram of the data processing system according to the embodiment of the present disclosure.
As shown in Figure 5A, which can also include aggregation module 510, in which:
Aggregation module 510 is used to building all return of goods with incidence relation being stored in preset cache into forms data and carry out Polymerization forms a data chain.
By embodiment of the disclosure, it is polymerize and is formed by the way that all return of goods with incidence relation are built forms data Data-link may be implemented to call a preset cache that can obtain all return of goods and build forms data, can mention to the full extent It rises to obtain to return goods and builds the efficiency of forms data.
Fig. 5 B diagrammatically illustrates the block diagram of the data processing system according to another embodiment of the disclosure
As shown in Figure 5 B, which can also include the second acquisition module 610, in which:
Second, which obtains module 610, is used for when creating corresponding returning note, and the corresponding return of goods are obtained from preset cache and are built Forms data.
By embodiment of the disclosure, when creating returning note, preferentially obtains to return goods from preset cache and build forms data, it can Single-action rate is built to be promoted.
As a kind of optional embodiment, above-mentioned preset cache includes distributed caching cluster.
By embodiment of the disclosure, builds forms data by that will return goods and be pre-stored in distributed caching cluster, can keep away Exempt to build single failure caused by transient data interface is unavailable, can also improve and build single-action rate.
It is understood that above-mentioned first obtains module 410, pre-stored module 420, aggregation module 510 and second Obtain module 610 etc. may be incorporated in a module realize or any one module therein can be split into it is multiple Module.Alternatively, at least partly function of one or more modules in these modules can be at least partly function of other modules It can combine, and be realized in a module.According to an embodiment of the invention, first obtain module 410, pre-stored module 420, At least one of aggregation module 510 and the second acquisition module 610 can at least be implemented partly as hardware circuit, such as Field programmable gate array (FPGA) programmable logic array (PLA), system on chip, the system on substrate, in encapsulation is System, specific integrated circuit (ASIC), or can be to carry out the hardware such as any other rational method that is integrated or encapsulating to circuit Or firmware realizes, or is realized with software, the appropriately combined of hardware and firmware three kinds of implementations.Alternatively, first obtains Module 410, pre-stored module 420, aggregation module 510 and second obtain at least one of module 610 can be at least by portion Divide ground to be embodied as computer program module, when the program is run by computer, the function of corresponding module can be executed.
It should be noted that in embodiment of the disclosure in data processing method part and embodiment of the disclosure at data Reason components of system as directed be it is corresponding, the description of data processing system part is with specific reference to data processing method part, herein no longer It repeats.
As on the other hand, the disclosure additionally provides a kind of computer system, comprising: one or more processors;Storage Device, for storing one or more programs, wherein when one or more programs are executed by one or more processors, make It obtains one or more processors and realizes as above described in any item data processing methods.
Fig. 6 diagrammatically illustrates the frame of the computer system for being adapted for carrying out data processing method according to the embodiment of the present disclosure Figure.Computer system shown in Fig. 6 is only an example, should not function to the embodiment of the present disclosure and use scope bring and appoint What is limited.
As shown in fig. 6, include processor 701 according to the computer system 700 of the embodiment of the present disclosure, it can be according to storage It is loaded into random access storage device (RAM) 703 in the program in read-only memory (ROM) 702 or from storage section 708 Program and execute various movements appropriate and processing.Processor 701 for example may include general purpose microprocessor (such as CPU), refer to Enable set processor and/or related chip group and/or special microprocessor (for example, specific integrated circuit (ASIC)), etc..Processing Device 701 can also include the onboard storage device for caching purposes.Processor 701 may include for executing with reference to Fig. 2, Fig. 3 A Single treatment unit either multiple processing of the different movements of the method flow according to the embodiment of the present disclosure of~Fig. 3 D description Unit.
In RAM 703, it is stored with computer system 700 and operates required various programs and data.Processor 701, ROM 702 and RAM 703 is connected with each other by bus 704.Processor 701 is by executing the journey in ROM 702 and/or RAM 703 Sequence is executed above with reference to Fig. 2, the various operations of Fig. 3 A~Fig. 3 D description.It is being removed it is noted that described program also can store In one or more memories other than ROM 702 and RAM 703.Processor 701 can also be stored in described one by executing Program in a or multiple memories is executed above with reference to Fig. 2, the various operations of Fig. 3 A~Fig. 3 D description.
In accordance with an embodiment of the present disclosure, computer system 700 can also include input/output (I/O) interface 705, input/ Output (I/O) interface 705 is also connected to bus 704.Computer system 700 can also be including being connected to the following of I/O interface 705 It is one or more in component: the importation 706 including keyboard, mouse etc.;Including such as cathode-ray tube (CRT), liquid crystal The output par, c 707 of display (LCD) etc. and loudspeaker etc.;Storage section 708 including hard disk etc.;And including such as The communications portion 709 of the network interface card of LAN card, modem etc..Communications portion 709 is held via the network of such as internet Row communication process.Driver 710 is also connected to I/O interface 705 as needed.Detachable media 711, such as disk, CD, magnetic CD, semiconductor memory etc. are mounted on as needed on driver 710, in order to from the computer program read thereon It is mounted into storage section 708 as needed.
In accordance with an embodiment of the present disclosure, it may be implemented as computer software journey above with reference to the method for flow chart description Sequence.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer readable storage medium Computer program, which includes the program code for method shown in execution flow chart.In such implementation In example, which can be downloaded and installed from network by communications portion 709, and/or from detachable media 711 It is mounted.When the computer program is executed by processor 701, the above-mentioned function limited in the system of the embodiment of the present disclosure is executed Energy.In accordance with an embodiment of the present disclosure, system as described above, unit, module, unit etc. can pass through computer program Module is realized.
It should be noted that computer readable storage medium shown in the disclosure can be computer-readable signal media or Person's computer readable storage medium either the two any combination.Computer readable storage medium for example can be --- But be not limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above group It closes.The more specific example of computer readable storage medium can include but is not limited to: have being electrically connected for one or more conducting wires Connect, portable computer diskette, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed it is read-only Memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory Part or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium, which can be, any include or stores The tangible medium of program, the program can be commanded execution system, device or device use or in connection.And In the disclosure, computer-readable signal media may include in a base band or the data as the propagation of carrier wave a part are believed Number, wherein carrying computer-readable program code.The data-signal of this propagation can take various forms, including but not It is limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer Any computer readable storage medium other than readable storage medium storing program for executing, which can send, propagate or Person's transmission is for by the use of instruction execution system, device or device or program in connection.It is computer-readable to deposit The program code for including on storage media can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF Etc. or above-mentioned any appropriate combination.In accordance with an embodiment of the present disclosure, on computer readable storage medium may include One or more memories other than the ROM 702 and/or RAM 703 and/or ROM702 and RAM 703 of text description.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction It closes to realize.
As on the other hand, the disclosure additionally provides a kind of computer-readable medium, is stored thereon with executable instruction, should Instruction makes processor realize as above described in any item data processing methods when being executed by processor.The computer-readable medium can To be included in equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying equipment.It is above-mentioned Computer-readable medium carries one or more program, when said one or multiple programs are executed by the equipment When, so that the equipment executes: the return of goods for obtaining object to be returned goods build forms data, wherein it includes creation that the return of goods, which build forms data, The related data required when the returning note for object of returning goods;And the return of goods that will acquire are built forms data and are pre-stored in It is used when in case creating the returning note in preset cache.
Embodiment of the disclosure is described above.But the purpose that these embodiments are merely to illustrate that, and It is not intended to limit the scope of the present disclosure.Although respectively describing each embodiment above, but it is not intended that each reality Use cannot be advantageously combined by applying the measure in example.The scope of the present disclosure is defined by the appended claims and the equivalents thereof.It does not take off From the scope of the present disclosure, those skilled in the art can make a variety of alternatives and modifications, these alternatives and modifications should all fall in this Within scope of disclosure.

Claims (16)

1. a kind of data processing method, comprising:
The return of goods for obtaining object to be returned goods build forms data, wherein it includes creating the object to be returned goods that the return of goods, which build forms data, Returning note when required related data;And
The return of goods that will acquire are built forms data and are pre-stored in preset cache in case use when creating the returning note.
2. according to the method described in claim 1, wherein, it includes source data and/or growth data, institute that the return of goods, which build forms data, Stating source data storage originally, in the database, the return of goods for obtaining object to be returned goods build forms data and include:
Obtain the source data from object to be returned goods described in the database;And/or
Obtain the growth data from object to be returned goods described in specific data interface.
3. being obtained according to the method described in claim 2, wherein, the growth data includes inertia data and activity data During the growth data of the object to be returned goods:
The inertia data are obtained from the specific data interface, without obtaining the activity data.
4. being prestored according to the method described in claim 2, wherein, the growth data includes inertia data and activity data During the growth data for storing up the object to be returned goods:
The inertia data pre-storage that will acquire is stored up in the preset cache, and the activity data without will acquire is pre-stored in The preset cache.
5. according to the method described in claim 1, wherein, the method also includes:
All return of goods with incidence relation being stored in the preset cache are built forms data to polymerize, form a number According to chain.
6. method according to any one of claims 1 to 5, wherein the method also includes:
When creating corresponding returning note, the corresponding return of goods are obtained from the preset cache and build forms data.
7. method according to any one of claims 1 to 5, wherein the preset cache includes distributed caching cluster.
8. a kind of data processing system, comprising:
First obtains module, and the return of goods for obtaining object to be returned goods build forms data, wherein it includes wound that the return of goods, which build forms data, Build the related data required when the returning note for object of returning goods;And
Pre-stored module, the return of goods for will acquire are built forms data and are pre-stored in preset cache in case creating the return of goods It is used when single.
9. system according to claim 8, wherein it includes source data and/or growth data, institute that the return of goods, which build forms data, State source data storage originally in the database, obtaining module includes:
First acquisition unit, for obtaining the source data from object to be returned goods described in the database;And/or
Second acquisition unit, for obtaining the growth data from object to be returned goods described in specific data interface.
10. system according to claim 9, wherein the growth data includes inertia data and activity data, is being obtained During the growth data of the object to be returned goods:
The inertia data are obtained from the specific data interface, without obtaining the activity data.
11. system according to claim 9, wherein the growth data includes inertia data and activity data, is being prestored During the growth data for storing up the object to be returned goods:
The inertia data pre-storage that will acquire is stored up in the preset cache, and the activity data without will acquire is pre-stored in The preset cache.
12. system according to claim 8, wherein the system also includes:
Aggregation module gathers for all return of goods with incidence relation being stored in the preset cache to be built forms data It closes, forms a data chain.
13. the system according to any one of claim 8~12, wherein the system also includes:
Second obtains module, builds list for when creating corresponding returning note, obtaining the corresponding return of goods from the preset cache Data.
14. the system according to any one of claim 8~12, wherein the preset cache includes distributed caching collection Group.
15. a kind of computer system, comprising:
One or more processors;
Memory, for storing one or more programs,
Wherein, when one or more of programs are executed by one or more of processors, so that one or more of Processor realizes data processing method according to any one of claims 1 to 7.
16. a kind of computer readable storage medium, is stored thereon with executable instruction, which makes to handle when being executed by processor Device realizes data processing method according to any one of claims 1 to 7.
CN201711498841.XA 2017-12-29 2017-12-29 Data processing method, system, computer system and computer readable storage medium Pending CN110019170A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711498841.XA CN110019170A (en) 2017-12-29 2017-12-29 Data processing method, system, computer system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711498841.XA CN110019170A (en) 2017-12-29 2017-12-29 Data processing method, system, computer system and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110019170A true CN110019170A (en) 2019-07-16

Family

ID=67187246

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711498841.XA Pending CN110019170A (en) 2017-12-29 2017-12-29 Data processing method, system, computer system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110019170A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110659956A (en) * 2019-09-05 2020-01-07 达疆网络科技(上海)有限公司 Crowdsourcing issuing method for regularly merging orders

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728169A (en) * 2004-07-31 2006-02-01 鸿富锦精密工业(深圳)有限公司 Defective products return of goods operating system and method
CN102999584A (en) * 2012-11-14 2013-03-27 厦门亿力吉奥信息科技有限公司 Electric GIS (Gas Insulated Switchgear) cross-platform spatial data service method and system
CN104376097A (en) * 2014-11-25 2015-02-25 同程网络科技股份有限公司 Active cache method based on Windows service program
CN104615721A (en) * 2015-02-06 2015-05-13 北京京东尚科信息技术有限公司 Method and system for recommending communities based on returned goods related information
CN104915902A (en) * 2015-06-30 2015-09-16 南京信息工程大学 Cloud platform based implementation method for take-out order online delivery
US20170351722A1 (en) * 2016-06-02 2017-12-07 Electronics And Telecommunications Research Institute Method and apparatus for real-time big data processing and distribution based on data specifications

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728169A (en) * 2004-07-31 2006-02-01 鸿富锦精密工业(深圳)有限公司 Defective products return of goods operating system and method
CN102999584A (en) * 2012-11-14 2013-03-27 厦门亿力吉奥信息科技有限公司 Electric GIS (Gas Insulated Switchgear) cross-platform spatial data service method and system
CN104376097A (en) * 2014-11-25 2015-02-25 同程网络科技股份有限公司 Active cache method based on Windows service program
CN104615721A (en) * 2015-02-06 2015-05-13 北京京东尚科信息技术有限公司 Method and system for recommending communities based on returned goods related information
CN104915902A (en) * 2015-06-30 2015-09-16 南京信息工程大学 Cloud platform based implementation method for take-out order online delivery
US20170351722A1 (en) * 2016-06-02 2017-12-07 Electronics And Telecommunications Research Institute Method and apparatus for real-time big data processing and distribution based on data specifications

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
天津滨海迅腾科技集团有限公司: "《SSH轻量级框架实践》", 31 January 2017 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110659956A (en) * 2019-09-05 2020-01-07 达疆网络科技(上海)有限公司 Crowdsourcing issuing method for regularly merging orders

Similar Documents

Publication Publication Date Title
CN110442608A (en) Information processing method, device, electronic equipment, medium and system
WO2018188476A1 (en) Method and device for optimizing combination of orders
CN109308214A (en) Data task processing method and system
CN108492068B (en) Method and device for path planning
JP2021519735A (en) Methods and equipment for transporting product shelves
CN113657833B (en) Material inventory method, device, equipment and storage medium
CN110020817B (en) Purchasing method, device, system and medium
CN110147974A (en) Inventory's sharing method and device between distributed warehouse
CN110019310A (en) Data processing method and system, computer system, computer readable storage medium
CN110019330A (en) Information output method and device
CN107832336A (en) Data processing method and its system
CN109961331A (en) Page processing method and its system, computer system and readable storage medium storing program for executing
JP2022540040A (en) Inventory quantity identification method and device
CN111260270A (en) Method and device for improving order processing efficiency of store
CN111985862A (en) Method and apparatus for locating inventory items
CN109960212A (en) Task sending method and device
CN110019170A (en) Data processing method, system, computer system and computer readable storage medium
US20240020633A1 (en) Warehousing data processing method and apparatus, medium, and electronic device
WO2023202107A1 (en) Package information updating method and apparatus
CN111144796A (en) Method and device for generating tally information
CN113177754A (en) Article management method and device
CN110135673A (en) Object distribution method, system, computer system and computer readable storage medium
CN104778061B (en) A kind of distributed system dynamic parameter dissemination method
CN111695841A (en) Method, device, equipment and computer readable medium for distributing goods
CN107085754B (en) Information output method and device

Legal Events

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