Summary of the invention
In view of the above problems, the invention proposes a kind of data check method and devices, electronic equipment and computer-readableStorage medium can be effectively reduced the difficulty verified collected data, save human cost and time cost.
In a first aspect, the embodiment of the invention provides a kind of data check methods, comprising: obtain data and acquire list;It pressesList is acquired according to the data, data acquisition operations are executed to the corresponding data of object each in data acquisition list;RootAccording to the corresponding data of the collected each object, attribute tags are established for each object;By each objectThe attribute tags are sent to target terminal, for the target terminal according to the attribute tags export verify prompt information withAnd it obtains for the verification process instruction for verifying prompt information;Obtain the verification process instruction from the target terminal;According to the verification process instruction, verification processing operation is carried out to the corresponding data of the collected each object.
In the above embodiment of the present invention, optionally, it is sent in the attribute tags by each objectBefore the step of target terminal, further includes: by the attribute tags of each object and the collected and attributeThe corresponding data of label, associated storage to specified database.
In the above embodiment of the present invention, optionally, the step of acquisition data acquisition list, specifically includes: obtainingInitial configuration information;According to the initial configuration information, field configuration and parameter configuration are carried out to initial list;It will complete to configureThe initial table single-turn afterwards is changed to java object;Row is carried out to the java object and turns column processing, obtains the data acquisitionList.
It is optionally, described according to the verification process instruction in the above embodiment of the present invention, to collected described everyThe step of corresponding data of a object carry out verification processing operation, specifically includes: being the attribute in the verification process instructionIn the case that label is abnormal label, the corresponding data correlation of the attribute tags is sent to the target terminal, for instituteIt states target terminal and handles the data;It, will in the case where it is normal tag that the verification process instruction, which is the attribute tags,The corresponding data of the attribute tags are stored to specified database.
Second aspect, the embodiment of the invention provides a kind of data check devices, comprising: list acquiring unit, for obtainingAccess is according to acquisition list;Data acquisition unit, for acquiring list according to the data, to each in data acquisition listThe corresponding data of object execute data acquisition operations;Label establishes unit, for corresponding according to collected each objectData, establish attribute tags for each object;Label transmission unit, for by the attribute mark of each objectLabel are sent to target terminal, are directed to so that the target terminal exports to verify prompt information and obtain according to the attribute tagsThe verification process instruction for verifying prompt information;As a result acquiring unit, for obtaining at the verification from the target terminalReason instruction;Processing unit is verified, for according to the verification process instruction, data corresponding to the collected each objectCarry out verification processing operation.
In the above embodiment of the present invention, optionally, further includes: associated storage unit, it is single for being sent in the labelBefore the attribute tags of each object are sent to the target terminal by member, by the attribute of each objectLabel and collected data corresponding with the attribute tags, associated storage to specified database.
In the above embodiment of the present invention, optionally, the list acquiring unit includes: configuration information acquiring unit, is usedIn acquisition initial configuration information;List configuration unit, for carrying out field to initial list and matching according to the initial configuration informationIt sets and parameter configuration;Java object converting unit is changed to java object with the initial table single-turn postponed for will complete;RowTurn column processing unit, turn column processing for carrying out row to the java object, obtains the data acquisition list.
In the above embodiment of the present invention, optionally, the verification processing unit is specifically used for: referring in verification processingEnable is that in the case that the attribute tags are abnormal label, the corresponding data correlation of the attribute tags is sent to the targetTerminal be the attribute tags in the verification process instruction is normal tag for the target terminal processing dataIn the case where, the corresponding data of the attribute tags are stored to specified database.
The third aspect, the embodiment of the invention provides a kind of electronic equipment, comprising: one or more processors;Memory;One or more application program, wherein one or more of application programs be stored in the memory and be configured as byOne or more of processors execute, and one or more of programs are configured as executing any one of above-mentioned first aspect instituteThe method stated.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage mediums, and it is executable to be stored with computerInstruction, the computer executable instructions are for executing method flow described in any one of above-mentioned first aspect.
Above technical scheme is proposed for technical problem big to the data check difficulty of list acquisition in the related technologyAttribute tags, and the scheme by the attribute tags to data check can be established for the data in list.
Specifically, the data acquisition list that instruction has specific data acquisition content can be obtained, is grasped in data acquisitionAfter work, each data to be collected all becomes an object in data acquisition list.It in turn, can be according to the category of the data to be collectedProperty the contents such as information, establish corresponding attribute tags, then this attribute tags has the base of the object (or data) representated by itEigen, these essential characteristics can be shown that whether the object representated by it is abnormal.
Then, the attribute tags of each object can be sent to target terminal, goal terminal can be include handThe mobile terminal that any permission developer including machine, plate etc. is operated.After target terminal receives attribute tags, meetingIt generates and verifies prompt information, to prompt developer to verify this attribute tags.And in developer to this attribute tagsAfter being verified, verification processing operation can be carried out in target terminal, then target terminal will generate corresponding verification process instruction,Finally, target terminal feeds back to this verification process instruction in the system for generating this attribute tags, and system can be according to this coreIt looks into process instruction and corresponding verification processing operation is executed to this attribute tags and its corresponding data.
By above technical scheme, the verification one by one to data can be replaced with the verification of the attribute tags to data, significantlyThe workload of data check processing is reduced, to facilitate the accuracy of promotion data check, avoids the leakage to abnormal dataInspection.In addition, due to the interaction for only carrying out attribute tags between system and target terminal, without carrying out a large amount of data transmitting,The problems such as thus reducing volume of transmitted data, saving network flow, and can avoid data therefore transmission process and reveal,Improve the safety of collected data.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present inventionAttached drawing, technical scheme in the embodiment of the invention is clearly and completely described.
In some processes of the description in description and claims of this specification and above-mentioned attached drawing, contain according toMultiple operations that particular order occurs, but it should be clearly understood that these operations can not be what appears in this article suitable according to itsSequence is executed or is executed parallel, and serial number of operation such as 101,102 etc. is only used for distinguishing each different operation, serial numberIt itself does not represent and any executes sequence.In addition, these processes may include more or fewer operations, and these operations canTo execute or execute parallel in order.It should be noted that the description such as " first " herein, " second ", is for distinguishing notSame message, equipment, module etc., does not represent sequencing, does not also limit " first " and " second " and be different type.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, completeSite preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based onEmbodiment in the present invention, those skilled in the art's every other implementation obtained without creative effortsExample, shall fall within the protection scope of the present invention.
Fig. 1 shows the flow chart of data check method according to an embodiment of the invention.
As shown in Figure 1, data check method according to an embodiment of the invention, comprising the following steps:
Step 102, data are obtained and acquires list.Obtain the data acquisition list that instruction has specific data acquisition content.
Step 104, list is acquired according to the data, the corresponding data of object each in data acquisition list is heldRow data acquisition operations.
Step 106, according to the corresponding data of the collected each object, attribute mark is established for each objectLabel.
After data acquisition operation, each data to be collected all becomes an object in data acquisition list.IntoAnd corresponding attribute tags can be established according to contents such as the attribute informations of the data to be collected, then this attribute tags has its instituteThe essential characteristic of the object (or data) of representative, these essential characteristics can be shown that whether the object representated by it is abnormal.
Step 108, the attribute tags of each object are sent to target terminal, for the target terminal rootIt is exported according to the attribute tags and verifies prompt information and obtain for the verification process instruction for verifying prompt information.
The attribute tags of each object can be sent to target terminal, goal terminal can be include mobile phone, it is flatThe mobile terminal that any permission developer including plate etc. is operated.After target terminal receives attribute tags, it can generatePrompt information is verified, to prompt developer to verify this attribute tags.
Step 110, the verification process instruction from the target terminal is obtained.
After developer verifies this attribute tags, verification processing operation can be carried out in target terminal, then targetTerminal will generate corresponding verification process instruction, and finally, this verification process instruction is fed back to and generates this attribute by target terminalIn the system of label, system can execute this attribute tags and its corresponding data according to this verification process instruction correspondingVerify processing operation.
Step 112, according to the verification process instruction, the corresponding data of the collected each object are verifiedProcessing operation.
By above technical scheme, the verification one by one to data can be replaced with the verification of the attribute tags to data, significantlyThe workload of data check processing is reduced, to facilitate the accuracy of promotion data check, avoids the leakage to abnormal dataInspection.In addition, due to the interaction for only carrying out attribute tags between system and target terminal, without carrying out a large amount of data transmitting,The problems such as thus reducing volume of transmitted data, saving network flow, and can avoid data therefore transmission process and reveal,Improve the safety of collected data.
Fig. 2 shows the flow charts of data check method in accordance with another embodiment of the present invention.
As shown in Fig. 2, data check method in accordance with another embodiment of the present invention, comprising the following steps:
Step 202, initial configuration information is obtained.
Step 204, according to the initial configuration information, field configuration and parameter configuration are carried out to initial list.
Initial configuration information refers to the configuration content that developer or system itself acquire this data, this is matchedSetting content includes field configuration content and parameter configuration content, then carries out field configuration and parameter configuration to initial list, alsoIt is that field configuration content and parameter configuration content correspondence are configured in specific field position and parameter position.
Wherein, field configuration is referred to the grouping field and list field that selected in initial list in display latticeThe setting of formula, early warning, statistics, sequence etc..And parameter configuration then refers to initial configuration information being each parameter configurationValue assign the parameter, these parameters are varied, including but not limited to monodrome required parameter, multivalue required parameter, contextInitiation parameter and Servlet initiation parameter etc..
Step 206, it will complete to be changed to java object with the initial table single-turn postponed.
Step 208, row is carried out to the java object and turns column processing, obtain data acquisition list.
Though there is code content with the initial list postponed, it is not complete molding business data model, is convertedTurn column for java object every trade of going forward side by side, so that it may assign corresponding business datum rule and method for it, be conducive to subsequent processing and dimensionShield.
Step 210, list is acquired according to the data, the corresponding data of object each in data acquisition list is heldRow data acquisition operations.
Step 212, according to the corresponding data of the collected each object, attribute mark is established for each objectLabel.
After data acquisition operation, each data to be collected all becomes an object in data acquisition list.IntoAnd corresponding attribute tags can be established according to contents such as the attribute informations of the data to be collected, then this attribute tags has its instituteThe essential characteristic of the object (or data) of representative, these essential characteristics can be shown that whether the object representated by it is abnormal.
Step 214, attribute tags of each object and collected corresponding with the attribute tagsData, associated storage to specified database.
By the corresponding data correlation storage of the attribute tags of each object, convenient for direct according to the attribute tagsIt is addressed to the position of corresponding data, so that it is convenient to provide approach for further modification abnormal data.
Step 216, the attribute tags of each object are sent to target terminal, for the target terminal rootIt is exported according to the attribute tags and verifies prompt information and obtain for the verification process instruction for verifying prompt information.
The attribute tags of each object can be sent to target terminal, goal terminal can be include mobile phone, it is flatThe mobile terminal that any permission developer including plate etc. is operated.After target terminal receives attribute tags, it can generatePrompt information is verified, to prompt developer to verify this attribute tags.
Step 218, the verification process instruction from the target terminal is obtained.
After developer verifies this attribute tags, verification processing operation can be carried out in target terminal, then targetTerminal will generate corresponding verification process instruction, and finally, this verification process instruction is fed back to and generates this attribute by target terminalIn the system of label, system can execute this attribute tags and its corresponding data according to this verification process instruction correspondingVerify processing operation.
Step 220, in the case where it is abnormal label that the verification process instruction, which is the attribute tags, by the attributeThe corresponding data correlation of label is sent to the target terminal, for the target terminal processing data, in the verificationProcess instruction is to store the corresponding data of the attribute tags to specified number in the case that the attribute tags are normal tagAccording to library.
If the attribute tags are abnormal label, developer can be directly to shown in attribute tags in target terminal sideThe essential characteristic of object (or data) representated by it is modified, and this modification is instructed, that is, verification processing refers toOrder feeds back to system, and system can verify process instruction according to this, in the database to essential characteristic shown in attribute tagsIt modifies, and this modification is synchronized in the corresponding data of attribute tags, to realize the modification after verified to data.
Above technical scheme can replace the verification one by one to data with the verification of the attribute tags to data, substantially reduceThe workload of data check processing avoids the missing inspection to abnormal data to help to be promoted the accuracy of data check.SeparatelyOutside, due to the only interaction of progress attribute tags between system and target terminal, without carrying out a large amount of data transmitting, thus subtractIt the problems such as having lacked volume of transmitted data, having saved network flow, and can avoid data therefore transmission process and reveal, improvesThe safety of collected data.
Fig. 3 shows the block diagram of data check device according to an embodiment of the invention.
As shown in figure 3, data check device 300 according to an embodiment of the invention, comprising: list acquiring unit 302,Data acquisition unit 304, label establish unit 306, label transmission unit 308, result acquiring unit 310 and verify processing unit312。
Wherein, list acquiring unit 302 is for obtaining data acquisition list;Data acquisition unit 304 is used for according to describedData acquire list, execute data acquisition operations to the corresponding data of object each in data acquisition list;Label is establishedUnit 306 is used to establish attribute tags according to the corresponding data of the collected each object for each object;LabelTransmission unit 308 is used to the attribute tags of each object being sent to target terminal, for the target terminal rootIt is exported according to the attribute tags and verifies prompt information and obtain for the verification process instruction for verifying prompt information;As a resultAcquiring unit 310 is for obtaining the verification process instruction from the target terminal;Processing unit 312 is verified to be used for according toProcess instruction is verified, verification processing operation is carried out to the corresponding data of the collected each object.
The data check device 300 using Fig. 1 and Fig. 2 shows any one of embodiment described in scheme therefore haveAbove-mentioned all technical effects, details are not described herein.Data check device 300 also has following technical characteristic:
In the above embodiment of the present invention, optionally, further includes: associated storage unit, it is single for being sent in the labelIt, will be described in each object before the attribute tags of each object are sent to the target terminal by member 308Attribute tags and collected data corresponding with the attribute tags, associated storage to specified database.
In the above embodiment of the present invention, optionally, the list acquiring unit 302 includes: configuration information acquiring unit,For obtaining initial configuration information;List configuration unit, for carrying out field to initial list according to the initial configuration informationConfiguration and parameter configuration;Java object converting unit is changed to java object with the initial table single-turn postponed for will complete;Row turns column processing unit, turns column processing for carrying out row to the java object, obtains the data acquisition list.
In the above embodiment of the present invention, optionally, the verification processing unit 312 is specifically used for: at the verificationReason instruction is to be sent to the corresponding data correlation of the attribute tags described in the case that the attribute tags are abnormal labelTarget terminal be the attribute tags in the verification process instruction is normal for the target terminal processing dataIn the case where label, the corresponding data of the attribute tags are stored to specified database.
Fig. 4 shows the block diagram of electronic equipment according to an embodiment of the invention.
The embodiment of the invention also provides the electronic equipments of one embodiment of the invention, as shown in figure 4, for the ease of sayingBright, only parts related to embodiments of the present invention are shown, disclosed by specific technical details, please refers to embodiment of the present invention sideMethod part.The electronic equipment can be include server, mobile phone, tablet computer, PDA (Personal DigitalAssistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), any terminal device such as vehicle-mounted computer,By taking electronic equipment is server as an example:
Fig. 4 shows the block diagram of the part-structure of server relevant to electronic equipment provided in an embodiment of the present invention.With reference to Fig. 4, mobile phone includes: radio frequency (Radio Frequency, RF) circuit 410, memory 420, input unit 430, display listFirst 440, sensor 450, voicefrequency circuit 460, Wireless Fidelity (wireless-fidelity, Wi-Fi) module 470, processorThe components such as 480 and power supply 490.It will be understood by those skilled in the art that server architecture shown in Fig. 4 is not constituted pairThe restriction of server may include perhaps combining certain components or different component cloth than illustrating more or fewer componentsIt sets.
It is specifically introduced below with reference to each component parts of the Fig. 4 to server:
RF circuit 410 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base stationAfter downlink information receives, handled to processor 480;In addition, the data for designing uplink are sent to base station.In general, RF circuit 410Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low NoiseAmplifier, LNA), duplexer etc..In addition, RF circuit 410 can also be communicated with network and other equipment by wireless communication.Any communication standard or agreement, including but not limited to global system for mobile communications (Global can be used in above-mentioned wireless communicationSystem of Mobile communication, GSM), general packet radio service (General Packet RadioService, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access(Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution,LTE), Email, short message service (Short Messaging Service, SMS) etc..
Memory 420 can be used for storing software program and module, and processor 480 is stored in memory 420 by operationSoftware program and module, thereby executing the various function application and data processing of server.Memory 420 can be wrapped mainlyInclude storing program area and storage data area, wherein storing program area can application needed for storage program area, at least one functionProgram (such as sound-playing function, image player function etc.) etc.;Storage data area can be stored is created according to using for serverData (such as audio data, phone directory etc.) built etc..In addition, memory 420 may include high-speed random access memory, alsoIt may include nonvolatile memory, a for example, at least disk memory, flush memory device or the storage of other volatile solid-statesDevice.
Input unit 430 can be used for receiving the number or character information of input, and generate the user setting with serverAnd the related key signals input of function control.Specifically, input unit 430 may include touch panel 431 and other inputsEquipment 432.Touch panel 431, also referred to as touch screen, collecting the touch operation of user on it or nearby, (for example user makesWith the operation of any suitable object or attachment such as finger, stylus on touch panel 431 or near touch panel 431), andCorresponding attachment device is driven according to preset formula.Optionally, touch panel 431 may include touch detecting apparatus and touchingTouch two parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation bring letterNumber, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted intoContact coordinate, then give processor 480, and order that processor 480 is sent can be received and executed.Furthermore, it is possible to usingThe multiple types such as resistance-type, condenser type, infrared ray and surface acoustic wave realize touch panel 431.It is defeated in addition to touch panel 431Entering unit 430 can also include other input equipments 432.Specifically, other input equipments 432 can include but is not limited to physicsOne of keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Display unit 440 can be used for showing information input by user or be supplied to user information and server it is eachKind menu.Display unit 440 may include display panel 441, optionally, can use liquid crystal display (Liquid CrystalDisplay, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configureShow panel 441.Further, touch panel 431 can cover display panel 441, when touch panel 431 detect it is on it or attachedAfter close touch operation, processor 480 is sent to determine the type of touch event, is followed by subsequent processing device 480 according to touch eventType corresponding visual output is provided on display panel 441.Although in Fig. 4, touch panel 431 and display panel 441It is the input and input function of server to be realized as two independent components, but in some embodiments it is possible to will touchControl panel 431 and display panel 441 are integrated and that realizes server output and input function.
Server may also include at least one sensor 450, such as optical sensor, motion sensor and other sensingsDevice.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environmentThe light and shade of light adjusts the brightness of display panel 441, and proximity sensor can close display surface when server is moved in one's earPlate 441 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis)The size of acceleration can detect that size and the direction of gravity when static, the application that can be used to identify server posture is (such as horizontalVertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;As for clothesThe other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensor that business device can also configure, it is no longer superfluous hereinIt states.
Voicefrequency circuit 460, loudspeaker 461, microphone 462 can provide the audio interface between user and server.AudioElectric signal after the audio data received conversion can be transferred to loudspeaker 461, be converted to sound by loudspeaker 461 by circuit 460Sound signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 462, after being received by voicefrequency circuit 460Audio data is converted to, then by after the processing of audio data output processor 480, such as another clothes are sent to through RF circuit 410Business device, or audio data is exported to memory 420 to be further processed.
WiFi belongs to short range wireless transmission technology, and server can help user's transceiver electronics by WiFi module 470Mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 4 is shownWiFi module 470, but it is understood that, and it is not belonging to must be configured into for server, it can according to need completelyDo not change in the range of the essence of invention and omits.
Processor 480 is the control centre of server, utilizes each portion of various interfaces and the entire server of connectionPoint, by running or execute the software program and/or module that are stored in memory 420, and calls and be stored in memory 420Interior data, the various functions and processing data of execute server, to carry out integral monitoring to server.Optionally, it handlesDevice 480 may include one or more processing units;Preferably, processor 480 can integrate application processor and modulation /demodulation processingDevice, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainly locatedReason wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 480.
Server further includes the power supply 490 (such as battery) powered to all parts, it is preferred that power supply can pass through power supplyManagement system and processor 480 are logically contiguous, to realize management charging, electric discharge and power consumption pipe by power-supply management systemThe functions such as reason.
Although being not shown, server can also include camera, bluetooth module etc., and details are not described herein.
In embodiments of the present invention, processor 480 included by the electronic equipment is also with the following functions: obtaining data and adoptsCollect list;List is acquired according to the data, data are executed to the corresponding data of object each in data acquisition list and are adoptedCollection operation;According to the corresponding data of the collected each object, attribute tags are established for each object;It will be described everyThe attribute tags of a object are sent to target terminal, are verified and are mentioned according to attribute tags output for the target terminalShow information and obtains for the verification process instruction for verifying prompt information;It obtains at the verification from the target terminalReason instruction;According to the verification process instruction, verification processing operation is carried out to the corresponding data of the collected each object.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be withIt realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unitIt divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or componentsIt can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown orThe mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unitIt closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unitThe component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multipleIn network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unitIt is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated listMember both can take the form of hardware realization, can also realize in the form of software functional units.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is canIt is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storageMedium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, RandomAccess Memory), disk or CD etc..
Those of ordinary skill in the art will appreciate that implement the method for the above embodiments be can be withRelevant hardware is instructed to complete by program, the program can store in a kind of computer readable storage medium, onStating the storage medium mentioned can be read-only memory, disk or CD etc..
A kind of electronic equipment provided by the present invention is described in detail above, for the general technology people of this fieldMember, thought according to an embodiment of the present invention, there will be changes in the specific implementation manner and application range, in conclusionThe contents of this specification are not to be construed as limiting the invention.