CN115933928A - Element placing method and device, terminal and storage medium - Google Patents

Element placing method and device, terminal and storage medium Download PDF

Info

Publication number
CN115933928A
CN115933928A CN202211400841.2A CN202211400841A CN115933928A CN 115933928 A CN115933928 A CN 115933928A CN 202211400841 A CN202211400841 A CN 202211400841A CN 115933928 A CN115933928 A CN 115933928A
Authority
CN
China
Prior art keywords
target
angle
cursor
placing
preview
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
CN202211400841.2A
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 Chipler Chip Technology Co ltd
Shenzhen Qipule Chip Technology Co ltd
Original Assignee
Shanghai Chipler Chip Technology Co ltd
Shenzhen Qipule Chip 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 Chipler Chip Technology Co ltd, Shenzhen Qipule Chip Technology Co ltd filed Critical Shanghai Chipler Chip Technology Co ltd
Priority to CN202211400841.2A priority Critical patent/CN115933928A/en
Publication of CN115933928A publication Critical patent/CN115933928A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a component placement method, a device, a terminal and a storage medium, wherein the method comprises the following steps: responding to a first interaction event of a cursor, and displaying an angle placing menu of a target element; responding to a first selection event of a cursor, and displaying a preview of a target element at a target placing angle; in response to a second selection event of the cursor, a target position in the canvas area generates a plan view of the target element at the target pose angle. According to the method and the device, the angle placing menu of the element is set in the EDA software, so that the angle to be placed of the element is set through the angle placing menu before the element is placed on the canvas of the EDA software by a user, the user can obtain the desired placing angle as soon as possible by previewing the effect of the placing angle of the element without repeatedly selecting the placing angle of the element, the automation of the placing angle of the element is realized, the placing efficiency of the element is improved, and the user experience is further improved.

Description

Element placing method, device, terminal and storage medium
Technical Field
The application relates to the technical field of hardware design, in particular to a component placement method, a component placement device, a terminal and a storage medium.
Background
In the electronics industry, as the semiconductor industry is increasingly scaled up, hardware design software such as EDA (Electronic design automation) plays an increasingly important role. The functional design, synthesis, verification, physical design (including layout, wiring, layout, design rule check, etc.) and the like of the very large scale integrated circuit chip can be realized through the EDA.
At present, when an existing EDA implements placement of a component, after the component is selected, a cursor displaying a preview of the component needs to be moved to a position where the component is to be placed, and then the component can be placed at the position by clicking the cursor, and after the placement position of the component is set, the placement angle of the component can be manually adjusted.
However, the method for placing the elements is complex to operate, and affects user experience.
Disclosure of Invention
The present application mainly aims to provide a component placement method, device, terminal and storage medium, so as to solve the problem of complicated user operation in the related art.
In order to achieve the above object, in a first aspect, the present application provides a method for placing components, including:
responding to a first interaction event of a cursor, and displaying an angle placing menu of a target element, wherein the angle placing menu comprises a plurality of preset placing angles;
responding to a first selection event of a cursor, and displaying a preview of a target element under a target placing angle, wherein the target placing angle is one of the preset placing angles;
in response to a second selection event of the cursor, a target position in the canvas area generates a plan view of the target element at the target pose angle.
In one possible implementation, presenting an angular drop menu of a target element in response to a first interaction event of a cursor includes:
in response to an interaction event of a cursor on a preview button of the target element, an angular drop menu of the target element is presented at the preview button.
In one possible implementation manner, after presenting the angle-putting menu of the target element in response to the first interaction event of the cursor, the method further includes:
and displaying a preview of the target element under the target placing angle in response to a second interaction event of the cursor.
In one possible implementation, displaying a preview of the target element at the target pose angle in response to a second interaction event of the cursor includes:
and displaying a preview of the target element at the target placing angle at the cursor in response to the interaction event of the cursor at the target placing angle.
In one possible implementation manner, after presenting the angle-putting menu of the target element in response to the first interaction event of the cursor, the method further includes:
hiding the angle placement menu of the target element in response to a cursor removal event at the target placement angle.
In one possible implementation, displaying a preview of the target element at the target pose angle in response to a first selection event of the cursor includes:
and in response to a selection event of the target putting angle through a left key of the cursor, displaying a preview of the target element at the target putting angle at the cursor, wherein the preview moves along with the cursor by taking the position of the cursor as a center.
In one possible implementation, after displaying a preview of the target element at a target pose angle of the plurality of preset pose angles in response to a first selection event of the cursor, the method further includes:
and hiding the preview image of the target element at the target placing angle at the cursor in response to a deselection event of the target placing angle through a right key of the cursor.
In one possible implementation, in response to a second selection event of the cursor, generating a plan view of the target element at the target pose angle at the target position in the canvas area, includes:
and responding to a selection event of the left key of the cursor on the target position in the canvas area, and generating a design drawing of the target element at the target placing angle at the target position in the canvas area.
In one possible implementation manner, the angle placing menu includes a plurality of angle areas, the angle areas are used for displaying a plurality of preset placing angles, and the angle areas correspond to the preset placing angles one to one.
In a second aspect, an embodiment of the present invention provides a device for placing components, including:
the menu display module is used for responding to a first interaction event of the cursor and displaying an angle placing menu of the target element, wherein the angle placing menu comprises a plurality of preset placing angles;
the preview image display module is used for responding to a first selection event of a cursor and displaying a preview image of the target element under a target placing angle, wherein the target placing angle is one of a plurality of preset placing angles;
and the design drawing generation module is used for responding to a second selection event of the cursor and generating a design drawing of the target element at the target placing angle at the target position in the canvas area.
In a third aspect, an embodiment of the present invention provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the steps of the method for placing any one of the above elements.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps of the method for placing any one of the above elements are implemented.
The embodiment of the invention provides a component placement method, a device, a terminal and a storage medium, wherein the component placement method comprises the following steps: the method comprises the steps of firstly responding to a first interaction event of a cursor, displaying an angle placing menu of a target element, then responding to a first selection event of the cursor, displaying a preview of the target element at a target placing angle, and then responding to a second selection event of the cursor, and generating a design drawing of the target element at the target placing angle at a target position in a canvas area. According to the invention, by setting the angle placing menu of the element in the EDA software, the angle to be placed by the element is set through the angle placing menu before the element is placed on the canvas of the EDA software by a user, the angle to be placed by the element is not required to be adjusted by the manual operation of the user, in addition, after the angle to be placed by the element is set through the placing menu, a preview under the placing angle can be displayed, the user can obtain the desired placing angle as soon as possible through the effect of the preview, the placing angle of the element is not required to be selected repeatedly, the automation of the placing angle of the element is realized, the placing efficiency of the element is also improved, and the user experience is further improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, are included to provide a further understanding of the application and to enable other features, objects, and advantages of the application to be more apparent. The drawings and their description illustrate the embodiments of the invention and do not limit it. In the drawings:
FIG. 1 is a schematic diagram of a design page of existing EDA software provided by an embodiment of the present invention;
fig. 2 is a flowchart illustrating an implementation of a component placement method according to an embodiment of the present invention;
FIG. 3 is a diagram of a setup page of an angle put menu of a target element according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a preview button provided by embodiments of the present invention;
FIG. 5 is a schematic diagram of a setup page with a target element selected to have 180 degrees as a placing angle according to an embodiment of the present invention;
FIG. 6 is a diagram of a preview of a target element provided by an embodiment of the invention;
FIG. 7 is a diagram of a canvas provided by an embodiment of the present invention;
FIG. 8 is a diagram of generating a target element design drawing in a canvas according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of a design page with components placed on an active silicon substrate according to an embodiment of the present invention;
FIG. 10 is a diagram of an embodiment of the present invention showing a device placed on an active silicon substrate;
fig. 11 is a schematic structural diagram of a component placement device according to an embodiment of the present invention;
fig. 12 is a schematic diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in other sequences than those illustrated or described herein.
It should be understood that, in various embodiments of the present invention, the sequence numbers of the processes do not mean the execution sequence, and the execution sequence of the processes should be determined by the functions and the internal logic of the processes, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
It should be understood that in the present application, "comprising" and "having" and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that, in the present invention, "a plurality" means two or more. "and/or" is merely an association describing an associated object, meaning that three relationships may exist, for example, and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "comprising a, B and C", "comprising a, B, C" means that all three of a, B, C are comprised, "comprising a, B or C" means comprising one of a, B, C, "comprising a, B and/or C" means comprising any 1 or any 2 or 3 of a, B, C.
It should be understood that in the present invention, "B corresponding to a", "a corresponds to B", or "B corresponds to a" means that B is associated with a, and B can be determined from a. Determining B from a does not mean determining B from a alone, but may be determined from a and/or other information. And the matching of A and B means that the similarity of A and B is greater than or equal to a preset threshold value.
As used herein, "if" may be interpreted as "at \8230; \8230when" or "when 8230; \8230when" or "in response to a determination" or "in response to a detection", depending on the context.
The technical solution of the present invention will be described in detail below with specific examples. These several specific embodiments may be combined with each other below, and details of the same or similar concepts or processes may not be repeated in some embodiments.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following description is made by way of specific embodiments with reference to the accompanying drawings.
Existing EDA software, as shown in fig. 1, contains few controls, where what is essential is an electrical toolbar and a drawing bar, where various types of elements are arranged in the electrical toolbar, and a user can click an element that is to be placed on a canvas, and then place the element in the canvas by dragging, so as to perform subsequent hardware design.
However, because the existing EDA software does not have a setting control for the element placement angle, the placement angle of the element is usually zero degree by default, and the default angle may not be changed. If the placing angle of the element is required to be adjusted, the element can only be placed on the canvas firstly, and then the placing angle of the element is manually adjusted on the canvas. That is, the current component placement process can be simply expressed as: after the element is selected, a preview graph of the selected element is displayed at the cursor, then the cursor is moved to the position where the element is to be placed, the element can be placed at the position by clicking the cursor, and finally the placing angle of the element is manually adjusted.
For example, the user needs to place an element with a length of 30 × 20, the placement angle is rotated by 90 degrees, after the user selects an element, the user is not aware that the size of the preview graphic of the element displayed at the cursor is 40 × 20, and the user's requirement cannot be met, the user is required to re-select an element, and if the size of the re-selected element is still not right, the user is required to continue to select the element, and the whole process is not user-friendly, which affects the user experience of the EDA.
Therefore, the above-mentioned element placing process is not friendly in some application scenarios that have requirements on the placing angle and the shape of the element, and the operation is complex.
Based on the above problems, the application provides a component placing method, which is convenient and fast to operate, and can improve component placing efficiency and improve user experience.
In one embodiment, as shown in fig. 2, there is provided a method for placing components, comprising the steps of:
step S201: and displaying the angle placing menu of the target element in response to the first interaction event of the cursor.
The cursor is a mouse arrow used for identifying a mouse position on the graphical interface, wherein the mouse arrow may include multiple forms, such as an arrow form, an I form during text input, a little-hand form, and the like.
The interaction events include, but are not limited to, a dwell, a selection, a click, etc., and in the case where the first interaction event is a dwell event, the dwell event means that a cursor is displayed on a preview button of the target element. For the stay event, the stay time can be set, that is, when the cursor stays on the preview button of the target element for a preset time, the cursor will respond to the stay event; when the cursor simply slides quickly over the preview button of the target element and does not reach the preset duration, no response is made to the event. The preset time period may be set according to specific situations, and is not limited herein.
According to the method and the device, after a user clicks the target element through a cursor, a preview of the target element with a default angle (0 degree) is generated. And if the placing angle of the target element in the canvas is other angles, displaying an angle placing menu of the target element at a preview button in response to a cursor staying event on the preview button of the target element.
After the angle placing menu is expanded, the list of the angles can be displayed for a single angle list or through a plurality of angle areas. The angle areas are used for displaying a plurality of preset placing angles, and the angle areas correspond to the preset placing angles one to one. That is, a plurality of angle areas are set in the angle-placing menu, and each angle area corresponds to one placing angle (i.e. a preset angle). Wherein, a plurality of preset put the angle inequality, a plurality of can be 5, 7 etc. do not do specific limit here, can set up according to specific demand.
Illustratively, when the cursor is moved over the preview button in FIG. 3 (as shown in FIG. 4) and the dwell time exceeds a preset dwell time period, then in response to the dwell event, the angular drop menu of the target element may be presented (popped up) at the preview button.
If the preview of the target element at the target placing angle is to be displayed at the cursor, the preview of the target element at the target placing angle needs to be displayed in response to the second interaction event of the cursor.
And under the condition that the second interaction event refers to the stopping event of the cursor at the target placing angle, if the stopping event of the cursor at the target placing angle is responded, displaying a preview of the target element at the target placing angle at the cursor. Wherein, the preview picture takes the position of the cursor as the center to move along with the cursor.
Illustratively, in conjunction with fig. 5, the angular placement menu lists the placement angles of 4 selectable elements, such as 0 degrees, 90 degrees, 180 degrees, and 270 degrees. When the cursor is moved to an angle area corresponding to 180 degrees in the angle placing menu, namely a cursor staying event at 180 degrees, the aspect ratio of the target element is adjusted through the selected 180 degrees, and a preview of the element at 180 degrees is displayed at the cursor.
The aspect ratio of the target element is set according to specific conditions, for example, at 0 degree, the vertical edge pixels and the horizontal edge pixels of the target element are respectively 200 and 100, and at 90 degree, the vertical edge pixels and the horizontal edge pixels of the target element are changed into 100 and 200, and the like.
In addition, if the angle placing menu is desired to be hidden, only the second interaction event needs to be stopped, that is, the angle placing menu of the target element is hidden in response to the moving-away event of the cursor at the target placing angle.
Step S202: and responding to a first selection event of the cursor, and displaying a preview of the target element at the target placing angle.
The first selection event refers to an event which is selected in a cursor clicking mode, wherein the cursor clicking mode comprises left key clicking, right key clicking, left key one-click clicking, left key two-click clicking and the like.
And in the case that the cursor clicking mode is left key clicking, responding to a selection event of the target placing angle through the left key of the cursor, and displaying a preview of the target element at the target placing angle at the cursor, wherein the preview moves along with the cursor by taking the position of the cursor as a center.
Exemplarily, referring to fig. 6, taking a target element as a chip and a target placing angle as 90 degrees as an example, when a cursor is moved to an angle area corresponding to 90 degrees in an angle placing menu, and then a left key of the cursor is clicked to select the placing angle of 90 degrees, a preview of the chip at 90 degrees is displayed at the cursor, where the preview of the chip shows a model of the chip, that is, a model of TMP108AIYFFT.
Of course, after the preview image of the target element at the target placement angle is displayed after the left key of the cursor is clicked and selected, if the preview image at the target placement angle is hidden, the preview image of the target element at the target placement angle needs to be hidden and displayed at the cursor in response to a selection canceling event of the target placement angle through the right key of the cursor.
Illustratively, taking the target placement angle as 90 degrees as an example, when the placement angle is 90 degrees is selected by left key click of the cursor, a preview of the target element at 90 degrees is displayed at the cursor. Then, clicking at 90 degrees through the right button of the cursor, namely deselecting, can hide the preview image of the display target element at 90 degrees at the cursor.
Step S203: in response to a second selection event of the cursor, a target position in the canvas area generates a plan view of the target element at the target pose angle.
The second selection event is similar to the first selection event and also refers to an event that is selected by clicking a cursor, but objects acted by the two selection events are different. The cursor clicking mode comprises left key clicking, right key clicking, one-click left key, two-click left key clicking and the like.
And under the condition that the cursor clicking mode is left key clicking, responding to a selection event of the left key of the cursor on the target position in the canvas area, and generating a design drawing of the target element at the target placing angle at the target position in the canvas area.
For example, taking the target placement angle as 90 degrees as an example, when a left key of the cursor is clicked at 90 degrees, a preview of the target element at 90 degrees may be displayed at the cursor, and then the cursor is moved into a physicvillew (canvas) as shown in fig. 7, and a certain position in the canvas is clicked by the left key of the cursor, then the position is selected as the target position, and then the target position in the canvas area automatically generates a design diagram of the target element at the target placement angle, which is shown in fig. 8.
When the element placement method in the application is applied to EDA software based on chiplet technology, a user can preview a preview image of a target element to be placed at each angle by the method, and then select the target element at a proper angle to place on a drawing board. The drawing board can be mapped to a surface of the active silicon substrate on which the target element is placed, and the placement angle of the target element when the target element is placed on the drawing board can be mapped to the position of the target element on the active silicon substrate and the placement angle of the target element when the target element is placed on the active silicon substrate in an actual chip package. For example, referring to fig. 9, in the EDA software, the component a is placed at the upper left corner of the canvas at a placement angle of 0 degree by the method, that is, in the chip finally manufactured according to the design of EDA, the component a will be placed at the upper left corner of the active silicon substrate at a placement angle of 0 degree. The design of EDA in FIG. 9 is used to make the chip object diagram shown in FIG. 10.
In addition, if the current target element is not selected for the first time, after the target element is arranged in the canvas and a design drawing of the target element at the target placing angle is generated, the historical placing condition of the target element, such as the previous placing angle, the previous placing position and the like of the target element, is displayed on the design drawing.
If other elements are already present in the canvas when the target element is selected, recommendations of placing angles, positions and the like are provided for the target element according to the placing conditions of the other elements which are present.
The embodiment of the invention provides a component placing method, which comprises the following steps: the method comprises the steps of firstly responding to a first stop event of a cursor, displaying an angle placing menu of a target element, then responding to a first selection event of the cursor, displaying a preview of the target element at a target placing angle in a plurality of preset placing angles, and then responding to a second selection event of the cursor, and generating a design drawing of the target element at the target placing angle at a target position in a canvas area. According to the invention, by setting the angle placing menu of the element in the EDA software, the angle to be placed by the element is set through the angle placing menu before the element is placed on the canvas of the EDA software by a user, the angle to be placed by the element is not required to be adjusted by the manual operation of the user, in addition, after the angle to be placed by the element is set through the placing menu, a preview under the placing angle can be displayed, the user can obtain the desired placing angle as soon as possible through the effect of the preview, the placing angle of the element is not required to be selected repeatedly, the automation of the placing angle of the element is realized, the placing efficiency of the element is also improved, and the user experience is further improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
The following are embodiments of the apparatus of the invention, reference being made to the corresponding method embodiments described above for details which are not described in detail therein.
Fig. 11 shows a schematic structural diagram of an element placing apparatus provided in an embodiment of the present invention, and for convenience of description, only a part related to the embodiment of the present invention is shown, and the element placing apparatus includes a menu display module 1101, a preview display module 1102, and a design drawing generation module 1103, specifically as follows:
the menu display module 1101 is configured to display an angle placement menu of a target element in response to a first interaction event of a cursor, where the angle placement menu includes a plurality of preset placement angles;
a preview display module 1102, configured to display a preview of the target element at a target placement angle in response to a first selection event of a cursor, where the target placement angle is one of a plurality of preset placement angles;
a plan generating module 1103, configured to generate a plan of the target element at the target pose angle at the target position in the canvas area in response to a second selection event of the cursor.
In one possible implementation, the menu display module 1101 is further configured to present an angular pose menu of the target element at a preview button of the target element in response to an interaction event of a cursor on the preview button.
In a possible implementation manner, after the menu display module 1101, an angle preview display module is further included for displaying a preview of the target element at the target pose angle in response to a second interaction event of the cursor.
In one possible implementation, the angle preview display module is further configured to display a preview of the target element at the target pose angle at the cursor in response to an interaction event of the cursor at the target pose angle.
In a possible implementation manner, after the menu display module 1101, a first preview hiding module is further included, and the first preview hiding module is configured to hide the angle-put menu of the target element in response to a cursor removal event at the target-put angle.
In one possible implementation, the preview display module 1102 is configured to display a preview of the target element at the target pose angle at the cursor in response to a selection event of the target pose angle by a left key of the cursor, wherein the preview moves with the cursor centering on a position of the cursor.
In a possible implementation manner, after the preview display module 1102, a second preview hiding module is further included, and the second preview hiding module is configured to hide a preview of the target element at the target pose angle displayed at the cursor in response to a deselection event of the target pose angle by a right key of the cursor.
In one possible implementation, the plan generating module 1103 is configured to generate the plan of the target element at the target pose angle at the target position in the canvas area in response to a selection event of the target position in the canvas area by the left key of the cursor.
In one possible implementation manner, the angle placing menu includes a plurality of angle areas, the angle areas are used for displaying a plurality of preset placing angles, and the angle areas correspond to the preset placing angles one to one.
Fig. 12 is a schematic diagram of a terminal according to an embodiment of the present invention. As shown in fig. 12, the terminal 12 of this embodiment includes: a processor 1201, a memory 1202, and a computer program 1203 stored in the memory 1202 and executable on the processor 1201. The processor 1201 executes the computer program 1203 to implement the steps in the above-described embodiment of the placing method for each element, such as the steps 201 to 203 shown in fig. 2. Alternatively, the processor 1201 realizes the functions of the modules/units in the above-described embodiment of the placement device of the respective elements, such as the functions of the modules/units 1101 to 1103 shown in fig. 11, when executing the computer program 1203.
The present invention also provides a readable storage medium, in which a computer program is stored, and the computer program is used for implementing the placing method of the elements provided by the above-mentioned various embodiments when being executed by a processor.
The readable storage medium may be a computer storage medium or a communication medium. Communication media includes any medium that facilitates transfer of a computer program from one place to another. Computer storage media can be any available media that can be accessed by a general purpose or special purpose computer. For example, a readable storage medium is coupled to the processor such that the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Additionally, the ASIC may reside in user equipment. Of course, the processor and the readable storage medium may also reside as discrete components in a communication device. The readable storage medium may be a read-only memory (ROM), a random-access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The present invention also provides a program product comprising executable instructions stored on a readable storage medium. The at least one processor of the device may read the execution instructions from the readable storage medium, and the execution of the execution instructions by the at least one processor causes the device to implement the method for placing elements provided by the various embodiments described above.
In the above embodiments of the apparatus, it is understood that the Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of hardware and software modules.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (12)

1. A method of placing components, comprising:
responding to a first interaction event of a cursor, and displaying an angle placing menu of a target element, wherein the angle placing menu comprises a plurality of preset placing angles;
displaying a preview of the target element at a target pose angle in response to a first selection event of the cursor, wherein the target pose angle is one of the plurality of preset pose angles;
and responding to a second selection event of the cursor, and generating a design drawing of the target element under the target placing angle at the target position in the canvas area.
2. A method of presenting a target element in accordance with claim 1, wherein presenting an angular menu of presentation of the target element in response to a first interaction event of a cursor comprises:
in response to an interaction event of the cursor on a preview button of the target element, presenting an angle-put menu of the target element at the preview button.
3. A method for presenting a component as claimed in claim 2, wherein the step of presenting the angular menu of the target component in response to the first interaction event further comprises:
displaying a preview of the target element at the target pose angle in response to a second interaction event of the cursor.
4. A method of presenting the elements of claim 3, wherein said displaying a preview of the target element at the target presentation angle in response to a second interaction event of the cursor comprises:
displaying a preview of the target element at the target pose angle at the cursor in response to an interaction event of the cursor at the target pose angle.
5. A method for presenting a component as claimed in claim 2, wherein the step of presenting the angular menu of the target component in response to the first interaction event further comprises:
hiding an angle placement menu of a target element in response to a removal event of the cursor at the target placement angle.
6. A method of presenting a component as claimed in claim 1, wherein said displaying a preview of said target component at a target presentation angle in response to a first selection event of said cursor comprises:
displaying a preview of the target element at the target pose angle at the cursor in response to a selection event of the target pose angle by a left key of the cursor, wherein the preview moves with the cursor centering on a position of the cursor.
7. A method for presenting a component as recited in claim 6, wherein said displaying a preview of said target component at a target presentation angle in response to a first selection event of said cursor, further comprises:
hiding, in response to a deselect event of the target pose angle by a right key of the cursor, display, at the cursor, a preview of the target element at the target pose angle.
8. A method for placing an element according to claim 1, wherein the step of generating a design drawing of the target element at the target placing angle at a target position in a canvas area in response to a second selection event of the cursor comprises:
generating a design drawing of the target element at the target pose angle at the target position in the layout area in response to a selection event of the target position in the layout area by the left key of the cursor.
9. The component placement method according to any one of claims 1 to 8, wherein the angular placement menu includes a plurality of angular regions for displaying the plurality of preset placement angles, wherein the plurality of angular regions correspond to the plurality of preset placement angles one to one.
10. A component placement device, comprising:
the menu display module is used for responding to a first interaction event of a cursor and displaying an angle placing menu of a target element, wherein the angle placing menu comprises a plurality of preset placing angles;
a preview display module, configured to display a preview of the target element at a target placement angle in response to a first selection event of the cursor, where the target placement angle is one of the preset placement angles;
and the design drawing generation module is used for responding to a second selection event of the cursor and generating a design drawing of the target element under the target placing angle at the target position in the canvas area.
11. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method of placing the elements according to any of claims 1 to 9 when executing the computer program.
12. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of a method for placing components according to any one of claims 1 to 9.
CN202211400841.2A 2022-11-09 2022-11-09 Element placing method and device, terminal and storage medium Pending CN115933928A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211400841.2A CN115933928A (en) 2022-11-09 2022-11-09 Element placing method and device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211400841.2A CN115933928A (en) 2022-11-09 2022-11-09 Element placing method and device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN115933928A true CN115933928A (en) 2023-04-07

Family

ID=86651751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211400841.2A Pending CN115933928A (en) 2022-11-09 2022-11-09 Element placing method and device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN115933928A (en)

Similar Documents

Publication Publication Date Title
CN102754071B (en) There is equipment and the method for multiple application program display modes of the pattern comprising the display resolution with another equipment
US7770125B1 (en) Methods and apparatus for automatically grouping graphical constructs
CN104978317B (en) Webpage generation method and device, website generation method and website establishment server
CN103052935B (en) For device, method and the graphical user interface of resequencing to the front and back position of object
KR102118223B1 (en) Cross window animation
WO2020001234A1 (en) Folder icon display method, system, readable storage medium and terminal
KR20140114392A (en) Confident item selection using direct manipulation
US20140380178A1 (en) Displaying interactive charts on devices with limited resources
JP2023540271A (en) Picture processing method, apparatus, device and storage medium
CN112099686A (en) Icon display control method and device and electronic equipment
CN106354373A (en) Icon moving method and mobile terminal
EP4273808A1 (en) Method and apparatus for publishing video, device, and medium
CN107391914B (en) Parameter display method, device and equipment
CN115097975A (en) Method, apparatus, device and storage medium for controlling view angle conversion
EP3765948A1 (en) Interactive and adaptable focus magnification system
US10534505B2 (en) Technique for preventing unnecessary overlap of user interfaces
EP3096249B1 (en) Method and apparatus for indexing and searching the colour of graphic elements
US20100082662A1 (en) Information Retrieval System User Interface
CN115933928A (en) Element placing method and device, terminal and storage medium
JP6423933B2 (en) Information processing apparatus, form management system, form management server, information processing method, and program thereof
CN115239419A (en) Order processing method and device, electronic equipment and storage medium
JP7200008B2 (en) ELECTRONIC DEVICE AND ITS CONTROL METHOD AND PROGRAM
CN112764617A (en) File selection method and device, electronic equipment and readable storage medium
US20170017370A1 (en) Device and method for processing data
US10514834B2 (en) Method and system for selecting objects on a computer screen

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