CN115859413B - Data insertion method and device of CAD (computer aided design) client, storage medium and electronic device - Google Patents

Data insertion method and device of CAD (computer aided design) client, storage medium and electronic device Download PDF

Info

Publication number
CN115859413B
CN115859413B CN202310123991.1A CN202310123991A CN115859413B CN 115859413 B CN115859413 B CN 115859413B CN 202310123991 A CN202310123991 A CN 202310123991A CN 115859413 B CN115859413 B CN 115859413B
Authority
CN
China
Prior art keywords
thumbnail
target
tile
cad
format
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.)
Active
Application number
CN202310123991.1A
Other languages
Chinese (zh)
Other versions
CN115859413A (en
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.)
Beijing Explorer Software Co ltd
Original Assignee
Beijing Explorer Software 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 Beijing Explorer Software Co ltd filed Critical Beijing Explorer Software Co ltd
Priority to CN202310123991.1A priority Critical patent/CN115859413B/en
Publication of CN115859413A publication Critical patent/CN115859413A/en
Application granted granted Critical
Publication of CN115859413B publication Critical patent/CN115859413B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a data insertion method and device of a CAD client, a storage medium and an electronic device, wherein the data insertion method of the CAD client comprises the following steps: displaying a plurality of thumbnails in the CAD client; determining a target thumbnail matched with the target tile from a plurality of thumbnails in response to a target tile request, wherein the target tile request is used for requesting insertion of the target tile into the CAD client; the target tile is inserted into the CAD client using the target thumbnail. The application solves the technical problem of low data insertion efficiency of the CAD client in the related technology.

Description

Data insertion method and device of CAD (computer aided design) client, storage medium and electronic device
Technical Field
The present application relates to the field of computers, and in particular, to a method and an apparatus for inserting data into a CAD client, a storage medium, and an electronic apparatus.
Background
In the prior art, a user of a CAD client often saves the tile files in a local folder, opens the local folder when needed, opens and views the saved tile files one by one from the local folder, and further determines and imports the corresponding tile files to the CAD client. However, the method needs to execute complicated operations such as opening and checking one by one in the local folder of the third party to determine the tile file to be inserted, and is complex and cumbersome in operation, so that the data insertion efficiency of the CAD client is low.
Therefore, there is a problem in the related art that the data transmission efficiency of the CAD client is low.
Disclosure of Invention
The embodiment of the application provides a data insertion method and device of a CAD client, a storage medium and an electronic device, which are used for at least solving the technical problem of low data insertion efficiency of the CAD client in the related technology.
According to an aspect of an embodiment of the present application, there is provided a data insertion method of a CAD client, including: displaying a plurality of thumbnails in the CAD client; determining a target thumbnail matched with a target tile from the plurality of thumbnails in response to a target tile request, wherein the target tile request is used for requesting that the target tile be inserted into the CAD client; and inserting the target tile into the CAD client by using the target thumbnail.
According to another aspect of the embodiment of the present application, there is also provided a data insertion apparatus of a CAD client, including: a display unit for displaying a plurality of thumbnails in the CAD client; a determining unit, configured to determine, from the plurality of thumbnails, a target thumbnail that matches a target tile in response to a target tile request, where the target tile request is for requesting insertion of the target tile into the CAD client; and the inserting unit is used for inserting the target image block into the CAD client by utilizing the target thumbnail.
As an alternative, the determining unit includes: the first acquisition module is used for acquiring the block identification information associated with the target block carried in the target block request; and the first determining module is used for determining the target thumbnail from the thumbnail list based on the tile identification information.
As an alternative, the first determining module includes: a first obtaining sub-module, configured to obtain a first thumbnail from the thumbnail list, where the first thumbnail meets a first confidence condition, where the first confidence condition is used to indicate that icon identification information associated with the first thumbnail is consistent with the tile identification information; a first determining sub-module configured to determine the first thumbnail as the target thumbnail; or, a second obtaining sub-module, configured to obtain a second thumbnail from the thumbnail list, where the second confidence condition is used to indicate that a similarity between icon identification information associated with the second thumbnail and the tile identification information is greater than or equal to a preset similarity threshold; a second determining sub-module configured to determine the second thumbnail as the target thumbnail; or, a third obtaining sub-module, configured to obtain a third thumbnail from the thumbnail list, where the third confidence condition is used to indicate that the third thumbnail is the last obtained thumbnail; and a third determining sub-module configured to determine the third thumbnail as the target thumbnail.
As an alternative, the above-mentioned insertion unit includes: and the configuration module is used for executing parameter configuration operation on the target thumbnail and inserting the target image block into the target position in the CAD client according to the target proportion.
As an alternative, the configuration module includes at least one of the following: the first configuration submodule is used for executing a first parameter configuration operation by utilizing the input proportionality coefficient and determining the target proportion corresponding to the target block; and the second configuration submodule is used for executing a second parameter configuration operation by using the input position coordinates and determining the target position corresponding to the target block.
As an alternative, the apparatus further includes: a first creating module, configured to create an initial thumbnail list in the CAD client before the displaying of the plurality of thumbnails in the CAD client; a second obtaining module, configured to obtain a plurality of tiles in the first format that are successfully created before the plurality of thumbnails in the CAD client are displayed; the conversion module is used for executing format conversion operation on each of the tiles in the first format before the thumbnails in the CAD client are displayed, so as to obtain thumbnails in the second format; the pulling module is used for pulling the thumbnails in the second formats to the initial thumbnail list before the thumbnails in the CAD client are displayed, so as to obtain a target thumbnail list; the display unit includes: and the display module is used for displaying the plurality of thumbnails through the target thumbnail list.
As an alternative, the apparatus further includes: the second determining module is used for acquiring the CAD data of the first format in the CAD client before the plurality of tiles which are successfully created and display the first format are acquired, and determining the graph data and the base point data of the first format from the CAD data; and a second creation module, configured to create a tile in the first format using the graphics data and the base point data before the obtaining and creating a plurality of tiles in the first format successfully, where the plurality of tiles in the first format include the tile in the first format.
According to yet another aspect of embodiments of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions so that the computer device performs the data insertion method of the CAD client as above.
According to still another aspect of the embodiments of the present application, there is further provided an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the data insertion method of the CAD client through the computer program.
In the embodiment of the application, a plurality of thumbnails in the CAD client are displayed; determining a target thumbnail matched with a target tile from the plurality of thumbnails in response to a target tile request, wherein the target tile request is used for requesting that the target tile be inserted into the CAD client; and inserting the target tile into the CAD client by using the target thumbnail.
By utilizing the data inserting method of the CAD client, the viewable thumbnail is directly displayed in the CAD, and the effect of directly inserting the target image block into the CAD client is realized through the target thumbnail operation matched with the target image block, so that the problem of complicated image block inserting operation caused by opening and viewing image block files one by one from a local folder is solved, the operation flow of image block inserting into the CAD client is further simplified, the image block inserting speed is improved, the technical effect of improving the data inserting efficiency of the CAD client is realized, and the technical problem of lower data transmission efficiency of the CAD client in the related technology is further solved.
In addition, by utilizing the data insertion method of the CAD client, the viewable thumbnail is directly displayed in the CAD, so that a user can conveniently and rapidly preview and determine the target thumbnail corresponding to the target image block based on the graphics of the thumbnail, the use experience of the user is improved, the acquisition efficiency of the target thumbnail is improved, and the data insertion efficiency of the CAD client is further improved as a whole.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the application or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic diagram of a hardware environment of a data insertion method for a CAD client according to an embodiment of the present application;
FIG. 2 is a schematic illustration of a flow of an alternative CAD client data insertion method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an alternative CAD client data insertion method according to an embodiment of the present application;
FIG. 4 is a schematic diagram of another alternative CAD client data insertion method according to an embodiment of the present application;
FIG. 5 is a schematic diagram of another alternative CAD client data insertion method according to an embodiment of the present application;
FIG. 6 is a schematic diagram of another alternative CAD client data insertion method according to an embodiment of the present application;
FIG. 7 is a schematic diagram of another alternative CAD client data insertion method according to an embodiment of the present application;
FIG. 8 is a schematic diagram of another alternative CAD client data insertion method according to an embodiment of the present application;
FIG. 9 is a schematic diagram of another alternative CAD client data insertion method according to an embodiment of the present application;
FIG. 10 is a schematic diagram of another alternative CAD client data insertion method according to an embodiment of the present application;
FIG. 11 is a schematic diagram of another alternative CAD client data insertion method according to an embodiment of the present application;
FIG. 12 is a schematic diagram of an alternative information processing apparatus according to an embodiment of the present application;
fig. 13 is a schematic structural view of an alternative electronic device according to an embodiment of the present application.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "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.
According to an aspect of the embodiment of the present application, there is provided a data insertion method of a CAD client, optionally, as an optional implementation manner, the data insertion method of the CAD client may be, but is not limited to, applied to the environment shown in fig. 1. Including, but not limited to, CAD client 102 and server 112, CAD client 102 may include, but is not limited to, display 104, processor 106, and memory 108, and server 112 includes database 114 and processing engine 116.
The specific process comprises the following steps:
step S102, the CAD client 102 displays a plurality of thumbnails and acquires a triggered target block request;
steps S104-S106, sending a triggered data transfer request to the server 112 via the network 110, wherein the target tile request is for requesting insertion of the target tile into the CAD client 102;
step S108, the server 112 responds to the target block request, and determines a target thumbnail matched with the target block from a plurality of thumbnails through a processing engine;
in steps S110-S112, a target thumbnail matching the target tile is sent to CAD client 102 via network 110, CAD client 102 inserts the target tile into CAD client 102 using the target thumbnail via processor 106, and the data insertion result is displayed on display 104, and the above-described information for data insertion is stored in memory 108.
In addition to the example shown in fig. 1, the above steps may be performed independently by a client or a server, or cooperatively by a client and a server, such as by CAD client 102 performing the steps of step S108 described above, thereby relieving the processing pressure of server 112. The CAD client 102 includes, but is not limited to, handheld devices (e.g., cell phones), notebook computers, desktop computers, vehicle-mounted devices, etc., and the application is not limited to a particular implementation of the CAD client 102.
Optionally, as an optional implementation manner, as shown in fig. 2, the data insertion method of the CAD client includes:
s202, displaying a plurality of thumbnails in the CAD client;
s204, determining a target thumbnail matched with the target tile from a plurality of thumbnails in response to a target tile request, wherein the target tile request is used for requesting that the target tile be inserted into the CAD client;
s206, inserting the target image block into the CAD client by using the target thumbnail.
Alternatively, in this embodiment, the data insertion method of the CAD client may be applied, but not limited to, in a scenario where engineering drawing is performed using a software platform. In the process of engineering drawing by engineers, there is a need for frequent use of a certain number of graphics, or a need for repeated use of historically drawn graphics after a period of time. For the above requirements, engineers may, but not limited to, use the related graphics to be saved in the form of a tile file to a local computer, open and view the saved tile file in the local computer in case that the related graphics need to be used, and then use the software platform to perform the opening and inserting operations of the target tile in case that the target tile is determined from the saved tile file.
However, the above method of opening and viewing the tile files one by one in the local computer to determine and insert the target tiles has the problems of complex operation, inconvenient viewing and complicated insertion operation, which results in the problem of low data insertion efficiency of the CAD client.
Aiming at the problem of low data insertion efficiency of the CAD client, by utilizing the data insertion method of the CAD client, the viewable thumbnail is directly displayed in the CAD, and the effect of directly inserting the target image block into the CAD client is realized by operating the target thumbnail matched with the target image block, so that the problem of complicated image block insertion operation caused by opening and viewing image block files one by one from a local folder is solved, the operation flow of image block insertion into the CAD client is further simplified, the speed of image block insertion is improved, the technical effect of improving the data insertion efficiency of the CAD client is realized, and the technical problem of low data transmission efficiency of the CAD client in the related technology is further solved.
In addition, by utilizing the data insertion method of the CAD client, the viewable thumbnail is directly displayed in the CAD, so that a user can conveniently and rapidly preview and determine the target thumbnail corresponding to the target image block based on the graphics of the thumbnail, the use experience of the user is improved, the acquisition efficiency of the target thumbnail is improved, and the data insertion efficiency of the CAD client is further improved as a whole.
Alternatively, in the present embodiment, the plurality of thumbnails may be but not limited to be displayed in the form of a thumbnail list in the target area in the CAD client, where the thumbnail list may include but is not limited to a plurality of thumbnails arranged horizontally or vertically, and the plurality of thumbnails in the thumbnail list may include but are not limited to ordered or unordered, including: the method comprises the steps of performing fore-and-aft sorting according to time information generated by the thumbnail, performing fore-and-aft sorting according to the last use time of the thumbnail, performing fore-and-aft sorting according to the use times of the thumbnail in a period of time, and the like.
Alternatively, in the present embodiment, the tile may be, but is not limited to being, a file in a first format, where the first format may be, but is not limited to being, a DWG format, and the tile may be, but is not limited to including, a target tile.
Alternatively, in the present embodiment, the tile may be used to indicate, but not limited to, all or part of the CAD data in the CAD client having the first format, and may be used to indicate, but not limited to, all or part of the graphic in an engineering file in the CAD client.
It should be noted that the tile may be, but not limited to, based on CAD data in the current engineering file, from which graphics data and base point data are determined and created using the image data and the base point data.
It should be noted that, in the tile creation process, tile name information and tile position information may be set, but are not limited to. Wherein the tile identification information may, but is not limited to, include tile name information, and the tile location information may, but is not limited to, location information indicating tile storage.
After the creation of the tile, the background program of the CAD client may, but is not limited to, identify the tile file in the first format, and draw the graph of the tile file in the first format by using a drawing mechanism to generate the thumbnail file in the second format, where the thumbnail name information of the thumbnail file is identical (identical) to the tile name information of the tile file, and the thumbnail file and the tile file are stored in the same location.
It should be noted that the thumbnail files and the tile files may be stored in the same storage location, but not limited to, where the storage location may be used to store multiple data sets, each data set includes one thumbnail file and one tile file, and the icon identification information corresponding to the thumbnail file in each thumbnail corresponds to the tile identification information corresponding to the tile file.
For example, as shown in fig. 3, the above data insertion method of the CAD client is applied to the generation process of the tiles and the thumbnail, and the specific steps include:
step S302, determining target CAD data based on the CAD data in the DWG format in the CAD client, and generating a block file based on the target CAD data;
step S304, judging whether the generation of the block file is successful or not;
step S306, ending the flow when the generation of the block file fails;
step S308, identifying the block file and drawing and generating a thumbnail in a corresponding BMP format by using a drawing mechanism under the condition that the block file is successfully generated;
it should be noted that, the name information of the generated thumbnail is the same as the name information of the corresponding tile file by default;
step S310, judging whether the thumbnail is successfully generated or not;
step S312, ending the flow when the thumbnail generation fails;
step S314, storing the block file and the thumbnail in the same local gallery under the condition that the thumbnail is successfully generated;
step S316, updating the thumbnail to the corresponding network gallery.
Further by way of example, based on step S314 in fig. 3 described above, a local gallery for storing tile files and thumbnails with corresponding name information is shown as local gallery 402 in fig. 4. Wherein in the local tile 402, the slb_cqg.bmp file is a thumbnail file and the slb_cqg.dwg file is a tile file.
Alternatively, in this embodiment, the thumbnail may be, but is not limited to being, a file in a second format, where the second format may be, but is not limited to being, BMP format.
Optionally, in this embodiment, determining the target thumbnail matching the target tile from the plurality of thumbnails may, but is not limited to, determining the target thumbnail from the thumbnail list based on tile identification information, where the tile identification information may, but is not limited to, information associated with the target tile carried by the target tile request.
Alternatively, in the present embodiment, the tile identification information may be, but is not limited to, name information for indicating a target tile, and the icon identification information may be, but is not limited to, name information for indicating a target thumbnail.
Optionally, in this embodiment, the target thumbnail has a matching relationship with the target tile, where the matching relationship may, but is not limited to, indicate that icon identification information associated with the target thumbnail is consistent with tile identification information associated with the target tile, may, but is not limited to, indicate that a similarity between the icon identification information associated with the target thumbnail and the tile identification information associated with the target tile is greater than or equal to a preset similarity threshold, and may, but is not limited to, indicate that the target thumbnail is a thumbnail acquired last time after responding to a tile acquisition request corresponding to the target tile.
It should be noted that the matching relationship may be, but not limited to, a thumbnail that is generated up to date after the target thumbnail is indicated to respond to the tile obtaining request corresponding to the target tile; the method may also, but is not limited to, be used for indicating that the target thumbnail is the thumbnail that is acquired the largest number of times within a period of time after responding to the tile acquisition request corresponding to the target tile.
Alternatively, in the present embodiment, with the target thumbnail, inserting the target tile into the CAD client may, but is not limited to, performing a parameter configuration operation on the target thumbnail, inserting the target tile into a target location in the CAD client at a target scale.
After determining the target thumbnail, the background program of the CAD client searches the target tile file corresponding to the target thumbnail from the storage location, and inserts the corresponding modified tile file into the CAD client based on the parameter configuration operation performed on the target thumbnail.
Further illustrating, the above method for inserting data into a CAD client is applied to a tile insertion scenario of the CAD client, where, as shown in fig. 5, a plurality of thumbnails are displayed in the CAD client through a network gallery 502, where the network gallery 502 may include, but is not limited to, a plurality of sub-galleries, and each sub-gallery may include, but is not limited to, a plurality of branching galleries. For example, a thumbnail with the name information mrszjjd_1 is included in the buried column base node branching gallery in the steel structure sub gallery in the network gallery 502.
It should be noted that the local gallery 504 is used to store related source files of created tiles and thumbnails.
By the embodiment provided by the application, a plurality of thumbnails in the CAD client are displayed; determining a target thumbnail matched with a target tile from the plurality of thumbnails in response to a target tile request, wherein the target tile request is used for requesting that the target tile be inserted into the CAD client; and inserting the target tile into the CAD client by using the target thumbnail.
By utilizing the data inserting method of the CAD client, the viewable thumbnail is directly displayed in the CAD, and the effect of directly inserting the target image block into the CAD client is realized through the target thumbnail operation matched with the target image block, so that the problem of complicated image block inserting operation caused by opening and viewing image block files one by one from a local folder is solved, the operation flow of image block inserting into the CAD client is further simplified, the image block inserting speed is improved, the technical effect of improving the data inserting efficiency of the CAD client is realized, and the technical problem of lower data transmission efficiency of the CAD client in the related technology is further solved.
In addition, by utilizing the data insertion method of the CAD client, the viewable thumbnail is directly displayed in the CAD, so that a user can conveniently and rapidly preview and determine the target thumbnail corresponding to the target image block based on the graphics of the thumbnail, the use experience of the user is improved, the acquisition efficiency of the target thumbnail is improved, and the data insertion efficiency of the CAD client is further improved as a whole.
As an alternative, determining a target thumbnail matching the target tile from a plurality of thumbnails includes:
s1, obtaining block identification information associated with a target block carried in a target block request;
s2, determining a target thumbnail from the thumbnail list based on the block identification information.
Optionally, in this embodiment, the target tile request is used to request that the target tile be inserted into the CAD client, where the target tile request carries tile identification information associated with the target tile, and the tile identification information may, but is not limited to, include tile name information.
The target thumbnail is determined from the thumbnail list based on the tile identification information. For example, from the tile name information, a thumbnail corresponding to the thumbnail name information that matches the tile name information is determined as the target thumbnail from the thumbnails.
According to the embodiment provided by the application, the block identification information associated with the target block carried in the target block request is obtained; based on the tile identification information, a target thumbnail is determined from the thumbnail list. The method comprises the steps of obtaining and utilizing the block identification information carried in a target block request to determine a target block from a thumbnail list, and avoiding a user to open block files stored in a local computer one by one for viewing, so that the determination efficiency of the target block is improved, the insertion efficiency of CAD blocks including the target block is improved as a whole, and the technical effect of improving the insertion efficiency of CAD client data is achieved.
As an alternative, determining the target thumbnail from the thumbnail list based on the tile identification information includes:
s1, acquiring a first thumbnail meeting a first confidence condition from a thumbnail list, wherein the first confidence condition is used for indicating that icon identification information associated with the first thumbnail is consistent with tile identification information; s2, determining the first thumbnail as a target thumbnail; or alternatively, the first and second heat exchangers may be,
s3, obtaining a second thumbnail meeting a second confidence condition from the thumbnail list, wherein the second confidence condition is used for indicating that the similarity between icon identification information and tile identification information associated with the second thumbnail is greater than or equal to a preset similarity threshold; s4, determining the second thumbnail as a target thumbnail; or alternatively, the first and second heat exchangers may be,
S5, acquiring a third thumbnail meeting a third confidence condition from the thumbnail list, wherein the third confidence condition is used for indicating that the third thumbnail is the last acquired thumbnail; and S6, determining the third thumbnail as the target thumbnail.
Alternatively, in the present embodiment, the first confidence condition may be, but is not limited to being, used to indicate that the icon identification information associated with the first thumbnail is consistent with the tile identification information associated with the target tile. The icon identification information may include, but is not limited to, name information of the thumbnail, graphic information, taking the icon identification information as the name information of the thumbnail as an example, and the first confidence condition may be, but is not limited to, the name information indicating the first thumbnail is the same as the name information of the target tile.
In the case where the icon identification information is graphic information of a thumbnail, the first confidence condition may be, but is not limited to, that the graphic information indicating the first thumbnail is identical to the graphic information of the target tile, and that the graphic information indicating the first thumbnail is identical to the graphic information of the target tile may be, but is not limited to, that the graphic shape of the first thumbnail is a scaling of a certain multiple of the graphic shape of the target tile.
Alternatively, in the present embodiment, the second confidence condition may be, but is not limited to, a similarity between the icon identification information and the tile identification information for indicating that the second thumbnail is associated is greater than or equal to a preset similarity threshold. Taking the icon identification information as the name information of the thumbnail as an example, the second confidence condition may be, but is not limited to, that the similarity between the name information indicating the second thumbnail and the name information of the target tile is not less than a preset similarity threshold.
Alternatively, in the present embodiment, the above-mentioned similarity may be determined based on, but not limited to, the coincidence between the name information of the second thumbnail and the name information of the target tile, may be determined based on, but not limited to, the average value of the proportions of the coincidence information of the name information of the thumbnail and the name information of the tile in the respective name information, for example, the name information of the thumbnail a is "heaven" and the name information of the thumbnail B is "mediterranean", the name information of the thumbnail C is "heaven-sky-fly", and alternatively, the above-mentioned similarity between the thumbnail a and the thumbnail B is "0", and the above-mentioned similarity between the thumbnail a and the thumbnail C is "(2/3+2/4)/2=7/12).
Alternatively, in the present embodiment, the third confidence condition may be, but is not limited to, used to indicate that the target thumbnail is the last acquired thumbnail; but may also be, but is not limited to, a thumbnail for indicating that the target thumbnail was last generated; but may also be, but is not limited to, a thumbnail indicating that the target thumbnail is the highest number of acquired thumbnail over a period of time.
By way of further example, as shown in FIG. 6, determining a target thumbnail from a list of thumbnails based on tile identification information may include, but is not limited to, the steps of:
step S602, searching a first thumbnail meeting a first confidence condition from a thumbnail list;
step S604, judging whether the first thumbnail is successfully searched;
step S606, in the case of finding the first thumbnail, determining the first thumbnail as a target thumbnail;
step S608, in the case that the first thumbnail is not found, finding a second thumbnail satisfying the second confidence condition from the target thumbnail;
step S610, judging whether the second thumbnail is successfully searched;
step S612, in the case of finding the second thumbnail, determining the second thumbnail as the target thumbnail;
in step S614, in the case where the second thumbnail is found, a third thumbnail satisfying the third confidence condition is found from the target thumbnails, and the third thumbnail is determined as the target thumbnail.
It should be noted that, based on the tile identification information, the same target thumbnail is searched in the thumbnail list, and in the case of not searching, the target thumbnail which is similar to the target thumbnail is further searched in the thumbnail list, in the case of not searching, according to the personal use habit (or setting) of the user, the thumbnail which is used last time (or the thumbnail which is generated last time or the thumbnail which is used last for a period of time and has the highest frequency) of the history is selected as the target thumbnail, so as to provide abundant independent or combined target thumbnail matching modes for the user, thereby reducing the blind searching operation of the user, improving the determining efficiency of the target thumbnail, and improving the inserting efficiency of the CAD data as a whole.
According to the embodiment of the application, the first thumbnail meeting the first confidence condition is obtained from the thumbnail list, wherein the first confidence condition is used for indicating that the icon identification information associated with the first thumbnail is consistent with the tile identification information; determining the first thumbnail as a target thumbnail; or, obtaining a second thumbnail meeting a second confidence condition from the thumbnail list, wherein the second confidence condition is used for indicating that the similarity between the icon identification information and the tile identification information associated with the second thumbnail is greater than or equal to a preset similarity threshold; determining the second thumbnail as a target thumbnail; or, obtaining a third thumbnail meeting a third confidence condition from the thumbnail list, wherein the third confidence condition is used for indicating that the third thumbnail is the last obtained thumbnail; the third thumbnail is determined to be the target thumbnail. By using the method, a rich independent or combined target thumbnail matching method is provided for the user, so that the blind searching operation of the user is reduced, the determining efficiency of the target thumbnail is improved, and the inserting efficiency of CAD data is improved as a whole.
As an alternative, inserting the target tile into the CAD client using the target thumbnail, comprising:
s1, performing parameter configuration operation on the target thumbnail, and inserting the target image block into a target position in the CAD client side according to the target proportion.
Optionally, in this embodiment, the parameter configuration operation may, but is not limited to, determining a target proportion of the target tile inserted into the CAD client using the input scaling factor, and may, but is not limited to, determining a target position of the target tile inserted into the CAD client using the input position coordinates.
Optionally, in the present embodiment, the target position corresponds to base point data of the target tile.
After determining the target thumbnail, the background program of the CAD client searches the target tile file corresponding to the target thumbnail from the storage location, and inserts the target tile into the target location in the CAD client in a target scale based on the parameter configuration operation performed on the target thumbnail.
By the embodiment provided by the application, the parameter configuration operation is executed on the target thumbnail, and the target image block is inserted into the target position in the CAD client in the target proportion. The user-defined size and position of the target image block are inserted into the CAD client by utilizing parameter configuration operation, so that the user can conveniently and rapidly insert the CAD image block according to the requirement, the use experience of the user is improved, and the insertion efficiency of CAD data is improved.
As an alternative, the parameter configuration operation is performed on the target thumbnail, including at least one of:
s1, executing a first parameter configuration operation by using an input proportion coefficient, and determining a target proportion corresponding to a target block;
s2, executing second parameter configuration operation by using the input position coordinates, and determining the target position corresponding to the target block.
Optionally, in this embodiment, the first parameter configuration operation may, but is not limited to, including inputting a scaling factor in the first parameter configuration interface, and determining the scaling factor as the target scale corresponding to the target tile.
Optionally, in this embodiment, the second parameter configuration operation may, but is not limited to, include inputting position coordinates in the second parameter configuration interface, and determining the position coordinates as the target position corresponding to the target tile.
It should be noted that, the setting of the target proportion and the target position of the target tile may also, but not limited to, in the third parameter configuration interface, implement the position movement and the size scaling of the tile to be inserted based on the form of the component sliding.
For example, as shown in fig. 7, in the first parameter configuration interface 702, a magnification is input, and scaling is performed on a target tile to be inserted by a certain multiple, where in the case where the magnification is greater than 1.0, a tile enlarging operation of a corresponding proportion is performed, and in the case where the magnification is less than 1.0, a tile reducing operation of a corresponding proportion is performed.
Further by way of example, as shown in FIG. 8, in the second parameter configuration interface 802, the component 804 is utilized to control the movement of the tile to be inserted, so as to implement the position movement of the tile to be inserted.
By the embodiment provided by the application, the first parameter configuration operation is executed by utilizing the input proportionality coefficient, and the target proportion corresponding to the target block is determined; and executing a second parameter configuration operation by using the input position coordinates, and determining the target position corresponding to the target block. The user-defined size and position of the target image block are inserted into the CAD client by utilizing parameter configuration operation, so that the user can conveniently and rapidly insert the CAD image block according to the requirement, the use experience of the user is improved, and the insertion efficiency of CAD data is improved.
As an alternative, before displaying the plurality of thumbnails in the CAD client, the method further includes:
s1, creating an initial thumbnail list in a CAD client;
s2, acquiring a plurality of blocks which are successfully created and are in a first format;
s3, executing format conversion operation on each of a plurality of tiles in the first format to obtain a plurality of thumbnails in the second format;
s4, pulling a plurality of thumbnails in a second format to an initial thumbnail list to obtain a target thumbnail list;
Displaying a plurality of thumbnails in a CAD client, comprising:
s5, displaying a plurality of thumbnails through the target thumbnail list.
Alternatively, in the present embodiment, the plurality of thumbnails may be, but are not limited to, displayed by a target thumbnail list, where the target thumbnail may be, but is not limited to, a target area displayed in the CAD client after the user clicks on the thumbnail display tab in the trigger CAD client.
Alternatively, in this embodiment, the target thumbnail list may be obtained by, but not limited to, pulling a plurality of thumbnails in the second format to the initial thumbnail list, where the plurality of thumbnails in the second format may be obtained by, but not limited to, performing format conversion on a plurality of tiles in the first format, the first format may be, but not limited to, DWG format, the second format may be, but not limited to, BMP format, and the initial thumbnail list may be, but not limited to, a blank list.
It should be noted that, the plurality of thumbnails in the thumbnail list may be, but not limited to, ordered arrangement or unordered arrangement, including: the method comprises the steps of performing fore-and-aft sorting according to time information generated by the thumbnail, performing fore-and-aft sorting according to the last use time of the thumbnail, performing fore-and-aft sorting according to the use times of the thumbnail in a period of time, and the like.
After the user successfully creates the image block based on the image in the DWG format of the CAD client, the background program of the CAD client identifies the image block file in the DWG format, draws the image of the image block file through a drawing mechanism to generate the image file in the BMP format, stores the image file in the same folder as the image block file by using the same name as the image block file, and pulls the image file in the BMP format to preview and display the image block shape when the thumbnail list is displayed.
By the embodiment provided by the application, an initial thumbnail list is created in a CAD client; obtaining a plurality of tiles in a first format that were successfully created; performing a format conversion operation on each of a plurality of tiles of a first format to obtain a plurality of thumbnails of a second format; pulling a plurality of thumbnails in a second format to an initial thumbnail list to obtain a target thumbnail list; and displaying the plurality of thumbnails through the target thumbnail list. The thumbnail viewable in the CAD is created, so that a user can conveniently and directly preview and determine the target thumbnail corresponding to the target image block based on the graphics of the plurality of thumbnails, the use experience of the user is improved, the acquisition efficiency of the target thumbnail is improved, and the data insertion efficiency of the CAD client is improved as a whole.
As an alternative, before obtaining the plurality of tiles that were successfully created and displayed in the first format, the method further comprises:
s1, acquiring CAD data in a first format in a CAD client, and determining graph data and base point data in the first format from the CAD data;
s2, using the graphic data and the base point data, creating a block in a first format, wherein the blocks in the first format comprise blocks in the first format.
Optionally, in the present embodiment, the tile of the first format is determined based on the graphics data of the first format and the base point data, wherein the graphics data may be, but is not limited to, graphics information for indicating the tile corresponds, and the base point data may be, but is not limited to, fixed point position information for indicating operations such as zooming or rotating the graphics corresponding to the tile.
It should be noted that the tiles may be, but are not limited to, based on all or part of CAD data in the current engineering file, from which graphics data and base point data are determined and created using the graphics data and base point data.
For example, first, as shown in fig. 9, a tile binning request 902 is performed under a local map library, where the tile binning request 902 is used to request that a tile be created and saved to the local tile;
Further, based on the tile-binning request 902 shown in fig. 9, graphics data and base point data for creating tiles, such as the graphics data 1002 and base point data 1004 shown in fig. 10, are determined from the CAD data in the CAD client;
further, based on the graphic data 1002 and the base point data 1004 shown in fig. 10, corresponding tiles are generated, named and stored, as in the new tile 1102 shown in fig. 11, wherein the name information corresponding to the new tile 1102 is "new tile-01", and is stored in the user gallery in the local gallery.
After the tile is created, the CAD client daemon draws the tile, generates a thumbnail image, stores the thumbnail image in the same location with the same identification as the gallery, and associates the corresponding thumbnail information of the thumbnail image in the corresponding location in the network tile.
It should be noted that, the default name information of the thumbnail is consistent with the corresponding tile, the user may modify, and may select the location of the thumbnail in the thumbnail list, where the thumbnail list includes a plurality of sub-lists, as shown in fig. 5, and the network gallery 502 includes a plurality of sub-galleries, and each sub-gallery includes a plurality of branching galleries.
It will be appreciated that in the specific embodiments of the present application, related data such as user information is involved, and when the above embodiments of the present application are applied to specific products or technologies, user permissions or consents need to be obtained, and the collection, use and processing of related data need to comply with related laws and regulations and standards of related countries and regions.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present application is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present application.
According to another aspect of the embodiment of the present application, there is also provided a data insertion device of a CAD client for implementing the data insertion method of a CAD client described above. As shown in fig. 12, the apparatus includes:
a display unit 1202 for displaying a plurality of thumbnails in the CAD client;
A determining unit 1204, configured to determine, from a plurality of thumbnails, a target thumbnail that matches a target tile in response to a target tile request, where the target tile request is for requesting insertion of the target tile into the CAD client;
an inserting unit 1206 for inserting the target tile into the CAD client using the target thumbnail.
As an alternative, the determining unit 1204 includes:
the first acquisition module is used for acquiring the image block identification information associated with the target image block carried in the target image block request;
the first determining module is used for determining the target thumbnail from the thumbnail list based on the block identification information.
As an alternative, the first determining module includes:
the first obtaining submodule is used for obtaining a first thumbnail meeting a first confidence condition from the thumbnail list, wherein the first confidence condition is used for indicating that icon identification information associated with the first thumbnail is consistent with tile identification information; a first determination sub-module for determining the first thumbnail as a target thumbnail; or alternatively, the first and second heat exchangers may be,
the second obtaining submodule is used for obtaining a second thumbnail meeting a second confidence condition from the thumbnail list, wherein the second confidence condition is used for indicating that the similarity between icon identification information and tile identification information associated with the second thumbnail is larger than or equal to a preset similarity threshold; a second determination sub-module for determining the second thumbnail as a target thumbnail; or alternatively, the first and second heat exchangers may be,
A third obtaining sub-module, configured to obtain a third thumbnail from the thumbnail list, where the third thumbnail meets a third confidence condition, where the third confidence condition is used to indicate that the third thumbnail is the last obtained thumbnail; and a third determination sub-module for determining the third thumbnail as the target thumbnail.
As an alternative, the inserting unit 1206 includes:
and the configuration module is used for executing parameter configuration operation on the target thumbnail and inserting the target image block into the target position in the CAD client in a target proportion.
As an alternative, the configuration module includes at least one of the following:
the first configuration submodule is used for executing first parameter configuration operation by utilizing the input proportionality coefficient and determining a target proportion corresponding to a target block;
and the second configuration submodule is used for executing second parameter configuration operation by using the input position coordinates and determining the target position corresponding to the target block.
As an alternative, the apparatus further includes:
a first creation module for creating an initial thumbnail list in the CAD client before displaying the plurality of thumbnails in the CAD client;
a second obtaining module, configured to obtain a plurality of tiles in the first format that are successfully created before the plurality of thumbnails in the CAD client are displayed;
The conversion module is used for executing format conversion operation on each of the plurality of tiles in the first format before displaying the plurality of thumbnails in the CAD client to obtain a plurality of thumbnails in the second format;
the pulling module is used for pulling the thumbnails in the second format to an initial thumbnail list before displaying the thumbnails in the CAD client to obtain a target thumbnail list;
the display unit 1202 includes:
and the display module is used for displaying a plurality of thumbnails through the target thumbnail list.
As an alternative, the apparatus further includes:
the second determining module is used for acquiring the CAD data of the first format in the CAD client before acquiring the plurality of tiles which are successfully created and display the first format, and determining the graph data and the base point data of the first format from the CAD data;
and a second creation module for creating tiles of the first format using the graphics data and the base point data before obtaining the tiles of the first format that were successfully created and displayed, wherein the tiles of the first format include tiles of the first format.
Specific embodiments may refer to examples shown in the data insertion method of the CAD client, which are not described herein.
According to a further aspect of the embodiments of the present application, there is also provided an electronic device for implementing the data insertion method of a CAD client as described above, as shown in fig. 13, the electronic device comprising a memory 1302 and a processor 1304, the memory 1302 having stored therein a computer program, the processor 804 being arranged to perform the steps of any of the method embodiments described above by means of the computer program.
Alternatively, in this embodiment, the electronic apparatus may be located in at least one network device of a plurality of network devices of the computer network.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, displaying a plurality of thumbnails in a CAD client;
s2, determining a target thumbnail matched with the target block from a plurality of thumbnails in response to a target block request, wherein the target block request is used for requesting the target block to be inserted into a CAD client;
and S3, inserting the target image block into the CAD client by using the target thumbnail.
Alternatively, it will be understood by those skilled in the art that the structure shown in fig. 13 is only schematic, and the electronic device may also be a terminal device such as a smart phone (e.g. an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, and a mobile internet device (Mobile Internet Devices, MID), a PAD, etc. Fig. 13 is not limited to the structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 13, or have a different configuration than shown in FIG. 13.
The memory 1302 may be configured to store software programs and modules, such as program instructions/modules corresponding to the data insertion method and apparatus of the CAD client in the embodiment of the present application, and the processor 1304 executes the software programs and modules stored in the memory 1302, thereby performing various functional applications and data processing, that is, implementing the data insertion method of the CAD client described above. Memory 1302 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 1302 may further include memory located remotely from processor 1304, which may be connected to the terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. Wherein the memory 1302 may be specifically, but not limited to, information for a plurality of thumbnails, a target tile request, and the like. As an example, as shown in fig. 13, the memory 1302 may include, but is not limited to, a display unit 1202, a determination unit 1204, and an insertion unit 1206 in a data transmission apparatus including the CAD client. In addition, other module units in the data transmission device of the CAD client may be included, but are not limited to, and are not described in detail in this example.
Optionally, the transmission device 1306 is configured to receive or transmit data via a network. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission means 1306 comprises a network adapter (Network Interface Controller, NIC) which can be connected to other network devices and routers via network lines so as to communicate with the internet or a local area network. In one example, the transmission device 1306 is a Radio Frequency (RF) module for communicating wirelessly with the internet.
In addition, the electronic device further includes: a display 1308 for displaying the plurality of thumbnail images, the target tile request, and the like; and a connection bus 1310 for connecting the respective module components in the above-described electronic device.
In other embodiments, the terminal device or the server may be a node in a distributed system, where the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting the plurality of nodes through a network communication. Among them, the nodes may form a Peer-To-Peer (P2P) network, and any type of computing device, such as a server, a terminal, etc., may become a node in the blockchain system by joining the Peer-To-Peer network.
According to one aspect of the present application, there is provided a computer program product comprising a computer program/instruction containing program code for executing the method shown in the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via a communication portion, and/or installed from a removable medium. When executed by a central processing unit, performs various functions provided by embodiments of the present application.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
It should be noted that the computer system of the electronic device is only an example, and should not impose any limitation on the functions and the application scope of the embodiments of the present application.
The computer system includes a central processing unit (Central Processing Unit, CPU) which can execute various appropriate actions and processes according to a program stored in a Read-Only Memory (ROM) or a program loaded from a storage section into a random access Memory (Random Access Memory, RAM). In the random access memory, various programs and data required for the system operation are also stored. The CPU, the ROM and the RAM are connected to each other by bus. An Input/Output interface (i.e., I/O interface) is also connected to the bus.
The following components are connected to the input/output interface: an input section including a keyboard, a mouse, etc.; an output section including a Cathode Ray Tube (CRT), a liquid crystal display (Liquid Crystal Display, LCD), and the like, and a speaker, and the like; a storage section including a hard disk or the like; and a communication section including a network interface card such as a local area network card, a modem, and the like. The communication section performs communication processing via a network such as the internet. The drive is also connected to the input/output interface as needed. Removable media such as magnetic disks, optical disks, magneto-optical disks, semiconductor memories, and the like are mounted on the drive as needed so that a computer program read therefrom is mounted into the storage section as needed.
In particular, the processes described in the various method flowcharts may be implemented as computer software programs according to embodiments of the application. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such embodiments, the computer program may be downloaded and installed from a network via a communication portion, and/or installed from a removable medium. The computer program, when executed by a central processing unit, performs the various functions defined in the system of the application.
According to one aspect of the present application, there is provided a computer-readable storage medium, from which a processor of a computer device reads the computer instructions, the processor executing the computer instructions, causing the computer device to perform the methods provided in the various alternative implementations described above.
Alternatively, in the present embodiment, the above-described computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, displaying a plurality of thumbnails in a CAD client;
s2, determining a target thumbnail matched with the target block from a plurality of thumbnails in response to a target block request, wherein the target block request is used for requesting the target block to be inserted into a CAD client;
and S3, inserting the target image block into the CAD client by using the target thumbnail.
Alternatively, in this embodiment, it will be understood by those skilled in the art that all or part of the steps in the methods of the above embodiments may be performed by a program for instructing a terminal device to execute the steps, where the program may be stored in a computer readable storage medium, and the storage medium may include: flash disk, read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), magnetic or optical disk, and the like.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
The integrated units in the above embodiments may be stored in the above-described computer-readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing one or more computer devices (which may be personal computers, servers or network devices, etc.) to perform all or part of the steps of the method described in the embodiments of the present application.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In several embodiments provided by the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, such as the division of the units, is merely a logical function division, and may be implemented in another manner, for example, multiple units or components may be combined or may be 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 interfaces, units or modules, or may be in electrical or other forms.
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 the embodiments 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 integrated units may be implemented in hardware or in software functional units.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application, which are intended to be comprehended within the scope of the present application.

Claims (7)

1. A data insertion method for a CAD client, comprising:
creating an initial thumbnail list in the CAD client;
Obtaining a plurality of tiles in a first format that were successfully created;
performing format conversion operation on each of a plurality of tiles in the first format to obtain a plurality of thumbnails in a second format;
storing each block and the thumbnail matched with each block together in a local gallery;
pulling the thumbnails in the second formats to the initial thumbnail list to obtain a target thumbnail list;
displaying the plurality of thumbnails through the target thumbnail list;
responding to a target block request, and acquiring block identification information associated with the target block carried in the target block request, wherein the target block request is used for requesting the target block to be inserted into the CAD client;
obtaining a second thumbnail meeting a second confidence condition from the thumbnail list, wherein the second confidence condition is used for indicating that the similarity between icon identification information associated with the second thumbnail and the tile identification information is larger than or equal to a preset similarity threshold, the similarity is an average value of a first specific gravity and a second specific gravity, the first specific gravity is the coincidence information of the name information of the second thumbnail and the name information of the target tile, the second specific gravity is the coincidence information of the name information of the second thumbnail and the name information of the target tile, the specific gravity is the occupied specific gravity of the name information of the target tile, the icon identification information comprises the name information of the second thumbnail, and the tile identification information comprises the name information of the target tile;
Determining the second thumbnail as the target thumbnail;
and executing parameter configuration operation on the target thumbnail, and inserting the target image block into a target position in the CAD client according to a target proportion.
2. The method of claim 1, wherein determining the target thumbnail from a list of thumbnails based on the tile identification information, comprises:
obtaining a first thumbnail meeting a first confidence condition from the thumbnail list, wherein the first confidence condition is used for indicating that icon identification information associated with the first thumbnail is consistent with the tile identification information; determining the first thumbnail as the target thumbnail; or alternatively, the first and second heat exchangers may be,
acquiring a third thumbnail meeting a third confidence condition from the thumbnail list, wherein the third confidence condition is used for indicating that the third thumbnail is the last acquired thumbnail; and determining the third thumbnail as the target thumbnail.
3. The method of claim 1, wherein the performing a parameter configuration operation on the target thumbnail comprises at least one of:
executing a first parameter configuration operation by using the input proportionality coefficient, and determining the target proportion corresponding to the target block;
And executing a second parameter configuration operation by using the input position coordinates, and determining the target position corresponding to the target block.
4. The method of claim 1, wherein prior to the obtaining the plurality of tiles in the first format that were successfully created, the method further comprises:
acquiring CAD data in a first format in the CAD client, and determining graph data and base point data in the first format from the CAD data;
using the graphics data and the base point data, tiles of a first format are created, wherein the tiles of the first format include tiles of the first format.
5. A data insertion apparatus for a CAD client, comprising:
a first creation module for creating an initial thumbnail list in the CAD client;
a second obtaining module for obtaining a plurality of tiles in the first format that were successfully created;
the conversion module is used for executing format conversion operation on each of the plurality of tiles in the first format to obtain a plurality of thumbnails in the second format;
the device is further used for storing each block and the thumbnail matched with each block in a local gallery together;
The pulling module is used for pulling the thumbnails in the second formats to the initial thumbnail list to obtain a target thumbnail list;
a display module for displaying the plurality of thumbnails through the target thumbnail list;
the determining unit is used for responding to a target block request and obtaining block identification information associated with the target block carried in the target block request, wherein the target block request is used for requesting the target block to be inserted into the CAD client;
the device is further configured to obtain a second thumbnail from the thumbnail list, where the second confidence is used to indicate that a similarity between icon identification information associated with the second thumbnail and the tile identification information is greater than or equal to a preset similarity threshold, where the similarity is an average value of a first specific gravity and a second specific gravity, the first specific gravity is overlapping information of name information of the second thumbnail and name information of the target tile, the second specific gravity is overlapping information of name information of the second thumbnail and name information of the target tile, the specific gravity is occupied in name information of the target tile, the icon identification information includes name information of the second thumbnail, and the tile identification information includes name information of the target tile; determining the second thumbnail as the target thumbnail;
And the configuration module is used for executing parameter configuration operation on the target thumbnail and inserting the target image block into the target position in the CAD client according to the target proportion.
6. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein the program when run performs the method of any one of claims 1 to 4.
7. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of claims 1 to 4 by means of the computer program.
CN202310123991.1A 2023-02-16 2023-02-16 Data insertion method and device of CAD (computer aided design) client, storage medium and electronic device Active CN115859413B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310123991.1A CN115859413B (en) 2023-02-16 2023-02-16 Data insertion method and device of CAD (computer aided design) client, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310123991.1A CN115859413B (en) 2023-02-16 2023-02-16 Data insertion method and device of CAD (computer aided design) client, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN115859413A CN115859413A (en) 2023-03-28
CN115859413B true CN115859413B (en) 2023-11-28

Family

ID=85658236

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310123991.1A Active CN115859413B (en) 2023-02-16 2023-02-16 Data insertion method and device of CAD (computer aided design) client, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN115859413B (en)

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013090944A1 (en) * 2011-12-16 2013-06-20 Gehry Technologies Method and apparatus for representing 3d thumbnails
CN106453572A (en) * 2016-10-19 2017-02-22 广东欧珀移动通信有限公司 Method and system for synchronizing images based on cloud server
CN109829070A (en) * 2019-01-29 2019-05-31 维沃移动通信有限公司 A kind of image lookup method and terminal device
CN110019042A (en) * 2019-04-15 2019-07-16 成都四方伟业软件股份有限公司 Report file generation method, apparatus and system
CN110321449A (en) * 2019-06-28 2019-10-11 维沃移动通信有限公司 A kind of image display method and terminal
CN110929058A (en) * 2018-08-30 2020-03-27 深圳市蓝灯鱼智能科技有限公司 Trademark picture retrieval method and device, storage medium and electronic device
CN111046205A (en) * 2019-12-12 2020-04-21 上海传英信息技术有限公司 Image searching method, device and readable storage medium
CN112052784A (en) * 2020-09-02 2020-12-08 腾讯科技(深圳)有限公司 Article searching method, device, equipment and computer readable storage medium
CN112714257A (en) * 2020-12-30 2021-04-27 维沃移动通信(杭州)有限公司 Display control method, display control device, electronic device, and medium
CN113093968A (en) * 2021-03-31 2021-07-09 维沃移动通信(杭州)有限公司 Shooting interface display method and device, electronic equipment and medium
CN113282846A (en) * 2021-05-19 2021-08-20 武汉悦学帮网络技术有限公司 Image display method and device, electronic equipment and computer readable storage medium
CN113704529A (en) * 2021-07-30 2021-11-26 荣耀终端有限公司 Photo classification method with audio identification, searching method and device
CN113779293A (en) * 2021-08-27 2021-12-10 维沃移动通信(杭州)有限公司 Image downloading method, device, electronic equipment and medium
CN113900612A (en) * 2021-10-11 2022-01-07 西安万像电子科技有限公司 Image splicing method
CN113987241A (en) * 2021-10-27 2022-01-28 维沃移动通信有限公司 Image display method, image display device, electronic apparatus, and readable storage medium
CN114546558A (en) * 2022-02-21 2022-05-27 金蝶云科技有限公司 Drawing processing method and device, computer equipment and storage medium
CN115344148A (en) * 2021-05-12 2022-11-15 腾讯科技(深圳)有限公司 Image processing method, image processing device, electronic equipment and computer readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4561804B2 (en) * 2007-10-09 2010-10-13 ブラザー工業株式会社 Thumbnail distribution system, server, client, and program
US20140195963A1 (en) * 2011-12-16 2014-07-10 Gehry Technologies Method and apparatus for representing 3d thumbnails

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013090944A1 (en) * 2011-12-16 2013-06-20 Gehry Technologies Method and apparatus for representing 3d thumbnails
CN106453572A (en) * 2016-10-19 2017-02-22 广东欧珀移动通信有限公司 Method and system for synchronizing images based on cloud server
CN110929058A (en) * 2018-08-30 2020-03-27 深圳市蓝灯鱼智能科技有限公司 Trademark picture retrieval method and device, storage medium and electronic device
CN109829070A (en) * 2019-01-29 2019-05-31 维沃移动通信有限公司 A kind of image lookup method and terminal device
CN110019042A (en) * 2019-04-15 2019-07-16 成都四方伟业软件股份有限公司 Report file generation method, apparatus and system
CN110321449A (en) * 2019-06-28 2019-10-11 维沃移动通信有限公司 A kind of image display method and terminal
CN111046205A (en) * 2019-12-12 2020-04-21 上海传英信息技术有限公司 Image searching method, device and readable storage medium
CN112052784A (en) * 2020-09-02 2020-12-08 腾讯科技(深圳)有限公司 Article searching method, device, equipment and computer readable storage medium
CN112714257A (en) * 2020-12-30 2021-04-27 维沃移动通信(杭州)有限公司 Display control method, display control device, electronic device, and medium
CN113093968A (en) * 2021-03-31 2021-07-09 维沃移动通信(杭州)有限公司 Shooting interface display method and device, electronic equipment and medium
CN115344148A (en) * 2021-05-12 2022-11-15 腾讯科技(深圳)有限公司 Image processing method, image processing device, electronic equipment and computer readable storage medium
CN113282846A (en) * 2021-05-19 2021-08-20 武汉悦学帮网络技术有限公司 Image display method and device, electronic equipment and computer readable storage medium
CN113704529A (en) * 2021-07-30 2021-11-26 荣耀终端有限公司 Photo classification method with audio identification, searching method and device
CN113779293A (en) * 2021-08-27 2021-12-10 维沃移动通信(杭州)有限公司 Image downloading method, device, electronic equipment and medium
CN113900612A (en) * 2021-10-11 2022-01-07 西安万像电子科技有限公司 Image splicing method
CN113987241A (en) * 2021-10-27 2022-01-28 维沃移动通信有限公司 Image display method, image display device, electronic apparatus, and readable storage medium
CN114546558A (en) * 2022-02-21 2022-05-27 金蝶云科技有限公司 Drawing processing method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN115859413A (en) 2023-03-28

Similar Documents

Publication Publication Date Title
CN109643304B (en) System and method for displaying trademark inquiry search results in interactive graphic representation
WO2018177251A1 (en) Application program processing method, computer device and storage medium
US8892990B2 (en) Automatic creation of a table and query tools
US20100169326A1 (en) Method, apparatus and computer program product for providing analysis and visualization of content items association
CN108536467B (en) Code positioning processing method and device, terminal equipment and storage medium
US10268655B2 (en) Method, device, server and storage medium of searching a group based on social network
CN114648615B (en) Method, device and equipment for controlling interactive reproduction of target object and storage medium
CN112764857A (en) Information processing method and device and electronic equipment
CN108427701B (en) Method for identifying help information based on operation page and application server
CN115859413B (en) Data insertion method and device of CAD (computer aided design) client, storage medium and electronic device
CN110598026B (en) Display method and device of picture list and terminal equipment
CN112559913A (en) Data processing method and device, computing equipment and readable storage medium
CN112632422B (en) Intelligent graph cutting method and device, electronic equipment and storage medium
CN113177237B (en) Method and terminal for avoiding signature overlapping
WO2022105120A1 (en) Text detection method and apparatus from image, computer device and storage medium
CN111688605B (en) Character batch graph cutting method applied to automobile instrument and related equipment
US20220050811A1 (en) Method and apparatus for synchronizing file
CN105991400B (en) Group searching method and device
JP6869226B2 (en) Information retrieval methods, devices, devices, and computer storage media by pictures
CN112287131A (en) Information interaction method and information interaction device
CN111324310A (en) Data reading method and device and computer system
CN112308074A (en) Method and device for generating thumbnail
JP5345049B2 (en) SEARCH SERVER, ITS CONTROL METHOD, AND SEARCH SYSTEM
CN111198926A (en) Business handling management method and device, electronic equipment and storage medium
CN114004212B (en) Data processing method, device and 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
GR01 Patent grant
GR01 Patent grant