Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Fig. 1 be according to exemplary partial implement the data checking method that exemplifies involved in implementation environment schematic diagram, should
Implementation environment includes audit server 110, at least one service server 120 is equipped with the shifting of audit client at least one
Dynamic terminal 130.
Information can be transmitted by the existing network transmission protocol between server 110 and service server 120 by auditing.
Information can be transmitted by predetermined protocol between server 110 and mobile terminal 130 by auditing, can also be by existing
The network transmission protocol transmit information.For example, the common network transmission protocol can for hypertext transfer protocol (English:
HyperText Transfer Protocol, referred to as: http) etc..
In general, service server 120 can constantly get different type, the data of separate sources.For manual examination and verification
The case where, pending data can be sent to audit client by general server 110 of auditing, and auditor passes through audit client
Data are audited at end, and after the completion of audit, audit client needs for auditing result to be sent to audit server 110 and carries out it
He is handled.
Audit server 110 said here can be a server, be also possible to the cluster of multiple servers, when careful
When core server 110 is the cluster of multiple servers, the data between multiple servers can be shared.
Service server 120 said here has unique domain name, for distinguishing different service servers 120.
Mobile terminal 130 said here can be the equipment that can install audit client, such as smart phone, plate
Computer, desktop computer, multimedia player etc..
Fig. 2 is a kind of flow chart of data checking method shown according to an exemplary embodiment, as shown in Fig. 2, the number
According to checking method mainly to be applied to be illustrated in implementation environment shown in FIG. 1, which includes following
Step:
Step 201, the target data and callback interface that service server will acquire are packaged according to predetermined data-structure,
Obtain business datum.
The target data said here got may refer to the picture that website user uploads in practical application, text, text
Part etc., it is also possible to refer to the data that website generates in use, such as user chat, the input pet name, upload head portrait picture,
It is likely to generate a large amount of data during publishing an article etc..
Callback interface said here is uniquely corresponding with service server.
In practical applications, multiple service servers be might have and get target data, in order to distinguish different business
Server needs a mark for unique identification service server.And callback interface is uniquely corresponding with service server
, therefore unique identification service server can be used to.
In practical applications, callback interface may be the interface IP address for needing the service server adjusted back, for example, in business
When server is website backstage, way of realization that interface can be with http.It according to the actual situation, can also be using other real
Existing form is as callback interface.
It is said here to be packaged according to predetermined data-structure, it can be by the data conversion of different-format, different function
It can quickly have been determined according to corresponding field at unified data structure when parsing has the data of the data structure
The data information of effect.
Step 202, service server sends business datum to audit server.
In practical application, service server may ask the transmission that the business datum obtained after encapsulation generates data packet
It asks, by the network transmission protocol, such as http agreement, the transmission request of data packet is sent to audit server.
Step 203, audit server receives the business datum that service server is sent.
Step 204, the data structure of audit server parsing business datum, examines the target data in business datum
Core.
Since business datum is encapsulated according to predetermined structure, this data structure is usually to audit server to identify
Unified data structure, therefore audit server and can rapidly parse the data structure of business datum, get therein
Target data.
Step 205, server calls callback interface is audited, auditing result is sent to service server.
Audit server can also get the callback interface of service server by the data structure of parsing business datum,
The auditing result of target data in the business datum can be sent to corresponding service server using callback interface.
Step 206, service server receives the auditing result that audit server is sent, according to auditing result processing target number
According to.
In actual implementation, step 201, step 202 and step 206 can be implemented separately into service server as execution
The data checking method of main body, it is to execute master that step 203, step 204 and step 205, which can be implemented separately into audit server,
The data checking method of body.
In conclusion the data checking method provided in the embodiment of the present invention, by being connect to including target data and readjustment
The business datum of mouth is parsed, and the target data obtained to parsing is audited, and is sent auditing result using callback interface
To service server, since business datum is packaged according to predetermined data-structure, so that different type or separate sources
Data have the unified data structure that can identify of audit server, do not need the complicated background function of setting to audit this
A little data, in addition, the auditing result of data can be fed back to corresponding service server by callback interface by audit server,
It will not be due to concentrating audit to cause the transmitting-receiving mistake of data;It solves and is led when individually being audited to different data in the related technology
It causes review efficiency low, or a large amount of auditors is needed to complete the technical issues of examination is to meet audit demand;Reach
It will be audited in different data sets, improve the effect of review efficiency.
In practical application scene, it may be possible to the examination for completing data by manual examination and verification by auditor, because
This audit server is when receiving pending Nuclear Data, it may be necessary to send pending Nuclear Data in audit client, so that examining
Core personnel can see pending Nuclear Data by auditing client, specifically may refer to step as shown in Figure 3A.
Fig. 3 A is a kind of flow chart of the data checking method shown according to another exemplary embodiment, as shown in Figure 3A,
Mainly to be applied to be illustrated in implementation environment shown in FIG. 1, which includes the data checking method
Following steps:
Step 310, target data, callback interface, data type and the type of service that service server will acquire are according to pre-
Determine data structure to be packaged, obtains business datum.
Callback interface said here is uniquely corresponding with service server.
Here in addition to target data and callback interface to be packaged, also by data type and type of service according to predetermined number
It is packaged according to structure, can quickly determine pending target data according to corresponding field when parsing data structure
Data type and type of service.For example, the value of data type can be picture format, text formatting and file format etc.
Deng.Type of service in practical applications, may be used to indicate that the function of target data, such as when the value of type of service is the pet name
When, corresponding target data may be text;When the value of type of service is head portrait, corresponding target data may be figure
Piece;When the value of type of service is article, corresponding target data may be file, it is also possible to text.
After increasing data type and type of service, corresponding target data can be classified, so that auditor presses
Target data is audited according to corresponding auditing standards.
It optionally, can also include other fields, such as data source, the IP address of data source in predetermined data-structure
With the creation time of data etc..
Step 320, service server sends business datum to audit server.
Step 330, audit server receives the business datum that service server is sent.
Step 340, the data structure of audit server parsing business datum, examines the target data in business datum
Core.
Optionally, the target data in business datum is audited, may include step as shown in Figure 3B:
Step 341, audit request is generated using the target data got.
Step 342, audit request is sent to audit client.
In view of in actual implementation, it may be possible to which by the way of manual examination and verification, therefore, it is necessary to show target data
It audits in client, so that auditor can see target data, then target data is audited.
Target data is added in pending list by audit request said here for triggering audit client, pending
The user that core list is used to be supplied to audit client audits the target data in pending list, by the audit of generation
As a result it is sent to audit server.
In one possible implementation, it is possible to will include the data type of target data and business in audit request
Target data may be added to corresponding audit list according to classification after audit client receives audit request by type
In, in order to which auditor finds the target data for needing to audit in corresponding audit list.
After target data is added in pending list, audit server can may also send a pieces of system notification,
System notice may be the message for prompting to have pending data to need to audit, it is also possible to pending target data
Audit link, auditor can pass directly to the audit interface of the target data by clicking audit link.
Fig. 3 C is the schematic diagram of pending list in audit client shown according to an exemplary embodiment.Such as Fig. 3 C institute
Show, shows tabulation 32 and pending list 33 in the interface 31 of audit client, have inhomogeneity in tabulation 32
The classification of type data, than can also show the pending nucleus number of each categorical data in tabulation 32 if any picture, article and text
Amount.Auditor clicks the title of each type in tabulation 32, corresponding, can show that the type needs in pending list 33
The data to be audited.For example picture type is selected in Fig. 3 C, and a series of pending pictures can be shown in pending list 33.
In alternatively possible implementation, target data may be added to by audit client sequentially in time
In pending list, auditor's point opens pending list, a plurality of types of target datas can be viewed simultaneously, then to mesh
Mark data are audited.It, may be in the front of every target data in pending list for the ease of the audit of auditor
Increase tick boxes, and show when be to be defaulted as having chosen, allow by, the number of targets that auditor only needs will not pass through
Cancellation has been chosen according in preceding tick boxes, can will cancel the state of target data chosen and be changed to that no thoroughfare.It is cutting
When changing to lower one page, the submission of auditing result can be carried out to the current page all audited.Control is submitted when auditor triggers
When part, audit client generally can audit server from trend and send auditing result.
Optionally, auditor, for intransitable target data, may mark intransitable original in audit
Cause, or be possible to auditor by target data be changed to cannot by when, can show a reason window, the reason window
Can be there are many intransitable reason in mouthful, for example format issues, clarity, it is related to violent content etc., auditor needs
Choose one or more intransitable reason.
Fig. 3 D is the schematic diagram of pending list in the audit client shown according to another exemplary embodiment.Such as Fig. 3 D
Shown, in the pending list 33 ' at the interface 31 ' of audit client, different types of data are suitable by the time of application audit
Sequence is shown in pending list 33 ', and a tick boxes 34 are had before each data, in general, being silent in tick boxes 34
Recognize and chooses.Control 35 and page turning control 36 are submitted in addition, there may also be below interface 31 '.When auditor audits
It after all data of complete page, clicks and submits control 35 that can submit auditing result, click page turning control 36 it can be seen that pending
The pending data of lower one page in core list 33 '.In one possible implementation, control 35 and page turning control 36 are submitted
A functionality controls can be merged into, when auditor triggers the functionality controls, can trigger simultaneously and submit control 35 and page turning
The corresponding function of control 36.
Step 343, the auditing result that audit client is sent is received.
Step 350, server calls callback interface is audited, auditing result is sent to service server.
Optionally, the step of auditing result being sent to service server, may include as shown in FIGURE 3 E:
Step 351, when auditing result be used to indicate allow by when, auditing result is sent to business according to predetermined format
Server.
In actual implementation, each target data is also possible to be corresponding with unique sequence number after packaging, for allowing to lead to
The target data crossed, predetermined format may be " sequence number+passed through ".
Step 352, when auditing result is used to indicate no thoroughfare when, after the reason of no thoroughfare being added to auditing result
It is sent to service server.
It is corresponding, for the target data that no thoroughfare, audit may be sent according to the format of " sequence number+no thoroughfare "
As a result, auditing result may also be sent according to the format of " sequence number+no thoroughfare+reason ".
Step 360, service server receives the auditing result that audit server is sent, according to auditing result processing target number
According to.
When the auditing result that service server receives be used to indicate allow by when, corresponding target data can be pushed away
It is sent to foreground displaying, for example comment content is published to common end, article is disclosed into common platform, picture is regarded as meeting
It is required that.
When the auditing result that service server receives is used to indicate no thoroughfare when, may directly delete corresponding mesh
Mark data, it is also possible to by corresponding target data labeled as unavailable, such as comment content, forbid the comment content
Be published to common end, for article, forbid disclosing article into common platform, for another example, for user upload head portrait picture,
By the head portrait picture labeled as undesirable, the message for uploading head portrait picture again may be sent to the user.
In actual implementation, it is to execute master that step 310, step 320 and step 360, which can be implemented separately into service server,
The data checking method of body, step 330, step 340 and step 350 can be implemented separately into audit server as executing subject
Data checking method.
In conclusion the data checking method provided in the embodiment of the present invention, by being connect to including target data and readjustment
The business datum of mouth is parsed, and the target data obtained to parsing is audited, and is sent auditing result using callback interface
To service server, since business datum is packaged according to predetermined data-structure, so that different type or separate sources
Data have the unified data structure that can identify of audit server, do not need the complicated background function of setting to audit this
A little data, in addition, the auditing result of data can be fed back to corresponding service server by callback interface by audit server,
It will not be due to concentrating audit to cause the transmitting-receiving mistake of data;It solves and is led when individually being audited to different data in the related technology
It causes review efficiency low, or a large amount of auditors is needed to complete the technical issues of examination is to meet audit demand;Reach
It will be audited in different data sets, improve the effect of review efficiency.
In addition, by being added except target data and callback interface in predetermined data-structure, also by data type and industry
Service type is added to predetermined data-structure, and auditing system is enabled quickly to distinguish pending target according to corresponding field
The audit requirement of data, to improve review efficiency.
In addition, by the way that target data is added in audit request and is sent to audit client, so that pending number
Audit management is carried out according to by unified client, target data is added in pending list, so that auditor only needs
The examination that different types of data can be completed on the same interface, improves review efficiency.
In addition, by the way that different auditing results is sent to service server in different formats, so that business service
Device can quickly distinguish auditing result, to accelerate the processing to target data.
Fig. 4 is a kind of block diagram of data audit device shown according to an exemplary embodiment, as shown in figure 4, the data
Audit device mainly be applied to audit server 110 shown in FIG. 1 in be illustrated, the data audit device include but
It is not limited to: receiving module 410, parsing module 420 and sending module 430.
Receiving module 410, included at least for receiving the business datum of service server transmission, in the business datum according to
The target data and callback interface, callback interface of predetermined data-structure encapsulation are uniquely corresponding with service server.
Parsing module 420, for parsing the data structure for the business datum that receiving module 410 receives, to business datum
In target data audited.
Auditing result is sent to service server for calling callback interface by sending module 430.
Optionally, predetermined data-structure further includes following field: data type and type of service.
Optionally, parsing module 420 may include: generation unit, the first transmission unit and receiving unit.
Generation unit, for generating audit request using the target data got.
First transmission unit, the audit request for generating generation unit are sent to audit client.
Target data is added in pending list by audit request said here for triggering audit client.Here
The user that the pending list said is used to be supplied to audit client audits the target data in pending list, will
The auditing result of generation is sent to audit server.
Receiving unit, the auditing result sent for receiving audit client.
Optionally, sending module 430 may include: the second transmission unit and third transmission unit.
Second transmission unit, for when auditing result be used to indicate allow by when, by auditing result according to predetermined format
It is sent to service server.
Third transmission unit will be added to the reason of no thoroughfare for when auditing result is used to indicate that no thoroughfare
Service server is sent to after auditing result.
In conclusion the data audit device provided in the embodiment of the present invention, by being connect to including target data and readjustment
The business datum of mouth is parsed, and the target data obtained to parsing is audited, and is sent auditing result using callback interface
To service server, since business datum is packaged according to predetermined data-structure, so that different type or separate sources
Data have the unified data structure that can identify of audit server, do not need the complicated background function of setting to audit this
A little data, in addition, the auditing result of data can be fed back to corresponding service server by callback interface by audit server,
It will not be due to concentrating audit to cause the transmitting-receiving mistake of data;It solves and is led when individually being audited to different data in the related technology
It causes review efficiency low, or a large amount of auditors is needed to complete the technical issues of examination is to meet audit demand;Reach
It will be audited in different data sets, improve the effect of review efficiency.
In addition, by being added except target data and callback interface in predetermined data-structure, also by data type and industry
Service type is added to predetermined data-structure, and auditing system is enabled quickly to distinguish pending target according to corresponding field
The audit requirement of data, to improve review efficiency.
In addition, by the way that target data is added in audit request and is sent to audit client, so that pending number
Audit management is carried out according to by unified client, target data is added in pending list, so that auditor only needs
The examination that different types of data can be completed on the same interface, improves review efficiency.
In addition, by the way that different auditing results is sent to service server in different formats, so that business service
Device can quickly distinguish auditing result, to accelerate the processing to target data.
Fig. 5 is a kind of block diagram of data audit device shown according to another exemplary embodiment, as shown in figure 5, the number
According to audit device mainly to be applied to be illustrated in service server 120 shown in FIG. 1, data audit device includes
But it is not limited to: package module 510, sending module 520 and receiving module 530.
Package module 510, target data and callback interface for will acquire are packaged according to predetermined data-structure, obtain
To business datum.
Callback interface said here and the service server are uniquely corresponding.
Sending module 520 encapsulates obtained business datum for sending package module 510 to audit server.Here
Business datum is used to trigger the data structure of audit server parsing business datum, obtains pending target data and is examined
Core calls callback interface, auditing result is sent to service server.
Receiving module 530, the auditing result sent for receiving audit server, according to auditing result processing target number
According to.
In conclusion the data audit device provided in the embodiment of the present invention, by the way that target data and callback interface are pressed
It is packaged according to predetermined data-structure, different type or the data of separate sources is enabled to have the system that audit server identifies
One data structure, and the business datum after encapsulation is sent to audit server and is audited, due to including in business datum
The auditing result of data can be fed back to corresponding service server by callback interface by callback interface, audit server, no
It can be due to concentrating audit to cause the transmitting-receiving mistake of data;Solving causes when individually auditing to different data in the related technology
Review efficiency is low, or a large amount of auditors is needed to complete the technical issues of examination is to meet audit demand;Having reached will
It is audited in different data sets, improves the effect of review efficiency.
It should be understood that the data provided in above-described embodiment audit device when auditing data, only with above-mentioned each function
Can module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different functions
Module is completed, i.e., the internal structure of server is divided into different functional modules, to complete whole described above or portion
Divide function.In addition, data audit device provided by the above embodiment and data checking method embodiment belong to same design, have
Body realizes that process is detailed in embodiment of the method, and which is not described herein again.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.