CN117591982A - Verification method, system, device, equipment and storage medium - Google Patents

Verification method, system, device, equipment and storage medium Download PDF

Info

Publication number
CN117591982A
CN117591982A CN202311735850.1A CN202311735850A CN117591982A CN 117591982 A CN117591982 A CN 117591982A CN 202311735850 A CN202311735850 A CN 202311735850A CN 117591982 A CN117591982 A CN 117591982A
Authority
CN
China
Prior art keywords
model
verification
node
target node
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311735850.1A
Other languages
Chinese (zh)
Inventor
吴振全
宋琦
陶德威
刘凌霄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Technology Innovation Center
China Telecom Corp Ltd
Original Assignee
China Telecom Technology Innovation Center
China Telecom Corp 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 China Telecom Technology Innovation Center, China Telecom Corp Ltd filed Critical China Telecom Technology Innovation Center
Priority to CN202311735850.1A priority Critical patent/CN117591982A/en
Publication of CN117591982A publication Critical patent/CN117591982A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/243Classification techniques relating to the number of classes
    • G06F18/2433Single-class perspective, e.g. one-against-all classification; Novelty detection; Outlier detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/243Classification techniques relating to the number of classes
    • G06F18/24323Tree-organised classifiers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Storage Device Security (AREA)

Abstract

The disclosure provides a verification method, a verification system, verification device, verification equipment and verification storage medium, and relates to the field of communication. Traversing the object tree corresponding to the model to obtain path information from each node to the root node in the object tree, determining a verifier corresponding to the target node based on annotation information of the target node, determining a verification result of the target node based on the verifier, positioning an abnormality in the model based on the verification result and the path information, determining the abnormality in the model, determining the abnormal node in the model, and improving the integrity of verification.

Description

Verification method, system, device, equipment and storage medium
Technical Field
The disclosure relates to the field of computer technology, and in particular, to a verification method, a verification system, a verification device, a verification equipment and a storage medium.
Background
With the development of informatization technology, the current data volume is gradually increased, and the data variety is increasingly large. For storing and using large amounts of data. The architecture of the model is generally adopted in the related art to process data. However, the data in the model is complex due to the strong relevance of the data. The related art has poor integrity for data verification in the model.
Disclosure of Invention
The present disclosure provides a verification method, system, apparatus, device, and storage medium, which improve the integrity of model verification at least to some extent.
Other features and advantages of the present disclosure will be apparent from the following detailed description, or may be learned in part by the practice of the disclosure.
According to one aspect of the present disclosure, there is provided a verification method including:
traversing an object tree corresponding to the model to obtain path information from each node to a root node in the object tree;
determining a verifier corresponding to the target node based on annotation information of the target node;
determining a verification result of the target node based on the verifier;
and locating the abnormality of the model based on the verification result and the path information.
In one embodiment of the present disclosure, before traversing the object tree corresponding to the model to obtain path information from each node to the root node in the object tree, the method further includes:
determining a root node of the model;
and obtaining an object tree of the model based on the nodes of the root node association model.
In one embodiment of the present disclosure, after the nodes of the model are associated based on the root node, and the object tree of the model is obtained, before determining the verifier corresponding to the target node based on the annotation information of the target node, the method further includes:
determining a first corresponding relation between the verifier and the annotation information;
and determining a second corresponding relation between the annotation information and the node.
In one embodiment of the present disclosure, determining a verifier corresponding to a target node based on annotation information of the target node includes:
and determining a verifier corresponding to the target node based on the annotation information of the target node and the first corresponding relation.
In one embodiment of the present disclosure, the model comprises a PSR model.
In one embodiment of the present disclosure, data is acquired;
classifying the data to obtain a product category, a scene category, an object attribute category, an object relation category, an object mapping category and an attribute mapping category;
and generating a PSR model corresponding to the data based on the classification result of the data.
According to another aspect of the present disclosure, there is provided a verification system comprising:
the system comprises an object tree traversing module, a data checking module and a self-defining result set module;
the object tree traversing module is used for traversing the object tree corresponding to the model to obtain the path information from each node to the root node in the object tree; calling a data verification module;
the data verification module is used for determining a verifier corresponding to the target node based on annotation information of the target node and determining a verification result of the target node based on the verifier;
and the self-defining result set module is used for positioning the abnormality of the model based on the verification result and the path information.
According to still another aspect of the present disclosure, there is provided a verification apparatus including:
the traversing module is used for traversing the object tree corresponding to the model to obtain the path information from each node to the root node in the object tree;
the first determining module is used for determining a verifier corresponding to the target node based on annotation information of the target node;
the second determining module is used for determining a verification result of the target node based on the verifier;
and the positioning module is used for positioning the abnormality of the model based on the verification result and the path information.
In one embodiment of the present disclosure, the apparatus further comprises:
the third determining module is used for determining the root node of the model before traversing the object tree corresponding to the model to obtain the path information from each node to the root node in the object tree;
and the fourth determining module is used for obtaining an object tree of the model based on the nodes of the root node association model.
In one embodiment of the present disclosure, the apparatus further comprises:
a fifth determining module, configured to determine a first correspondence between a verifier and annotation information before determining the verifier corresponding to the target node based on the annotation information of the target node after obtaining the object tree of the model based on the node of the root node association model;
and a sixth determining module, configured to determine a second correspondence between annotation information and the node.
In one embodiment of the present disclosure, the first determining module includes:
and the determining unit is used for determining the verifier corresponding to the target node based on the annotation information of the target node and the first corresponding relation.
In one embodiment of the present disclosure, the apparatus further comprises:
the acquisition module is used for acquiring data;
the classification module is used for classifying the data to obtain a product category, a scene category, an object attribute category, an object relation category, an object mapping category and an attribute mapping category;
and the generation module is used for generating a PSR model corresponding to the data based on the classification result of the data.
According to still another aspect of the present disclosure, there is provided an electronic apparatus including: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the above-described verification method via execution of the executable instructions.
According to yet another aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the above-described verification method.
According to the verification method provided by the embodiment of the disclosure, the object tree corresponding to the model is traversed, the path information from each node to the root node in the object tree is obtained, the verifier corresponding to the target node is determined based on the annotation information of the target node, the verification result of the target node is determined based on the verifier, the abnormality in the model is positioned based on the verification result and the path information, the abnormality in the model is determined, the abnormal node in the model is determined, and the verification integrity is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure. It will be apparent to those of ordinary skill in the art that the drawings in the following description are merely examples of the disclosure and that other drawings may be derived from them without undue effort.
FIG. 1 is a schematic flow diagram of a verification method according to an embodiment of the disclosure;
FIG. 2 is a schematic flow diagram of another verification method according to an embodiment of the disclosure;
FIG. 3 is a schematic flow diagram of a further verification method according to an embodiment of the disclosure;
FIG. 4 is a schematic flow diagram of a further verification method according to an embodiment of the disclosure;
FIG. 5 is a schematic flow diagram of a further verification method according to an embodiment of the disclosure;
FIG. 6 is a schematic flow diagram of yet another verification method in an embodiment of the disclosure;
FIG. 7 illustrates a schematic diagram of a verification device in an embodiment of the disclosure; and
fig. 8 shows a block diagram of an electronic device in an embodiment of the disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many 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 the 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 a repetitive description thereof 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 software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
In order to solve the above problems, embodiments of the present disclosure provide a verification method, a system, an apparatus, a device, and a storage medium.
For ease of understanding, embodiments of the present disclosure will first be described with respect to a verification system.
FIG. 1 illustrates a verification system architecture diagram in an embodiment of the present disclosure.
As shown in fig. 1, the verification system 10 may include:
an object tree traversal module 101, a data verification module 102, and a custom result set module 103;
the object tree traversing module 101 is configured to traverse an object tree corresponding to the model to obtain path information from each node to a root node in the object tree; invoking a data verification module 102;
the data verification module 102 is configured to determine a verifier corresponding to the target node based on annotation information of the target node, and determine a verification result of the target node based on the verifier;
the custom result set module 103 is configured to locate an anomaly of the model based on the verification result and the path information.
In some embodiments, the object tree traversal module 101 is coupled to the data verification module 102 and the custom result set module 103, respectively. After the object tree traversing module 101 obtains the verification result and the path information, the information may be transmitted to the custom result module 103, so that the custom result module 103 displays the verification result and the path information.
In some embodiments, the verification system 10 may be configured on a terminal device or server.
In some embodiments, the assembly and verification of the complex association model data is divided into separate modules by layering the processing logic, so that the complexity and redundancy of the code are reduced, and the maintainability and expansibility of the code are improved.
By way of example, the terminal device may be a variety of electronic devices including, but not limited to, smartphones, tablets, laptop portable computers, desktop computers, wearable devices, augmented reality devices, virtual reality devices, and the like.
Alternatively, the clients of the applications installed in different terminal devices are the same or clients of the same type of application based on different operating systems. The specific form of the application client may also be different based on the different terminal platforms, for example, the application client may be a mobile phone client, a PC client, etc.
The server may be a server providing various services, such as a background management server providing support for devices operated by the user with the terminal device. The background management server can analyze and process the received data such as the request and the like, and feed back the processing result to the terminal equipment.
Optionally, the server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs (Content Delivery Network, content delivery networks), basic cloud computing services such as big data and artificial intelligence platforms, and the like. The terminal may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, etc.
In some embodiments, the object tree traversal module 101 may be coupled with the data verification module 102 and the custom result set module 103 via a wireless network or a wired network in some embodiments.
Alternatively, the wireless network or wired network described above uses standard communication techniques and/or protocols. The network is typically the Internet, but may be any network including, but not limited to, a local area network (Local Area Network, LAN), metropolitan area network (Metropolitan Area Network, MAN), wide area network (Wide Area Network, WAN), mobile, wired or wireless network, private network, or any combination of virtual private networks. In some embodiments, data exchanged over a network is represented using techniques and/or formats including HyperText Mark-up Language (HTML), extensible markup Language (Extensible MarkupLanguage, XML), and the like. All or some of the links may also be encrypted using conventional encryption techniques such as secure sockets layer (Secure Socket Layer, SSL), transport layer security (Transport Layer Security, TLS), virtual private network (Virtual Private Network, VPN), internet protocol security (Internet ProtocolSecurity, IPsec), etc. In other embodiments, custom and/or dedicated data communication techniques may also be used in place of or in addition to the data communication techniques described above.
According to the verification system provided by the embodiment of the disclosure, the object tree corresponding to the model is traversed to obtain the path information from each node to the root node in the object tree, the verifier corresponding to the target node is determined based on the annotation information of the target node, the verification result of the target node is determined based on the verifier, the abnormality in the model is positioned based on the verification result and the path information, the abnormality in the model is determined, the abnormal node in the model is determined, and the verification integrity is improved.
For ease of understanding, embodiments of the present disclosure will continue to describe verification methods.
Fig. 2 shows a schematic flow chart of a verification method in an embodiment of the disclosure.
As shown in fig. 2, the verification method may include:
s210, traversing the object tree corresponding to the model to obtain path information from each node to the root node in the object tree.
In some implementations, the model includes a Pressure-State-Response model (PSR).
In embodiments of the present disclosure, the PSR model is applied to data processing. Illustratively, the PSR model performs hierarchical decoupling on "resources", "resource services" and "business services" and "products", performs assembly design based on the cloud network capabilities of the bottom layer, forms network services and business services, and provides communication services/products outwards.
In some embodiments, the object tree to which the model corresponds may be a tree structure identified by the above information.
For example, the object tree of the PSR model may be a Java object model assembled by querying the associated information starting from the root node of the PSR model, and the Java object model may be a data representation structure expanded in a tree structure.
S220, determining a verifier corresponding to the target node based on the annotation information of the target node.
In some embodiments, the target node may be determined during traversal, annotation information corresponding to the target node may be determined based on a preset correspondence, and a verifier corresponding to the annotation information may be determined based on the preset correspondence. The preset correspondence may include a first correspondence and a second correspondence.
In some embodiments, the annotation information may also include an identification of the verifier, where the identification of the verifier may be a name, a memory address, and a key parameter of the verifier.
S230, determining a verification result of the target node based on the verifier.
In some embodiments, the verification results may include data misses, data duplicates, and the like.
In some embodiments, the verifier may include a verification device storing annotation data and an intelligent model.
S240, positioning the abnormality of the model based on the verification result and the path information.
In some embodiments, after determining the anomaly of the model, the data of the target node may be corrected based on the path information of the target node and the verification result.
According to the verification method provided by the embodiment of the disclosure, the object tree corresponding to the model is traversed, the path information from each node to the root node in the object tree is obtained, the verifier corresponding to the target node is determined based on the annotation information of the target node, the verification result of the target node is determined based on the verifier, the abnormality in the model is positioned based on the verification result and the path information, the abnormality in the model is determined, the abnormal node in the model is determined, and the verification integrity is improved.
FIG. 3 is a flow chart illustrating another verification method according to an embodiment of the disclosure.
As shown in fig. 3, the verification method may include:
s310, determining a root node of the model.
In some embodiments, the complete PSR model object tree information may be assembled based on the root node of the model and then by querying the model association nodes.
S320, obtaining an object tree of the model based on the nodes of the root node association model.
S330, traversing the object tree corresponding to the model to obtain path information from each node to the root node in the object tree.
S340, determining a verifier corresponding to the target node based on the annotation information of the target node.
S350, determining a verification result of the target node based on the verifier.
S360, positioning the abnormality of the model based on the verification result and the path information.
According to the verification method provided by the embodiment of the disclosure, the object tree corresponding to the model is traversed, the path information from each node to the root node in the object tree is obtained, the verifier corresponding to the target node is determined based on the annotation information of the target node, the verification result of the target node is determined based on the verifier, the abnormality in the model is positioned based on the verification result and the path information, the abnormality in the model is determined, the abnormal node in the model is determined, and the verification integrity is improved.
Fig. 4 is a schematic flow chart of another verification method in an embodiment of the disclosure.
As shown in fig. 4, the verification method may include:
s410, traversing an object tree corresponding to the model to obtain path information from each node to a root node in the object tree;
s420, determining a first corresponding relation between the verifier and the annotation information;
s430, determining a second corresponding relation between the annotation information and the node.
S440, determining a verifier corresponding to the target node based on the annotation information of the target node and the first corresponding relation.
In some embodiments, annotation information corresponding to the node may be determined based on the second correspondence, and then a verifier corresponding to the annotation information may be determined based on the first correspondence.
S450, determining a verification result of the target node based on the verifier;
s460, positioning the abnormality of the model based on the verification result and the path information.
According to the verification method provided by the embodiment of the disclosure, the object tree corresponding to the model is traversed, the path information from each node to the root node in the object tree is obtained, the verifier corresponding to the target node is determined based on the annotation information of the target node, the verification result of the target node is determined based on the verifier, the abnormality in the model is positioned based on the verification result and the path information, the abnormality in the model is determined, the abnormal node in the model is determined, and the verification integrity is improved.
Fig. 5 shows a schematic flow chart of yet another verification method in an embodiment of the disclosure.
As shown in fig. 5, the verification method may include:
s510, acquiring data.
In some embodiments, the data may include a class of data.
By way of example, data categories may be resources, resource services, and business services, and products.
S520, classifying the data to obtain a product category, a scene category, an object attribute category, an object relationship category, an object mapping category and an attribute mapping category.
For a detailed description of an object tree, fig. 6 shows a schematic diagram of an object tree in an embodiment of the disclosure.
As shown in fig. 6, in the object tree, the product node is a root node, and the product node connects a plurality of scene nodes, object attribute nodes, and object relationship nodes.
Any one scene node may be connected to a plurality of object mapping nodes, and each object mapping node may correspond to a plurality of attribute mapping nodes.
For example, a complete PSR model data at least includes three layers of associated data, each layer may have multiple data items, and if only a simple data verification is performed on the model node, the location information of the node in the model data cannot be obtained, and the user cannot be accurately prompted to modify the data.
The object tree starts with a PSR model root node, and a Java object model obtained by inquiring the associated information is assembled and unfolded in a tree structure.
The product is a customer-oriented service available in the PSR model.
One product can be used in different scenes, and the same product is formed by different resources, resource services and business services in different scenes.
A scenario node is a node in a scenario that a resource, resource service, and business service may constitute.
The object mapping is a mapping relationship among resources, resource services and business services represented by different scene nodes.
The attribute mapping is a mapping relationship of attributes among resources, resource services and business services represented by different scene nodes.
In some embodiments, in the PSR model corresponding to the object tree, the PSR model is used for performing hierarchical decoupling on enterprise 'resources', 'resource services', and 'business services', and 'products', performing assembly design based on the cloud network capability of the bottom layer, forming network services and business services, and providing communication services/products outwards.
S530, generating a PSR model corresponding to the data based on the classification result of the data.
S540, traversing an object tree corresponding to the model to obtain path information from each node to a root node in the object tree;
s550, determining a verifier corresponding to the target node based on the annotation information of the target node;
s560, determining a verification result of the target node based on the verifier;
s570, positioning the abnormality of the model based on the verification result and the path information.
According to the verification method provided by the embodiment of the disclosure, the object tree corresponding to the model is traversed, the path information from each node to the root node in the object tree is obtained, the verifier corresponding to the target node is determined based on the annotation information of the target node, the verification result of the target node is determined based on the verifier, the abnormality in the model is positioned based on the verification result and the path information, the abnormality in the model is determined, the abnormal node in the model is determined, and the verification integrity is improved.
Based on the same inventive concept, a verification device is also provided in the embodiments of the present disclosure, as follows. Since the principle of solving the problem of the embodiment of the device is similar to that of the embodiment of the method, the implementation of the embodiment of the device can be referred to the implementation of the embodiment of the method, and the repetition is omitted.
Fig. 7 shows a schematic diagram of yet another verification device in an embodiment of the disclosure.
As shown in fig. 7, the verification device may include:
the traversing module 710 is configured to traverse the object tree corresponding to the model to obtain path information from each node to the root node in the object tree;
a first determining module 720, configured to determine a verifier corresponding to the target node based on the annotation information of the target node;
a second determining module 730, configured to determine a verification result of the target node based on the verifier;
the positioning module 740 is configured to position an anomaly of the model based on the verification result and the path information.
According to the verification device provided by the embodiment of the disclosure, the object tree corresponding to the model is traversed to obtain the path information from each node to the root node in the object tree, the verifier corresponding to the target node is determined based on the annotation information of the target node, the verification result of the target node is determined based on the verifier, the abnormality in the model is positioned based on the verification result and the path information, the abnormality in the model is determined, the abnormal node in the model is determined, and the verification integrity is improved.
In some embodiments, the apparatus further comprises:
the third determining module is used for determining the root node of the model before traversing the object tree corresponding to the model to obtain the path information from each node to the root node in the object tree;
and the fourth determining module is used for obtaining an object tree of the model based on the nodes of the root node association model.
According to the verification device provided by the embodiment of the disclosure, the object tree corresponding to the model is traversed to obtain the path information from each node to the root node in the object tree, the verifier corresponding to the target node is determined based on the annotation information of the target node, the verification result of the target node is determined based on the verifier, the abnormality in the model is positioned based on the verification result and the path information, the abnormality in the model is determined, the abnormal node in the model is determined, and the verification integrity is improved.
In some embodiments, the apparatus further comprises:
a fifth determining module, configured to determine a first correspondence between a verifier and annotation information before determining the verifier corresponding to the target node based on the annotation information of the target node after obtaining the object tree of the model based on the node of the root node association model;
and a sixth determining module, configured to determine a second correspondence between annotation information and the node.
According to the verification device provided by the embodiment of the disclosure, the object tree corresponding to the model is traversed to obtain the path information from each node to the root node in the object tree, the verifier corresponding to the target node is determined based on the annotation information of the target node, the verification result of the target node is determined based on the verifier, the abnormality in the model is positioned based on the verification result and the path information, the abnormality in the model is determined, the abnormal node in the model is determined, and the verification integrity is improved.
In some embodiments, the first determining module comprises:
and the determining unit is used for determining the verifier corresponding to the target node based on the annotation information of the target node and the first corresponding relation.
According to the verification device provided by the embodiment of the disclosure, the object tree corresponding to the model is traversed to obtain the path information from each node to the root node in the object tree, the verifier corresponding to the target node is determined based on the annotation information of the target node, the verification result of the target node is determined based on the verifier, the abnormality in the model is positioned based on the verification result and the path information, the abnormality in the model is determined, the abnormal node in the model is determined, and the verification integrity is improved.
In some embodiments, the apparatus further comprises:
the acquisition module is used for acquiring data;
the classification module is used for classifying the data to obtain a product category, a scene category, an object attribute category, an object relation category, an object mapping category and an attribute mapping category;
and the generation module is used for generating a PSR model corresponding to the data based on the classification result of the data.
According to the verification device provided by the embodiment of the disclosure, the object tree corresponding to the model is traversed to obtain the path information from each node to the root node in the object tree, the verifier corresponding to the target node is determined based on the annotation information of the target node, the verification result of the target node is determined based on the verifier, the abnormality in the model is positioned based on the verification result and the path information, the abnormality in the model is determined, the abnormal node in the model is determined, and the verification integrity is improved.
Those skilled in the art will appreciate that the various aspects of the present disclosure may be implemented as a system, method, or program product. Accordingly, various aspects of the disclosure may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
An electronic device 800 according to such an embodiment of the present disclosure is described below with reference to fig. 8. The electronic device 800 shown in fig. 8 is merely an example and should not be construed to limit the functionality and scope of use of embodiments of the present disclosure in any way.
As shown in fig. 8, the electronic device 800 is embodied in the form of a general purpose computing device. Components of electronic device 800 may include, but are not limited to: the at least one processing unit 810, the at least one memory unit 820, and a bus 830 connecting the various system components, including the memory unit 820 and the processing unit 810.
Wherein the storage unit stores program code that is executable by the processing unit 810 such that the processing unit 810 performs steps according to various exemplary embodiments of the present disclosure described in the above section of the present specification. For example, the processing unit 810 may perform the following steps of the method embodiment described above:
traversing an object tree corresponding to the model to obtain path information from each node to a root node in the object tree;
determining a verifier corresponding to the target node based on annotation information of the target node;
determining a verification result of the target node based on the verifier;
and locating the abnormality of the model based on the verification result and the path information.
The storage unit 820 may include readable media in the form of volatile storage units, such as Random Access Memory (RAM) 8201 and/or cache memory 8202, and may further include Read Only Memory (ROM) 8203.
Storage unit 820 may also include a program/utility 8204 having a set (at least one) of program modules 8205, such program modules 8205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
Bus 830 may be one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 800 may also communicate with one or more external devices 840 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 800, and/or any device (e.g., router, modem, etc.) that enables the electronic device 800 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 850. Also, electronic device 800 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 860. As shown, network adapter 860 communicates with other modules of electronic device 800 over bus 830. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 800, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RA ID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, including several instructions to cause a computing device (may be a personal computer, a server, a terminal device, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, a computer-readable storage medium, which may be a readable signal medium or a readable storage medium, is also provided. On which a program product is stored which enables the implementation of the method described above of the present disclosure. In some possible implementations, various aspects of the disclosure may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the disclosure as described in the "exemplary methods" section of this specification, when the program product is run on the terminal device.
More specific examples of the computer readable storage medium in the present disclosure may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In this disclosure, a computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Alternatively, the program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
In particular implementations, the program code for carrying out operations of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
It should be noted that although in the above detailed description several modules or units of a 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 in accordance with embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
Furthermore, although the steps of the methods in the present disclosure are depicted in a particular order in the drawings, this does not require or imply that the steps must be performed in that particular order or that all illustrated steps be performed in order to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform, etc.
From the description of the above embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, including several instructions to cause a computing device (may be a personal computer, a server, a mobile terminal, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
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 disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general 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 (10)

1. A method of verification, comprising:
traversing an object tree corresponding to the model to obtain path information from each node to a root node in the object tree;
determining a verifier corresponding to a target node based on annotation information of the target node;
determining a verification result of the target node based on the verifier;
and positioning the abnormality of the model based on the verification result and the path information.
2. The method of claim 1, wherein before traversing the object tree corresponding to the model to obtain path information from each node in the object tree to the root node, the method further comprises:
determining a root node of the model;
and obtaining an object tree of the model based on the nodes of the model associated with the root nodes.
3. The method according to claim 1, wherein after the node based on the association of the root node with the model, and obtaining the object tree of the model, before the verifier corresponding to the target node is determined based on the annotation information of the target node, the method further comprises:
determining a first correspondence of the verifier and the annotation information;
and determining a second corresponding relation between the annotation information and the node.
4. The method according to claim 1, wherein the determining a verifier corresponding to the target node based on annotation information of the target node includes:
and determining a verifier corresponding to the target node based on the annotation information of the target node and the first corresponding relation.
5. The method of verification according to claim 1, wherein the model comprises a PSR model.
6. The method of verification according to claim 5, wherein the method comprises:
acquiring data;
classifying the data to obtain a product category, a scene category, an object attribute category, an object relation category, an object mapping category and an attribute mapping category;
and generating a PSR model corresponding to the data based on the classification result of the data.
7. A verification system, comprising: the system comprises an object tree traversing module, a data checking module and a self-defining result set module;
the object tree traversing module is used for traversing the object tree corresponding to the model to obtain the path information from each node to the root node in the object tree; invoking the data verification module;
the data verification module is used for determining a verifier corresponding to the target node based on annotation information of the target node and determining a verification result of the target node based on the verifier;
and the custom result set module is used for positioning the abnormality of the model based on the verification result and the path information.
8. A verification device, comprising:
the traversing module is used for traversing the object tree corresponding to the model to obtain the path information from each node to the root node in the object tree;
the first determining module is used for determining a verifier corresponding to the target node based on annotation information of the target node;
a second determining module, configured to determine a verification result of the target node based on the verifier;
and the positioning module is used for positioning the abnormality of the model based on the verification result and the path information.
9. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the verification method of any one of claims 1 to 7 via execution of the executable instructions.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the verification method according to any one of claims 1 to 7.
CN202311735850.1A 2023-12-15 2023-12-15 Verification method, system, device, equipment and storage medium Pending CN117591982A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311735850.1A CN117591982A (en) 2023-12-15 2023-12-15 Verification method, system, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311735850.1A CN117591982A (en) 2023-12-15 2023-12-15 Verification method, system, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117591982A true CN117591982A (en) 2024-02-23

Family

ID=89920082

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311735850.1A Pending CN117591982A (en) 2023-12-15 2023-12-15 Verification method, system, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117591982A (en)

Similar Documents

Publication Publication Date Title
US9934003B2 (en) System and method for creating a development and operational platform for mobile applications
US9398087B1 (en) Secure deployment of an application across deployment locations
US9363195B2 (en) Configuring cloud resources
CN110324169B (en) Interface management method and device
US10963370B2 (en) Default mock implementations at a server
CN107153599B (en) Method and equipment for recording and playing back user operation
CN111427701A (en) Workflow engine system and business processing method
WO2021155683A1 (en) Log printing method and apparatus, electronic device, and storage medium
CN112417016B (en) Data exchange method, system, equipment and storage medium
US9503351B1 (en) Deployment feedback for system updates to resources in private networks
WO2024001240A1 (en) Task integration method and apparatus for multiple technology stacks
US20230315405A1 (en) Discovering matching code segments according to index and comparative similarity
WO2024045646A1 (en) Method, apparatus and system for managing cluster access permission
CN116244682A (en) Database access method, device, equipment and storage medium
CN113708955B (en) Equipment configuration method, device and system
CN117591982A (en) Verification method, system, device, equipment and storage medium
CN114780361A (en) Log generation method, device, computer system and readable storage medium
CN112905970A (en) Authority verification method and device, computer readable storage medium and electronic equipment
CN112099841A (en) Method and system for generating configuration file
WO2020146689A1 (en) Enabling distributed semantic mashup
CN116701790B (en) Front-end authority control method based on route and related equipment
CN111949472A (en) Method and device for recording application logs
CN115348310B (en) Reverse proxy method, device, system, electronic equipment and storage medium
US11755681B2 (en) Real-time equivalent user interaction generation
US11983093B2 (en) Tracking status of managed time series processing tasks

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