CN108616410B - Information verification method and device - Google Patents

Information verification method and device Download PDF

Info

Publication number
CN108616410B
CN108616410B CN201611132120.2A CN201611132120A CN108616410B CN 108616410 B CN108616410 B CN 108616410B CN 201611132120 A CN201611132120 A CN 201611132120A CN 108616410 B CN108616410 B CN 108616410B
Authority
CN
China
Prior art keywords
verification
checking
serial
data
component
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611132120.2A
Other languages
Chinese (zh)
Other versions
CN108616410A (en
Inventor
何兴洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201611132120.2A priority Critical patent/CN108616410B/en
Publication of CN108616410A publication Critical patent/CN108616410A/en
Application granted granted Critical
Publication of CN108616410B publication Critical patent/CN108616410B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/366Software debugging using diagnostics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The disclosure relates to an information checking method and device. The information checking method comprises the following steps: receiving data to be verified and distributing the data to be verified to a parallel verification component and a serial verification component according to a preset proportion; the parallel checking component comprises a plurality of checking units which are parallel, and the serial checking component comprises a plurality of checking units which are serial; verifying the distributed data to be verified through the parallel verification component to output a first verification result and determine verification priority information of each verification unit in the parallel verification component; receiving the verification priority information of the verification units and adjusting the execution sequence of each verification unit in the serial verification assembly according to the verification priority information of each verification unit; and verifying the distributed data to be verified through the serial verification component after the sequence is adjusted so as to output a second verification result. The method and the device can improve the checking efficiency and improve the utilization rate of system resources.

Description

Information verification method and device
Technical Field
The present disclosure relates to the field of computer application technologies, and in particular, to an information verification method and an information verification apparatus.
Background
With the rapid development of computer technology, more and more applications are developed, and in order to verify whether an application can achieve a predetermined goal, the application is usually verified.
At present, a plurality of verification units are usually set during program verification, the execution sequence of each verification unit is preset, the program verification needs to be executed step by step according to the preset verification sequence, and if some verification unit fails, a false check is returned, and a true check is returned until all the verification units pass.
In the above procedure verification process, if there is a verification unit a with a low pass rate and a unit B with a high pass rate in these verification units, and if the verification unit B is always arranged in front of the verification unit a, then a piece of data passes the verification of the verification unit B and does not pass the verification of the verification unit a during verification, then in this verification process, the verification of the verification unit B wastes system resources.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
An object of the present disclosure is to provide an information verification method and an information verification apparatus, thereby overcoming, at least to some extent, one or more problems due to limitations and disadvantages of the related art.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to an aspect of the present disclosure, there is provided an information checking method, including:
receiving data to be verified and distributing the data to be verified to a parallel verification component and a serial verification component according to a preset proportion; the parallel checking component comprises a plurality of checking units which are parallel, and the serial checking component comprises a plurality of checking units which are serial;
verifying the distributed data to be verified through the parallel verification component to output a first verification result and determine verification priority information of each verification unit in the parallel verification component;
receiving the verification priority information of the verification units and adjusting the execution sequence of each verification unit in the serial verification assembly according to the verification priority information of each verification unit;
and verifying the distributed data to be verified through the serial verification component after the sequence is adjusted so as to output a second verification result.
In an exemplary embodiment of the present disclosure, the information checking method further includes:
and integrating the first checking result and the second checking result and then sending the integrated result to a provider of the data to be checked.
In an exemplary embodiment of the present disclosure, the determining the checking priority information of each checking unit includes:
after the verification of the distributed data to be verified is finished by each verification unit in the parallel verification assembly, acquiring performance data of each verification unit, and calculating priority information of each verification unit according to the performance data.
In an exemplary embodiment of the present disclosure, the performance parameters include:
the passing rate of the data to be verified in each verification unit, the verification time of the data to be verified in each verification unit and one or more performance parameters of a server where each verification unit is located.
In an exemplary embodiment of the present disclosure, receiving the verification priority information of the verification units and adjusting the execution order of each verification unit in the serial verification assembly according to the verification priority information of each verification unit includes:
and a serial scheduling module is used for regularly receiving the checking priority information of each checking unit in the parallel checking assembly, and adjusting the execution sequence of each checking unit in the serial checking assembly according to the checking priority information of each checking unit.
In an exemplary embodiment of the present disclosure, the information checking method further includes:
receiving a parameter setting request of a user, and setting the distribution proportion of the data to be verified according to the parameter setting request.
In an exemplary embodiment of the disclosure, each of the checking units in the parallel checking component is independently configured on a server or a service process.
According to another aspect of the present disclosure, there is provided an information verifying apparatus including: the device comprises a data shunting module, a parallel checking component and a serial checking component, wherein the parallel checking component comprises a plurality of parallel checking units, and the serial checking component comprises a plurality of serial checking units; wherein:
the data distribution module is used for receiving data to be verified and distributing the data to be verified to a parallel verification component and a serial verification component according to a preset proportion;
the parallel checking component is used for outputting a first checking result and determining checking priority information of each checking unit in the parallel checking component by checking the distributed data to be checked;
the serial checking component is used for receiving the checking priority of the checking units and adjusting the execution sequence of each checking unit in the serial checking component according to the checking priority of each checking unit;
and verifying the distributed data to be verified through the serial verification component after the sequence is adjusted so as to output a second verification result.
In an exemplary embodiment of the present disclosure, the information verifying apparatus further includes:
and the integration output module is used for integrating the first verification result and the second verification result and then sending the integrated first verification result and second verification result to a provider of the data to be verified.
In an exemplary embodiment of the present disclosure, the parallel verification component further includes:
and the performance monitoring module is used for acquiring the performance data of each checking unit after each checking unit in the parallel checking assembly finishes checking the distributed data to be checked, and calculating the priority information of each checking unit according to the performance data.
In an exemplary embodiment of the present disclosure, the performance monitoring module includes: one or more of a passing rate acquisition module, a check time acquisition module and a server performance acquisition module; wherein:
the passing rate acquisition module is used for acquiring passing rate data information of the data to be verified in each verification unit;
the check time acquisition module is used for acquiring check time data information of the data to be checked in each check unit;
the server performance acquisition module is used for acquiring data information of performance parameters of the server where each verification unit is located.
In an exemplary embodiment of the present disclosure, the serial check component further includes:
the serial scheduling module is used for receiving the checking priority information of each checking unit in the parallel checking assembly at regular time and adjusting the execution sequence of each checking unit in the serial checking assembly according to the checking priority information of each checking unit;
and the task timing sending module is used for timing the verification priority information of each verification unit in the parallel verification assembly to the serial scheduling module.
In an exemplary embodiment of the present disclosure, the information verifying apparatus further includes:
and the parameter setting module is used for receiving a parameter setting request of a user and setting the distribution proportion of the data to be verified according to the parameter setting request.
In an exemplary embodiment of the present disclosure, the information verifying apparatus further includes:
and the checking unit configuration module is used for independently configuring each checking unit in the parallel checking assembly on a server or a service process.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: in the technical scheme of one embodiment of the disclosure, data to be checked is firstly distributed to a parallel checking component and a serial checking component according to a preset proportion, so that the parallel checking component checks the distributed data to be checked and then outputs a first checking result and checking priority information of each checking unit in the parallel checking component, and the checking priority information is sent to the serial checking component; and then the serial checking component adjusts the execution sequence of each checking unit in the serial checking component through the checking priority information so that the serial checking component outputs a second checking result. The parallel verification component and the serial verification component execute verification simultaneously, and the execution sequence of each verification unit in the serial verification component is adjusted by utilizing the priority information of each verification unit in the parallel verification component output by the parallel verification component, so that the combined verification time of the parallel verification and the serial verification can be effectively reduced, and the verification efficiency is improved. When the data to be verified changes, the priority information of each verification unit output by the parallel verification component can be influenced, so that the real-time dynamic adjustment of the verification unit execution strategy is realized; and further, the time of data verification is reduced to the greatest extent, the verification efficiency is improved, and the utilization rate of system resources is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty.
Fig. 1 schematically illustrates a flow chart of an information verification method in an exemplary embodiment of the present disclosure;
fig. 2 schematically illustrates a block diagram of an information verifying apparatus according to an exemplary embodiment of the present disclosure;
fig. 3 schematically shows a block diagram of an information verification apparatus in an exemplary embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
In this exemplary embodiment, an information verification method is first provided, and referring to fig. 1, the information verification method may include the steps of:
s1, receiving data to be verified and distributing the data to be verified to a parallel verification assembly and a serial verification assembly according to a preset proportion; the parallel checking component comprises a plurality of checking units which are parallel, and the serial checking component comprises a plurality of checking units which are serial;
s2, verifying the distributed data to be verified through the parallel verification assembly to output a first verification result and determine verification priority information of each verification unit in the parallel verification assembly;
s3, receiving the verification priority information of the verification units and adjusting the execution sequence of each verification unit in the serial verification assembly according to the verification priority information of each verification unit;
and S4, verifying the distributed data to be verified through the serial verification component after the sequence is adjusted so as to output a second verification result.
In the information verification method provided by the exemplary embodiment, the parallel verification component and the serial verification component execute verification at the same time, and the execution sequence of each verification unit in the serial verification component is adjusted by using the priority information of each verification unit in the parallel verification component output by the parallel verification component, so that the combined verification time of the parallel verification and the serial verification can be effectively reduced, and the verification efficiency is improved. When the data to be verified changes, the priority information of each verification unit output by the parallel verification component can be influenced, so that the real-time dynamic adjustment of the verification unit execution strategy is realized; and further, the time of data verification is reduced to the greatest extent, the verification efficiency is improved, and the utilization rate of system resources is improved.
Hereinafter, each step of the information verification method in the present exemplary embodiment will be described in more detail.
In step S1, receiving data to be verified and distributing the data to be verified to a parallel verification component and a serial verification component according to a preset ratio; the parallel checking component comprises a plurality of checking units which are parallel, and the serial checking component comprises a plurality of checking units which are serial.
In the embodiment of the present invention, after receiving data to be verified, the data to be verified is proportionally introduced into the parallel verification component and the serial verification component according to a threshold ratio preset by a user, and verification is performed on the data to be verified.
The parallel verification component performs verification, namely after one piece of data to be verified enters, each independent verification unit simultaneously verifies the data to be verified, and when one verification unit fails to pass the verification, other verification units are informed to stop verification, and a verification result is returned to be false; and if the data to be verified pass through all the verification units, returning a verification result as true. The serial checking component carries out checking, namely, the checking units are sequenced according to a certain sequence, data to be checked enter the checking units in sequence according to a preset sequence for checking, and when a certain checking unit cannot pass through the checking unit, a result is directly returned to be false; and if the result passes through the verification unit, continuing to enter the next verification unit for verification until the result is true after all the verification units pass through.
In this exemplary embodiment, the information checking method further includes: receiving a parameter setting request of a user, and setting the distribution proportion of the data to be verified according to the parameter setting request.
After a parameter setting request of a user is received, the distribution threshold value proportion of the corresponding data to be verified to the parallel verification component and the serial verification component can be set according to the content of the parameter setting request, so that after the data to be verified are received, the data to be verified are respectively sent to the parallel verification component and the serial verification component according to the preset distribution proportion.
In step S2, the distributed data to be verified is verified by the parallel verification component to output a first verification result and determine verification priority information of each verification unit in the parallel verification component.
In the present exemplary embodiment, the parallel verification component and the serial verification component perform the verification operation after receiving the data to be verified distributed according to the preset distribution ratio. And the parallel checking component executes checking operation on the distributed data to be checked and outputs a corresponding first checking result. And meanwhile, determining the verification priority information of each verification unit in the parallel verification assembly according to the verification process of the distributed data to be verified and the first verification result.
In this exemplary embodiment, the determining the verification priority information of each verification unit includes: after the verification of the distributed data to be verified is finished by each verification unit in the parallel verification assembly, acquiring performance data of each verification unit, and calculating priority information of each verifier according to the performance data.
And after the parallel checking component receives the data to be checked distributed according to the preset proportion, simultaneously sending the part of data to each checking unit in the parallel checking component to execute checking. For example, referring to fig. 3, after the check unit a, the check unit B, and the check unit C in the parallel check component simultaneously receive the data to be checked, the check operation is performed. And after the verification operation of each verification unit is finished, acquiring the performance data of each verification unit, and calculating the corresponding priority data information of each verification unit according to the performance data.
In this exemplary embodiment, the determining the verification priority information of each verification unit may include: the passing rate of the data to be verified in each verification unit, the verification time of the data to be verified in each verification unit and one or more performance parameters of a server where each verification unit is located.
Because the priority can influence the execution sequence of each mutually independent check unit in the serial check assembly, when the serial check assembly executes the check, the check unit with higher priority should be arranged at the front position when each check unit is sequenced, and should be executed preferentially; in contrast, the lower priority parity cell should be arranged at a later position, and then parity is performed.
Firstly, the priority of the check unit is related to the check passing rate of the data to be checked in each check unit, if one check fails, the subsequent check is not executed, so that the check time can be reduced, and the system resources can be saved. Therefore, the lower the passing rate of one check unit is, the higher the priority is; the higher the pass rate of a check unit, the lower its priority. Secondly, the execution time of the data to be verified in each verification unit is also an influence factor, and the verification unit with shorter verification time can be set to be higher priority, and the verification unit with longer verification time is set to be lower priority. When the passing rates of two verification units are the same, the priority of each verification unit can be determined by judging the verification time of each verification unit. Finally, the performance parameter of the server where each verification unit is located is also one of the factors influencing the priority. Under the ideal condition, all the check units in the check assembly are distributed, namely, each check unit is on an independent server or service process, so that the fault tolerance of the whole check service can be enhanced, the load of a single check service is reduced, the performance of the server is also an influence factor of the priority, and the better the performance of the server where the check unit is located is, the higher the priority of the server is.
Based on the above, the following relationship may exist between the priority of the verification unit and each collected performance parameter:
priority k1Service performance/(k)2Through rate + k3Execution time)
Wherein, k is1、k2And k3The system parameters, i.e. the weight values, can be adjusted according to the user settings. The parameter may also be set when the user sends a parameter setting request. The user may determine the priority of each verification unit by using one of the passing rate, the verification time, and the performance parameter of the server in which each verification unit is located, or may determine the priority by using the multiple performance parameters and the relationship between the priority and each performance parameter.
Based on the above, in the present exemplary embodiment, each of the checking units in the parallel checking component may be configured on a server or a service process independently.
In step S3, the checking priority information of the checking units is received and the execution order of each checking unit in the serial checking component is adjusted according to the checking priority information of each checking unit.
Based on the above, in the present exemplary embodiment, the serial checking component first receives the priority information of each checking unit in the parallel checking component, and then adjusts the execution sequence of each checking unit in the serial checking component in real time according to the priority information, so that the data to be checked allocated to the serial checking component is checked according to the new execution sequence. Therefore, real-time updating of the execution strategy of each verification unit in the serial verification assembly is realized, and the verification efficiency is effectively improved.
In this exemplary embodiment, the receiving the verification priority information of the verification units and adjusting the execution sequence of each verification unit in the serial verification assembly according to the verification priority information of each verification unit may include:
and a serial scheduling module is used for regularly receiving the checking priority information of each checking unit in the parallel checking assembly, and adjusting the execution sequence of each checking unit in the serial checking assembly according to the checking priority information of each checking unit.
A serial scheduling module can be arranged in the serial checking component, and checking priority information of each checking unit in the parallel checking component sent by the parallel checking component can be received at fixed time through the serial scheduling module. The serial scheduling module adjusts the execution strategy of the serial checking assembly by using the received checking priority information, so that the execution sequence of each checking unit in the serial checking assembly can be updated and adjusted in real time, the serial checking assembly is enabled to execute a comparatively optimized checking strategy all the time, the checking time is effectively shortened, the checking efficiency is improved, and the utilization rate of the whole system resources is improved.
When the data to be verified changes, the priority information of each verification unit of the parallel verification assembly also changes along with the change of the data to be verified, so that the execution sequence of each verification unit in the serial verification assembly is changed, and the real-time updating of the execution strategy is realized.
In step S4, the distributed data to be verified is verified by the serial verification component after the sequence is adjusted to output a second verification result.
In this exemplary embodiment, the information verification method further includes: and integrating the first checking result and the second checking result and then sending the integrated result to a provider of the data to be checked.
And after the serial checking component completes the checking of the data to be checked distributed according to the preset proportion, outputting a second checking result, and integrating the first checking result output by the parallel checking component and the second checking result output by the serial checking component into a final checking result to be returned to the provider of the data to be checked. The final verification result is a union set of the verification results of all the verification units, whether the final verification passes or fails. The provider of the data to be verified can be a local system or a client.
Further, referring to fig. 2, in this example embodiment, there is provided an information verification apparatus, including: the device comprises a data shunting module, a parallel checking component and a serial checking component, wherein the parallel checking component comprises a plurality of parallel checking units, and the serial checking component comprises a plurality of serial checking units; wherein:
the data distribution module may be configured to receive data to be verified and distribute the data to be verified to a parallel verification component and a serial verification component according to a preset ratio.
The parallel verification component may be configured to output a first verification result by verifying the allocated data to be verified and determine verification priority information of each verification unit in the parallel verification component.
The serial checking component can be used for receiving the checking priority of the checking units and adjusting the execution sequence of each checking unit in the serial checking component according to the checking priority of each checking unit; and verifying the distributed data to be verified through the serial verification component after the sequence is adjusted so as to output a second verification result.
In this exemplary embodiment, the information verification apparatus described above further includes: and an integrated output module.
The integration output module can be used for integrating the first verification result and the second verification result and then sending the integrated result to a provider of data to be verified.
In this exemplary embodiment, referring to fig. 3, the parallel verification component described above further includes: and a performance monitoring module.
The performance monitoring module may be configured to collect performance data of each verification unit after each verification unit in the parallel verification assembly completes verification of the distributed data to be verified, and calculate priority information of each verification unit according to the performance data.
In the present exemplary embodiment, as shown with reference to fig. 3, the performance monitoring module described above includes: one or more of a passing rate acquisition module, a check time acquisition module and a server performance acquisition module; wherein:
the passing rate acquisition module can be used for acquiring passing rate data information of the data to be verified in each verification unit.
The check time acquisition module may be configured to acquire check time data information of the data to be checked in each check unit.
The server performance acquisition module can be used for acquiring data information of performance parameters of the server where each verification unit is located.
In this exemplary embodiment, referring to fig. 3, the serial verification component further includes: the system comprises a serial scheduling module and a task timing sending module.
The serial scheduling module may be configured to receive the verification priority information of each verification unit in the parallel verification assembly at regular time, and adjust the execution sequence of each verification unit in the serial verification assembly according to the verification priority information of each verification unit.
The task timing sending module may be configured to time, to the serial scheduling module, the checking priority information of each checking unit in the parallel checking component according to the present invention.
In this exemplary embodiment, the information verifying apparatus further includes: and a parameter setting module.
The parameter setting module may be configured to receive a parameter setting request from a user, and set the allocation proportion of the data to be verified according to the parameter setting request.
In other exemplary embodiments of the present disclosure, the information checking apparatus may further include: and a checking unit configuration module.
The check unit configuration module may be configured to configure each check unit in the parallel check component on a server or a service process independently.
In the exemplary embodiment of the present disclosure, the check unit may refer to a minimum unit for checking a request parameter input by a user, for example, the user registers to check a password length, consistency, a mailbox format, and the like, which are check units, and of course, some checks depend on an external interface or system (e.g., checking erp correctness, caching, and the like), and resources consumed by the check units are larger.
The specific details of each information checking device are already described in detail in the corresponding information checking method, and therefore are not described herein again.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (7)

1. An information verification method, comprising:
receiving a parameter setting request of a user, and setting the distribution proportion of data to be verified according to the parameter setting request; the distribution proportion is the distribution proportion of the data to be verified between the parallel verification component and the serial verification component;
receiving the data to be verified and distributing the data to be verified to the parallel verification component and the serial verification component according to the distribution proportion so that the parallel verification component and the serial verification component execute verification simultaneously; the parallel checking component comprises a plurality of checking units which are parallel, and the serial checking component comprises a plurality of checking units which are serial;
verifying the distributed data to be verified through the parallel verification assembly to output a first verification result, acquiring performance data of each verification unit after the verification of each verification unit in the parallel verification assembly on the distributed data to be verified is finished, and calculating priority information of each verifier according to the performance data; wherein the performance data comprises: one or more of the passing rate of the data to be verified in each verification unit, the verification time of the data to be verified in each verification unit and the performance parameters of the server in which each verification unit is located;
receiving the verification priority information of the verification units and adjusting the execution sequence of each verification unit in the serial verification assembly according to the verification priority information of each verification unit;
verifying the distributed data to be verified through the serial verification component after the sequence is adjusted so as to output a second verification result;
and integrating the first verification result output by the parallel verification component and the second verification result output by the serial verification component, sending the integrated result to a provider of data to be verified, and determining a final verification result according to a union set of all verification results.
2. The information verification method of claim 1, wherein receiving the verification priority information of the verification units and adjusting the execution order of each verification unit in the serial verification assembly according to the verification priority information of each verification unit comprises:
and a serial scheduling module is used for regularly receiving the checking priority information of each checking unit in the parallel checking assembly, and adjusting the execution sequence of each checking unit in the serial checking assembly according to the checking priority information of each checking unit.
3. The information checking method according to claim 1, wherein each checking unit in the parallel checking component is independently configured on a server or a service process.
4. An information verifying apparatus, comprising: the device comprises a parameter setting module, a data shunting module, a parallel checking component, a serial checking component and an integrated output module, wherein the parallel checking component comprises a plurality of parallel checking units, and the serial checking component comprises a plurality of serial checking units; wherein:
the parameter setting module is used for receiving a parameter setting request of a user and setting the distribution proportion of the data to be verified according to the parameter setting request; the distribution proportion is the distribution proportion of the data to be verified between the parallel verification component and the serial verification component;
the data distribution module is used for receiving the data to be verified and distributing the data to be verified to the parallel verification component and the serial verification component according to the distribution proportion so that the parallel verification component and the serial verification component can simultaneously execute verification; the parallel checking component comprises a plurality of checking units which are parallel, and the serial checking component comprises a plurality of checking units which are serial;
the parallel checking assembly is used for checking the distributed data to be checked through the parallel checking assembly to output a first checking result, acquiring performance data of each checking unit after the checking of each checking unit in the parallel checking assembly on the distributed data to be checked is finished, and calculating priority information of each checker according to the performance data; wherein the performance data comprises: one or more of the passing rate of the data to be verified in each verification unit, the verification time of the data to be verified in each verification unit and the performance parameters of the server in which each verification unit is located;
the serial checking component is used for receiving the checking priority of the checking units and adjusting the execution sequence of each checking unit in the serial checking component according to the checking priority of each checking unit; verifying the distributed data to be verified through the serial verification component after the sequence is adjusted so as to output a second verification result;
and the integrated output module is used for integrating the first verification result output by the parallel verification component and the second verification result output by the serial verification component and then sending the integrated result to a provider of the data to be verified, and determining a final verification result according to a union set of all verification results.
5. The information verification apparatus of claim 4, wherein the parallel verification component comprises: one or more of a passing rate acquisition module, a check time acquisition module and a server performance acquisition module; wherein:
the passing rate acquisition module is used for acquiring passing rate data information of the data to be verified in each verification unit;
the check time acquisition module is used for acquiring check time data information of the data to be checked in each check unit;
the server performance acquisition module is used for acquiring data information of performance parameters of the server where each verification unit is located.
6. The information verifying apparatus as claimed in claim 4, wherein the serial verifying component further comprises:
the serial scheduling module is used for receiving the checking priority information of each checking unit in the parallel checking assembly at regular time and adjusting the execution sequence of each checking unit in the serial checking assembly according to the checking priority information of each checking unit;
and the task timing sending module is used for timing the verification priority information of each verification unit in the parallel verification assembly to the serial scheduling module.
7. The information verification apparatus according to claim 4, further comprising:
and the checking unit configuration module is used for independently configuring each checking unit in the parallel checking assembly on a server or a service process.
CN201611132120.2A 2016-12-09 2016-12-09 Information verification method and device Active CN108616410B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611132120.2A CN108616410B (en) 2016-12-09 2016-12-09 Information verification method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611132120.2A CN108616410B (en) 2016-12-09 2016-12-09 Information verification method and device

Publications (2)

Publication Number Publication Date
CN108616410A CN108616410A (en) 2018-10-02
CN108616410B true CN108616410B (en) 2021-05-25

Family

ID=63657405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611132120.2A Active CN108616410B (en) 2016-12-09 2016-12-09 Information verification method and device

Country Status (1)

Country Link
CN (1) CN108616410B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113885307A (en) * 2021-10-12 2022-01-04 广东安朴电力技术有限公司 SVG parallel machine redundancy control method, SVG control method and SVG control system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8677367B2 (en) * 2009-03-31 2014-03-18 Mitsubishi Electric Corporation Execution order decision device
CN103064780B (en) * 2011-10-18 2016-06-01 阿里巴巴集团控股有限公司 A kind of method of software test and device
JP5681611B2 (en) * 2011-11-09 2015-03-11 株式会社日立製作所 Navigation system, navigation apparatus, method, and server
CN103888254B (en) * 2012-12-21 2017-05-31 阿里巴巴集团控股有限公司 A kind of method and apparatus of network authentication information
CN105225125B (en) * 2014-06-23 2019-06-11 阿里巴巴集团控股有限公司 Information calibration method and equipment
CN105574032A (en) * 2014-10-15 2016-05-11 阿里巴巴集团控股有限公司 Rule matching operation method and device

Also Published As

Publication number Publication date
CN108616410A (en) 2018-10-02

Similar Documents

Publication Publication Date Title
CN102222042B (en) Automatic software testing method based on cloud computing
CN102880546B (en) Software integration testing method and system based on extensible markup language (XML) database
CN103763346B (en) A kind of distributed resource scheduling method and device
CN103581247A (en) Method for testing distributed type Web based on cloud computing environment
CN111752850B (en) Method and related equipment for testing block chain system
CN106485140A (en) A kind of upgrade method of electric energy meter and upgrade-system
CN106383764A (en) Data acquisition method and device
CN113127168A (en) Service distribution method, system, device, server and medium
CN105760230A (en) Method and device for automatically adjusting operation of cloud host
CN112202647B (en) Test method, device and test equipment in block chain network
CN107220169B (en) Method and equipment for simulating server to return customized data
US8307245B2 (en) Scenario creating apparatus, scenario creating method, and storage medium storing scenario creating program
CN116187268A (en) Chip simulation verification method, device, equipment and storage medium
CN108616410B (en) Information verification method and device
CN102841843B (en) Compatible determination methods and device
CN107395623A (en) Interface access data verification method and device, computer storage medium and equipment
CN110990790A (en) Data processing method and equipment
CN112181599B (en) Model training method, device and storage medium
CN116070567B (en) Verification method, device and equipment of cache circuit and storage medium
CN112398949A (en) Transaction confirmation method, system, device and computer equipment
CN108076092A (en) Web server resources balance method and device
CN105224432A (en) A kind of performance test method for parameter configuration, device, pressing machine and system
CN107491448A (en) A kind of HBase resource adjusting methods and device
CN112422617B (en) Method and system for automatically searching meter
CN113014443B (en) Method and system for testing whether CDN (content delivery network) resources hit cache

Legal Events

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