Verification method and device, electronic equipment and storage medium
1. A method of verification, the method comprising:
presenting a display interface including a drawing area; the drawing area at least comprises a first unit and a second unit which form a panoramic image corresponding to a target task processing flow, wherein the first unit is an operation unit or a resource unit, and the second unit is an operation unit or a resource unit;
responding to the directed connection operation between the first unit and the second unit, and verifying the connection relation between the first unit and the second unit to obtain a verification result;
and under the condition that the verification result is directed connection error, displaying a directed connection line connecting the first unit and the second unit in a first mode in the drawing area, and displaying prompt information.
2. The method according to claim 1, wherein after the connection relationship between the first unit and the second unit is verified and a verification result is obtained, the method further comprises:
and displaying the directed connection line in a second mode in the drawing area under the condition that the check result is that the directed connection is correct.
3. The method according to claim 1 or 2, wherein before the connection relation between the first unit and the second unit is checked, the method further comprises:
displaying the directional connecting line in a third mode in the drawing area;
the displaying the directional link in a first manner within the drawing area includes:
and in the drawing area, stopping displaying the directional connecting line in the third mode, and displaying the directional connecting line in the first mode.
4. The method of any of claims 1-3, wherein after displaying a directional connection connecting the first unit and the second unit in a first manner within the drawing area, the method further comprises:
and under the condition that the display time length of the directional connecting line reaches the preset time length, stopping displaying the directional connecting line in the drawing area.
5. The method according to any one of claims 1 to 4, wherein the verifying the connection relationship between the first unit and the second unit to obtain a verification result comprises:
determining whether the first unit and the second unit are both resource units;
and under the condition that the first unit and the second unit are both resource units, determining that the check result is a directed connection error.
6. The method according to any one of claims 1 to 4, wherein the verifying the connection relationship between the first unit and the second unit to obtain a verification result comprises:
detecting whether to repeatedly connect the first unit with the second unit;
and under the condition that the first unit and the second unit are repeatedly connected, determining that the check result is a directed connection error.
7. The method according to any one of claims 1 to 4, wherein the verifying the connection relationship between the first unit and the second unit to obtain a verification result comprises:
determining whether the types of the first connection point and the second connection point match; the first connection point is a connection point where the first unit and the second unit are connected, and the second connection point is a connection point where the second unit and the first unit are connected;
and under the condition that the types of the first connection point and the second connection point are not matched, determining that the check result is a directed connection error.
8. The method of claim 1, wherein the display interface further comprises a drag area, the method further comprising:
in response to dragging each operation unit from the drag area to the drawing area, displaying the each operation unit and a resource unit matching an operation type of each operation unit within the drawing area.
9. The method according to claim 8, wherein the verifying the connection relationship between the first unit and the second unit to obtain a verification result comprises:
determining whether the second unit is a third unit if the first unit is an operation unit and the second unit is a resource unit; the third unit is a resource unit which is displayed in the drawing area and is matched with the operation type of the first unit when the first unit is dragged from the dragging area to the drawing area;
determining that the check result is a directed connection error if the second unit is different from the third unit;
determining whether the first unit is a fourth unit if the second unit is an operation unit and the first unit is a resource unit; the fourth unit is a resource unit which is displayed in the drawing area and is matched with the operation type of the second unit when the second unit is dragged from the dragging area to the drawing area;
and under the condition that the first unit and the fourth unit are different, determining that the check result is a directed connection error.
10. The method according to any one of claims 1-9, further comprising:
under the condition that the panoramic image is formed in the drawing area, responding to an operation instruction for operating the panoramic image, and checking the connection relation of the panoramic image;
and displaying prompt information in the drawing area under the condition that the wrong connection relation is checked out from the panoramic image.
11. The method of claim 10, wherein the performing the connection relation check on the panorama comprises:
determining a resource unit which is input correspondingly by each operation unit in the panoramic image;
based on the target task processing flow, checking whether each operation unit in the panoramic image is matched with the corresponding input resource unit;
and under the condition that the resource units input by any one operation unit in the panoramic image are not matched, determining that the panoramic image has wrong connection relation.
12. The method of claim 10, wherein the performing the connection relation check on the panorama comprises:
detecting whether each resource unit in the panoramic image is connected;
and under the condition that any resource unit in the panoramic image is detected to be not connected, determining that a wrong connection relation exists in the panoramic image.
13. A verification apparatus, comprising:
a presentation module for presenting a display interface including a drawing area; the drawing area at least comprises a first unit and a second unit which form a panoramic image corresponding to a target task processing flow, wherein the first unit is an operation unit or a resource unit, and the second unit is an operation unit or a resource unit;
the verification module is used for responding to the directed connection operation between the first unit and the second unit and verifying the connection relation between the first unit and the second unit to obtain a verification result;
the presentation module is further configured to display a directional connection line connecting the first unit and the second unit in a first manner in the drawing area and display prompt information when the check result is that the directional connection is incorrect.
14. An electronic device, characterized in that the electronic device comprises: a processor, a memory, and a communication bus; wherein the content of the first and second substances,
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute the verification program stored in the memory to implement the verification method according to any one of claims 1 to 12.
15. A computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more programs which are executable by one or more processors to implement the verification method of any one of claims 1-12.
Background
The panoramic view is an effective tool for describing the proceeding process of a project or a system, and can be applied to data circulation, model training and reasoning processes in a plurality of model training oriented to specific application scenes.
At present, a user can apply a specific application program to an electronic device to construct a required panoramic image so as to realize the operation of a specific workflow and complete a corresponding task. If the constructed panoramic image has errors, the operation is failed.
Disclosure of Invention
The embodiment of the disclosure is expected to provide a verification method and device, electronic equipment and storage medium.
The technical scheme of the embodiment of the disclosure is realized as follows:
the embodiment of the disclosure provides a verification method, which includes:
presenting a display interface including a drawing area; the drawing area at least comprises a first unit and a second unit which form a panoramic image corresponding to a target task processing flow, wherein the first unit is an operation unit or a resource unit, and the second unit is an operation unit or a resource unit;
responding to the directed connection operation between the first unit and the second unit, and verifying the connection relation between the first unit and the second unit to obtain a verification result;
and under the condition that the check result is that the directed connection is wrong, the directed connection connecting the first unit and the second unit is displayed in the drawing area in a first mode, and prompt information is displayed.
In the above method, after the connection relationship between the first unit and the second unit is verified and a verification result is obtained, the method further includes:
and displaying the directed connection line in a second mode in the drawing area under the condition that the check result is that the directed connection is correct.
In the above method, before the verifying the connection relationship between the first unit and the second unit, the method further includes:
displaying the directional connecting line in a third mode in the drawing area;
the displaying the directional link in a first manner within the drawing area includes:
and in the drawing area, stopping displaying the directional connecting line in the third mode, and displaying the directional connecting line in the first mode.
In the above method, after the displaying a directional link connecting the first unit and the second unit in the first manner within the drawing area, the method further comprises:
and under the condition that the display time length of the directional connecting line reaches the preset time length, stopping displaying the directional connecting line in the drawing area.
In the above method, the verifying the connection relationship between the first unit and the second unit to obtain a verification result includes:
determining whether the first unit and the second unit are both resource units;
and under the condition that the first unit and the second unit are both resource units, determining that the check result is a directed connection error.
In the above method, the verifying the connection relationship between the first unit and the second unit to obtain a verification result includes:
detecting whether to repeatedly connect the first unit with the second unit;
and under the condition that the first unit and the second unit are repeatedly connected, determining that the check result is a directed connection error.
In the above method, the verifying the connection relationship between the first unit and the second unit to obtain a verification result includes:
determining whether the types of the first connection point and the second connection point match; the first connection point is a connection point where the first unit and the second unit are connected, and the second connection point is a connection point where the second unit and the first unit are connected;
and under the condition that the types of the first connection point and the second connection point are not matched, determining that the check result is a directed connection error.
In the above method, the display interface further includes a drag area, and the method further includes:
in response to dragging each operation unit from the drag area to the drawing area, displaying the each operation unit and a resource unit matching an operation type of each operation unit within the drawing area.
In the above method, the verifying the connection relationship between the first unit and the second unit to obtain a verification result includes:
determining whether the second unit is a third unit if the first unit is an operation unit and the second unit is a resource unit; the third unit is a resource unit which is displayed in the drawing area and is matched with the operation type of the first unit when the first unit is dragged from the dragging area to the drawing area;
determining that the check result is a directed connection error if the second unit is different from the third unit;
determining whether the first unit is a fourth unit if the second unit is an operation unit and the first unit is a resource unit; the fourth unit is a resource unit which is displayed in the drawing area and is matched with the operation type of the second unit when the second unit is dragged from the dragging area to the drawing area;
and under the condition that the first unit and the fourth unit are different, determining that the check result is a directed connection error.
In the above method, further comprising:
under the condition that the panoramic image is formed in the drawing area, responding to an operation instruction for operating the panoramic image, and checking the connection relation of the panoramic image;
and displaying prompt information in the drawing area under the condition that the wrong connection relation is checked out from the panoramic image.
In the above method, the performing connection relation verification on the panorama includes:
determining a resource unit which is input correspondingly by each operation unit in the panoramic image;
based on the target task processing flow, checking whether each operation unit in the panoramic image is matched with the corresponding input resource unit;
and under the condition that the resource units input by any one operation unit in the panoramic image are not matched, determining that the panoramic image has wrong connection relation.
In the above method, the performing connection relation verification on the panorama includes:
detecting whether each resource unit in the panoramic image is connected;
and under the condition that any resource unit in the panoramic image is detected to be not connected, determining that a wrong connection relation exists in the panoramic image.
The embodiment of the present disclosure provides a calibration apparatus, including:
a presentation module for presenting a display interface including a drawing area; the drawing area at least comprises a first unit and a second unit which form a panoramic image corresponding to a target task processing flow, wherein the first unit is an operation unit or a resource unit, and the second unit is an operation unit or a resource unit;
the verification module is used for responding to the directed connection operation between the first unit and the second unit and verifying the connection relation between the first unit and the second unit to obtain a verification result;
the presentation module is further configured to display a directional connection line connecting the first unit and the second unit in a first manner in the drawing area and display prompt information when the check result is that the directional connection is incorrect.
An embodiment of the present disclosure provides an electronic device, including: a processor, a memory, and a communication bus; wherein the content of the first and second substances,
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is used for executing the verification program stored in the memory so as to realize the verification method.
Embodiments of the present disclosure provide a computer-readable storage medium storing one or more programs, which may be executed by one or more processors to implement the above-described verification method.
The embodiment of the disclosure provides a checking method and device, electronic equipment and a storage medium, wherein the method comprises the following steps: presenting a display interface including a drawing area; the drawing area at least comprises a first unit and a second unit which form a panoramic image corresponding to the target task processing flow, wherein 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 the directed connection operation between the first unit and the second unit, performing connection relation verification on the first unit and the second unit to obtain a verification result; and under the condition that the verification result is directed connection error, displaying a directed connection line connecting the first unit and the second unit in a first mode in the drawing area, and displaying prompt information. According to the technical scheme provided by the embodiment of the disclosure, during the drawing of the panoramic image, the connection relation is verified when different units are directionally connected, so that a user is prompted to modify and adjust in time under the condition that the connection relation is wrong, the correctness of the drawn panoramic image is ensured, and the operation failure is avoided.
Drawings
Fig. 1 is a first schematic flow chart of a verification method according to an embodiment of the present disclosure;
FIG. 2 is a first schematic diagram of an exemplary display interface provided by an embodiment of the present disclosure;
fig. 3 is a schematic diagram of an exemplary verification process provided by an embodiment of the present disclosure;
fig. 4 is a schematic flow chart of a verification method according to an embodiment of the present disclosure;
FIG. 5 is a second exemplary display interface provided by an embodiment of the present disclosure;
fig. 6 is a schematic diagram of an exemplary verification process provided by the embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a calibration apparatus according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are some, but not all embodiments of the present disclosure. The following examples are intended to illustrate the present disclosure, but are not intended to limit the scope of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is 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.
It should be noted that the terms "first \ second \ third" related to the embodiments of the present disclosure are only used for distinguishing similar objects and do not represent a specific ordering for the objects, and it should be understood that "first \ second \ third" may be interchanged with a preset order or sequence order where permitted so that the embodiments of the present disclosure described herein can be implemented in an order other than that illustrated or described herein.
The disclosed embodiments provide a verification method, the execution subject of which may be a verification apparatus, for example, the verification method may be executed by a terminal device or a server or other electronic devices, where 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, or the like. In some possible implementations, the verification method may be implemented by way of a processor calling computer readable instructions stored in a memory.
The embodiment of the disclosure provides a checking method. Fig. 1 is a first schematic flow chart of a verification method according to an embodiment of the present disclosure. As shown in fig. 1, in the embodiment of the present disclosure, the verification method mainly includes the following steps:
s101, presenting a display interface comprising a drawing area; the drawing area at least comprises a first unit and a second unit which form a panoramic image corresponding to the target task processing flow, wherein the first unit is an operation unit or a resource unit, and the second unit is an operation unit or a resource unit.
In an embodiment of the present disclosure, the verification device may present a display interface including a drawing area; the drawing area at least comprises a first unit and a second unit which form a panoramic image corresponding to the target task processing flow.
It should be noted that, in the embodiment of the present disclosure, the display interface presented by the verification apparatus includes a first unit and a second unit in the drawing area, where the first unit and the second unit may be any one of an operation unit and a resource unit, respectively, and the specific first unit and the specific second unit are not limited in the embodiment of the present disclosure.
It should be noted that, in the embodiment of the present disclosure, the operation unit is a unit for performing a processing operation on a task, and the resource unit is a unit for characterizing data related to the operation unit in performing the processing operation.
It should be noted that, in the embodiment of the present disclosure, the target task processing flow may be a processing flow of a data processing task in any complex scenario. For example, the target task process flow may be a process flow of a task of performing image recognition on an image 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 are not limited.
It should be noted that, in the embodiment of the present disclosure, a panorama (raw graph) is a complete solution generated by an artificial intelligence model built on a canvas by a user, and includes functions of model training, evaluation, inference logic concatenation, and the like. The canvas is a layout block for constructing the whole process of model production by dragging different components by a user on the artificial intelligence training platform. The panorama includes various operation units and resource units.
And S102, in response to the directional connection operation between the first unit and the second unit, performing connection relation verification on the first unit and the second unit to obtain a verification result.
In the embodiment of the disclosure, the verification device may perform connection relationship verification on the first unit and the second unit in response to a directional connection operation performed between the first unit and the second unit to obtain a verification result, in a case where a display interface including a drawing area is presented.
It should be noted that, in the embodiment of the present disclosure, a user may perform a directed connection operation of performing directed connection on a first unit and a second unit in a drawing area in a human-computer interaction manner, and a verification apparatus may automatically verify a connection relationship between the first unit and the second unit in response to the directed connection operation, so as to obtain a corresponding verification result.
It should be noted that, in the embodiment of the present disclosure, each of the first unit and the second unit includes an input connection point and an output connection point, and a user may perform directional connection on the first unit and the second unit by clicking the connection points.
It should be noted that, in the embodiment of the present disclosure, when different units are directionally connected, the connection relationship between two connected units needs to follow some basic rules, otherwise, the connection between the two units is wrong and cannot be established. Some detailed checks will be made below.
Specifically, in the embodiment of the present disclosure, the verifying 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; and under the condition that the first unit and the second unit are both resource units, determining that the check result is a directed connection error.
It can be understood that, in the embodiment of the present disclosure, for a panorama, the basic rule is that resource units need to be connected with operation units, and therefore, the checking apparatus may determine the unit types of the first unit and the second unit, if both are resource units, that is, if the user has a directional connection operation between the first unit and the second unit, the operation is wrong, and the connection relationship between the first unit and the second unit is a directional connection error.
Specifically, in the embodiment of the present disclosure, the verifying device verifies the connection relationship between the first unit and the second unit to obtain a verification result, including: detecting whether to repeatedly connect the first unit with the second unit; and under the condition that the first unit and the second unit are repeatedly connected, determining that the check result is a directed connection error.
It is understood that, in the embodiment of the present disclosure, a user may have performed an operation of connecting a first unit and a second unit before performing a directional connection operation between the first unit and the second unit, and therefore, to avoid an error of repeatedly connecting two units, the checking device may detect whether to repeatedly connect the first unit and the second unit, where a specific detection manner may be to detect whether there is a repeated connection line for connecting the first unit and the second unit in the drawing area, and of course, other detection manners may also be used to detect the repeated connection, and the embodiment of the present disclosure is not limited thereto.
Specifically, in the embodiment of the present disclosure, the verifying 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 connecting point is a connecting point for connecting the first unit and the second unit, and the second connecting point is a connecting point for connecting the second unit and the first unit; and under the condition that the types of the first connecting point and the second connecting point are not matched, determining that the checking result is directed connection error.
It is understood that in the embodiments of the present disclosure, each unit includes an input connection point and an output connection point, and 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 implement the sequential execution of the task flow. The checking device can respectively acquire the connecting points of the first unit and the second unit which are connected with each other to obtain the first connecting point and the second connecting point, so that if the two connecting points are not matched, namely the two connecting points are input connecting points, or under the condition that the two connecting points are output connecting points, the checking result is determined to be directed connection error.
It should be noted that, in the embodiment of the present disclosure, the display interface presented by the verification apparatus further includes a drag area, and the verification apparatus may further perform the following steps: in response to dragging each operation unit 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 within the drawing area.
It should be noted that, in the embodiment of the present disclosure, various operation units are presented in the dragging area, and a user may drag any operation unit therein from the dragging area to the drawing area through touch operation, so that the dragged operation unit may be displayed in the drawing area, and in addition, a corresponding resource unit is also automatically presented in the drawing area, and the resource unit is matched with an operation type of the operation unit, that is, the user may automatically adapt to the corresponding resource unit only by selecting the operation unit, so as to improve convenience of drawing a panorama by the user, and facilitate drawing a panorama with higher accuracy.
Specifically, in the embodiment of the present disclosure, based on the scheme that the verifying device responds that the operation unit is dragged, the verifying device performs connection relationship verification on the first unit and the second unit to obtain a verification result, where the verification result includes: determining whether the second unit is a third unit or not when the first unit is an operation unit and the second unit is a resource unit; the third unit is a resource unit which is displayed in the drawing area and matched with the operation type of the first unit when the first unit is dragged from the dragging area to the drawing area; determining that the check result is a directed connection error under the condition that the second unit is different from the third unit; determining whether the first unit is a fourth unit when the second unit is an operation unit and the first unit is a resource unit; the fourth unit is a resource unit which is displayed in the drawing area and matched with the operation type of the second unit when the second unit is dragged from the dragging area to the drawing area; and under the condition that the first unit and the fourth unit are different, determining that the check result is a directed connection error.
It can be understood that, in the embodiment of the present disclosure, based on the above-mentioned scheme that the checking device responds to the operation unit being dragged, the resource unit that each operation unit can be connected to is already predetermined, if one of the first unit and the second unit is the operation unit, and the other is the resource unit, when the first unit and the second unit are connected in the direction, the checking device needs to determine whether the first unit and the second unit are a predetermined pair of the resource unit and the operation unit. The verification device may 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, and if not, may determine that the verification result is a directed connection operation.
It should be noted that, in the embodiment of the present disclosure, a specific manner of the verifying device for verifying the connection relationship between the first unit and the second unit is only some optional manners provided in the embodiment of the present disclosure, and of course, may also be set according to actual needs and application scenarios, and the embodiment of the present disclosure is not limited.
S103, under the condition that the check result is that the directional connection relation is wrong, displaying a directional connection line connecting the first unit and the second unit in a first mode in the drawing area, and displaying prompt information.
In the embodiment of the disclosure, the verifying device verifies the connection relationship between the first unit and the second unit, and after the verification result is obtained, under the condition that the verification result is a directed connection error, a corresponding directed connection line can be displayed in the drawing area, and prompt information is displayed.
It can be understood that, in the embodiment of the present disclosure, when the verification apparatus determines that the first unit and the second unit are connected incorrectly, the directional connection line connecting the first unit and the second unit may be displayed in a specific manner, that is, in a first manner, and prompt information is displayed at the same time, so that when a user sees the information in the drawing area, the user can know that the first unit and the second unit are connected incorrectly, thereby modifying the connection line in time.
For example, in an embodiment of the present disclosure, the first mode may be a highlighting mode, that is, the verification apparatus may highlight a directional connection line connecting the first cell and the second cell, and further, the verification apparatus displays the error prompt information in the drawing area, and the method may include: and displaying a connection error prompt window in the drawing area, and displaying a prompt statement representing connection relation error in the connection error prompt window.
It should be noted that, in the embodiment of the present disclosure, in a case that the verification result is a directional connection error, the verification apparatus may display a connection error window in the drawing area, and may display a prompting statement in the window to prompt that the connection relationship is incorrect, for example, in a case that the first unit and the second unit are repeatedly connected, a statement "connection error, repeated connection" may be displayed in the connection error window, and in a case that the input connection point of the two units of the first unit and the second unit is connected, a statement "connection error, please re-connect" may be displayed in the connection error window.
It should be noted that, in the embodiment of the present disclosure, the verifying device performs connection relationship verification on the first unit and the second unit, and after obtaining a verification result, the following steps may also be performed: and displaying the directed connection line in a second mode in the drawing area under the condition that the directed connection is correct as a result of the verification.
It can be understood that, in the embodiment 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 directional connection is correct, the verification apparatus may display the directional connection line in a second manner different from the first manner, so that when the user sees the wired connection line displayed in the second manner in the drawing area, the user can know that the connection relationship between the first unit and the second unit is correct, and the connection relationship between the first unit and the second unit has been successfully established.
For example, in an embodiment of the present disclosure, the verification apparatus may display a directional link connecting the first cell and the second cell in red in the drawing area in a case where the verification result is that the directional link is incorrect, display a directional link connecting the first cell and the second cell in blue in the drawing area in a case where the verification result is that the directional link is correct, and the like.
Fig. 2 is a first schematic diagram of an exemplary display interface provided in an embodiment of the present disclosure. As shown in fig. 2, in the drawing area, the output connection point of the original data set _1 and the input connection point of the data set _ image classification 1 are directionally connected through a directional connection line, and since the original data set _1 and the data set _ image classification 1 are two resource units, but the resource units are not allowed to be connected with each other in the panorama, the checking apparatus can highlight the directional connection line in the drawing area, and can display an error prompt window containing a prompt statement "the connection is incorrect, and the resource units can only be connected with the operation units".
Specifically, in the embodiment of the present disclosure, after the checking apparatus displays the directional connection line connecting the first unit and the second unit in the first manner in the drawing area, the following steps may be further performed: and under the condition that the display time length of the directed connecting line reaches the preset time length, stopping displaying the directed connecting line in the drawing area.
It should be noted that, in the embodiment 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, which is not limited in the embodiment of the present disclosure.
Specifically, in the embodiment of the present disclosure, before the verifying device verifies the connection relationship between the first unit and the second unit, the following steps may be further performed: displaying the directed connection line in a third mode in the drawing area; correspondingly, the checking device displays the directional connection in a first mode in the drawing area, and comprises the following components: and in the drawing area, stopping displaying the directional connecting line in the third mode, and displaying the directional connecting line in the first mode.
It can be understood that, in the embodiment of the present disclosure, the checking apparatus may display the directional connection in the third manner in the drawing area under the condition that the first unit and the second unit are in the directional connection, so that if the checking result is that the directional connection is wrong, the checking apparatus actually replaces the display manner of the directional connection, that is, the third manner is replaced by the first manner, and the user may visually see the process of the change in the display manner of the directional connection.
It should be noted that, in the embodiment of the present disclosure, the checking device displays the directional connection line in a second manner when the checking result is that the directional connection is correct, where 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 checking device may maintain the display manner of the directional connection line when the directional connection line is drawn unchanged.
It should be noted that, in the embodiment of the present disclosure, when the first unit and the second unit are connected in a directed manner, the checking device may display a directed connection line in a third manner in the drawing area as described above, and of course, may not display a directed connection line in the drawing area, that is, directly perform connection relationship checking on the first unit and the second unit, and then perform display of a directed connection line in a corresponding manner in the drawing area according to a checking result, which is not limited in the embodiment of the present disclosure.
Fig. 3 is a schematic diagram of an exemplary verification process provided in the embodiment of the present disclosure. As shown in fig. 3, when a user clicks a connection point of a first unit or a second unit to directionally connect the first unit and the second unit, the checking device checks the connection relationship, if the check result is that the directional connection is correct, that is, the check is passed, the establishment of the directional connection between the first unit and the second unit is realized, if the check result is that the directional connection is wrong, that is, the check is not passed, the directional connection line is displayed in the drawing area in a first manner, and prompt information is displayed, and in addition, when the duration of displaying the directional connection line in the first manner reaches a preset duration, the display of the directional connection line is automatically stopped, that is, the directional connection line is deleted.
In the embodiment of the disclosure, the checking device not only can perform connection checking when different units are directionally connected in the process of forming the panorama, but also can perform checking on the whole panorama under the condition of obtaining the panorama.
Fig. 4 is a schematic flowchart of a verification method according to an embodiment of the present disclosure. As shown in fig. 4, the verification apparatus may further perform the following steps:
s401, under the condition that the panoramic image is formed in the drawing area, responding to an operation instruction for operating the panoramic image, and checking the connection relation of the panoramic image.
In the embodiment of the present disclosure, in the case where the panorama is formed in the drawing area, the verification apparatus may perform connection relationship verification on the panorama in response to an operation instruction to operate the panorama.
It should be noted that, in the embodiment of the present disclosure, the panorama includes at least one resource unit and at least one operation unit, and each operation unit is connected to the resource unit through a directional connection line.
Specifically, in the embodiment of the present disclosure, the checking device performs connection relation checking on the panorama, including: determining a resource unit which is input correspondingly by each operation unit in the panoramic image; based on the target task processing flow, checking whether each operation unit in the panoramic image is matched with the corresponding input resource unit; and under the condition that the resource units input correspondingly to any one operation unit in the panoramic image are not matched, determining that the panoramic image has wrong connection relation.
It can be understood that, in the embodiment of the present disclosure, a user may instruct to run the panoramic image through human-computer interaction, and the checking device checks in advance whether the resource unit input by each operation unit is reasonable or not in combination with the target task processing flow before running the panoramic image, so as to avoid failure in running the panoramic image.
It should be noted that, in the embodiment of the present disclosure, the checking device checks whether each operation unit in the panorama matches with its corresponding input resource unit based on the target task processing flow, and specifically, may determine whether the operation type of each operation unit matches with the type and/or connection line of its input resource unit based on the target task processing flow.
It should be noted that, in the embodiment of the present disclosure, the verification apparatus determines, in the panorama, the operation type of each operation unit, determines the type of the resource unit input by the operation unit, and determines whether the two types are matched to implement the verification process, so as to obtain the verification result. Or, it is determined whether the connection between the operation unit and the resource unit input by the operation unit is reasonable, for example, if the connection between the operation unit and the resource unit input by the operation unit does not conform to the target task processing flow, it is determined that the connection between the operation unit and the resource unit input by the operation unit is not reasonable.
Illustratively, in an embodiment of the present disclosure, the panorama includes: an operation unit: model training — image classification, connected upstream of which are resource units: data set _ object detection, connected downstream is a resource unit: for the model _ image classification, the model _ image classification connected downstream is matched with the model training _ image classification, but the data set detected by the object upstream is not matched, so that the connection is not legal, and actually, the configuration has errors, namely, the panorama has an incorrect connection relationship.
Specifically, in the embodiment of the present disclosure, the checking device performs connection relation checking on the panorama, including: detecting whether each resource unit in the panorama is connected; and in the case of detecting that any resource unit in the panoramic image is not connected, determining that a wrong connection relation exists in the panoramic image.
It can be understood that, in the embodiment of the present disclosure, each resource unit in the panoramic image needs to be connected with other units to establish an association relationship, so as to implement a corresponding function, and a user may forget to connect some resource units due to negligence, so when the checking apparatus checks the connection relationship of the panoramic image, it may detect whether there are unconnected resource units in the panoramic image, and if there are unconnected resource units, it indicates that the panoramic image has an incorrect connection relationship.
It should be noted that, in the embodiment of the present disclosure, the manner of performing the connection relation verification on the panoramic image by the verification apparatus is only some optional manners provided, and of course, other verification manners may also be set according to actual needs and application scenarios, and the embodiment of the present disclosure is not limited.
S402, when the wrong connection relation is checked out from the panoramic image, the prompt information is displayed in the drawing area.
In the embodiment of the present disclosure, the verification device displays the prompt information in the drawing area when the erroneous connection relationship is verified from the panorama.
It is understood that, in the embodiment of the present disclosure, if the checking device checks out a wrong connection relationship from the panorama, a prompt message may be displayed in the drawing area, thereby prompting the user that the panorama needs to be modified or adjusted.
It should be noted that, in the embodiment of the present disclosure, the verifying apparatus displays the prompting information in the drawing area, may display the unit and the connection line for verifying the incorrect connection relationship in the drawing area according to a preset display manner, and may also display a specific prompting window in the drawing area, where the prompting window includes a prompting statement of the incorrect connection relationship, and the embodiment of the present disclosure is not limited.
Fig. 5 is a schematic diagram of an exemplary display interface provided in the embodiment of the present disclosure. As shown in fig. 5, the panorama includes an operation unit: model training — image classification, connected upstream of which are resource units: data set _ object detection 1, connected downstream are resource units: the object detection data set connected upstream of the model _ image classification 1 does not match the object of training the image classification model itself, and therefore, a window containing a statement "incorrect connection, please check the configuration of the operation unit and the 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.
Fig. 6 is a schematic diagram of an exemplary verification process provided in the embodiment of the present disclosure. As shown in fig. 6, in the case of forming the panorama, when the user instructs to run the panorama, the checking means may check the connection relationship of the panorama, may run the panorama if there is no wrong connection relationship, i.e., the check is passed, and may not run if there is a wrong connection relationship, i.e., the check is not passed, and display prompt information, e.g., highlight a resource unit or an operation unit having a wrong connection, display a wrong connection line, and a prompt window.
It can be understood that, in the embodiment of the present disclosure, the checking device not only performs real-time checking on the connection relationship when connecting the two units in the process of forming the panoramic image to prompt the user to modify and adjust in time when an error occurs, but also performs the connection relationship with respect to the panoramic image when the panoramic image is operated to further ensure the correctness of the panoramic image, so that normal operation can be ensured in the process of subsequent execution to solve the problem that the operation fails and then the image is modified, and the work efficiency is low in the prior art.
The embodiment of the disclosure provides a verification method, which includes: presenting a display interface including a drawing area; the drawing area at least comprises a first unit and a second unit which form a panoramic image corresponding to the target task processing flow, wherein 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 the directed connection operation between the first unit and the second unit, performing connection relation verification on the first unit and the second unit to obtain a verification result; and under the condition that the verification result is directed connection error, displaying a directed connection line connecting the first unit and the second unit in a first mode in the drawing area, and displaying prompt information. According to the verification method provided by the embodiment of the disclosure, during the drawing of the panoramic image, the connection relation is verified when different units are directionally connected, so that a user is prompted to modify and adjust in time when the connection relation is wrong, the correctness of the drawn panoramic image is ensured, and the operation failure is avoided.
The embodiment of the disclosure provides a checking device. Fig. 7 is a schematic structural diagram of a verification apparatus according to an embodiment of the present disclosure. As shown in fig. 7, in an embodiment of the present disclosure, a verification apparatus includes:
a presentation module 701 for presenting a display interface including a drawing area; the drawing area at least comprises a first unit and a second unit which form a panoramic image corresponding to a target task processing flow, wherein the first unit is an operation unit or a resource unit, and the second unit is an operation unit or a resource unit;
a checking module 702, configured to perform connection relation checking on the first unit and the second unit in response to a directed connection operation performed between the first unit and the second unit, so as to obtain a checking result;
the presenting module 701 is further configured to display a directional connection line connecting the first unit and the second unit in a first manner in the drawing area and display prompt information when the check result is that the directional connection is incorrect.
In an embodiment of the present disclosure, the presenting module 701 is further configured to display the directional connection line in a second manner in the drawing area when the check result is that the directional connection is correct.
In an embodiment of the present disclosure, the presenting module 701 is further configured to display the directional connection line in a third manner in the drawing area; correspondingly, the presenting module 701 is specifically configured to, in the drawing area, stop displaying the directional link in the third manner, and display the directional link in the first manner.
In an embodiment of the present disclosure, the presenting module 701 is further configured to stop displaying the directional link in the drawing area when the display duration of the directional link reaches a preset duration.
In an embodiment of the present disclosure, the checking module 702 is specifically configured to determine whether the first unit and the second unit are both resource units; and under the condition that the first unit and the second unit are both resource units, determining that the check result is a directed connection error.
In an embodiment of the present disclosure, the checking module 702 is specifically configured to detect whether to repeatedly connect the first unit and the second unit; and under the condition that the first unit and the second unit are repeatedly connected, determining that the check result is a directed connection error.
In an embodiment of the present disclosure, the checking module 702 is specifically configured to determine whether types of the first connection point and the second connection point are matched; the first connection point is a connection point where the first unit and the second unit are connected, and the second connection point is a connection point where the second unit and the first unit are connected; and under the condition that the types of the first connection point and the second connection point are not matched, determining that the check result is a directed connection error.
In an embodiment of the present disclosure, the presenting module 701 is further configured to, in response to dragging each operation unit from the drag area to the drawing area, display, in the drawing area, each operation unit and a resource unit that matches an operation type of each operation unit.
In an embodiment of the present disclosure, the checking module 702 is specifically configured 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; the third unit is a resource unit which is displayed in the drawing area and is matched with the operation type of the first unit when the first unit is dragged from the dragging area to the drawing area; determining that the check result is a directed connection error if the second unit is different from the third unit; determining whether the first unit is a fourth unit if the second unit is an operation unit and the first unit is a resource unit; the fourth unit is a resource unit which is displayed in the drawing area and is matched with the operation type of the second unit when the second unit is dragged from the dragging area to the drawing area; and under the condition that the first unit and the fourth unit are different, determining that the check result is a directed connection error.
In an embodiment of the present disclosure, the checking module 702 is further configured to, in a case that the panorama is formed in the drawing area, perform connection relation checking on the panorama in response to an operation instruction for operating the panorama;
the presenting module 701 is further configured to display a prompt message in the drawing area when the incorrect connection relationship is checked out from the panorama.
In an embodiment of the present disclosure, the checking module 702 is specifically configured to determine a resource unit input corresponding to each operation unit in the panorama; based on the target task processing flow, checking whether each operation unit in the panoramic image is matched with the corresponding input resource unit; and under the condition that the resource units input by any one operation unit in the panoramic image are not matched, determining that the panoramic image has wrong connection relation.
In an embodiment of the present disclosure, the checking module 702 is specifically configured to detect whether each resource unit in the panorama is connected; and under the condition that any resource unit in the panoramic image is detected to be not connected, determining that a wrong connection relation exists in the panoramic image.
The embodiment of the present disclosure provides a calibration apparatus, which presents a display interface including a drawing area; the drawing area at least comprises a first unit and a second unit which form a panoramic image corresponding to the target task processing flow, wherein 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 the directed connection operation between the first unit and the second unit, performing connection relation verification on the first unit and the second unit to obtain a verification result; and under the condition that the verification result is directed connection error, displaying a directed connection line connecting the first unit and the second unit in a first mode in the drawing area, and displaying prompt information. The verification device provided by the embodiment of the disclosure verifies the connection relation when different units are directionally connected during drawing of the panoramic image, so as to prompt a user to modify and adjust in time under the condition of connection relation error, thereby ensuring the correctness of the drawn panoramic image and avoiding operation failure.
The embodiment of the disclosure provides an electronic device. Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 8, in an embodiment of the present disclosure, an electronic apparatus includes: a processor 801, a memory 802, and a communication bus 803; wherein the content of the first and second substances,
the communication bus 803 is used for realizing connection communication between the processor 801 and the memory 802;
the processor 801 is configured to execute the verification program stored in the memory 802 to implement the verification method.
Embodiments of the present disclosure provide a computer-readable storage medium storing one or more programs, which may be executed by one or more processors to implement the above-described verification method. The computer-readable storage medium may be a volatile Memory (volatile Memory), such as a Random-Access Memory (RAM); or a non-volatile Memory (non-volatile Memory), such as a Read-Only Memory (ROM), a flash Memory (flash Memory), a Hard Disk (Hard Disk Drive, HDD) or a Solid-State Drive (SSD); or may be a respective device, such as a mobile phone, computer, tablet device, personal digital assistant, etc., that includes one or any combination of the above-mentioned memories.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable signal processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable signal processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable signal processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable signal processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only for the preferred embodiment of the present disclosure, and is not intended to limit the scope of the present disclosure.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:一种动画文件的输出方法和装置