Verification method and device, electronic device and storage medium

By real-time verification of directed connection relationships during the panoramic image construction process, the problem of operation failure caused by wrong connections in the panoramic image is solved, and the correctness and work efficiency of the graph are improved.

CN113409424BActive Publication Date: 2024-11-26SHENZHEN SENSETIME TECH CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202110710596.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-25
Publication Date
2024-11-26
Estimated Expiration
2041-06-25

AI Technical Summary

Technical Problem

In the process of building panoramic images, incorrect directed connection relationships often lead to operation failures, and the existing technology is difficult to detect and correct in time, resulting in inefficiency.

Method used

Provide a verification method and device to ensure the correctness of the panoramic image by checking the directed connection relationship of different units in real time in the drawing area, detecting unit type matching and repeated connection situations, and displaying prompt information in error situations .

Benefits of technology

By prompting users to modify in real-time checksums, we ensure the correctness of the panoramic image, avoid running failures, and improve work efficiency and graph accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113409424B_ABST
    Figure CN113409424B_ABST
Patent Text Reader

Abstract

The present disclosure provides a verification method and device, an electronic device and a storage medium, the method comprising: presenting a display interface including a drawing area; the drawing area at least comprises a first unit and a second unit that form a panoramic view corresponding to a target task processing flow, the first unit being an operation unit or a resource unit, and the second unit being an operation unit or a resource unit; in response to a directed connection operation performed between the first unit and the second unit, performing a connection relationship verification on the first unit and the second unit to obtain a verification result; when the verification result is a directed connection error, displaying a directed line connecting the first unit and the second unit in a first manner in the drawing area, and displaying a prompt message.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer vision technology, and in particular to a verification method and device, an electronic device, and a storage medium. Background Art

[0002] The panoramic view is an effective tool for describing the progress of a project or system. It can be applied to the data flow, model training and reasoning process in multiple model training for specific application scenarios.

[0003] Currently, users can use specific applications on electronic devices to build the required panorama to implement the operation of a specific workflow and complete the corresponding task. If there are errors in the constructed panorama, it often leads to operation failure. Summary of the invention

[0004] The embodiments of the present disclosure are intended to provide a verification method and device, an electronic device, and a storage medium.

[0005] The technical solution of the embodiment of the present disclosure is implemented as follows:

[0006] The present disclosure provides a verification method, the method comprising:

[0007] Presenting a display interface including a drawing area; the drawing area at least includes a first unit and a second unit that form a panoramic view corresponding to a target task processing flow, the first unit being an operation unit or a resource unit, and the second unit being an operation unit or a resource unit;

[0008] In response to a directed connection operation performed between the first unit and the second unit, verifying a connection relationship between the first unit and the second unit to obtain a verification result;

[0009] When the verification result is a directed line error, the directed line connecting the first unit and the second unit is displayed in the drawing area in a first manner, and a prompt message is displayed.

[0010] In the above method, after verifying the connection relationship between the first unit and the second unit and obtaining the verification result, the method further includes:

[0011] When the verification result shows that the directed connection is correct, the directed line is displayed in the drawing area in a second manner.

[0012] In the above method, before verifying the connection relationship between the first unit and the second unit, the method further includes:

[0013] Displaying the directed line in the drawing area in a third manner;

[0014] Displaying the directed line in the drawing area in a first manner includes:

[0015] In the drawing area, the directed lines are stopped from being displayed in the third manner, and the directed lines are displayed in the first manner.

[0016] In the above method, after displaying the directed line connecting the first unit and the second unit in the drawing area in a first manner, the method further includes:

[0017] When the display time of the directed line reaches a preset time, the directed line is stopped from being displayed in the drawing area.

[0018] In the above method, the performing connection verification on the first unit and the second unit to obtain a verification result includes:

[0019] determining whether the first unit and the second unit are both resource units;

[0020] In the case that both the first unit and the second unit are resource units, it is determined that the verification result is a directional connection error.

[0021] In the above method, the performing connection verification on the first unit and the second unit to obtain a verification result includes:

[0022] detecting whether the first unit is repeatedly connected to the second unit;

[0023] In a case where it is detected that the first unit and the second unit are repeatedly connected, it is determined that the verification result is a directional connection error.

[0024] In the above method, the performing connection verification on the first unit and the second unit to obtain a verification result includes:

[0025] Determine whether the types of a first connection point and a second connection point match; the first connection point is a connection point where the first unit is connected to the second unit, and the second connection point is a connection point where the second unit is connected to the first unit;

[0026] In a case where the types of the first connection point and the second connection point do not match, the verification result is determined to be a directed connection error.

[0027] In the above method, the display interface also includes a drag area, and the method further includes:

[0028] In response to each operation unit being dragged from the drag area to the drawing area, each operation unit and a resource unit matching an operation type of each operation unit are displayed in the drawing area.

[0029] In the above method, the performing connection verification on the first unit and the second unit to obtain a verification result includes:

[0030] In the case where the first unit is an operation unit and the second unit is a resource unit, determining whether the second unit is a third unit; wherein the third unit is a resource unit displayed in the drawing area and matching the operation type of the first unit when the first unit is dragged from the drag area to the drawing area;

[0031] In a case where the second unit is different from the third unit, determining that the verification result is a directed connection error;

[0032] In the case where the second unit is an operation unit and the first unit is a resource unit, determining whether the first unit is a fourth unit; wherein the fourth unit is a resource unit displayed in the drawing area and matching the operation type of the second unit when the second unit is dragged from the drag area to the drawing area;

[0033] In a case where the first unit is different from the fourth unit, it is determined that the verification result is a directional connection error.

[0034] In the above method, it also includes:

[0035] When the panoramic image is formed in the drawing area, in response to an operation instruction for operating the panoramic image, performing a connection relationship check on the panoramic image;

[0036] When an incorrect connection relationship is detected from the panoramic image, a prompt message is displayed in the drawing area.

[0037] In the above method, the checking of the connection relationship of the panoramic image includes:

[0038] Determine the resource unit corresponding to the input of each operation unit in the panoramic view;

[0039] Based on the target task processing flow, verify whether each operation unit in the panoramic view matches its corresponding input resource unit;

[0040] When it is verified that the input resource unit corresponding to any operation unit in the panoramic view does not match, it is determined that an erroneous connection relationship exists in the panoramic view.

[0041] In the above method, the checking of the connection relationship of the panoramic image includes:

[0042] Detecting whether each resource unit in the panoramic image is connected;

[0043] When it is detected that any one resource unit in the panoramic view is not connected, it is determined that an erroneous connection relationship exists in the panoramic view.

[0044] The present disclosure provides a verification device, including:

[0045] A presentation module, configured to present a display interface including a drawing area; the drawing area at least includes a first unit and a second unit that form a panoramic view corresponding to a target task processing flow, the first unit being an operation unit or a resource unit, and the second unit being an operation unit or a resource unit;

[0046] a verification module, configured to verify the connection relationship between the first unit and the second unit in response to the directed connection operation performed between the first unit and the second unit, and obtain a verification result;

[0047] The presentation module is further configured to display, in the drawing area, a directed line connecting the first unit and the second unit in a first manner and display prompt information when the verification result is a directed connection error.

[0048] The present disclosure provides an electronic device, the electronic device comprising: a processor, a memory and a communication bus; wherein:

[0049] The communication bus is used to realize the connection and communication between the processor and the memory;

[0050] The processor is used to execute the verification program stored in the memory to implement the above verification method.

[0051] An embodiment of the present disclosure provides a computer-readable storage medium, which stores one or more programs. The one or more programs can be executed by one or more processors to implement the above-mentioned verification method.

[0052] The embodiments of the present disclosure provide a verification method and device, an electronic device, and a storage medium, the method comprising: presenting a display interface including a drawing area; the drawing area at least comprises a first unit and a second unit that form a panoramic view corresponding to the target task processing flow, the first unit being an operation unit or a resource unit, and the second unit being an operation unit or a resource unit; in response to a directed connection operation performed between the first unit and the second unit, performing a connection relationship verification on the first unit and the second unit to obtain a verification result; in the case where the verification result is a directed connection error, displaying a directed line connecting the first unit and the second unit in a first manner in the drawing area, and displaying a prompt message. The technical solution provided by the embodiments of the present disclosure verifies the connection relationship when direct connections are made between different units during the drawing of the panoramic view, so as to prompt the user to modify and adjust in a timely manner in the case of a connection relationship error, thereby ensuring the correctness of the drawn panoramic view and avoiding operation failure. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 A flow chart of a verification method provided in the embodiment of the present disclosure Figure 1 ;

[0054] Figure 2 An exemplary display interface provided in the embodiment of the present disclosure Figure 1 ;

[0055] Figure 3 An exemplary verification process provided in the embodiment of the present disclosure is shown in FIG. Figure 1 ;

[0056] Figure 4 A flow chart of a verification method provided in the embodiment of the present disclosure Figure 2 ;

[0057] Figure 5 An exemplary display interface provided in the embodiment of the present disclosure Figure 2 ;

[0058] Figure 6 An exemplary verification process provided in the embodiment of the present disclosure is shown in FIG. Figure 2 ;

[0059] Figure 7 A schematic diagram of the structure of a verification device provided in an embodiment of the present disclosure;

[0060] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0061] In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. The following embodiments are used to illustrate the present disclosure, but are not used to limit the scope of the present disclosure. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure.

[0062] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0063] It should be pointed out that the terms "first\second\third" involved in the embodiments of the present disclosure are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that the preset order or sequence of "first\second\third" can be interchanged where permitted, so that the embodiments of the present disclosure described here can be implemented in an order other than that illustrated or described here.

[0064] The embodiments of the present disclosure provide a verification method, the execution subject of which may be a verification device, for example, the verification method may be executed by a terminal device or a server or other electronic device, wherein the terminal device may be a user equipment (UE), a mobile device, a user terminal, a cellular phone, a cordless phone, a personal digital assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc. In some possible implementations, the verification method may be implemented by a processor calling a computer-readable instruction stored in a memory.

[0065] The embodiment of the present disclosure provides a verification method. Figure 1 A flow chart of a verification method provided in the embodiment of the present disclosure Figure 1 .like Figure 1 As shown, in the embodiment of the present disclosure, the verification method mainly includes the following steps:

[0066] S101, presenting a display interface including a drawing area; the drawing area at least includes a first unit and a second unit that form a panoramic view corresponding to a target task processing flow, the first unit being an operation unit or a resource unit, and the second unit being an operation unit or a resource unit.

[0067] In an embodiment of the present disclosure, the verification device may present a display interface including a drawing area; the drawing area includes at least a first unit and a second unit that form a panoramic view corresponding to the target task processing flow.

[0068] It should be noted that in the embodiment of the present disclosure, the display interface presented by the verification device includes a first unit and a second unit in the drawing area. The first unit and the second unit can be any one of an operation unit and a resource unit respectively. The specific first unit and the second unit are not limited in the embodiment of the present disclosure.

[0069] It should be noted that, in the embodiments of the present disclosure, the operation unit is a unit used to perform processing operations on tasks, and the resource unit is data used to characterize the operation unit in the process of performing processing operations.

[0070] It should be noted that in the embodiments of the present disclosure, the target task processing flow may be a processing flow of a data processing task in any complex scene. For example, the target task processing flow may be a processing flow of a task for performing image recognition on images in a complex scene. The specific target task processing flow may be set according to actual needs and application scenarios, and the embodiments of the present disclosure do not limit this.

[0071] It should be noted that in the embodiments of the present disclosure, the raw graph is a complete solution for the AI ​​model generated by the user on the canvas, including functions such as model training, evaluation, and reasoning logic concatenation. The canvas is a section on the AI ​​training platform where users drag different components to build the entire model production process. The raw graph includes various operation units and resource units.

[0072] S102: In response to the directed connection operation performed between the first unit and the second unit, verify the connection relationship between the first unit and the second unit to obtain a verification result.

[0073] In an embodiment of the present disclosure, when presenting a display interface including a drawing area, the verification device can verify the connection relationship between the first unit and the second unit in response to a directed connection operation performed between the first unit and the second unit to obtain a verification result.

[0074] It should be noted that in the embodiments of the present disclosure, the user can use human-computer interaction to perform a directed connection operation to connect the first unit and the second unit in the drawing area in a directed manner, and the verification device can respond to the directed connection operation, automatically verify the connection relationship between the first unit and the second unit, and obtain the corresponding verification result.

[0075] It should be noted that, in the embodiments of the present disclosure, both the first unit and the second unit include an input connection point and an output connection point, and the user can connect the first unit and the second unit in a directed manner by clicking on these connection points.

[0076] It should be noted that in the embodiments of the present disclosure, when different units are connected in a directed manner, the connection relationship between the two connected units needs to follow some basic rules, otherwise, the connection between the two is wrong and cannot be established. The following will be a detailed description of some verification methods.

[0077] Specifically, in an embodiment of the present disclosure, the verification device verifies the connection relationship between the first unit and the second unit to obtain a verification result, including: determining whether the first unit and the second unit are both resource units; when the first unit and the second unit are both resource units, determining that the verification result is a directed connection error.

[0078] It can be understood that in the embodiments of the present disclosure, for the panoramic view, the basic rule is that the resource unit needs to be connected to the operation unit. Therefore, the verification device can determine the unit types of the first unit and the second unit. If both are resource units, that is, the user's operation of connecting the first unit and the second unit in a directed manner is wrong, and the connection relationship between the first unit and the second unit is a directed connection error.

[0079] Specifically, in an embodiment of the present disclosure, a verification device verifies the connection relationship between the first unit and the second unit to obtain a verification result, including: detecting whether the first unit and the second unit are repeatedly connected; and when it is detected that the first unit and the second unit are repeatedly connected, determining that the verification result is a directed connection error.

[0080] It can be understood that in the embodiments of the present disclosure, the user may have performed an operation of connecting the first unit with the second unit before performing the directed connection operation between the first unit and the second unit. Therefore, in order to avoid the error of repeatedly connecting the two units, the verification device can detect whether the first unit and the second unit are repeatedly connected. The specific detection method can be to detect whether there are repeated connections for connecting the first unit and the second unit in the drawing area. Of course, other detection methods can also be used to detect repeated connections, which is not limited by the embodiments of the present disclosure.

[0081] Specifically, in an embodiment of the present disclosure, a verification device verifies the connection relationship between the first unit and the second unit to obtain a verification result, including: determining whether the types of the first connection point and the second connection point match; the first connection point is the connection point connecting the first unit and the second unit, and the second connection point is the connection point connecting the second unit and the first unit; when the types of the first connection point and the second connection point do not match, determining that the verification result is a directed connection error.

[0082] It is understandable that in the embodiments of the present disclosure, each unit includes an input connection point and an output connection point. When different units are connected, the input connection point of one unit needs to be connected to the output connection point of another unit to achieve the sequential execution of the task flow. The verification device can respectively obtain the connection points where the first unit and the second unit are connected to each other to obtain the first connection point and the second connection point, so that if the two connection points do not match, that is, both connection points are input connection points, or both are output connection points, the verification result is determined to be a directed connection error.

[0083] It should be noted that in an embodiment of the present disclosure, the display interface presented by the verification device also includes a drag area, and the verification device can also perform the following steps: in response to dragging each operation unit from the drag area to the drawing area, displaying each operation unit and a resource unit matching the operation type of each operation unit in the drawing area.

[0084] It should be noted that in the embodiments of the present disclosure, various operation units are presented in the drag area, and the user can drag any operation unit from the drag area to the drawing area through touch operation. In this way, the dragged operation unit can be displayed in the drawing area. In addition, the corresponding resource unit will be automatically presented in the drawing area, and the resource unit matches the operation type of the operation unit. That is, the user only needs to select the operation unit to automatically adapt the corresponding resource unit, thereby improving the convenience of the user in drawing a panoramic view and facilitating the drawing of a panoramic view with higher accuracy.

[0085] Specifically, in an embodiment of the present disclosure, based on the above-mentioned scheme in which the verification device responds to the operation unit being dragged, the verification device verifies the connection relationship between the first unit and the second unit to obtain a verification result, including: when the first unit is an operation unit and the second unit is a resource unit, determining whether the second unit is a third unit; wherein the third unit is a resource unit displayed in the drawing area and matching the operation type of the first unit when the first unit is dragged from the drag area to the drawing area; when the second unit is different from the third unit, determining that the verification result is a directed connection error; when the second unit is an operation unit and the first unit is a resource unit, determining whether the first unit is a fourth unit; wherein the fourth unit is a resource unit displayed in the drawing area and matching the operation type of the second unit when the second unit is dragged from the drag area to the drawing area; when the first unit is different from the fourth unit, determining that the verification result is a directed connection error.

[0086] It can be understood that in the embodiments of the present disclosure, based on the above-mentioned scheme in which the verification device responds to the operation unit being dragged, the resource units that can be connected to each operation unit are already predetermined. If one of the first unit and the second unit is an operation unit and the other is a resource unit, when the first unit and the second unit are connected in a directed manner, the verification device needs to determine whether the first unit and the second unit are a predetermined pair of resource units and operation units. The verification device can specifically determine whether the resource units in the first unit and the second unit are the resource units brought out when the operation units in the first unit and the second unit are dragged into the drawing area. If not, it can be determined that the verification result is a directed connection operation.

[0087] It should be noted that, in the embodiments of the present disclosure, the specific manner in which the above-mentioned verification device verifies the connection relationship between the first unit and the second unit are only some optional manners provided in the embodiments of the present disclosure. Of course, they can also be set according to actual needs and application scenarios, and the embodiments of the present disclosure are not limited thereto.

[0088] S103: When the verification result shows that the directed connection relationship is wrong, display the directed line connecting the first unit and the second unit in the drawing area in a first manner and display a prompt message.

[0089] In an embodiment of the present disclosure, after the verification device verifies the connection relationship between the first unit and the second unit and obtains the verification result, if the verification result is a directed connection error, the corresponding directed connection can be displayed in the drawing area, and a prompt message can be displayed.

[0090] It can be understood that in the embodiments of the present disclosure, when the verification device determines that the first unit and the second unit are connected incorrectly, it can display the directed line connecting the two in a specific manner, that is, the first manner, and display prompt information at the same time. When the user sees this information in the drawing area, he can know that the connection between the first unit and the second unit is incorrect, and thus modify the connection in time.

[0091] Exemplarily, in an embodiment of the present disclosure, the first method can be highlighting, that is, the verification device can highlight the directed connection connecting the first unit and the second unit. In addition, the verification device displays error prompt information in the drawing area, which may include: displaying a connection error prompt window in the drawing area, and displaying a prompt statement representing the connection relationship error in the connection error prompt window.

[0092] It should be noted that, in an embodiment of the present disclosure, when the verification result is a directed connection error, the verification device may display a connection error window in the drawing area, and a prompt statement may be displayed in the window to prompt that the connection relationship is wrong. For example, when the first unit and the second unit are repeatedly connected, a statement such as "Connection error, repeat connection" may be displayed in the connection error window; when the input connection points of the first unit and the second unit are connected, a statement such as "Connection error, please reconnect" may be displayed in the connection error window.

[0093] It should be noted that in the embodiment of the present disclosure, the verification device verifies the connection relationship between the first unit and the second unit, and after obtaining the verification result, the following steps can also be performed: when the verification result shows that the directed connection is correct, the directed line is displayed in the drawing area in a second manner.

[0094] It can be understood that in the embodiments of the present disclosure, if the connection relationship between the first unit and the second unit is correct, that is, the verification result is that the directed connection is correct, the verification device can display the directed line in a second manner different from the first manner. In this way, when the user sees the wired line displayed in the second manner in the drawing area, he can know that the first unit and the second unit are correctly connected and the connection relationship between the first unit and the second unit has been successfully established.

[0095] Illustratively, in an embodiment of the present disclosure, when the verification result is a directed connection error, the verification device may display the directed line connecting the first unit and the second unit in red in the drawing area; when the verification result is a directed connection correct, the verification device may display the directed line connecting the first unit and the second unit in blue in the drawing area, etc.

[0096] Figure 2 An exemplary display interface provided in the embodiment of the present disclosure Figure 1 .like Figure 2 As shown, in the drawing area, the output connection point of the original dataset_1 and the input connection point of the dataset_image classification 1 are connected in a directionally connected manner through a directed line. Since the original dataset_1 and the dataset_image classification 1 are two resource units, and resource units are not allowed to be connected to each other in the panoramic view, the verification device can highlight the directed line in the drawing area. In addition, an error prompt window containing the prompt statement "Incorrect connection, resource units can only be connected to operation units" can also be displayed.

[0097] Specifically, in an embodiment of the present disclosure, after the verification device displays the directed line connecting the first unit and the second unit in the drawing area in a first manner, it can also perform the following steps: when the display time of the directed line reaches a preset time, stop displaying the directed line in the drawing area.

[0098] It should be noted that in the embodiments of the present disclosure, a preset duration may be stored in the verification device, and the preset duration may be set according to actual needs and application scenarios, and the embodiments of the present disclosure are not limited thereto.

[0099] Specifically, in an embodiment of the present disclosure, before the verification device verifies the connection relationship between the first unit and the second unit, the following steps may also be performed: displaying the directed lines in the drawing area in a third manner; correspondingly, the verification device displays the directed lines in the drawing area in a first manner, including: in the drawing area, stopping displaying the directed lines in the third manner, and displaying the directed lines in the first manner.

[0100] It can be understood that in the embodiments of the present disclosure, the verification device can display the directed line in the third manner in the drawing area when the first unit and the second unit are connected in a direction. In this way, if the verification result is a directed connection error, the verification device actually replaces the display mode of the directed line, that is, from the third mode to the first mode, and the user can intuitively see the process of the change of the display of the directed line.

[0101] It should be noted that in the embodiments of the present disclosure, the above-mentioned verification device displays the directed line in a second manner when the verification result is that the directed connection is correct, wherein the second manner may be the same as the third manner, that is, if the connection relationship between the first unit and the second unit is correct, the verification device may maintain the display manner of the directed line unchanged when the directed line is drawn.

[0102] It should be noted that in the embodiments of the present disclosure, when the first unit and the second unit are connected in a direction, the verification device can display the directed connection in the drawing area in the third manner as described above. Of course, the directed connection may not be displayed in the drawing area, that is, the connection relationship between the first unit and the second unit is directly verified, and then the directed connection is displayed in the drawing area in a corresponding manner according to the verification result. The embodiments of the present disclosure are not limited to this.

[0103] Figure 3 An exemplary verification process provided in the embodiment of the present disclosure is shown in FIG. Figure 1 .like Figure 3 As shown, when the user clicks on the connection point of the first unit or the second unit to connect the first unit with the second unit in a directed manner, the verification device verifies the connection relationship. If the verification result is that the directed connection is correct, that is, the verification is passed, and the establishment of the directed connection between the first unit and the second unit is achieved. If the verification result is that the directed connection is wrong, that is, the verification fails, the directed connection is displayed in the drawing area in a first manner and a prompt message is displayed. In addition, when the duration of displaying the directed connection in the first manner reaches a preset duration, the display of the directed connection is automatically stopped, that is, the directed connection is deleted.

[0104] In the embodiments of the present disclosure, the verification device can not only perform real-time connection verification when different units are connected in a directionally manner during the process of forming a panoramic image, but also verify the entire panoramic image when the panoramic image is obtained.

[0105] Figure 4 A flow chart of a verification method provided in the embodiment of the present disclosure Figure 2 .like Figure 4 As shown, the verification device can also perform the following steps:

[0106] S401: When a panoramic image is formed in a drawing area, in response to an operation instruction for operating the panoramic image, a connection relationship check is performed on the panoramic image.

[0107] In an embodiment of the present disclosure, when a panoramic image is formed in a drawing area, the verification device may verify the connection relationship in the panoramic image in response to an operation instruction for running the panoramic image.

[0108] It should be noted that, in the embodiment of the present disclosure, the panoramic view includes at least one resource unit and at least one operation unit, and each operation unit is connected to the resource unit via a directed line.

[0109] Specifically, in an embodiment of the present disclosure, the verification device verifies the connection relationship of the panoramic map, including: determining the input resource unit corresponding to each operation unit in the panoramic map; based on the target task processing flow, verifying whether each operation unit in the panoramic map and its corresponding input resource unit match; when it is verified that the corresponding input resource unit of any operation unit in the panoramic map does not match, it is determined that there is an incorrect connection relationship in the panoramic map.

[0110] It can be understood that in the embodiments of the present disclosure, the user can instruct the running of the panoramic map through human-computer interaction. Before running the panoramic map, the verification device will combine the target task processing flow to pre-check whether the resource unit corresponding to the input of each operation unit is reasonable to avoid failure in running the panoramic map.

[0111] It should be noted that in the embodiments of the present disclosure, the verification device verifies whether each operation unit in the panoramic image matches its corresponding input resource unit based on the target task processing flow. Specifically, it can be based on the target task processing flow to determine whether the operation type of each operation unit matches the type and / or connection of the resource unit input thereto.

[0112] It should be noted that in the embodiment of the present disclosure, the verification device determines the operation type of each operation unit in the panoramic view, determines the type of the input resource unit of the operation unit, and determines whether the two types match to implement the verification process and obtain the verification result. Alternatively, it is determined whether the connection between the operation unit and the input resource unit is reasonable. For example, if the connection between the operation unit and the input resource unit does not conform to the target task processing flow, it is determined that the connection between the operation unit and the input resource unit is unreasonable.

[0113] Exemplarily, in an embodiment of the present disclosure, the panoramic view includes: an operation unit: model training_image classification, its upstream is connected to a resource unit: data set_object detection, and its downstream is connected to a resource unit: model_image classification. For model training_image classification, its downstream connected model_image classification matches it, but its upstream is a data set for object detection, which does not match it. Therefore, the connection is not legal, and there is actually an error in the configuration, that is, there is an incorrect connection relationship in the panoramic view.

[0114] Specifically, in an embodiment of the present disclosure, the verification device performs connection relationship verification on the panoramic view, including: detecting whether each resource unit in the panoramic view is connected; when it is detected that any resource unit in the panoramic view is not connected, determining that there is an incorrect connection relationship in the panoramic view.

[0115] It can be understood that in the embodiments of the present disclosure, each resource unit in the panoramic view needs to be connected with other units to establish an association relationship in order to achieve the corresponding function, and the user may forget to connect some resource units due to negligence. Therefore, when the verification device verifies the connection relationship of the panoramic view, it can detect whether there are unconnected resource units in the panoramic view. If so, it means that there is an incorrect connection relationship in the panoramic view.

[0116] It should be noted that, in the embodiments of the present disclosure, the above-mentioned verification device verifies the connection relationship of the panoramic image, which are only some optional methods provided. Of course, other verification methods can also be set according to actual needs and application scenarios, and the embodiments of the present disclosure are not limited thereto.

[0117] S402: When an incorrect connection relationship is detected in the panoramic image, a prompt message is displayed in the drawing area.

[0118] In an embodiment of the present disclosure, when the verification device verifies an erroneous connection relationship from the panoramic image, a prompt message is displayed in the drawing area.

[0119] It is understandable that in the embodiments of the present disclosure, if the verification device verifies an incorrect connection relationship from the panoramic image, a prompt message may be displayed in the drawing area to prompt the user to modify or adjust the panoramic image.

[0120] It should be noted that in the embodiments of the present disclosure, the verification device displays prompt information in the drawing area. It can be based on a preset display mode, and display the units and lines with incorrect connection relationships verified in the drawing area. It can also display a specific prompt window in the drawing area, and the prompt window contains a prompt statement of the incorrect connection relationship. The embodiments of the present disclosure are not limited to this.

[0121] Figure 5 An exemplary display interface provided in the embodiment of the present disclosure Figure 2 .like Figure 5 As shown, the panoramic view includes the operation unit: model training_image classification, its upstream is connected to the resource unit: data set_object detection 1, and its downstream is connected to the resource unit: model_image classification 1. The object detection data set connected upstream does not match its purpose of training the image classification model. Therefore, a window containing the statement "Incorrect connection, please check the configuration of the operation unit and resource unit" can be displayed in the drawing area, and the model training_image classification 1 and the corresponding connection line are displayed in bold.

[0122] Figure 6 An exemplary verification process provided in the embodiment of the present disclosure is shown in FIG. Figure 2 .like Figure 6 As shown, in the case of forming a panoramic image, when the user instructs to run the panoramic image, the verification device can verify the connection relationship of the panoramic image. If there is no incorrect connection relationship, that is, the verification passes, the panoramic image can be run. If there is an incorrect connection relationship, that is, the verification fails, it will not be run, and prompt information will be displayed, for example, highlighting the resource unit or operation unit with the connection error, displaying the wrong connection line, and a prompt window.

[0123] It can be understood that in the embodiments of the present disclosure, the verification device not only performs real-time verification of the connection relationship when connecting two units during the process of forming the panoramic image, so as to promptly prompt the user to modify and adjust in case of errors, but also performs connection relationship verification on the panoramic image when running the panoramic image, so as to further ensure the correctness of the panoramic image. In this way, normal operation can be guaranteed in the subsequent execution process, so as to solve the problem of low work efficiency in the prior art of modifying the image after operation failure.

[0124] The embodiment of the present disclosure provides a verification method, including: presenting a display interface including a drawing area; the drawing area at least includes a first unit and a second unit that form a panoramic view corresponding to the target task processing flow, the first unit is an operation unit or a resource unit, and the second unit is an operation unit or a resource unit; in response to a directed connection operation performed between the first unit and the second unit, the connection relationship between the first unit and the second unit is verified to obtain a verification result; when the verification result is a directed connection error, the directed line connecting the first unit and the second unit is displayed in a first manner in the drawing area, and a prompt message is displayed. The verification method provided by the embodiment of the present disclosure verifies the connection relationship when different units are connected in a directed manner during the drawing of the panoramic view, so as to prompt the user to modify and adjust in time when a connection relationship error occurs, thereby ensuring the correctness of the drawn panoramic view and avoiding operation failure.

[0125] An embodiment of the present disclosure provides a verification device. Figure 7 This is a schematic diagram of the structure of a verification device provided by an embodiment of the present disclosure. Figure 7 As shown, in an embodiment of the present disclosure, the verification device includes:

[0126] A presentation module 701 is used to present a display interface including a drawing area; the drawing area at least includes a first unit and a second unit that form a panoramic view corresponding to the target task processing flow, the first unit is an operation unit or a resource unit, and the second unit is an operation unit or a resource unit;

[0127] A verification module 702, configured to verify the connection relationship between the first unit and the second unit in response to the directed connection operation between the first unit and the second unit, and obtain a verification result;

[0128] The presentation module 701 is further configured to display, in the drawing area, a directed line connecting the first unit and the second unit in a first manner and display prompt information when the verification result is a directed connection error.

[0129] In an embodiment of the present disclosure, the presentation module 701 is further configured to display the directed line in the drawing area in a second manner when the verification result shows that the directed connection is correct.

[0130] In one embodiment of the present disclosure, the presentation module 701 is further used to display the directed lines in the drawing area in a third manner; accordingly, the presentation module 701 is specifically used to stop displaying the directed lines in the drawing area in the third manner and display the directed lines in the first manner.

[0131] In one embodiment of the present disclosure, the presentation module 701 is further configured to stop displaying the directed line in the drawing area when the display duration of the directed line reaches a preset duration.

[0132] In an embodiment of the present disclosure, the verification module 702 is specifically used to determine whether the first unit and the second unit are both resource units; when the first unit and the second unit are both resource units, determine that the verification result is a directed connection error.

[0133] In an embodiment of the present disclosure, the verification module 702 is specifically used to detect whether the first unit and the second unit are repeatedly connected; when it is detected that the first unit and the second unit are repeatedly connected, the verification result is determined to be a directed connection error.

[0134] In one embodiment of the present disclosure, the verification module 702 is specifically used to determine whether the types of the first connection point and the second connection point match; the first connection point is the connection point where the first unit is connected to the second unit, and the second connection point is the connection point where the second unit is connected to the first unit; when the types of the first connection point and the second connection point do not match, the verification result is determined to be a directed connection error.

[0135] In one embodiment of the present disclosure, the presentation module 701 is further used to display each operation unit and a resource unit matching the operation type of each operation unit in the drawing area in response to dragging each operation unit from the drag area to the drawing area.

[0136] In an embodiment of the present disclosure, the verification module 702 is specifically used to determine whether the second unit is a third unit when the first unit is an operation unit and the second unit is a resource unit; wherein the third unit is a resource unit displayed in the drawing area and matching the operation type of the first unit when the first unit is dragged from the drag area to the drawing area; when the second unit is different from the third unit, determine that the verification result is a directed connection error; when the second unit is an operation unit and the first unit is a resource unit, determine whether the first unit is a fourth unit; wherein the fourth unit is a resource unit displayed in the drawing area and matching the operation type of the second unit when the second unit is dragged from the drag area to the drawing area; when the first unit is different from the fourth unit, determine that the verification result is a directed connection error.

[0137] In an embodiment of the present disclosure, the verification module 702 is further configured to verify the connection relationship of the panoramic image in response to an operation instruction for operating the panoramic image when the panoramic image is formed in the drawing area;

[0138] The presenting module 701 is further configured to display a prompt message in the drawing area when an incorrect connection relationship is detected from the panoramic image.

[0139] In one embodiment of the present disclosure, the verification module 702 is specifically used to determine the input resource unit corresponding to each operation unit in the panoramic view; based on the target task processing flow, verify whether each operation unit in the panoramic view and its corresponding input resource unit match; when it is verified that the corresponding input resource unit of any operation unit in the panoramic view does not match, it is determined that there is an incorrect connection relationship in the panoramic view.

[0140] In one embodiment of the present disclosure, the verification module 702 is specifically used to detect whether each resource unit in the panoramic view is connected; when it is detected that any resource unit in the panoramic view is not connected, it is determined that there is an erroneous connection relationship in the panoramic view.

[0141] The embodiment of the present disclosure provides a verification device, presenting a display interface including a drawing area; the drawing area at least includes a first unit and a second unit that form a panoramic view corresponding to the target task processing flow, the first unit is an operation unit or a resource unit, and the second unit is an operation unit or a resource unit; in response to a directed connection operation performed between the first unit and the second unit, the connection relationship between the first unit and the second unit is verified to obtain a verification result; when the verification result is a directed connection error, the directed line connecting the first unit and the second unit is displayed in a first manner in the drawing area, and a prompt message is displayed. The verification device provided by the embodiment of the present disclosure verifies the connection relationship when direct connections are made between different units during the drawing of the panoramic view, so as to prompt the user to modify and adjust in time when a connection relationship error occurs, thereby ensuring the correctness of the drawn panoramic view and avoiding operation failure.

[0142] An embodiment of the present disclosure provides an electronic device. Figure 8 The structure diagram of an electronic device provided by the embodiment of the present disclosure is shown in FIG. Figure 8 As shown, in an embodiment of the present disclosure, the electronic device includes: a processor 801, a memory 802 and a communication bus 803; wherein,

[0143] The communication bus 803 is used to realize the connection and communication between the processor 801 and the memory 802;

[0144] The processor 801 is used to execute the verification program stored in the memory 802 to implement the above verification method.

[0145] The embodiment of the present disclosure provides a computer-readable storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement the above-mentioned verification method. The computer-readable storage medium can be a volatile memory (volatile memory), such as a random access memory (Random-Access Memory, RAM); or a non-volatile memory (non-volatile memory), such as a read-only memory (Read-Only Memory, ROM), a flash memory (flash memory), a hard disk (Hard Disk Drive, HDD) or a solid-state drive (Solid-State Drive, SSD); or it can be a respective device including one or any combination of the above-mentioned memories, such as a mobile phone, a computer, a tablet device, a personal digital assistant, etc.

[0146] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware. Furthermore, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.

[0147] The present disclosure is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present disclosure. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable signal processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable signal processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0148] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable signal processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0149] These computer program instructions may also be loaded onto a computer or other programmable signal processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0150] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the protection scope of the present disclosure.

Claims

1. A verification method, characterized in that: The method comprises: Presenting a display interface including a drawing area; the drawing area at least includes a first unit and a second unit that form a panoramic view corresponding to a target task processing flow, the first unit being an operation unit or a resource unit, and the second unit being an operation unit or a resource unit; In response to a directed connection operation performed between the first unit and the second unit, verifying a connection relationship between the first unit and the second unit to obtain a verification result; When the verification result is a directed connection error, displaying a directed line connecting the first unit and the second unit in the drawing area in a first manner and displaying a prompt message; Wherein, the display interface also includes a drag area; The verifying the connection relationship between the first unit and the second unit to obtain the verification result includes: when the first unit is an operation unit and the second unit is a resource unit, determining whether the second unit is a third unit; wherein the third unit is a resource unit that is displayed in the drawing area and matches the operation type of the first unit when the first unit is dragged from the drag area to the drawing area; In a case where the second unit is different from the third unit, determining that the verification result is a directed connection error; In the case where the second unit is an operation unit and the first unit is a resource unit, determining whether the first unit is a fourth unit; wherein the fourth unit is a resource unit displayed in the drawing area and matching the operation type of the second unit when the second unit is dragged from the drag area to the drawing area; In a case where the first unit is different from the fourth unit, it is determined that the verification result is a directional connection error.

2. The method according to claim 1, characterized in that After verifying the connection relationship between the first unit and the second unit and obtaining a verification result, the method further includes: When the verification result shows that the directed connection is correct, the directed line is displayed in the drawing area in a second manner.

3. The method according to claim 1 or 2, characterized in that: Before verifying the connection relationship between the first unit and the second unit, the method further includes: Displaying the directed line in the drawing area in a third manner; Displaying the directed line in the drawing area in a first manner includes: In the drawing area, the directed lines are stopped from being displayed in the third manner, and the directed lines are displayed in the first manner.

4. The method according to claim 1 or 2, characterized in that: After displaying the directed line connecting the first unit and the second unit in the drawing area in a first manner, the method further includes: When the display time of the directed line reaches a preset time, the directed line is stopped from being displayed in the drawing area.

5. The method according to claim 1 or 2, characterized in that: The verifying the connection relationship between the first unit and the second unit to obtain a verification result further includes: determining whether the first unit and the second unit are both resource units; In the case that both the first unit and the second unit are resource units, it is determined that the verification result is a directional connection error.

6. The method according to claim 1 or 2, characterized in that: The verifying the connection relationship between the first unit and the second unit to obtain a verification result further includes: detecting whether the first unit is repeatedly connected to the second unit; In a case where it is detected that the first unit and the second unit are repeatedly connected, it is determined that the verification result is a directional connection error.

7. The method according to claim 1 or 2, characterized in that: The verifying the connection relationship between the first unit and the second unit to obtain a verification result further includes: Determine whether the types of a first connection point and a second connection point match; the first connection point is a connection point where the first unit is connected to the second unit, and the second connection point is a connection point where the second unit is connected to the first unit; In a case where the types of the first connection point and the second connection point do not match, the verification result is determined to be a directed connection error.

8. The method according to claim 1, further comprising: In response to each operation unit being dragged from the drag area to the drawing area, each operation unit and a resource unit matching an operation type of each operation unit are displayed in the drawing area.

9. The method according to claim 1 or 2, characterized in that: The method further comprises: When the panoramic image is formed in the drawing area, in response to an operation instruction for operating the panoramic image, performing a connection relationship check on the panoramic image; When an incorrect connection relationship is detected from the panoramic image, a prompt message is displayed in the drawing area.

10. The method according to claim 9, characterized in that The checking of the connection relationship of the panoramic image includes: Determine the resource unit corresponding to the input of each operation unit in the panoramic view; Based on the target task processing flow, verify whether each operation unit in the panoramic view matches its corresponding input resource unit; When it is verified that the input resource unit corresponding to any operation unit in the panoramic view does not match, it is determined that an erroneous connection relationship exists in the panoramic view.

11. The method according to claim 9, characterized in that The checking of the connection relationship of the panoramic image includes: Detect whether each resource unit in the panoramic view is connected; When it is detected that any one resource unit in the panoramic view is not connected, it is determined that an erroneous connection relationship exists in the panoramic view.

12. A verification device, characterized in that: include: A presentation module, configured to present a display interface including a drawing area; the drawing area at least includes a first unit and a second unit that form a panoramic view corresponding to a target task processing flow, the first unit being an operation unit or a resource unit, and the second unit being an operation unit or a resource unit; a verification module, configured to verify the connection relationship between the first unit and the second unit in response to the directed connection operation performed between the first unit and the second unit, and obtain a verification result; The presentation module is further configured to display, in the drawing area, a directed line connecting the first unit and the second unit in a first manner and display prompt information when the verification result is a directed connection error; The verification module is further used to determine whether the second unit is a third unit when the first unit is an operation unit and the second unit is a resource unit; wherein the third unit is a resource unit displayed in the drawing area and matching the operation type of the first unit when the first unit is dragged from the drag area to the drawing area; when the second unit is different from the third unit, determine that the verification result is a directed connection error; when the second unit is an operation unit and the first unit is a resource unit, determine whether the first unit is a fourth unit; wherein the fourth unit is a resource unit displayed in the drawing area and matching the operation type of the second unit when the second unit is dragged from the drag area to the drawing area; when the first unit is different from the fourth unit, determine that the verification result is a directed connection error.

13. An electronic device, characterized in that: The electronic device comprises: a processor, a memory and a communication bus; wherein, The communication bus is used to realize the connection and communication between the processor and the memory; The processor is used to execute the verification program stored in the memory to implement the verification method described in any one of claims 1-11.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the verification method described in any one of claims 1-11.

Citation Information

Patent Citations

  • Signal processing device, signal processing method, and program

    CN108604203A

  • Visual guidance code-free construction workflow, automatic verification method and system thereof

    CN110377279A

  • Data verification method and device, computing equipment and medium

    CN110390069A

  • Naked eye 3D display method and system applied to vehicle-mounted surround-view camera shooting

    CN111447431A

  • Image verification model construction method, image verification method and device

    CN112836554A