CN116028048A - Script generation method and device, electronic equipment and storage medium - Google Patents

Script generation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116028048A
CN116028048A CN202310173660.9A CN202310173660A CN116028048A CN 116028048 A CN116028048 A CN 116028048A CN 202310173660 A CN202310173660 A CN 202310173660A CN 116028048 A CN116028048 A CN 116028048A
Authority
CN
China
Prior art keywords
image
script
acquired
interface
frame selection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310173660.9A
Other languages
Chinese (zh)
Inventor
李泽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Saimeidi Software Technology Co ltd
Original Assignee
Shanghai Saimeidi Software Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Saimeidi Software Technology Co ltd filed Critical Shanghai Saimeidi Software Technology Co ltd
Priority to CN202310173660.9A priority Critical patent/CN116028048A/en
Publication of CN116028048A publication Critical patent/CN116028048A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a script generation method, a script generation device, electronic equipment and a storage medium, wherein the method comprises the steps of responding to clicking operation sent by a first control in a program editing interface, displaying an acquisition picture display interface, wherein the acquisition picture display interface is used for displaying image data acquired through an image sensor; responding to a frame selection operation on the acquisition picture display interface, and determining a frame selection area indicated by the frame selection operation; displaying a frame selection confirmation interface, wherein the frame selection confirmation interface at least comprises an image display area and a second control, and the image display area is used for displaying the acquired image intercepted according to the frame selection area; and responding to clicking operation sent by the second control, determining image information corresponding to the acquired image, generating a corresponding image script based on the acquired image and the image information of the acquired image, and storing the image script in a database, so that the burden of manually compiling codes can be reduced, and the compiling error rate is reduced.

Description

Script generation method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of software development technologies, and in particular, to a method and an apparatus for generating a script, an electronic device, and a storage medium.
Background
In the prior art, due to the specificity of the semiconductor devices, some semiconductor devices do not have a general protocol condition, cannot directly acquire transmission information, often require a designer to manually write a code loading image so as to acquire corresponding image information, and increase the manual burden. Meanwhile, when developing different semiconductor production systems, each recognition scene or service scene needs to be rewritten, so that the burden of manually compiling codes is further increased, and meanwhile, the compiling error rate is high.
Disclosure of Invention
In view of the above, an object of the present application is to provide a script generation method, device, electronic apparatus, and storage medium, which can reduce the burden of manually compiling code and reduce the compiling error rate.
In a first aspect, the present application provides a method for generating a script, where the method includes: responding to clicking operation sent by a first control in the program editing interface, displaying an acquisition picture display interface, wherein the acquisition picture display interface is used for displaying image data acquired by an image sensor; responding to a frame selection operation on the acquisition picture display interface, and determining a frame selection area indicated by the frame selection operation; displaying a frame selection confirmation interface, wherein the frame selection confirmation interface at least comprises an image display area and a second control, and the image display area is used for displaying the acquired image intercepted according to the frame selection area; and responding to clicking operation sent by aiming at the second control, determining image information corresponding to the acquired image, generating a corresponding image script based on the acquired image and the image information of the acquired image, and storing the image script in a database.
Preferably, each image script is stored in association with image script information, and further includes: responding to clicking operation sent by aiming at the second control, displaying a script information editing interface, wherein the script information editing interface at least comprises a name editing box; responding to a first input operation aiming at a name editing box, and taking text information indicated by the first input operation as the name of a corresponding image script; and taking the name of the image script and the generation time of the image script as script information, and storing the script information and the corresponding image script in a correlated manner.
Preferably, the method further comprises displaying an image script presentation interface in response to a click operation issued for a third control in the program editing interface, the image script presentation interface comprising a plurality of image script entries, each image script entry corresponding to one image script stored in the database; and responding to clicking operation sent by aiming at the target image script item, and adding the image script corresponding to the target image script editing item to a cursor in a program editing area of the current program editing interface.
Preferably, the image script presentation interface further includes a search edit box, further including: responding to a second input operation of the search editing box, and determining a to-be-searched name indicated by the second input operation; and determining the matching degree of the name of the image script and the name to be searched for aiming at each image script in the database, and arranging the image script items displayed in the image script display interface according to the sequence of the matching degree from large to small.
Preferably, the method further comprises the step of responding to the stay operation aiming at the target image script item, and displaying an image script detail display interface when the stay time exceeds the preset time, wherein the image script detail display interface at least comprises a thumbnail display area, and the thumbnail display area is used for displaying a thumbnail of an acquired image corresponding to the target image script.
Preferably, the step of generating the corresponding image script based on the acquired image and the image information of the acquired image specifically includes: generating a first field, wherein the first field is used for indicating a storage address of the acquired image or a name of the acquired image; generating a second field, wherein the second field is used for indicating the size of the acquired image; a third field is generated, the third field indicating a location at which the image was acquired.
Preferably, the image data is acquired by: and setting an image sensor at a preset position of the target semiconductor device, enabling a lens of the image sensor to shoot a display screen of the target semiconductor device, and taking a picture acquired by the image sensor as image data.
In a second aspect, the present application provides a script generating apparatus, where the apparatus includes:
the response module is used for responding to clicking operation sent by a first control in the program editing interface, displaying an acquisition picture display interface, wherein the acquisition picture display interface is used for displaying image data acquired by the image sensor;
the screenshot module is used for responding to the frame selection operation on the acquired picture display interface and determining a frame selection area indicated by the frame selection operation;
the display module is used for displaying a frame selection confirmation interface, the frame selection confirmation interface at least comprises an image display area and a second control, and the image display area is used for displaying the acquired image intercepted according to the frame selection area;
and the confirmation module is used for responding to clicking operation sent by the second control, determining image information corresponding to the acquired image, generating a corresponding image script based on the acquired image and the image information of the acquired image, and storing the image script in the database.
In a third aspect, the present application further provides an electronic device, including: the system comprises a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, the processor and the memory are communicated through the bus when the electronic device runs, and the machine-readable instructions are executed by the processor to execute the steps of the script generation method.
In a fourth aspect, the present application also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of a method of generating a script as described above.
According to the script generation method, the script generation device, the electronic equipment and the storage medium, a collection picture display interface is displayed in response to clicking operation sent by a first control in a program editing interface, and the collection picture display interface is used for displaying image data collected through an image sensor; responding to a frame selection operation on the acquisition picture display interface, and determining a frame selection area indicated by the frame selection operation; displaying a frame selection confirmation interface, wherein the frame selection confirmation interface at least comprises an image display area and a second control, and the image display area is used for displaying the acquired image intercepted according to the frame selection area; and responding to clicking operation sent by aiming at the second control, determining image information corresponding to the acquired image, generating a corresponding image script based on the acquired image and the image information of the acquired image, and storing the image script in a database. The acquired image is intercepted through the acquired image data, and the corresponding image script is generated based on the acquired image and the image information of the acquired image, so that a large number of repeated image compiling codes are omitted, the repeated use is realized, the problem of repeated compiling of a large number of codes during development of a semiconductor production system is avoided, and the manual compiling burden is reduced.
In order to make the above objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered limiting the scope, and that other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for generating a script according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating steps for saving an image script according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating steps for image script insertion according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a script generating device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, as provided in the accompanying drawings, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. Based on the embodiments of the present application, every other embodiment that a person skilled in the art would obtain without making any inventive effort is within the scope of protection of the present application.
First, application scenarios applicable to the present application will be described. The method and the device can be applied to development of a semiconductor production system.
According to research, in the prior art, due to the specificity of the semiconductor devices, some semiconductor devices do not have a general protocol condition, cannot directly acquire transmission information, often require a designer to manually write code loading pictures so as to acquire corresponding text information, and increase the manual burden. Meanwhile, when developing different semiconductor production systems, each recognition scene or service scene needs to be rewritten, so that the burden of manually compiling codes is further increased, and meanwhile, the compiling error rate is high.
Based on the above, the embodiment of the application provides a script generation method, a script generation device, electronic equipment and a storage medium.
Referring to fig. 1, fig. 1 is a flowchart of a method for generating a script according to an embodiment of the present application. As shown in fig. 1, the method for generating a script provided in the embodiment of the present application includes:
s101, responding to clicking operation sent by a first control in the program editing interface, and displaying an acquisition picture display interface, wherein the acquisition picture display interface is used for displaying image data acquired through an image sensor.
In this step, image data can be acquired by:
and setting an image sensor at a preset position of the target semiconductor device, enabling a lens of the image sensor to shoot a display screen of the target semiconductor device, and taking a picture acquired by the image sensor as image data.
The target semiconductor device herein is a semiconductor production device that does not have a general protocol condition. Because the semiconductor production equipment does not have a general protocol condition, connection and communication with other electronic equipment cannot be established, and control pictures of a control system of the semiconductor production equipment cannot be acquired in an electronic communication mode. Thus, here, the display screen thereof is photographed by an image sensor, which may be a camera or the like, and the image data may be in the form of an image or video.
The first control is used for triggering the editing function of the image script, and after the user clicks the first control, the collected image data is displayed in real time through the collected picture display interface so as to be selected and screen-captured by the user frame.
S102, responding to the frame selection operation on the acquisition picture display interface, and determining a frame selection area indicated by the frame selection operation.
In the step, the user can select the image area to be intercepted from the acquisition picture display interface frame by dragging a mouse and the like, and the coordinates of the frame selection area can indicate the position relationship between the frame selection image area and the whole image data. For example, a perspective image formed after scanning of a semiconductor is displayed on a display screen of a target semiconductor production apparatus, and a certain area in the perspective image needs to be truncated for evaluating the quality of the semiconductor device.
S103, displaying a frame selection confirmation interface, wherein the frame selection confirmation interface at least comprises an image display area and a second control, and the image display area is used for displaying the acquired image intercepted according to the frame selection area.
After the user selects the frame, the selected part of the user can be displayed for the user to confirm, and if the user confirms, the user can set the name of the selected part. If not, the previous step can be returned to for reselection. The screenshot may be specifically performed by invoking a KVM.
S104, responding to clicking operation sent by aiming at the second control, determining image information corresponding to the acquired image, generating a corresponding image script based on the acquired image and the image information of the acquired image, and storing the image script in a database.
The second control is used to confirm the box selection area. After confirmation, the acquisition of the image is completed. And generating corresponding image scripts based on the acquired images and the image information of the acquired images. The image script herein may be code for instructing loading of a corresponding image, or code for instructing performing other steps based on the loaded image.
Specifically, the step of generating a corresponding image script based on the collected image and the image information of the collected image specifically includes:
a first field is generated that indicates a storage address of the captured image or a name of the captured image. A second field is generated indicating the size of the captured image. A third field is generated, the third field indicating a location at which the image was acquired.
Here the first field is used for loading the acquired image, the second field is used for indicating the size of the acquired image, and the third field is used for indicating the relative position between the acquired image and the image data displayed on the acquired picture presentation interface. The image script herein may also include other code compiled based on the captured image and packaged. By way of example, the image script here may be: var cutImage = imageprovider. CutImage (imagestream. Copy (), 329,49,1233,919); varcutimage=imageProvider. CutImage (imagestream. Copy ()), conversion. ToInt32 (input. Parameters [ "X" ], conversion. ToInt32 (input. Parameters [ "Y" ], conversion. ToInt32 (input. Parameters [ "Width" ], conversion. ToInt32 (input. Parameters [ "High" ]), await einfofofoforeRepoposi. CreateFileWithDataailasync (new)
RemoteStreamContent(cutImage),$"cutImage-{DataTime.Now.ToUniversalTim().Tick}.jpg","/OpenCV/cutImage/")。
Therefore, the acquired image is intercepted through the acquired image data, and the corresponding image script is generated based on the acquired image and the image information of the acquired image, so that a whole code can be directly added when the functional code is compiled, a large number of repeated image compiling and calling codes are saved, the method can be repeatedly utilized, compared with the method for acquiring and loading the picture by the handwritten code in the prior art, the problem of repeatedly compiling a large number of codes when the semiconductor production system is developed is avoided, and the manual compiling load is reduced.
As shown in fig. 2, fig. 2 is a flowchart illustrating steps of saving an image script according to an embodiment of the present application. Specifically, each image script is stored in association with the image script information, and further includes:
s201, responding to clicking operation sent by aiming at a second control, and displaying a script information editing interface, wherein the script information editing interface at least comprises a name editing box;
s202, responding to a first input operation aiming at a name editing box, and taking text information indicated by the first input operation as the name of a corresponding image script;
s203, taking the name of the image script and the generation time of the image script as script information, and storing the script information and the corresponding image script in an associated mode.
In this way, when the acquired image is displayed, a corresponding script information editing interface can be displayed for editing the characteristic information of the image script to be created. The script information editing interface here may be displayed with a name editing box or the like to acquire editing contents input by the user.
The user may name the captured image, set a label for it, etc. The information such as the name, the generation time and the label is convenient to search in the subsequent use. The name here may be summarized by the user according to the content of the acquired image, for example, the acquired image is taken as the working state of the mechanical arm, and the corresponding name may be "mechanical arm a-in use".
As shown in fig. 3, fig. 3 is a flowchart illustrating steps of inserting an image script according to an embodiment of the present application. Specifically, in the program editing interface, the user can use the created image script in the following manner:
s301, responding to clicking operation sent by a third control in the program editing interface, and displaying an image script display interface, wherein the image script display interface comprises a plurality of image script entries, and each image script entry corresponds to one image script stored in a database.
The third control is used here to trigger the image script insertion function. The names of the corresponding image scripts can be displayed in the image script entries, and the image scripts are displayed in a default time sequence.
S302, responding to clicking operation sent for the target image script item, and adding the image script corresponding to the target image script editing item to a cursor in a program editing area of the current program editing interface.
Further, when adding the image script, the user may select all or part of the codes therein.
In this step, the user can select a target image script to be inserted in the script presentation interface as needed.
Therefore, the code compiling burden of a large amount of loaded images is saved, the program compiling burden in the system development process is also saved, and the development efficiency of the semiconductor generation system is improved.
Specifically, the image script display interface further includes a search edit box, and further includes:
in response to a second input operation to the search edit box, a name to be searched indicated by the second input operation is determined. And determining the matching degree of the name of the image script and the name to be searched for aiming at each image script in the database, and arranging the image script items displayed in the image script display interface according to the sequence of the matching degree from large to small.
The image script can be searched according to the names, the display sequence of the image script is changed according to the matching degree of the names, and the image script is arranged according to the sequence from big to small of the matching degree, so that a user can find out the target image script more quickly. The quick search can be performed in other ways, for example, classifying the image scripts and providing screening, obtaining the code compiled in the compiling area of the program, predicting, and recommending several image scripts for the user to select based on the prediction result.
Specifically, the stay operation for the target image script item may be responded, and when the stay time exceeds the preset time, an image script detail display interface is displayed, where the image script detail display interface includes at least a thumbnail display area, and the thumbnail display area is used to display a thumbnail of the acquired image corresponding to the target image script.
In order to facilitate the user to quickly find the target image script, the acquired image corresponding to the image script can be displayed in a thumbnail form, so that the user can select according to the image content.
The labels corresponding to the image scripts can be classified, so that quick searching is facilitated. The labels can be added manually by a user, and the content of the image can be identified according to the depth model to determine the corresponding labels.
The script generation method provided by the application can be used for carrying out code encapsulation on related operations of image recognition, then, a picture area needing to be recognized is selected in a visual frame in a system development tool, the picture area is saved into a foot image script code and stored in a database, the image script contains picture information (picture, size, position and the like) needed by the recognition method, and then, the corresponding image script code is inserted in a needed place.
Based on the same inventive concept, the embodiment of the present application further provides a script generating device corresponding to the script generating method, and since the principle of solving the problem by the device in the embodiment of the present application is similar to that of the script generating method in the embodiment of the present application, the implementation of the device may refer to the implementation of the method, and the repetition is omitted.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a script generating device according to an embodiment of the present application. As shown in fig. 4, the script generating apparatus 400 includes:
the response module 410 is configured to respond to a click operation sent to a first control in the program editing interface, and display an acquisition picture display interface, where the acquisition picture display interface is used to display image data acquired by the image sensor;
the screenshot module 420 is configured to determine a frame selection area indicated by a frame selection operation in response to the frame selection operation on the acquired picture display interface;
the display module 430 is configured to display a frame selection confirmation interface, where the frame selection confirmation interface at least includes an image display area and a second control, and the image display area is configured to display the acquired image intercepted according to the frame selection area;
the confirmation module 440 is configured to determine image information corresponding to the collected image in response to the click operation sent by the second control, generate a corresponding image script based on the collected image and the image information of the collected image, and store the image script in the database.
In a preferred embodiment, each image script is stored in association with image script information, and the response module 410 is further configured to: responding to clicking operation sent by aiming at the second control, displaying a script information editing interface, wherein the script information editing interface at least comprises a name editing box; responding to a first input operation aiming at a name editing box, and taking text information indicated by the first input operation as the name of a corresponding image script; and taking the name of the image script and the generation time of the image script as script information, and storing the script information and the corresponding image script in a correlated manner.
In a preferred embodiment, the response module 410 is further configured to display an image script presentation interface in response to a click operation issued for a third control in the program editing interface, the image script presentation interface including a plurality of image script entries, each image script entry corresponding to an image script stored in the database; and responding to clicking operation sent by aiming at the target image script item, and adding the image script corresponding to the target image script editing item to a cursor in a program editing area of the current program editing interface.
In a preferred embodiment, the image script presentation interface further includes a search edit box, and the response module 410 is further configured to: responding to a second input operation of the search editing box, and determining a to-be-searched name indicated by the second input operation; and determining the matching degree of the name of the image script and the name to be searched for aiming at each image script in the database, and arranging the image script items displayed in the image script display interface according to the sequence of the matching degree from large to small.
In a preferred embodiment, the response module 410 is further configured to respond to a stay operation for the target image script entry, and when the stay time exceeds a preset time, display an image script detail display interface, where the image script detail display interface includes at least a thumbnail display area, and the thumbnail display area is configured to display a thumbnail of the captured image corresponding to the target image script.
In a preferred embodiment, the confirmation module 440 is specifically configured to generate a first field, where the first field is used to indicate a storage address of the acquired image or a name of the acquired image; generating a second field, wherein the second field is used for indicating the size of the acquired image; a third field is generated, the third field indicating a location at which the image was acquired.
In a preferred embodiment, the response module 410 obtains image data by: and setting an image sensor at a preset position of the target semiconductor device, enabling a lens of the image sensor to shoot a display screen of the target semiconductor device, and taking a picture acquired by the image sensor as image data.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 5, the electronic device 500 includes a processor 510, a memory 520, and a bus 530.
The memory 520 stores machine-readable instructions executable by the processor 510, when the electronic device 500 is running, the processor 510 communicates with the memory 520 through the bus 530, and when the machine-readable instructions are executed by the processor 510, the steps of the script generation method in the method embodiment described above can be executed, and the specific implementation manner can be referred to the method embodiment and will not be described herein.
The embodiment of the present application further provides a computer readable storage medium, where a computer program is stored on the computer readable storage medium, and when the computer program is executed by a processor, the steps of the method for generating a script in the embodiment of the method described above may be executed, and a specific implementation manner may refer to the embodiment of the method and will not be described herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the foregoing examples are merely specific embodiments of the present application, and are not intended to limit the scope of the present application, but the present application is not limited thereto, and those skilled in the art will appreciate that while the foregoing examples are described in detail, the present application is not limited thereto. Any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or make equivalent substitutions for some of the technical features within the technical scope of the disclosure of the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method for generating a script, the method comprising:
responding to clicking operation sent by a first control in a program editing interface, displaying an acquisition picture display interface, wherein the acquisition picture display interface is used for displaying image data acquired by an image sensor;
responding to a frame selection operation on the acquired picture display interface, and determining a frame selection area indicated by the frame selection operation;
displaying a frame selection confirmation interface, wherein the frame selection confirmation interface at least comprises an image display area and a second control, and the image display area is used for displaying an acquired image intercepted according to the frame selection area;
responding to the clicking operation sent by the second control, determining the image information corresponding to the acquired image,
and generating a corresponding image script based on the acquired image and the image information of the acquired image, and storing the image script in a database.
2. The method of claim 1, wherein each image script is stored in association with image script information, further comprising:
responding to clicking operation sent by aiming at the second control, displaying a script information editing interface, wherein the script information editing interface at least comprises a name editing box;
responding to a first input operation aiming at the name editing box, and taking the text information indicated by the first input operation as the name of the corresponding image script;
and taking the name of the image script and the generation time of the image script as script information, and storing the script information and the corresponding image script in a correlated manner.
3. The method as recited in claim 2, further comprising:
responding to clicking operation sent by a third control in the program editing interface, and displaying an image script display interface, wherein the image script display interface comprises a plurality of image script entries, and each image script entry corresponds to one image script stored in the database;
and responding to clicking operation sent by aiming at the target image script item, and adding the image script corresponding to the target image script editing item to a cursor in a program editing area of a current program editing interface.
4. The method of claim 3, wherein the image script presentation interface further comprises a search edit box, further comprising:
responding to a second input operation of the search editing box, and determining a to-be-searched name indicated by the second input operation;
and determining the matching degree of the name of the image script and the name to be searched for aiming at each image script in the database, and arranging the image script items displayed in the image script display interface according to the sequence of the matching degree from large to small.
5. A method according to claim 3, further comprising:
and responding to the stay operation aiming at the target image script item, and displaying an image script detail display interface when the stay time exceeds the preset time, wherein the image script detail display interface at least comprises a thumbnail display area, and the thumbnail display area is used for displaying a thumbnail of an acquired image corresponding to the target image script.
6. The method according to claim 1, wherein the step of generating a corresponding image script based on the acquired image and the image information of the acquired image, specifically comprises:
generating a first field, wherein the first field is used for indicating a storage address of the acquired image or a name of the acquired image;
generating a second field for indicating a size of the acquired image;
a third field is generated, the third field being used to indicate the location of the acquired image.
7. The method of claim 1, wherein the image data is acquired by:
an image sensor is arranged at a preset position of the target semiconductor device, a lens of the image sensor shoots a display screen of the target semiconductor device, and a picture acquired by the image sensor is used as the image data.
8. A script generation apparatus, the apparatus comprising:
the response module is used for responding to clicking operation sent by a first control in the program editing interface and displaying an acquisition picture display interface, wherein the acquisition picture display interface is used for displaying image data acquired by an image sensor;
the screenshot module is used for responding to the frame selection operation on the acquired picture display interface and determining a frame selection area indicated by the frame selection operation;
the display module is used for displaying a frame selection confirmation interface, the frame selection confirmation interface at least comprises an image display area and a second control, and the image display area is used for displaying an acquired image intercepted according to the frame selection area;
and the confirmation module is used for responding to the clicking operation sent by the second control, determining the image information corresponding to the acquired image, generating a corresponding image script based on the acquired image and the image information of the acquired image, and storing the image script in a database.
9. An electronic device, comprising: a processor, a memory and a bus, said memory storing machine readable instructions executable by said processor, said processor and said memory communicating over the bus when the electronic device is running, said processor executing said machine readable instructions to perform the steps of the method of generating a script as claimed in any of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the script generating method according to any of claims 1 to 7.
CN202310173660.9A 2023-02-27 2023-02-27 Script generation method and device, electronic equipment and storage medium Pending CN116028048A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310173660.9A CN116028048A (en) 2023-02-27 2023-02-27 Script generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310173660.9A CN116028048A (en) 2023-02-27 2023-02-27 Script generation method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116028048A true CN116028048A (en) 2023-04-28

Family

ID=86079757

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310173660.9A Pending CN116028048A (en) 2023-02-27 2023-02-27 Script generation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116028048A (en)

Similar Documents

Publication Publication Date Title
CN110096660B (en) Method and device for loading page pictures and electronic equipment
KR102222087B1 (en) Image recognition method and apparatus based on augmented reality
CN108536467B (en) Code positioning processing method and device, terminal equipment and storage medium
US10496696B2 (en) Search method and apparatus
CN105630525B (en) Page synchronization method and device
CN108648140B (en) Image splicing method, system, equipment and storage medium
CN112256990B (en) Image processing method and device and computer readable storage medium
CN105809162B (en) Method and device for acquiring WIFI hotspot and picture associated information
CN114003160A (en) Data visualization display method and device, computer equipment and storage medium
CN108172271B (en) Image-text report processing method and device
CN111857803A (en) Page updating method, device, server and storage medium
CN112698775B (en) Image display method and device and electronic equipment
CN111199443A (en) Commodity information processing method, commodity information processing device and computer-readable storage medium
CN113010814A (en) Webpage content processing method, computing device and computer storage medium
JP2018506783A (en) Generating element identifiers
CN111309221B (en) Page processing method, device and equipment
US20170277722A1 (en) Search service providing apparatus, system, method, and computer program
CN116028048A (en) Script generation method and device, electronic equipment and storage medium
CN111796733B (en) Image display method, image display device and electronic equipment
CN112202958B (en) Screenshot method and device and electronic equipment
CN115187871A (en) Method and device for providing satellite remote sensing image information and electronic equipment
CN113687884B (en) File delivery method, device, system, equipment and storage medium
CN114168875A (en) Page program generation method and device, computer equipment and storage medium
CN114546231A (en) Image data collection method and device based on browser plug-in and storage medium
CN110866203B (en) Page jump method, device, equipment and computer readable storage medium

Legal Events

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