Coordinate labeling and coordinate exporting method and system of terminal equipment based on CAD tool, electronic equipment and storage medium

By standardizing the coordinate labeling and export of terminal devices in the wireless perception positioning system based on CAD tools, the problem of low efficiency of coordinate information labeling and export of terminal devices is solved, and efficient and accurate coordinate information processing is achieved.

CN118965477APending Publication Date: 2024-11-15ARTIFICIAL INTELLIGENCE RES INST OF HEFEI COMPREHENSIVE NAT SCI CENT (ANHUI ARTIFICIAL INTELLIGENCE LAB)
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410870529.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

In wireless perception positioning systems, the coordinate annotation and coordinate derivation of terminal devices are inefficient, prone to errors, rely on manual operations, and lack of standardized methods, which makes them time-consuming and susceptible to subjective factors.

Method used

Using CAD tools, the device name is obtained and standardized by communicating with the wireless access point server of the wireless perception positioning system. The object block model is created using CAD tools, coordinate information annotation and conversion, and the output specified by the user is used. Format export coordinate information.

Benefits of technology

It improves the accuracy and derivation efficiency of terminal equipment coordinate information, reduces the probability of errors, and makes it easy for non-design professionals to operate design drawings, avoids subjective errors in manual data sorting, and optimizes coordinate organization efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118965477A_ABST
    Figure CN118965477A_ABST
Patent Text Reader

Abstract

The invention provides a coordinate marking and coordinate exporting method of terminal equipment based on a CAD tool, which can be applied to the technical field of computer aided design. The method comprises the following steps: detecting an equipment name by communicating with a wireless access point server in a wireless sensing positioning system, and processing the equipment name based on a detection result to enable the equipment name to accord with a predefined naming specification; based on the coordinate type of the target terminal, utilizing a CAD tool to create an object block model of the target terminal, and utilizing coordinate information in a design work drawing generated by the CAD tool to label attribute information of the object block model; and converting the coordinate information of the target terminal by using the coordinate conversion relationship in the CAD tool, and exporting the converted coordinate information of the target terminal based on an output format specified by a user. The invention further provides a coordinate marking and coordinate exporting system of the terminal equipment based on the CAD tool, electronic equipment and a storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer-aided design technology, specifically to the field of coordinate labeling and coordinate export technology for terminal devices in a wireless sensing positioning system, and more specifically to a coordinate labeling and coordinate export method and system for terminal devices based on CAD tools, electronic equipment, and storage media. Background Art

[0002] DWG stands for Drawing. It is a very important CAD (Computer Aided Drafting) file format designed for CAD software and widely used by technicians in the fields of engineering drawings, architecture and design. It has been widely used in the fields of engineering drawings, architecture and design due to its efficient file compression, strong compatibility, rich design information and precise geometric description. However, with the rapid development of DWG technology and CAD functions, a large number of design drawings are in a dilemma of having demand but no standardized operation methods. Faced with the complex CAD platform and the use of plug-ins, many non-design professional computer engineers have no idea how to start with design drawings. This is most evident in the WIFI positioning system, including but not limited to the use of CAD software to realize the coordinate marking and coordinate export of objects, which requires a large number of tedious manual marking processes. The traditional method requires engineers to manually input or mark each object coordinate point, which is time-consuming and error-prone. Engineers need to accurately identify each coordinate point and ensure the accuracy and consistency of the marking, which requires a lot of human resources and is easily affected by subjective factors. Summary of the invention

[0003] In view of the above problems, the present invention provides a coordinate marking and coordinate exporting method and system for a terminal device based on a CAD tool, an electronic device and a storage medium.

[0004] According to a first aspect of the present invention, a coordinate marking and coordinate exporting method of a terminal device based on a CAD tool is provided, which is applied to a wireless sensing positioning system and is characterized by comprising:

[0005] By communicating with a wireless access point server in the wireless perception positioning system, a device name of a target terminal provided by a wireless controller in the wireless perception positioning system is obtained, and the device name is detected, and the device name is processed based on the detection result so that the device name conforms to a predefined naming specification, wherein the target terminal includes a device connected to the wireless perception positioning system in a wireless manner and a device connected to the wireless perception positioning system in a wired manner;

[0006] Based on the coordinate type of the target terminal, a CAD tool is used to create an object block model of the target terminal, and the coordinate information in the design drawing generated by the CAD tool is used to mark the attribute information of the object block model;

[0007] The coordinate information of the target terminal is transformed by using the coordinate transformation relationship in the CAD tool, and the transformed coordinate information of the target terminal is exported based on the output format specified by the user.

[0008] According to an embodiment of the present invention, the predefined naming specification includes the building location information of the device, the unique identifier of the device and the room location information of the device.

[0009] According to an embodiment of the present invention, the above-mentioned method of creating an object block model of the target terminal based on the coordinate type of the target terminal by using a CAD tool, and marking the attribute information of the object block model by using the coordinate information in the design drawing generated by the CAD tool includes:

[0010] Determine the boundary information of the area where the target terminal is deployed by using the device name of the target terminal, and classify the coordinate type of the target terminal into a single-object device-single-coordinate type and a single-object device-multiple-coordinate type based on the area boundary information;

[0011] For the single object device-single coordinate type, use the CAD tool to create an object block model of the target terminal, and use the coordinate information in the design drawing generated by the CAD tool to annotate the attribute information of the object block model;

[0012] For the single object device-multiple coordinate type, a CAD tool is used to create an object block model of the target terminal, and the coordinate information in the design drawing generated by the CAD tool is used to annotate the attribute information of the object block model.

[0013] According to an embodiment of the present invention, the above-mentioned determining the boundary information of the area where the target terminal is deployed by using the device name of the target terminal, and dividing the coordinate type of the target terminal into a single-object device-single-coordinate type and a single-object device-multiple-coordinate type based on the area boundary information includes:

[0014] Acquire the device name of the target terminal within a predetermined time range through the wireless sensing positioning system, analyze the acquired device name, and classify the target terminal into a mobile device type and a non-mobile device type;

[0015] If the target terminal is a mobile device type, the room location information contained in the device name is converted into a rectangular graphic representation, and the four endpoints of the rectangular graphic representation are used to formulate a mapping rule of a single-object device-multiple-coordinate type.

[0016] According to an embodiment of the present invention, for the single object device-single coordinate type, using a CAD tool to create an object block model of the target terminal, and using the coordinate information in the design drawing generated by the CAD tool to annotate the attribute information of the object block model includes:

[0017] Using a graphic creation command in a CAD tool to draw an object block model for displaying a target terminal, and naming the object block model using a device name of the target terminal;

[0018] Based on the predefined coordinate export requirements, the attribute information of the object block model is set, and the coordinate information of the object block model is annotated using the coordinate information in the design drawing generated by the CAD tool.

[0019] According to an embodiment of the present invention, for the single object device-multiple coordinate type, using a CAD tool to create an object block model of the target terminal, and using the coordinate information in the design drawing generated by the CAD tool to annotate the attribute information of the object block model includes:

[0020] The multi-coordinate information of the target terminal in the single-object device-multi-coordinate type is attribute-integrated, and the boundary information determined by the multi-coordinate information of the target terminal is annotated in the design drawing generated by the CAD tool.

[0021] According to an embodiment of the present invention, the output format specified by the user includes a format that the CAD tool itself has and a format that is customized by the user.

[0022] According to a second aspect of the present invention, a coordinate marking and coordinate exporting system for a terminal device based on a CAD tool is provided, which is applied to a wireless sensing positioning system and is characterized in that it includes:

[0023] A name specification module is used to communicate with a wireless access point server in the wireless perception positioning system to obtain a device name of a target terminal provided by a wireless controller in the wireless perception positioning system, detect the device name, and process the device name based on the detection result so that the device name conforms to a predefined naming specification, wherein the target terminal includes a device connected to the wireless perception positioning system in a wireless manner and a device connected to the wireless perception positioning system in a wired manner;

[0024] A coordinate annotation module uses a coordinate type based on a target terminal to create an object block model of the target terminal using a CAD tool, and annotates attribute information of the object block model using coordinate information in a design drawing generated by the CAD tool;

[0025] The coordinate export module is used to transform the coordinate information of the target terminal by using the coordinate conversion relationship in the CAD tool, and to export the converted coordinate information of the target terminal based on the output format specified by the user.

[0026] The third aspect of the present invention provides an electronic device, comprising: one or more processors; a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the coordinate labeling and coordinate export method of the terminal device based on the CAD tool.

[0027] The fourth aspect of the present invention also provides a computer-readable storage medium having a computer program or instructions stored thereon, which, when executed by a processor, implements the steps of the coordinate labeling and coordinate export method for the terminal device based on the CAD tool.

[0028] The coordinate marking and coordinate export method of the terminal device based on the CAD tool provided by the present invention utilizes the design drawings in the CAD tool to realize the binding of the terminal device name and coordinate information in the wireless sensing positioning system, and through the standardized operation of the device name, it improves the accuracy of the exported coordinate information of the terminal device, and realizes the efficient marking and export of the coordinate information of the terminal device. Compared with the solutions in the prior art, the above method provided by the present invention can effectively reduce the probability of errors in the coordinate information of the terminal device. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The above contents and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:

[0030] Figure 1 is a flow chart of a coordinate marking and coordinate exporting method of a terminal device based on a CAD tool according to an embodiment of the present invention;

[0031] Figure 2 is a flow chart of terminal device coordinate information sorting according to an embodiment of the present invention;

[0032] Figure 3 is a schematic diagram of editing the attribute information of an object block model by using a CAD tool according to an embodiment of the present invention;

[0033] Figure 4 is a schematic diagram of integrating the coordinate information and attribute information of an object block model by using CAD according to an embodiment of the present invention;

[0034] Figure 5 is a schematic structural diagram of a coordinate marking and coordinate exporting system for a terminal device based on a CAD tool according to an embodiment of the present invention;

[0035] Figure 6 A block diagram of an electronic device suitable for implementing a coordinate marking and coordinate exporting method of a terminal device based on a CAD tool according to an embodiment of the present invention is schematically shown. DETAILED DESCRIPTION

[0036] Below, embodiments of the present invention will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present invention. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of embodiments of the present invention. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of concepts of the present invention.

[0037] The terms used herein are only for describing specific embodiments and are not intended to limit the present invention. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0038] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.

[0039] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0040] It should be noted that the acquisition and processing of the terminal device / user data involved in the present invention have obtained the authorization of the relevant terminal device / user, and necessary confidentiality measures have been taken. At the same time, the CAD tools involved in the present invention have obtained genuine authorization.

[0041] In order to solve the problems in the existing technical solutions, such as low efficiency, high error rate, and reliance on manual operation in the labeling and export of coordinate information of terminal devices in wireless sensing positioning systems, the present invention provides a coordinate labeling and coordinate export method for terminal devices based on CAD tools, which is used to solve the above-mentioned technical problems existing in the prior art.

[0042] Figure 1The present invention is a flowchart of a coordinate marking and coordinate exporting method of a terminal device based on a CAD tool according to an embodiment of the present invention.

[0043] like Figure 1 As shown, the coordinate marking and coordinate export method of the terminal device based on the CAD tool is applied to the wireless sensing positioning system, including operations S110 to S130.

[0044] In operation S110, the device name of the target terminal provided by the wireless controller in the wireless perception and positioning system is obtained by communicating with the wireless access point server in the wireless perception and positioning system, and the device name is detected. The device name is processed based on the detection result so that the device name conforms to a predefined naming specification, wherein the target terminal includes a device connected to the wireless perception and positioning system wirelessly and a device connected to the wireless perception and positioning system by wire.

[0045] Operation S110 is used to clarify the marked terminal device objects in the wireless sensing positioning system, and the efficiency and accuracy of subsequent operations can be improved through naming standardization.

[0046] According to an embodiment of the present invention, the predefined naming specification includes the building location information of the device, the unique identifier of the device and the room location information of the device.

[0047] In operation S120, based on the coordinate type of the target terminal, an object block model of the target terminal is created using a CAD tool, and attribute information of the object block model is annotated using coordinate information in a design drawing generated by the CAD tool.

[0048] Terminal devices may be fixed devices, that is, devices that are fixed in a certain period of time, so their coordinates are relatively single; while some terminal devices may be mobile devices, such as mobile phones, PDAs, tablet computers, etc. connected to the wireless sensing positioning system, so their coordinates are diverse and non-fixed. It is necessary to distinguish the coordinate annotation and coordinate export of different types of terminal devices to improve the accuracy of coordinate annotation and coordinate export.

[0049] In operation S130, the coordinate information of the target terminal is transformed using a coordinate transformation relationship in the CAD tool, and the transformed coordinate information of the target terminal is exported based on an output format specified by a user.

[0050] The coordinate information of the design drawings generated by CAD (such as DWG files) may be different from the actual coordinate information of the terminal device. For example, the coordinate information of the terminal device is based on the world coordinate system. Therefore, before exporting the coordinate information, it is necessary to convert between different coordinate systems.

[0051] The following uses AutoCAD as a CAD tool to further explain the above operations S110 to S130 in detail through specific embodiments.

[0052] First, clearly define the objects and object coordinate information to be annotated: clearly define the objects to be annotated in the design drawing and the required coordinate information (x, y, z). Since CAD blocks have their own coordinate information, it is necessary to annotate the blocks with corresponding names, that is, to assign block name attributes, and to bind the object blocks and name attributes in AutoCAD. Secondly, organize the attributes of the annotated objects: clearly annotate the objects with names so that they can correspond to the actual objects in the coordinates exported later. The annotated object names here need to comply with the data specifications. For example, the name specifications will have a significant impact on the use of subsequent data. Finally, realize the coordinate export of the annotated objects: here, you only need to export the coordinates of the objects according to the automatic coordinate export function provided by AutoCAD, but you need to pay attention to the following points: (1) The required data formats AutoCAD provides include excel, csv, etc., just select the appropriate one; (2) When exporting objects, be sure to check the name attribute of the object, that is, the name attribute created in step 1; (3) The exported object coordinates are AutoCAD world coordinates. If relative coordinates are required, the coordinates need to be converted by formula in the last step of the export.

[0053] The coordinate marking and coordinate export method of the terminal device based on the CAD tool provided by the present invention utilizes the design drawings in the CAD tool to realize the binding of the terminal device name and coordinate information in the wireless sensing positioning system, and through the standardized operation of the device name, it improves the accuracy of the exported coordinate information of the terminal device, and realizes the efficient marking and export of the coordinate information of the terminal device. Compared with the solutions in the prior art, the above method provided by the present invention can effectively reduce the probability of errors in the coordinate information of the terminal device.

[0054] Taking AutoCAD (not limited to AutoCAD) as an example, the above method provided by the present invention fully utilizes the flexibility of AutoCAD without using additional plug-ins, and standardizes the method through its basic operations, making it more convenient for non-design professionals to operate design drawings, and greatly avoiding the subjective errors of manual data sorting, while greatly optimizing the efficiency of coordinate sorting in design drawings. This method has been widely used in perception and positioning systems, and has identified the locations of up to 400 AP devices and 500 room boundary coordinate information under the specifications of the process method, and successfully sorted and exported coordinates for subsequent system applications.

[0055] According to an embodiment of the present invention, the above-mentioned creating an object block model of the target terminal based on the coordinate type of the target terminal by using a CAD tool, and labeling the attribute information of the object block model by using the coordinate information in the design drawing generated by the CAD tool includes: determining the boundary information of the area where the target terminal is deployed by using the device name of the target terminal, and dividing the coordinate type of the target terminal into a single object device-single coordinate type and a single object device-multiple coordinate type based on the area boundary information; for the single object device-single coordinate type, creating an object block model of the target terminal by using a CAD tool, and labeling the attribute information of the object block model by using the coordinate information in the design drawing generated by the CAD tool; for the single object device-multiple coordinate type, creating an object block model of the target terminal by using a CAD tool, and labeling the attribute information of the object block model by using the coordinate information in the design drawing generated by the CAD tool.

[0056] According to an embodiment of the present invention, the above-mentioned use of the device name of the target terminal to determine the boundary information of the area where the target terminal is deployed, and dividing the coordinate type of the target terminal into a single-object device-single coordinate type and a single-object device-multiple coordinate type based on the area boundary information includes: obtaining the device name of the target terminal within a predetermined time range through a wireless sensing positioning system, and analyzing the obtained device name to divide the target terminal into a mobile device type and a non-mobile device type; for the target terminal belonging to the mobile device type, the room location information contained in the device name is converted into a rectangular graphic representation, and the four endpoints of the rectangular graphic representation are used to formulate a mapping rule for the single-object device-multiple coordinate type.

[0057] According to an embodiment of the present invention, for the single object device-single coordinate type, the object block model of the target terminal is created by using a CAD tool, and the attribute information of the object block model is annotated using the coordinate information in the design drawing generated by the CAD tool, including: using the graphic creation command in the CAD tool to draw an object block model for displaying the target terminal, and naming the object block model using the device name of the target terminal; based on predefined coordinate export requirements, the attribute information of the object block model is set, and the coordinate information of the object block model is annotated using the coordinate information in the design drawing generated by the CAD tool.

[0058] According to an embodiment of the present invention, for the single object device-multiple coordinate type, the object block model of the target terminal is created using a CAD tool, and the attribute information of the object block model is marked using the coordinate information in the design drawing generated by the CAD tool, including: integrating the attributes of the multi-coordinate information of the target terminal in the single object device-multiple coordinate type, and marking the boundary information determined by the multi-coordinate information of the target terminal in the design drawing generated by the CAD tool.

[0059] According to an embodiment of the present invention, the output format specified by the user includes a format that the CAD tool itself has and a format that is customized by the user.

[0060] In order to better understand the above method provided by the present invention, AutoCAD is now taken as an example, and combined with the attached Figures 2~4 The above method provided by the present invention is further described in detail.

[0061] Figure 2 It is a flow chart of terminal device coordinate information sorting according to an embodiment of the present invention.

[0062] Figure 3 It is a schematic diagram of editing the attribute information of an object block model by using a CAD tool according to an embodiment of the present invention.

[0063] Figure 4 It is a schematic diagram of integrating the coordinate information and attribute information of an object block model by using CAD according to an embodiment of the present invention.

[0064] Here we use the basic equipment data collection in the wireless sensing positioning system as an example, which includes two specific examples: single object single coordinate information (ap, Access Point: wireless access point) and single object multi-coordinate information (room boundary). The process reference is Figure 1 .

[0065] like Figure 2 As shown, first, communicate with the network center (AP deployment server) to determine the name of the device provided by the AC (Access Controller: wireless controller), with a standardized naming format. For example: xkl1-11258-a403, xkl1-> No. 1 Academic Building, 11258 is the only representation of the AP device, and a403 means that the AP is roughly located near the a403 room. Here, 11258 is used to identify the AP. Determine the boundaries of the deployment area (the example uses a rectangle as the four points of the room, formulates the mapping rules of single object multiple coordinates, one room has four points, the same name - room name).

[0066] Secondly, in the use of single object single coordinate (ap coordinate annotation), the ap device name in the drawing is annotated according to the reference provided by AC, such as xkl1-11258-a403, the ap name is marked as "ap11258", and the ap device block is created in CAD. The ap display model takes a rectangle as an example. In fact, the object model can be changed, (REC command) draw the ap display model. (ATTDEF command) Add block attributes, specific configuration reference Figure 2 , where the text height is adjusted based on the actual display effect, and then the attributes and the position of the ap display model are adjusted. (B command) Reference Figure 3Integrate the AP model and block properties, where the name is the name of the object to be exported later. Click the point to set the coordinate base of the model. To select the object, select the AP model and properties and press the space bar to confirm. At this time, the block setting of the AP device is completed.

[0067] Use the AP model just set to identify the actual AP location, determine the AP location, and automatically pop up the "Edit Properties" interface to set the AP name for the AP just placed. Enter it according to the AC specification, such as xkl1-11258-a403 specifies the AP name as ap11258. In the scenario where a single object and a single coordinate require a vertical coordinate, the following operations are used: (ctrl + 1 command) Since the CAD drawing requires additional annotations for the Z coordinate, add the Z coordinate information to the deployed AP device. The default unit is millimeters. Here, the AP is three meters high for ceiling mounting.

[0068] In single object multiple coordinates, set properties, integrate properties into blocks, mark the "room boundary" block on the drawing. For the specific operation process, refer to single object single coordinate. The multiple coordinates of the object are corresponded to the single object through the same name.

[0069] Finally, the export of CAD data takes the most common but not limited to Excel tables as an example. AP is mainly exported (ap attributes, x coordinates, y coordinates, z coordinates), and room boundaries are mainly exported (room name, x coordinates, y coordinates). Note: The exported coordinates are world coordinates. Here, the functional relationship between the current target coordinates and the world coordinates must be determined. According to the functional relationship from the world coordinates to the current target coordinates, x\y\z is converted. The origin of the exported relative coordinate system is offset 300 mm downward relative to the y direction of the AutoCAD world coordinate system. Check the public column at the corresponding exported y coordinate, and use the formula "<position Y> +300" to achieve the coordinate conversion from the world coordinate system to the relative coordinate system. Finally, optimize the content format of the data output and hide unnecessary content.

[0070] Figure 5 It is a structural schematic diagram of a coordinate marking and coordinate exporting system of a terminal device based on a CAD tool according to an embodiment of the present invention.

[0071] like Figure 5 As shown, the coordinate labeling and coordinate exporting system 500 of the terminal device based on the CAD tool is applied to the wireless sensing positioning system, and includes a name standardization module 510, a coordinate labeling module 520 and a coordinate exporting module 530.

[0072] The name specification module 510 is used to communicate with the wireless access point server in the wireless perception positioning system, obtain the device name of the target terminal provided by the wireless controller in the wireless perception positioning system, detect the device name, and process the device name based on the detection result so that the device name conforms to the predefined naming specification, wherein the target terminal includes a device connected to the wireless perception positioning system by wireless means and a device connected to the wireless perception positioning system by wired means. The name specification module 510 can be used to perform the operation S110 described above, which will not be repeated here.

[0073] The coordinate annotation module 520 uses the coordinate type based on the target terminal to create an object block model of the target terminal using a CAD tool, and annotates the attribute information of the object block model using the coordinate information in the design drawing generated by the CAD tool. The coordinate annotation module 520 can be used to perform the operation S120 described above, which will not be repeated here.

[0074] The coordinate export module 530 is used to transform the coordinate information of the target terminal using the coordinate conversion relationship in the CAD tool, and export the converted coordinate information of the target terminal based on the output format specified by the user. The coordinate export module 530 can be used to perform the operation S130 described above, which will not be repeated here.

[0075] According to an embodiment of the present invention, any multiple modules of the name specification module 510, the coordinate annotation module 520, and the coordinate export module 530 can be combined into one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present invention, at least one of the name specification module 510, the coordinate annotation module 520, and the coordinate export module 530 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or encapsulating the circuit, or implemented in any one of the three implementation methods of software, hardware, and firmware, or in any appropriate combination of any of them. Alternatively, at least one of the name specification module 510, the coordinate annotation module 520, and the coordinate export module 530 can be at least partially implemented as a computer program module, and when the computer program module is run, the corresponding function can be executed.

[0076] Figure 6A block diagram of an electronic device suitable for implementing a coordinate marking and coordinate exporting method of a terminal device based on a CAD tool according to an embodiment of the present invention is schematically shown.

[0077] like Figure 6 As shown, the electronic device 600 according to an embodiment of the present invention includes a processor 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 to a random access memory (RAM) 603. The processor 601 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 601 may also include an onboard memory for caching purposes. The processor 601 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present invention.

[0078] In RAM 903, various programs and data required for the operation of electronic device 600 are stored. Processor 601, ROM 602 and RAM 603 are connected to each other via bus 604. Processor 601 performs various operations of the method flow according to the embodiment of the present invention by executing the program in ROM 602 and / or RAM 603. It should be noted that the program can also be stored in one or more memories other than ROM 602 and RAM 603. Processor 601 can also perform various operations of the method flow according to the embodiment of the present invention by executing the program stored in the one or more memories.

[0079] According to an embodiment of the present invention, the electronic device 600 may further include an input / output (I / O) interface 605, which is also connected to the bus 604. The electronic device 600 may further include one or more of the following components connected to the input / output (I / O) interface 605: an input portion 606 including a keyboard, a mouse, etc.; an output portion 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 608 including a hard disk, etc.; and a communication portion 609 including a network interface card such as a LAN card, a modem, etc. The communication portion 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the input / output (I / O) interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage portion 608 as needed.

[0080] The present invention also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiment; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present invention is implemented.

[0081] According to an embodiment of the present invention, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, it may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present invention, the computer-readable storage medium may include the ROM 602 and / or RAM 603 described above and / or one or more memories other than ROM 602 and RAM 603.

[0082] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0083] It will be appreciated by those skilled in the art that the features described in the various embodiments of the present invention may be combined and / or combined in various ways, even if such combinations or combinations are not explicitly described in the present invention. In particular, without departing from the spirit and teachings of the present invention, the features described in the various embodiments of the present invention may be combined and / or combined in various ways. All of these combinations and / or combinations fall within the scope of the present invention.

[0084] The embodiments of the present invention are described above. However, these embodiments are only for the purpose of illustration, and are not intended to limit the scope of the present invention. Although each embodiment is described above, it does not mean that the measures in each embodiment cannot be used in combination advantageously. Without departing from the scope of the present invention, those skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present invention.

Claims

1. A coordinate marking and coordinate exporting method for a terminal device based on a CAD tool, applied to a wireless sensing positioning system, characterized in that: include: By communicating with a wireless access point server in the wireless perception positioning system, a device name of a target terminal provided by a wireless controller in the wireless perception positioning system is obtained, and the device name is detected, and the device name is processed based on the detection result so that the device name conforms to a predefined naming specification, wherein the target terminal includes a device connected to the wireless perception positioning system in a wireless manner and a device connected to the wireless perception positioning system in a wired manner; Based on the coordinate type of the target terminal, using a CAD tool to create an object block model of the target terminal, and using coordinate information in a design drawing generated by the CAD tool to annotate attribute information of the object block model; The coordinate information of the target terminal is transformed by using the coordinate transformation relationship in the CAD tool, and the transformed coordinate information of the target terminal is exported based on an output format specified by a user.

2. The method according to claim 1, characterized in that The predefined naming convention includes the building location information of the device, the unique identifier of the device, and the room location information of the device.

3. The method according to claim 1, characterized in that: Based on the coordinate type of the target terminal, using a CAD tool to create an object block model of the target terminal, and using coordinate information in a design drawing generated by the CAD tool to mark attribute information of the object block model includes: Determining the boundary information of the area where the target terminal is deployed by using the device name of the target terminal, and classifying the coordinate type of the target terminal into a single-object device-single-coordinate type and a single-object device-multiple-coordinate type based on the area boundary information; For the single object device-single coordinate type, using a CAD tool to create an object block model of the target terminal, and using the coordinate information in the design drawing generated by the CAD tool to annotate the attribute information of the object block model; For the single object device-multiple coordinate type, a CAD tool is used to create an object block model of the target terminal, and the attribute information of the object block model is annotated using the coordinate information in the design drawing generated by the CAD tool.

4. The method according to claim 3, characterized in that Determining the area boundary information of the target terminal by using the device name of the target terminal, and classifying the coordinate type of the target terminal into a single object device-single coordinate type and a single object device-multiple coordinate type based on the area boundary information includes: Acquire the device name of the target terminal within a predetermined time range through the wireless sensing positioning system, analyze the acquired device name, and classify the target terminal into a mobile device type and a non-mobile device type; If the target terminal belongs to the mobile device type, the room location information contained in the device name is converted into a rectangular graphic representation, and the mapping rule of the single-object device-multiple-coordinate type is formulated using the four endpoints of the rectangular graphic representation.

5. The method according to claim 3, characterized in that: For the single object device-single coordinate type, using a CAD tool to create an object block model of the target terminal, and using coordinate information in the design drawing generated by the CAD tool to annotate the attribute information of the object block model includes: Using a graphic creation command in the CAD tool to draw an object block model for displaying the target terminal, and naming the object block model using a device name of the target terminal; Based on the predefined coordinate export requirements, the attribute information of the object block model is set, and the coordinate information of the object block model is annotated using the coordinate information in the design drawing generated by the CAD tool.

6. The method according to claim 3, characterized in that For the single object device-multiple coordinate type, using a CAD tool to create an object block model of the target terminal, and using coordinate information in the design drawing generated by the CAD tool to annotate attribute information of the object block model includes: The multi-coordinate information of the target terminal in the single object device-multi-coordinate type is attribute-integrated, and the boundary information determined by the multi-coordinate information of the target terminal is annotated in the design drawing generated by the CAD tool.

7. The method according to claim 1, characterized in that The user-specified output format includes the format of the CAD tool itself and the format customized by the user.

8. A coordinate marking and coordinate exporting system for a terminal device based on a CAD tool, applied to a wireless sensing positioning system, characterized in that: include: A name specification module, used to communicate with a wireless access point server in the wireless perception positioning system, obtain a device name of a target terminal provided by a wireless controller in the wireless perception positioning system, detect the device name, and process the device name based on the detection result so that the device name conforms to a predefined naming specification, wherein the target terminal includes a device connected to the wireless perception positioning system in a wireless manner and a device connected to the wireless perception positioning system in a wired manner; A coordinate annotation module, using a coordinate type based on the target terminal, using a CAD tool to create an object block model of the target terminal, and annotating attribute information of the object block model using coordinate information in a design drawing generated by the CAD tool; The coordinate export module is used to transform the coordinate information of the target terminal by using the coordinate conversion relationship in the CAD tool, and to export the converted coordinate information of the target terminal based on the output format specified by the user.

9. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors execute the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: Executable instructions are stored thereon, and when the instructions are executed by a processor, the processor executes the method according to any one of claims 1 to 7.

Citation Information

Cited By

  • Material information identification statistical method and device based on CAD export, electronic equipment, medium and program product

    CN120764487A