CN115859413A - Data insertion method and device for CAD client, storage medium and electronic device - Google Patents

Data insertion method and device for CAD client, storage medium and electronic device Download PDF

Info

Publication number
CN115859413A
CN115859413A CN202310123991.1A CN202310123991A CN115859413A CN 115859413 A CN115859413 A CN 115859413A CN 202310123991 A CN202310123991 A CN 202310123991A CN 115859413 A CN115859413 A CN 115859413A
Authority
CN
China
Prior art keywords
target
thumbnail
cad
tile
image block
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.)
Granted
Application number
CN202310123991.1A
Other languages
Chinese (zh)
Other versions
CN115859413B (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

Images

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; in response to a target tile request, determining a target thumbnail matched with the target tile from the plurality of thumbnails, wherein the target tile request is used for requesting to insert the target tile into the CAD client; and inserting the target image block into the CAD client by using the target thumbnail. The method and the device solve the technical problem that the data insertion efficiency of the CAD client side is low in the related technology.

Description

Data insertion method and device for CAD client, storage medium and electronic device
Technical Field
The present disclosure relates to the field of computers, and in particular, to a data insertion method and apparatus for a CAD client, a storage medium, and an electronic apparatus.
Background
In the prior art, a user of a CAD client often saves a tile file into a local folder, opens the local folder when necessary, and opens and views the saved tile files one by one from the local folder, thereby determining and importing the corresponding tile files to the CAD client. However, in the method, complicated operations such as opening and checking one by one are required to be performed in the local folder of the third party to determine the image block file to be inserted, and the operations are complicated and cumbersome, so that the data insertion efficiency of the CAD client is low.
Therefore, the data transmission efficiency of the CAD client is low in the related art.
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, so as to at least solve 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 for a CAD client, including: displaying a plurality of thumbnails in the CAD client; in response to a target tile request, determining a target thumbnail matching a target tile from the plurality of thumbnails, wherein the target tile request is used for requesting to insert the target tile into the CAD client; and inserting the target image block into the CAD client by using the target thumbnail.
According to another aspect of the embodiments of the present application, there is also provided a data insertion apparatus for a CAD client, including: the display unit is used for displaying a plurality of thumbnails in the CAD client; the determining unit is used for determining a target thumbnail matched with a target image block from the plurality of thumbnails in response to a target image block request, wherein the target image block request is used for requesting to insert the target image block into the CAD client; and the inserting unit is used for inserting the target image block into the CAD client by using the target thumbnail.
As an optional solution, the determining unit includes: a first obtaining module, configured to obtain tile identification information associated with the target tile carried in the target tile request; and the first determining module is used for determining the target thumbnail from the thumbnail list based on the image block identification information.
As an optional solution, 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 the image block 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 meeting a second confidence condition 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 meeting a third confidence condition from the thumbnail list, where the third confidence condition is used to indicate that the third thumbnail is a thumbnail obtained last time; and a third determining sub-module configured to determine the third thumbnail as the target thumbnail.
As an alternative, the 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 a target position in the CAD client according to a target proportion.
As an optional solution, the configuration module includes at least one of: the first configuration submodule is used for executing first parameter configuration operation by utilizing the input scale coefficient and determining the target proportion corresponding to the target image 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 image block.
As an optional solution, the apparatus further includes: a first creating module, configured to create an initial thumbnail list in the CAD client before displaying a plurality of thumbnails in the CAD client; the second obtaining module is used for obtaining a plurality of successfully created image blocks in the first format before the plurality of thumbnails in the CAD client are displayed; a conversion module, configured to perform 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 a second format; a pull module, configured to pull the plurality of thumbnails in the second format to the initial thumbnail list before displaying the plurality of thumbnails in the CAD client, 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 optional solution, the apparatus further includes: a second determining module, configured to, before the plurality of successfully created image blocks in the first format are obtained and displayed, obtain CAD data in the first format in the CAD client, and determine graphic data and base point data in the first format from the CAD data; and a second creating module, configured to create a tile block in the first format by using the graphics data and the base point data before the plurality of tiles displaying the first format, which are successfully created, are obtained, where the plurality of tiles in the first format include the tile block in the first format.
According to yet another aspect of embodiments herein, 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 executes the data insertion method of the CAD client as above.
According to another aspect of the embodiments of the present application, there is also provided an electronic apparatus, 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 a CAD client side are displayed; in response to a target tile request, determining a target thumbnail matching a target tile from the plurality of thumbnails, wherein the target tile request is used for requesting to insert the target tile into the CAD client; and inserting the target image block into the CAD client by using the target thumbnail.
By utilizing the data insertion method of the CAD client, the viewable thumbnail is directly displayed in the CAD, the target image block is directly inserted into the CAD client through the target thumbnail operation matched with the target image block, the problem of complicated image block insertion operation caused by opening the view image block file one by one from a local folder is solved, the operation flow of inserting the image block into the CAD client is simplified, the image block insertion speed is increased, 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 solved.
In addition, by using the data insertion method of the CAD client, the viewable thumbnails are directly displayed in the CAD, so that a user can conveniently and quickly preview and determine the target thumbnails corresponding to the target image blocks directly based on the images of the plurality of thumbnails, the user experience is improved, and the data insertion efficiency of the CAD client is integrally improved by improving the acquisition efficiency of the target thumbnails.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
FIG. 1 is a diagram of a hardware environment of a data insertion method of a CAD client according to an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating a flow of an alternative data insertion method for a CAD client according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an alternative data insertion method for a CAD client according to an embodiment of the present application;
FIG. 4 is a schematic diagram of an alternative data insertion method for a CAD client according to an embodiment of the present application;
FIG. 5 is a schematic diagram of an alternative data insertion method for a CAD client according to an embodiment of the present application;
FIG. 6 is a schematic diagram of an alternative data insertion method for a CAD client according to an embodiment of the present application;
FIG. 7 is a schematic diagram of an alternative data insertion method for a CAD client according to an embodiment of the present application;
FIG. 8 is a schematic diagram of an alternative data insertion method for a CAD client according to an embodiment of the present application;
FIG. 9 is a schematic diagram of an alternative data insertion method for a CAD client according to an embodiment of the present application;
FIG. 10 is a schematic diagram of an alternative data insertion method for a CAD client according to an embodiment of the present application;
FIG. 11 is a schematic diagram of an alternative data insertion method for a CAD client 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 invention;
fig. 13 is a schematic structural diagram of an alternative electronic device according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above 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 application described herein are capable of operation in sequences other than those illustrated or 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 embodiments of the present application, a data insertion method for a CAD client is provided, and optionally, as an optional implementation, the data insertion method for a CAD client may be applied to, but is not limited to, an environment as shown in fig. 1. The CAD server may include, but is not limited to, a CAD client 102 and a server 112, the CAD client 102 may include, but is not limited to, a display 104, a processor 106, and a memory 108, and the server 112 includes a database 114 and a processing engine 116.
The specific process comprises the following steps:
step S102, displaying a plurality of thumbnails and acquiring a triggered target image block request by the CAD client 102;
steps S104-S106, sending a triggered data transmission request to the server 112 through the network 110, wherein the target tile request is used for requesting to insert the target tile into the CAD client 102;
step S108, the server 112 determines a target thumbnail matched with the target image block from the plurality of thumbnails through the processing engine in response to the target image block request;
steps S110-S112 are to send the target thumbnail matching the target tile to the CAD client 102 via the network 110, the CAD client 102 inserts the target tile into the CAD client 102 using the target thumbnail through the processor 106, and displays the data insertion result on the display 104, and stores the above-mentioned information for data insertion in the memory 108.
In addition to the example shown in fig. 1, the above steps may be performed by the client or the server independently, or by cooperation of the client and the server, such as the CAD client 102 performing the above steps S108, so as to relieve the processing pressure of the server 112. The CAD client 102 includes, but is not limited to, a handheld device (e.g., a mobile phone), a notebook computer, a desktop computer, a vehicle-mounted device, and the like, and the specific implementation manner of the CAD client 102 is not limited in this application.
Optionally, as an optional implementation, 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, in response to a target image block request, determining a target thumbnail matched with the target image block from the plurality of thumbnails, wherein the target image block request is used for requesting to insert the target image block into the CAD client;
and S206, inserting the target image block into the CAD client by using the target thumbnail.
Optionally, in this embodiment, the data insertion method of the CAD client may be, but is not limited to, applied in a scenario where engineering drawing is performed using a software platform. Among them, in the process of engineering drawing by an engineer, there is a need for frequent use of a certain number of graphics, or after a period of time, there is a need for reuse of historically drawn graphics. For the above requirements, the engineer may, but not limited to, store the relevant graphics in the form of a tile file in the local computer, open and view the stored tile file in the local computer when the relevant graphics are needed, and then open and insert the target tile by using the software platform when the target tile is determined.
However, the above-mentioned manner of opening and viewing the image block files one by one in the local computer to determine and insert the target image block has the problems of complex operation, inconvenient viewing and complicated insertion operation, which further 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, the data insertion method of the CAD client is utilized to directly display the viewable thumbnails in the CAD, and the target thumbnails matched with the target image blocks are operated to realize the effect of directly inserting the target image blocks into the CAD client, so that the problem of complicated image block insertion operation caused by one-by-one opening of the image block files from a local folder is solved, the operation flow of inserting the image blocks into the CAD client is simplified, the image block insertion speed is increased, 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 solved.
In addition, by using the data insertion method of the CAD client, the viewable thumbnails are directly displayed in the CAD, so that a user can conveniently and quickly preview and determine the target thumbnails corresponding to the target image blocks directly based on the images of the plurality of thumbnails, the user experience is improved, and the data insertion efficiency of the CAD client is integrally improved by improving the acquisition efficiency of the target thumbnails.
Optionally, in this embodiment, the plurality of thumbnails may be, but is not limited to, displayed in the target area in the CAD client in the form of a thumbnail list, where the thumbnail list may include, but is not limited to, a plurality of horizontally arranged or vertically arranged thumbnails, and the plurality of thumbnails in the thumbnail list may be, but is not limited to, in an ordered arrangement or in an unordered arrangement, including: the thumbnail images are sorted front and back according to time information generated by the thumbnail images, sorted front and back according to the latest using time of the thumbnail images, sorted front and back according to the using times of the thumbnail images within a period of time, and the like.
Optionally, in this embodiment, the tiles may be, but are not limited to, files in a first format, wherein the first format may be, but is not limited to, DWG format, and the tiles may include, but are not limited to, target tiles.
Optionally, in this embodiment, the tile may be, but is not limited to, used to indicate all or part of the CAD data in the first format in the CAD client, and may be, but is not limited to, used to indicate all or part of the graphics in a certain project file in the CAD client.
It should be noted that the tiles may be, but not limited to, determined from the CAD data in the current project file, and created using the graphics data and the base point data.
It should be noted that, in the tile creation process, the tile name information and the tile position information may be set, but are not limited to these. Wherein the tile identification information may include, but is not limited to, tile name information, and the tile location information may be, but is not limited to, location information for indicating storage of the tile.
After the tile is created, the daemon of the CAD client may, but is not limited to, identify a tile file in a first format, and render the graph of the tile file in the first format through a drawing mechanism to generate a thumbnail file in a second format, where thumbnail name information of the thumbnail file is consistent (the same) as 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 file and the tile file may be, but are not limited to, stored in the same storage location, where the storage location may be, but is not limited to, used for storing a plurality of 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 is consistent with the tile identification information corresponding to the tile file.
For example, as shown in fig. 3, the data insertion method of the CAD client is applied to the process of generating the tiles and the thumbnail, and the specific steps include:
step S302, determining target CAD data based on the CAD data in DWG format in the CAD client, and generating a picture block file based on the target CAD data;
step S304, judging whether the image block file is successfully generated;
step S306, under the condition that the generation of the image block file fails, ending the process;
step S308, under the condition that the image block file is successfully generated, identifying the image block file, and generating a corresponding thumbnail in a BMP format by drawing with a drawing mechanism;
it should be noted that the name information of the generated thumbnail is the same as the name information of the corresponding image block file by default;
step S310, judging whether the thumbnail is successfully generated;
step S312, in the case of a failure in thumbnail generation, ending the flow;
step S314, storing the image block file and the thumbnail in the same local gallery under the condition that the thumbnail is successfully generated;
and step S316, updating the thumbnail to the corresponding network gallery.
By way of further example, based on step S314 in fig. 3 described above, the local gallery for storing the tile files and thumbnails with corresponding name information is the local gallery 402 shown in fig. 4. In the local tile 402, the Slb _ cqg.bmp file is a thumbnail file, and the Slb _ cqg.dwg file is a tile file.
Optionally, in this embodiment, the thumbnail may be, but is not limited to, a file in a second format, where the second format may be, but is not limited to, a BMP format.
Optionally, in this embodiment, determining a target thumbnail matching the target tile from the plurality of thumbnails may include, but is not limited to, determining the target thumbnail from a thumbnail list based on tile identification information, where the tile identification information may be, but is not limited to, information associated with the target tile that is carried for the target tile request.
Optionally, in this 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 and the target tile have a matching relationship, where the matching relationship may be, but is not limited to, used to indicate that the icon identification information associated with the target thumbnail is consistent with the tile identification information associated with the target tile, may also be, but is not limited to, used to indicate that the 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 also be, but is not limited to, used to indicate that the target thumbnail is a thumbnail acquired last time after responding to the tile acquisition request corresponding to the target tile.
It should be noted that the matching relationship may also be, but not limited to, used for indicating that the target thumbnail is a newly generated thumbnail after responding to the tile block acquisition request corresponding to the target tile block; but not limited to, the thumbnail may also be used to indicate that the target thumbnail is the thumbnail which is acquired the greatest number of times within a period of time after responding to the tile acquisition request corresponding to the target tile.
Optionally, in this embodiment, with the target thumbnail, inserting the target tile into the CAD client may include, but is not limited to, performing a parameter configuration operation on the target thumbnail to insert the target tile into a target location in the CAD client at a target scale.
After the target thumbnail is determined, the background program of the CAD client searches a target image block file corresponding to the target thumbnail from the storage location, and inserts the corresponding modified image block file into the CAD client based on the parameter configuration operation performed on the target thumbnail.
By further example, the data insertion method of the CAD client is applied to a tile insertion scenario of the CAD client, wherein, as shown in fig. 5, a plurality of thumbnails are displayed in the CAD client through a network gallery 502, wherein 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 branch galleries. For example, in the embedded column base node branch gallery in the steel structure sub-gallery in the network gallery 502, a thumbnail with name information of Mrszjjd _1 is included.
It should be noted that the local gallery 504 is used to store the associated source files of the created tiles and thumbnails.
According to the embodiment provided by the application, a plurality of thumbnails in the CAD client side are displayed; in response to a target tile request, determining a target thumbnail matching a target tile from the plurality of thumbnails, wherein the target tile request is used for requesting to insert the target tile into the CAD client; and inserting the target image block into the CAD client by using the target thumbnail.
By utilizing the data insertion method of the CAD client, the viewable thumbnail is directly displayed in the CAD, the target image block is directly inserted into the CAD client through the target thumbnail operation matched with the target image block, the problem of complicated image block insertion operation caused by opening the view image block file one by one from a local folder is solved, the operation flow of inserting the image block into the CAD client is simplified, the image block insertion speed is increased, 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 solved.
In addition, by using the data insertion method of the CAD client, the viewable thumbnails are directly displayed in the CAD, so that a user can conveniently and quickly preview and determine the target thumbnails corresponding to the target image blocks directly based on the images of the plurality of thumbnails, the user experience is improved, and the data insertion efficiency of the CAD client is integrally improved by improving the acquisition efficiency of the target thumbnails.
As an alternative, determining a target thumbnail matching the target tile from the plurality of thumbnails includes:
s1, obtaining image block identification information associated with a target image block carried in a target image block request;
and S2, determining a target thumbnail from the thumbnail list based on the image 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 include, but is not limited to, tile name information.
It should be noted that, based on the tile identification information, the target thumbnail is determined from the thumbnail list. For example, according to the image block name information, a thumbnail corresponding to the thumbnail name information consistent with the image block name information is determined as a target thumbnail from the thumbnails.
By the embodiment provided by the application, the image block identification information associated with the target image block carried in the target image block request is obtained; and determining a target thumbnail from the thumbnail list based on the image block identification information. The target thumbnail is determined from the thumbnail list by obtaining and utilizing the image block identification information carried in the target image block request, and users do not need to open image block files stored in a local computer one by one for checking, so that the determination efficiency of the target thumbnail is improved, the insertion efficiency of CAD image blocks including the determined target thumbnail is integrally improved, and the technical effect of improving the insertion efficiency of CAD client data is realized.
As an optional scheme, determining a 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 image block identification information; s2, determining the first thumbnail as a target thumbnail; or the like, or, alternatively,
s3, a second thumbnail meeting a second confidence condition is obtained from the thumbnail list, wherein the second confidence condition is used for indicating that the similarity between the icon identification information and the image block 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 the like, or, alternatively,
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 thumbnail acquired last time; and S6, determining the third thumbnail as the target thumbnail.
Optionally, in this embodiment, the first confidence condition may be, but is not limited to, indicating 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, and graphic information, and taking the icon identification information as the name information of the thumbnail as an example, the first confidence condition may be, but is not limited to, indicating that the name information of the first thumbnail is the same as the name information of the target tile.
It should be noted that, in the case that the icon identification information is the graphic information of the thumbnail, the first confidence condition may be, but is not limited to, indicating that the graphic information of the first thumbnail is the same as the graphic information of the target tile, and may be, but is not limited to, indicating that the graphic shape of the first thumbnail is a scaling of a multiple of the graphic shape of the target tile.
Optionally, in this embodiment, the second confidence condition may be, but is not limited to, 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. 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, indicating that the similarity between the name information of the second thumbnail and the name information of the target tile is not less than the preset similarity threshold.
Optionally, in this embodiment, the size of the similarity may be determined based on, but not limited to, the coincidence degree between the name information of the second thumbnail and the name information of the target tile, and may be determined based on, but not limited to, the average value of the coincidence information of the thumbnail name information and the tile name information in the ratio of the respective name information, for example, the name information of the thumbnail a is "sky and sky", the name information of the thumbnail B is "mediterranean sea", the name information of the thumbnail C is "sky and fairy tale", optionally, the size of the similarity between the thumbnail a and the thumbnail B is "0", and the size of the similarity between the thumbnail a and the thumbnail C is "(2/3 + 2/4)/2 =7/12".
Optionally, in this embodiment, the third confidence condition may be, but is not limited to, a condition for indicating that the target thumbnail is a thumbnail acquired last time; but is also not limited to, a thumbnail used to indicate that the target thumbnail was the most recently generated; but is also not limited to, indicating that the target thumbnail is the thumbnail that has been acquired the highest number of times over a period of time.
By way of further illustration, as shown in fig. 6, determining a target thumbnail from the thumbnail list based on the tile identification information may include, but is not limited to, the following steps:
step S602, searching a first thumbnail meeting a first confidence condition from a thumbnail list;
step S604, judging whether the first thumbnail is searched successfully;
step S606, under the condition that the first thumbnail is found, the first thumbnail is determined as a target thumbnail;
step S608, under the condition that the first thumbnail is not found, a second thumbnail meeting a second confidence condition is found from the target thumbnail;
step S610, judging whether the second thumbnail is searched successfully;
step S612, determining the second thumbnail as a target thumbnail under the condition that the second thumbnail is found;
and step S614, under the condition that the second thumbnail is found, a third thumbnail meeting a 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 image block identification information, the same target thumbnail is first searched in the thumbnail list, and in the case that the target thumbnail is not found, a target thumbnail which is relatively similar to the target thumbnail is further searched in the thumbnail list, and in the case that the target thumbnail is not found, according to the personal use habit (or setting) of the user, the thumbnail which is used last time in history (or the thumbnail which is generated last time, or the thumbnail which is used the most frequently in the last period of time) is selected as the target thumbnail, so that a rich independent or combined target thumbnail matching mode is provided for the user, the blind search operation of the user is further reduced, the determination efficiency of the target thumbnail is improved, and the insertion efficiency of the CAD data is improved as a whole.
According to the embodiment provided by the application, a first thumbnail meeting a first confidence condition is obtained 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 image block identification information; determining the first thumbnail as a target thumbnail; or acquiring 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 image block 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 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 thumbnail acquired last time; the third thumbnail is determined as the target thumbnail. By means of the method, abundant independent or combined target thumbnail matching modes are provided for the user, blind searching operation of the user is reduced, determining efficiency of the target thumbnail is improved, and accordingly inserting efficiency of CAD data is improved on the whole.
As an alternative, inserting the target tile into the CAD client using the target thumbnail includes:
s1, performing parameter configuration operation on the target thumbnail, and inserting a target image block into a target position in a CAD client according to a target proportion.
Optionally, in this embodiment, the parameter configuration operation may include, but is not limited to, determining a target proportion of the target tile to be inserted into the CAD client by using the input proportion coefficient, and may also include, but is not limited to, determining a target position of the target tile to be inserted into the CAD client by using the input position coordinates.
Optionally, in this embodiment, the target position corresponds to base point data of the target tile.
After the target thumbnail is determined, the background program of the CAD client searches a target image block file corresponding to the target thumbnail from the storage location, and inserts the target image block into the target location in the CAD client in a target proportion based on the parameter configuration operation performed on the target thumbnail.
Through the embodiment provided by the application, the parameter configuration operation is performed on the target thumbnail, and the target image block is inserted into the target position in the CAD client in the target proportion. By means of parameter configuration operation, the user-defined size and position of the target image block are inserted into the CAD client, so that the user can conveniently and quickly insert the CAD image block according to the requirement, the user experience is improved, and the insertion efficiency of the CAD data is improved.
As an alternative, a 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 proportional coefficient, and determining a target proportion corresponding to a target image block;
and S2, executing second parameter configuration operation by using the input position coordinates, and determining a target position corresponding to the target image block.
Optionally, in this embodiment, the first parameter configuration operation may include, but is not limited to, inputting a scaling factor in the first parameter configuration interface, and determining the scaling factor as a target scale corresponding to the target tile.
Optionally, in this embodiment, the second parameter configuration operation may include, but is not limited to, inputting position coordinates in the second parameter configuration interface, and determining the position coordinates as a target position corresponding to the target tile.
It should be noted that, the target scale and the target position of the target tile may also be, but are not limited to, in the third parameter configuration interface, the position movement and the size scaling of the tile to be inserted may be implemented based on the form of component sliding.
For example, as shown in fig. 7, in the first parameter configuration interface 702, a magnification factor is input, and a target tile to be inserted is scaled by a certain factor, where if the magnification factor is greater than 1.0, a tile scaling operation of a corresponding scale is performed, and if the magnification factor is less than 1.0, a tile scaling operation of a corresponding scale is performed.
For further example, as shown in fig. 8, in the second parameter configuration interface 802, the component 804 is used to control the movement of the tile to be inserted, so as to implement the position movement of the tile to be inserted.
According to the embodiment provided by the application, the input scale coefficient is utilized to execute the first parameter configuration operation, and the target scale corresponding to the target image block is determined; and executing a second parameter configuration operation by using the input position coordinates, and determining a target position corresponding to the target image block. By means of parameter configuration operation, the user-defined size and position of the target image block are inserted into the CAD client, so that the user can conveniently and quickly insert the CAD image block according to the requirement, the user experience is improved, and the insertion efficiency of the CAD data is improved.
As an optional solution, 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 successfully created image blocks in a first format;
s3, performing format conversion operation on each image block in the plurality of image blocks in the first format to obtain a plurality of thumbnails in the second format;
s4, pulling a plurality of thumbnails in the second format to an initial thumbnail list to obtain a target thumbnail list;
displaying a plurality of thumbnails in the CAD client, including:
and S5, displaying a plurality of thumbnails through the target thumbnail list.
Optionally, in this embodiment, the plurality of thumbnails may be, but is not limited to being, displayed through a target thumbnail list, where the target thumbnail may be, but is not limited to being, displayed in the target area in the CAD client after the user clicks the thumbnail display tab in the trigger CAD client.
Optionally, in this embodiment, the target thumbnail list may be, but is not limited to, obtained by 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, but is not limited to, obtained by format converting a plurality of tiles in the first format, the first format may be, but is not limited to, a DWG format, the second format may be, but is not limited to, a BMP format, and the initial thumbnail list may be, but is not limited to, a blank list.
It should be noted that, the thumbnails in the thumbnail list may be arranged in an ordered or unordered arrangement, including: the thumbnail images are sorted front and back according to time information generated by the thumbnail images, sorted front and back according to the latest using time of the thumbnail images, sorted front and back according to the using times of the thumbnail images within a period of time, and the like.
It should be noted that, after the user successfully creates the image blocks based on the graph in the DWG-formatted CAD data in the CAD client, the background program of the CAD client identifies the image block file in the DWG format, and draws the graph in the image block file through the drawing mechanism to generate the image file in the BMP format, the image file in the BMP format uses the same name as the image block file, and is stored in the same folder as the image block file, and when the thumbnail list is displayed, the image file in the BMP format is pulled to preview and display the shape of the image block.
According to the embodiment provided by the application, an initial thumbnail list is created in a CAD client; obtaining a plurality of image blocks in a first format which are successfully created; performing format conversion operation on each of a plurality of image blocks in a first format to obtain a plurality of thumbnails in a second format; pulling a plurality of thumbnails in the second format to an initial thumbnail list to obtain a target thumbnail list; a plurality of thumbnails are displayed through the target thumbnail list. The thumbnail capable of being checked in the CAD is created, a user can conveniently and quickly preview and determine the target thumbnail corresponding to the target image block directly based on the graphs of the thumbnails, the user experience is improved, and the data insertion efficiency of the CAD client side is integrally improved by improving the obtaining efficiency of the target thumbnail.
As an optional scheme, before obtaining a plurality of tiles which are successfully created and display the first format, the method further comprises:
s1, obtaining 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;
and S2, creating a picture block in the first format by using the graphic data and the base point data, wherein the plurality of picture blocks in the first format comprise the picture blocks in the first format.
Optionally, in this embodiment, the tiles in the first format are determined based on the graphics data in the first format, which may be, but is not limited to, graphics information indicating the corresponding tiles, and the radix point data, which may be, but is not limited to, fixed point position information indicating operations such as scaling or rotation of the graphics corresponding to the tiles.
It should be noted that the tiles may be, but not limited to, determined from the current engineering file based on all or part of the CAD data, and created by using the image data and the base point data.
For example, as shown in fig. 9, first, a tile binning request 902 is executed under a local gallery, where the tile binning request 902 is used to request that a tile be created and saved to a local tile;
further, based on the tile warehousing request 902 shown in fig. 9, graphics data and radix point data for creating a tile are determined from CAD data in the CAD client, such as graphics data 1002 and radix point data 1004 shown in fig. 10;
further, based on the graph data 1002 and the base point data 1004 shown in fig. 10, corresponding tiles are generated, named and stored, such as a 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.
It should be noted that after the creation of the tile is completed, the CAD client daemon renders the tile, generates a thumbnail image, stores the thumbnail image in the same location with the same identifier 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, and the user may modify and may select the position of the thumbnail in the thumbnail list, where the thumbnail list includes a plurality of sub-lists, as shown in fig. 5, where the network gallery 502 includes a plurality of sub-galleries, and each sub-gallery includes a plurality of branch galleries.
It is understood that in the specific implementation of the present application, related data such as user information, when the above embodiments of the present application are applied to specific products or technologies, user permission or consent needs 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 above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
According to another aspect of the embodiments of the present application, there is also provided a data insertion apparatus of a CAD client for implementing the data insertion method of the CAD client. As shown in fig. 12, the apparatus includes:
a display unit 1202 configured to display a plurality of thumbnails in the CAD client;
a determining unit 1204, configured to determine, in response to a target tile request, a target thumbnail matching the target tile from the plurality of thumbnails, wherein the target tile request is for requesting insertion of the target tile into the CAD client;
and the inserting unit 1206 is used for inserting the target image block into the CAD client by using the target thumbnail.
As an optional scheme, the determining unit 1204 includes:
the first obtaining module is used for obtaining 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 a target thumbnail from the thumbnail list based on the image block identification information.
As an optional solution, the first determining module includes:
the first obtaining sub-module 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 image block identification information; the first determining sub-module is used for determining the first thumbnail as a target thumbnail; or the like, or, alternatively,
the second obtaining sub-module 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 the icon identification information and the image block identification information associated with the second thumbnail is greater than or equal to a preset similarity threshold; a second determining sub-module for determining the second thumbnail as a target thumbnail; or the like, or, alternatively,
the third obtaining sub-module is used for 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 thumbnail obtained last time; and a third determining 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 according to the target proportion.
As an optional solution, the configuration module includes at least one of:
the first configuration submodule is used for executing first parameter configuration operation by utilizing the input scale coefficient and determining a target scale corresponding to a target image block;
and the second configuration submodule is used for executing second parameter configuration operation by using the input position coordinates and determining a target position corresponding to the target image block.
As an optional solution, the apparatus further includes:
the device comprises a first creating module, a second creating module and a third creating module, wherein the first creating module is used for creating an initial thumbnail list in the CAD client before displaying a plurality of thumbnails in the CAD client;
the second obtaining module is used for obtaining a plurality of successfully created image blocks in the first format before the plurality of thumbnails in the CAD client side are displayed;
the conversion module is used for executing format conversion operation on each of a plurality of image blocks in a first format before a plurality of thumbnails in the CAD client are displayed to obtain a plurality of thumbnails in a second format;
the drawing module is used for drawing a plurality of thumbnails in the second format to the initial thumbnail list before the plurality of thumbnails in the CAD client are displayed, so that a target thumbnail list is obtained;
the display unit 1202 includes:
and the display module is used for displaying a plurality of thumbnails through the target thumbnail list.
As an optional solution, the apparatus further includes:
the second determining module is used for acquiring the CAD data in the first format in the CAD client side before acquiring the plurality of image blocks which are successfully created and display the first format, and determining the graph data and the base point data in the first format from the CAD data;
and the second creating module is used for creating the tiles in the first format by using the graphic data and the base point data before acquiring the plurality of successfully created tiles which display the first format, wherein the plurality of tiles in the first format comprise the tiles in the first format.
For a specific embodiment, reference may be made to the example shown in the data insertion method of the CAD client, which is not described herein again in this example.
According to another aspect of the embodiments of the present application, there is further provided an electronic device for implementing the data insertion method of the CAD client, as shown in fig. 13, the electronic device includes a memory 1302 and a processor 1304, the memory 1302 stores a computer program, and the processor 804 is configured to execute the steps in any one of the method embodiments through the computer program.
Optionally, in this embodiment, the electronic apparatus may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, displaying a plurality of thumbnails in a CAD client;
s2, in response to a target image block request, determining a target thumbnail matched with the target image block from the plurality of thumbnails, wherein the target image block request is used for requesting to insert the target image block into the CAD client;
and S3, inserting the target image block into the CAD client by using the target thumbnail.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 13 is only an illustration, 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 (MID), a PAD, and the like. Fig. 13 is a diagram illustrating a 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 used 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 various functional applications and data processing by running the software programs and modules stored in the memory 1302, that is, implementing the data insertion method of the CAD client. The 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, the memory 1302 may further include memory located remotely from the processor 1304, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 1302 may be specifically but not limited to information for a plurality of thumbnails, target tile requests, 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 of the data transmission device of the CAD client. In addition, the data transmission device may further include, but is not limited to, other module units in the data transmission device of the CAD client, which is not described in detail in this example.
Optionally, the transmitting device 1306 is used for receiving or sending data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 1306 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmitting device 1306 is a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
In addition, the electronic device further includes: a display 1308 for displaying the plurality of thumbnails, the target tile request, and other information; and a connection bus 1310 for connecting the respective module parts in the above-described electronic apparatus.
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 a plurality of nodes through a network communication. The nodes may form a Peer-To-Peer (P2P) network, and any type of computing device, such as a server, a terminal, and other electronic devices, may become a node in the blockchain system by joining the Peer-To-Peer network.
According to an aspect of the present application, there is provided a computer program product comprising a computer program/instructions containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section, and/or installed from a removable medium. When executed by the central processing unit, the computer program performs various functions provided by the embodiments of the present application.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It should be noted that the computer system of the electronic device is only an example, and should not bring any limitation to the function and the use range of the embodiment of the present application.
The computer system includes a Central Processing Unit (CPU) that can perform 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 (RAM). In the random access memory, various programs and data necessary for the operation of the system are also stored. The central processor, the read-only memory and the random access memory are connected with each other through a 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, and the like; an output section including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section including a hard disk and the like; and a communication section including a network interface card such as a local area network card, a modem, or the like. The communication section performs communication processing via a network such as the internet. The driver is also connected to the input/output interface as needed. A removable medium such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive as necessary, so that a computer program read out therefrom is mounted into the storage section as necessary.
In particular, according to embodiments of the present application, the processes described in the various method flowcharts may be implemented as computer software programs. 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 illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section, and/or installed from a removable medium. The computer program, when executed by the central processor, performs various functions defined in the system of the present application.
According to an aspect of the present application, there is provided a computer-readable storage medium from which a processor of a computer device reads computer instructions, the processor executing the computer instructions to cause the computer device to perform the method provided in the above-mentioned various alternative implementations.
Alternatively, in the present embodiment, the above-mentioned 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, in response to a target image block request, determining a target thumbnail matched with a target image block from the plurality of thumbnails, wherein the target image block request is used for requesting to insert the target image block into the CAD client;
and S3, inserting the target image block into the CAD client by using the target thumbnail.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the various methods in the foregoing embodiments may be implemented by a program instructing hardware related to the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, read-Only memories (ROMs), random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solutions of the present application, which are essential or part of the technical solutions contributing to the prior art, or all or part of the technical solutions, may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, or the like) to execute all or part of the steps of the methods described in the embodiments of the present application.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in 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 illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed 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 can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (10)

1. A data insertion method of a CAD client is characterized by comprising the following steps:
displaying a plurality of thumbnails in the CAD client;
in response to a target tile request, determining a target thumbnail matched with a target tile from the plurality of thumbnails, wherein the target tile request is used for requesting the target tile to be inserted into the CAD client;
and inserting the target image block into the CAD client by using the target thumbnail.
2. The method of claim 1, wherein determining a target thumbnail from the plurality of thumbnails that matches a target tile comprises:
obtaining the image block identification information associated with the target image block carried in the target image block request;
and determining the target thumbnail from the thumbnail list based on the image block identification information.
3. The method of claim 2, wherein determining the target thumbnail from a list of thumbnails based on the tile identification information comprises:
acquiring 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 image block identification information; determining the first thumbnail as the target thumbnail; or the like, or, alternatively,
acquiring 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 associated with the second thumbnail and the image block identification information is greater than or equal to a preset similarity threshold; determining the second thumbnail as the target thumbnail; or the like, or, alternatively,
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 thumbnail acquired last time; determining the third thumbnail as the target thumbnail.
4. The method of claim 1, wherein the inserting the target tile into the CAD client using the target thumbnail comprises:
and performing parameter configuration operation on the target thumbnail, and inserting the target image block into a target position in the CAD client in a target proportion.
5. The method of claim 4, wherein performing a parameter configuration operation on the target thumbnail comprises at least one of:
executing a first parameter configuration operation by using the input scale coefficient, and determining the target scale corresponding to the target image block;
and executing a second parameter configuration operation by using the input position coordinates, and determining the target position corresponding to the target image block.
6. The method of claim 1,
prior to the displaying the plurality of thumbnails in the CAD client, the method further comprises:
creating an initial thumbnail list in the CAD client;
obtaining a plurality of image blocks in a first format which are successfully created;
performing a format conversion operation on each of the plurality of tiles in the first format to obtain a plurality of thumbnails in a second format;
pulling the plurality of thumbnails in the second format to the initial thumbnail list to obtain a target thumbnail list;
the displaying of the plurality of thumbnails in the CAD client includes:
displaying the plurality of thumbnails through the target thumbnail list.
7. The method of claim 6, wherein prior to the obtaining the plurality of tiles displaying the first format that were successfully created, the method further comprises:
obtaining 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;
creating tiles in a first format using the graphics data and the radix point data, wherein the plurality of tiles in the first format include tiles in the first format.
8. A data insertion apparatus for a CAD client, comprising:
the display unit is used for displaying a plurality of thumbnails in the CAD client;
a determining unit, configured to determine, in response to a target tile request, a target thumbnail matching a target tile from the plurality of thumbnails, wherein the target tile request is for requesting that the target tile be inserted into the CAD client;
and the inserting unit is used for inserting the target image block into the CAD client by using the target thumbnail.
9. A computer-readable storage medium, comprising a stored program, wherein the program when executed performs the method of any of claims 1 to 7.
10. 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 of any of claims 1 to 7 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 true CN115859413A (en) 2023-03-28
CN115859413B 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 (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090094322A1 (en) * 2007-10-09 2009-04-09 Brother Kogyo Kabushiki Kaisha Thumbnail distribution system, server, client and program
WO2013090944A1 (en) * 2011-12-16 2013-06-20 Gehry Technologies Method and apparatus for representing 3d thumbnails
US20140195963A1 (en) * 2011-12-16 2014-07-10 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

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090094322A1 (en) * 2007-10-09 2009-04-09 Brother Kogyo Kabushiki Kaisha Thumbnail distribution system, server, client and program
WO2013090944A1 (en) * 2011-12-16 2013-06-20 Gehry Technologies Method and apparatus for representing 3d thumbnails
US20140195963A1 (en) * 2011-12-16 2014-07-10 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
CN115859413B (en) 2023-11-28

Similar Documents

Publication Publication Date Title
EP3623942A1 (en) Message processing method and apparatus, storage medium, and computer device
WO2018177251A1 (en) Application program processing method, computer device and storage medium
CN110414249B (en) Information processing method, information processing apparatus, storage medium, and electronic device
CN105550252A (en) File positioning method and device and electronic equipment
CN106873857B (en) Automatic application icon layout method and device
US20180107686A1 (en) Search method and apparatus
CN112764857A (en) Information processing method and device and electronic equipment
CN106971004B (en) Search result providing method and device
CN110737711A (en) Report exporting method and device, computer equipment and storage medium
CN105653674B (en) File management method and system of intelligent terminal
CN108427701B (en) Method for identifying help information based on operation page and application server
CN113079273A (en) Watermark processing method, device, electronic equipment and medium
CN111817944A (en) Picture sharing method and device and electronic equipment
CN111367606A (en) Application page display method, device, terminal and medium
CN115859413A (en) Data insertion method and device for CAD client, storage medium and electronic device
CN112632422B (en) Intelligent graph cutting method and device, electronic equipment and storage medium
CN106686588B (en) Wireless fidelity Wi-Fi connection method and mobile terminal
CN112214704B (en) Page processing method and device
CN105991400B (en) Group searching method and device
CN112069236A (en) Associated file display method, device, equipment and storage medium
CN111225005B (en) Push content generation method and device, electronic equipment and computer storage medium
CN110377665B (en) Data synchronization method and device, electronic equipment and storage medium
CN111688605B (en) Character batch graph cutting method applied to automobile instrument and related equipment
CN112287131A (en) Information interaction method and information interaction device
CN111198926A (en) Business handling management method and device, electronic equipment 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