Specific embodiment
Many details are explained in the following description in order to fully understand the application.But the application can be with
Much it is different from other way described herein to implement, those skilled in the art can be without prejudice to the application intension the case where
Under do similar popularization, therefore the application is not limited by following public specific implementation.
The term used in this specification one or more embodiment be only merely for for the purpose of describing particular embodiments,
It is not intended to be limiting this specification one or more embodiment.In this specification one or more embodiment and appended claims
The "an" of singular used in book, " described " and "the" are also intended to including most forms, unless context is clearly
Indicate other meanings.It is also understood that term "and/or" used in this specification one or more embodiment refers to and includes
One or more associated any or all of project listed may combine.
It will be appreciated that though in this specification one or more embodiment may using term first, second, third,
Four, the 5th etc. describe various information, but these information should not necessarily be limited by these terms.These terms are only used to same type
Information be distinguished from each other out.For example, in the case where not departing from this specification one or more scope of embodiments, first can also be with
Referred to as second, similarly, second can also be referred to as first.Depending on context, word as used in this " if " can
Be construed to " ... when " or " when ... when " or " in response to determination ".
In this specification one or more embodiment, provide a kind of data carding method and device, calculate equipment and
Computer storage medium is described in detail one by one in the following embodiments.
It is illustrated firstly, for term involved in this specification one or more embodiment.
It is static: to refer in the case where system not running, some movements are carried out to system.
Dynamically: referring in system operation, some movements are carried out to system using information when operation.
Insertion: will be in a sub- system access one big system.
Domain model: being the visable representation to the concept class in field or object in real world.
Factor with height business semantics: the factor cannot usually be embodied in code level, usually be developed
In the process with the agreement of upstream and downstream.In Alipay system, the factor is relatively common, such as Alipay engine calling downstream
When, the instruction type that the downstream means of payment return usually is exactly to develop preceding related personnel to be arranged according to business scenario.
Referring to Fig. 1, this specification one embodiment provides a kind of showing for system architecture applied by data carding method
It is intended to, including operation system 102, bypath system 104, database 106 and data acquisition components 108.
The bypath system 104 is that the operation system 102 provides several data acquisition components 108, the data acquisition
Component 108 is arranged on the node of the inner link of the operation system 102, acquires 102 runtime data of operation system;
The bypath system 104 receives the runtime data of acquisition, according to preset combing it is regular to the runtime data into
Row combing, the target data after being combed;After the bypath system 104 arranges the target data after combing, storage
To the database 106.
Referring to fig. 2, this specification one or more embodiment provides a kind of data carding method, including step 202 to
Step 206.
Step 202: configuring at least one data acquisition components for the operation system.
In this specification one or more embodiment, the operation system be can include but is not limited at Taobao's order business
Reason system or Alipay reimbursement transaction processing system etc., are set according to practical application, and the application does not make any limit to this
It is fixed.
At least one data acquisition components is configured for the operation system, i.e., is adopted one, two or more data
Collection component accesses in the inner link of the operation system, so that the data acquisition components become in the key of the inner link
Change and is acquired on point.The number and position for configuring the data acquisition components are specifically set according to the operation system
Fixed, the application is not limited in any way this.
The crucial change point of the operation system and the inner link of the operation system are closely bound up such as unprocessed
Document changes always in the inner link operational process of the operation system, some change points are important, some changes
It is inessential to change point, then important change point can be crucial change point, it is understood that be the unprocessed list
It is believed that completion of the breath in the operational process of the operation system step by step, when information completion reaches a certain level, the point is just
It is the i.e. crucial change point of important change point.
The data acquisition components can configure on the key change point of the inner link of the operation system.
In addition, in practical application, when the fund that a payment can also be arranged in the key change point is ready to complete
The amount of money of a position either reimbursement shares out the work position when completing.
Step 204: acquiring the operation system runtime data by least one described data acquisition components.
In this specification one or more embodiment, the operation system uses Domain model design, the domain model
It include that an operation system completes all information required for a business acts, such as the operation system includes that purchase is added
The system of object vehicle business, the domain model can comprising the information of shopping cart operator is added, commodity be added shopping cart when
Between and be added shopping cart commodity where webpage network address etc..
The operation system runtime data includes but is not limited to type of service, amount of money size, the means of payment and processing mould
Formula etc., the operation system is different, and the runtime data can also change according to the operation system.
Step 206: the runtime data being combed according to preset combing rule, and the target after being combed
Data.
In this specification one or more embodiment, the data carding method is that the operation system configures at least one
Data acquisition components, by operation system runtime data described at least one described data acquisition components automatic collection, by institute
It states runtime data to be combed according to preset combing rule, and the target data after being combed;The method will be described
Data acquisition components configure in the key point of the inner link of the operation system, so that the data acquisition components are based on institute
The key node combing business datum for stating operation system, can carry out the automatic carding of runtime data by bypath system, deep
Enter to operation system internal structure dynamic acquisition runtime data, and the data combing of single operation system can be absorbed in.
Referring to Fig. 3, in this specification one or more embodiment, by the runtime data according to preset combing rule
It carries out combing and includes step 302 to step 306.
Step 302: first order classification is carried out to the runtime data according to type of service.
In this specification one or more embodiment, if the operation system includes Alipay operation system, the industry
Business system according to the type of service can be divided into payment transaction, reimbursement business, business of withdrawing deposit, apply to purchase business, redemption business and
Freeze business etc..
Then first order classification is carried out to the runtime data according to above-mentioned type of service, such as when by the operation
Data are divided into one kind according to the payment transaction, are divided into one kind according to the reimbursement business, are divided into one kind according to the business of withdrawing deposit, press
It is divided into one kind according to business is applied to purchase, is divided into one kind according to redemption business and is divided into one kind according to business is freezed.
Step 304: second level classification is carried out to every one kind runtime data that the first order is classified according to business interface.
In this specification one or more embodiment, the operation system described first can be divided into branch according to the type of service
The business of paying, business of withdrawing deposit, applies to purchase business, redemption business and freezes business etc. at reimbursement business.
Secondly, by the payment transaction, reimbursement business, business of withdrawing deposit, apply to purchase business, redemption business and freeze business respectively by
Second level classification is carried out respectively according to business interface.
If such as the business interface of payment transaction includes multistage payment interface, direct payment interface and payment and freezes
Interface then according to multistage payment interface, direct payment interface and payment and can will freeze interface to every a kind of by the
Runtime data after first-level class carries out second level classification.
Such as the runtime data for belonging to the payment transaction type is made to be divided into one according to the multistage payment interface
Class is divided into one kind according to the direct payment interface, according to the payment and freezes interface and is divided into one kind.
Step 306: third is carried out for every one kind runtime data that the second level is classified according to business description information
Grade classification, realizes the combing to the runtime data.
In this specification one or more embodiment, the business description information includes the key message of description business.If
The business is payment transaction, then business description information includes the beneficiary of the payment transaction, paying party and participates in the payment industry
The means of payment etc. of business.
It is combed above-mentioned according to the sorted every a kind of runtime data of business interface further according to business description information,
Such as it is divided into one according to the beneficiary of the payment transaction for a kind of runtime data is divided into according to the multistage payment interface
Class is divided into one kind according to the paying party of the payment transaction, is divided into one kind etc. according to the means of payment for participating in the payment transaction.
Referring to fig. 4, in this specification one or more embodiment, a kind of runtime data to acquisition is provided according to pre-
If the flow chart that rule is combed, comprising the following steps:
Step 1: data acquisition components capturing service system runtime data;
Step 2: the runtime data is carried out first order classification according to two kinds of types of service, it is divided into data A and data
B;
Step 3: the data A and the data B are subjected to second level classification according to two business interfaces respectively, it is described
Data A points are data B1 and data B2 for data A1 and A2, the data B points of data;
Step 4: by the data A1, the data A2, the data B1 and the data B2 respectively according to two kinds of business
Description information carries out third level classification, realizes combing to the runtime data, wherein the data A1 points for data A11 and
A12, the data A2 points of data are data B11 and data B12 and the number for data A21 and A22, the data B1 points of data
It is data B12 and data B22 according to B2 points.
In actual use, the fourth stage, the can also be carried out to the sorted runtime data of the third level according to actual needs
The classification of Pyatyi or other grades, the application are not limited in any way this.
In this specification one or more embodiment, according to business description information for the second level classify it is every one kind described in
Runtime data carries out after third level classification, further includes:
Fourth stage classification is carried out for every one kind runtime data that the third level is classified according to business operation information, it is real
Now to the combing of the runtime data.
In this specification one or more embodiment, the business operation information includes how description business is operated
Key message.If the business is business of withdrawing deposit, the business operation information includes needing how to transfer bank transfer when withdrawing deposit
Fund is to withdrawing deposit inside operation system and need how fund to be got to trade company's bank card medium.
It, can be according to needing how to transfer bank transfer fund when withdrawing deposit to mentioning in this specification one or more embodiment
Inside existing operation system and need how to get to fund in trade company's bank card for every one kind fortune of third level classification
Data carry out the fourth stage classification when row, realize the combing to the runtime data.
For example, if the sorted runtime data of the third level includes: the payment under Taobao's guarantee transaction scene, with flower
And bank card payment, beneficiary be Alipay guarantee family;Then the sorted runtime data of the fourth stage includes: payment system head
First bank is called to supplement operation with money, the external sources of finance are prepared to an account inside Alipay, then calls flower amount
It reduces, the last corresponding amount of money does an accounting and mends account, increases the corresponding amount of money in guarantee family.
In this specification one or more embodiment, according to business operation information for the third level classify it is every one kind described in
Runtime data carries out after fourth stage classification, further includes:
Level V classification is carried out for every one kind runtime data that the fourth stage is classified according to business attribute information, it is real
Now to the combing of the runtime data.
In this specification one or more embodiment, the business attribute information can carry out more refinement to runtime data
The combing of cause usually has relationship with operation system transformation, special agreement.Such as new payment/old payment, it is then new according to determination
Payment or old payment are to determine to call that downstream.
In this specification one or more embodiment, according to business attribute information for the fourth stage classify it is every one kind described in
Runtime data, which carries out level V classification, to be configured and adjust in real time according to the actual situation, to further improve to the fortune
The combing of data when row.
Referring to Fig. 5, wherein X-axis indicates that the runing time of operation system, Y-axis indicate the target of the operation system combed out
The data volume of data.It is postponed when completing above-mentioned default matching for combing rule, operation system operation starts can have a large amount of operation
When data collected by data acquisition components, obtained after the runtime data is combed according to preset combing rule
Target data, then as the increase of the runing time of operation system, a small amount of runtime data for having increment is gradually found
And acquire, target data is obtained after then being combed a small amount of runtime data of the increment according to preset combing rule,
Combing rule can also be finally adjusted in operation system operation, obtains more detailed a small amount of target data, so that after combing
Target data in further detail and clearly.
In this specification one or more embodiment, the runtime data is first classified according to type of service, further according to
Business interface classifies again to the runtime data for belonging to a type of service, finally according to business description information to belonging to one
The mode that the runtime data of a business interface is combed, the target data after being combed, so that the target data is more
It is clear to add, and is safeguarded according to the target data to the operation system convenient for subsequent development personnel.
Referring to Fig. 6, this specification one or more embodiment provides a kind of data carding method, including step 602 to
Step 612.
Step 602: configuring at least one data acquisition components for the operation system.
Step 604: acquiring the operation system runtime data by least one described data acquisition components.
Step 606: the runtime data being combed according to preset combing rule, and the target after being combed
Data.
Step 608: the target data is arranged.
In this specification one or more embodiment, arrange to the target data includes to the target data
Processing, to the target data processing purpose be exactly for convenience show and management, can be to target data standardization with
Structuring, such as the amount of money are converted into point, convert name in an account book for crucial account, by discrete gathering and payment data, it is double for arranging
The receipts-on side pay relationship etc..
Step 610: the target data is stored to database.
Step 612: showing the target data.
In this specification one or more embodiment, in the data carding method whole flow process, most of task
Data comb when being automatically performed, and carrying out dynamic operation using domain model, can obtain more runtime datas, this method
When being deep into operation system operation in context, access way is flexible, by accessing data acquisition group on some key nodes
Part is acquired runtime data, so that the runtime data of acquisition is more deep, it is perfect.
Secondly, the data carding method can also arrange target data, stored and be shown, increase user experience
Effect.
Referring to Fig. 7, this specification one or more embodiment is provided into a kind of data carding method and is applied in Alipay
Payment request in, including step 702 is to step 730.
Step 702: up-stream system receives payment request.
Step 704: up-stream system sends the preparation request that disburses funds to operation system.
Step 706: operation system drives the related means of payment to prepare fund, generates pay invoice after being ready to complete.
Step 708: first data acquisition components of the bypass combing system configuration in the operation system acquire the industry
The first data when business system is run.
Step 710: bypass combing system receives first data, then according to preset combing rule to described first
Data are combed, and the first object data after being combed.
Step 712: down-stream system being called to select the means of payment.
Step 714: down-stream system returns to the means of payment information of selection.
Step 716: the preparation request that disburses funds terminates.
Step 718: up-stream system sends payment to operation system and promotes request.
Step 720: operation system is completed to pay according to the means of payment of selection.
Step 722: second data acquisition components of the bypass combing system configuration in the operation system acquire the industry
The second data when business system is run.
Step 724: bypass combing system receives second data, then according to preset combing rule to described second
Data are combed, and the second target data after being combed.
Step 726: payment promotes request to terminate.
Step 728: payment request terminates.
Step 730: offline consolidation being carried out to the first object data and second target data and is shown.
In this specification one or more embodiment, the payment request includes disburse funds preparation and payment propulsion two
Stage, described disburse funds are prepared as the first stage, drive the related means of payment to prepare fund, payment is generated after being ready to complete
Single, bypass combing system configures a data acquisition components acquisition runtime data here, can be according to the target after combing
The relationship of data understanding payment transaction and each means of payment;It is second stage that the payment, which promotes, promotes each means of payment
Payment movement is completed, after the completion of payment, bypass combing system configures a data acquisition components acquisition service hours here
According to the payment timeliness etc. of each means of payment can be understood according to the target data obtained after combing;And it can also be to combing
Target data afterwards carries out offline consolidation and displaying, promotes user experience.
Referring to Fig. 8, a kind of data carding apparatus is provided in this specification one or more embodiment, comprising:
Configuration module 802 is configured as configuring at least one data acquisition components for the operation system;
Acquisition module 804 is configured as acquiring the operation system operation by least one described data acquisition components
When data;
Module 806 is combed, is configured as combing the runtime data according to preset combing rule, and obtain
Target data after combing.
Optionally, described device further include:
Sorting module is configured as arranging the target data.
Optionally, described device further include:
Memory module is configured as storing the target data to database.
Optionally, described device further include:
Display module is configured as showing the target data.
Optionally, the combing module 806 includes:
First classification submodule is configured as carrying out first order classification to the runtime data according to type of service;
Second classification submodule, is configured as the every one kind runtime data classified according to business interface to the first order
Carry out second level classification;
Third classification submodule, is configured as the every one kind operation classified according to business description information for the second level
When data carry out third level classification, realize combing to the runtime data.
Optionally, the combing module 806 further include:
4th classification submodule, is configured as the every one kind operation classified according to business operation information for the third level
When data carry out fourth stage classification, realize combing to the runtime data.
Optionally, the combing module 806 further include:
5th classification submodule, is configured as the every one kind operation classified according to business attribute information for the fourth stage
When data carry out level V classification, realize combing to the runtime data.
Optionally, the operation system uses Domain model design.
In this specification one or more embodiment, the data carding apparatus is that the operation system configures at least one
Data acquisition components, by operation system runtime data described at least one described data acquisition components automatic collection, by institute
It states runtime data to be combed according to preset combing rule, and the target data after being combed;The method will be described
Data acquisition components configure in the key point of the inner link of the operation system, so that the data acquisition components are based on institute
The key node combing business datum for stating operation system, the automatic carding of data is carried out by bypath system, is deep into system
Portion's structure dynamics acquire runtime data, and can be absorbed in the data combing of single operation system.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.
Referring to Fig. 9, a kind of structure of the calculating equipment provided according to one or more embodiments of this specification is shown
Schematic diagram including memory 906, processor 902 and is stored in the calculating that can be run on memory 906 and on processor 902
The step of machine instruction, the processor 902 realizes the data carding method when executing described instruction.This specification specific implementation
Example does not limit the specific implementation for calculating equipment.
As shown in figure 9, the calculating equipment can also include: communication interface (Communications
Interface) 904 and communication bus 908.
Wherein:
Processor 902, communication interface 904 and memory 906 complete mutual communication by communication bus 908.
Communication interface 904, for being communicated with other terminal devices or server.
Processor 902 can specifically execute the correlation in above-mentioned data processing method embodiment for executing program 910
Step.
Specifically, program 910 may include program code, which includes computer instruction.
Processor 902 may be central processor CPU or specific integrated circuit ASIC (Application
Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention
Road.The one or more processors that terminal device includes can be same type of processor, such as one or more CPU;It can also
To be different types of processor, such as one or more CPU and one or more ASIC.
Memory 906, for storing program 910.Memory 906 may include high speed RAM memory, it is also possible to further include
Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 910 specifically can be used for so that processor 902 executes the operation for realizing above-mentioned data storage.
Calculating equipment can be any kind of static or mobile computing device, including mobile computer or mobile computing are set
Standby (for example, tablet computer, personal digital assistant, laptop computer, notebook computer, net book etc.), mobile phone
(for example, smart phone), wearable calculating equipment (for example, smartwatch, intelligent glasses etc.) or other kinds of movement are set
It is standby, or the static calculating equipment of such as desktop computer or PC.
One embodiment of the application also provides a kind of computer readable storage medium, is stored with computer instruction, the instruction
The step of data carding method is realized when being executed by processor.
A kind of exemplary scheme of above-mentioned computer readable storage medium for the present embodiment.It should be noted that this is deposited
The technical solution of storage media and the technical solution of above-mentioned data carding method belong to same design, the technical solution of storage medium
The detail content being not described in detail may refer to the description of the technical solution of above-mentioned data carding method.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims
It is interior.In some cases, the movement recorded in detail in the claims or step can be come according to the sequence being different from embodiment
It executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitable
Sequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also can
With or may be advantageous.
The technology carrier being related to is paid described in the embodiment of the present application, such as may include near-field communication (Near Field
Communication, NFC), WIFI, 3G/4G/5G, POS machine swipe the card technology, two dimensional code barcode scanning technology, bar code barcode scanning technology,
Bluetooth, infrared, short message (Short Message Service, SMS), Multimedia Message (Multimedia Message
Service, MMS) etc..
The computer instruction includes computer instruction code, the computer instruction code can for source code form,
Object identification code form, executable file or certain intermediate forms etc..The computer-readable medium may include: that can carry institute
State any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, the computer storage of computer instruction code
Device, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory),
Electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the computer-readable medium include it is interior
Increase and decrease appropriate can be carried out according to the requirement made laws in jurisdiction with patent practice by holding, such as in certain jurisdictions of courts
Area does not include electric carrier signal and telecommunication signal according to legislation and patent practice, computer-readable medium.
It should be noted that for the various method embodiments described above, describing for simplicity, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because
According to the application, certain steps can use other sequences or carry out simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules might not all be this Shen
It please be necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiments.
The application preferred embodiment disclosed above is only intended to help to illustrate the application.There is no detailed for alternative embodiment
All details are described, are not limited the invention to the specific embodiments described.Obviously, according to the content of this specification,
It can make many modifications and variations.These embodiments are chosen and specifically described to this specification, is in order to preferably explain the application
Principle and practical application, so that skilled artisan be enable to better understand and utilize the application.The application is only
It is limited by claims and its full scope and equivalent.