Disclosure of Invention
In view of the shortcomings of the prior art, the present invention provides a room electrical wiring budget system with high accuracy and improved efficiency to solve the problems in the background art.
In order to achieve the purpose, the invention provides the following technical scheme: a room electrical wiring budget system comprising a body and a cloud server, the body including a housing and a circuit board disposed within the housing, wherein the cloud server is provided with a storage space for storing table data and with a real-time updated wire quotation list, the circuit board comprising:
the system comprises a wire selecting module, a cloud server and a data processing module, wherein the wire selecting module is provided with a wire code, the cloud server is provided with a real-time updated wire quotation database corresponding to the wire code of the wire selecting module and used for inquiring quotation in a communication mode, the wire selecting module is in communication connection with the cloud server after selecting a wire, the corresponding real-time updated wire quotation is obtained through the corresponding wire code, and quotation data is output;
the measurement data module is connected with the wire selecting module, the measurement data module is arranged on the shell, and after the wire selecting module obtains the quoted price of the wire, the measurement data module measures the integral wiring length of the room and outputs the wiring length data;
the table counting module is coupled to the measurement data module and the wire selecting module and is in communication connection with the cloud server, receives the wiring length data output by the measurement data module and the quotation data output by the wire selecting module, makes a counting list and outputs the counting list, and sends the counting list data to the cloud server for storage;
and the form printing module receives the statistic list output by the form statistic module and prints the statistic list into a budget list.
As a further improvement of the invention, a keyboard and a display screen are arranged on one side surface of the shell, the keyboard and the display screen are connected with the measurement data module, the wire selection module, the table statistic module and the table printing module, the keyboard directly inputs the length to the measurement data module, selects the wire type to the wire selection module, stores the table statistic module and prints the table printing module, and the display screen displays the wire price of the wire selection module, the measurement length of the measurement data module, the statistic information of the table statistic module and an interactive interface of the table printing module; the keyboard is a thin film panel type keyboard and is tightly attached to the surface of the shell.
As a further improvement of the invention, the measurement data module comprises a code wheel, an encoder and a telescopic measurement line arranged inside the shell; the measuring device is characterized in that a winding shaft and a fixed shaft are arranged in the shell, the winding shaft is rotatably connected to the fixed shaft, one end of the measuring wire is connected with a pull ring, the other end of the measuring wire is fixedly connected to the winding shaft, the code disc is fixedly connected with the winding shaft in a coaxial mode, the encoder is sleeved on the code disc, and the encoder is in communication connection with the measuring data module and used for detecting the rotation of the code disc and transmitting the code disc rotation data to the measuring data module.
As a further improvement of the invention, one end of the winding shaft, which is opposite to the coded disc, is fixedly connected with a spring plate, and a spring is arranged in the spring plate; one end of the clockwork spring is fixedly connected to the wall of the clockwork spring plate, and the other end of the clockwork spring is fixedly connected to the fixed shaft; when the measuring wire is pulled out, the winding shaft rotates anticlockwise to enable the clockwork spring to wind tightly to generate elastic deformation.
As a further improvement of the invention, the form printing module comprises a micro printer and a printer port; the micro printer is arranged inside the shell and is in communication connection with the form printing module so as to read and print form data transmitted from the form counting module to the form printing module, the printer port is arranged on one side face of the shell, a sawtooth strip 5 is arranged on one side edge of the printer port, a printing outlet of the micro printer is arranged in the printer port, and paper printed by the micro printer extends out of the printer port.
As a further improvement of the present invention, a circle of the periphery of the code wheel is provided with code teeth, a connecting shaft is further arranged in the housing, an elastic sheet is connected to the connecting shaft, one end of the elastic sheet is fixedly connected to the housing, the other end of the elastic sheet is fixedly connected to one end of the connecting shaft, a first barb is arranged on the lower side of the code wheel, the first barb is fixedly connected to the other end of the connecting shaft opposite to the elastic sheet, and a hook portion of the first barb hooks the code teeth on the lower side of the code wheel; when the coded disc rotates clockwise, the first barb hooks the code teeth to limit the coded disc to rotate clockwise, so that the winding shaft is limited to rotate.
As a further improvement of the present invention, a button is disposed on the housing, a sliding surface is disposed on a lower side surface of the button, the sliding surface is an inclined surface, and an inclined direction of the inclined surface is that the elastic piece extends obliquely upward toward the first barb; be provided with the extension rod on the connecting axle, the one end fixed connection of extension rod is on the connecting axle, the other end and the sliding surface of extension rod are inconsistent, work as the back is pushed down to the button, the extension rod makes the extension rod push down along with the guide of sliding surface with the inconsistent one end of sliding surface, makes the connecting axle overturn downwards simultaneously to make first barb deviate from between the adjacent sign indicating number tooth.
As a further improvement of the invention, a second barb is further arranged on the connecting shaft, one side surface of the hook part of the second barb is an inclined surface, the inclined direction of the inclined surface is that the first barb extends obliquely upwards towards the elastic sheet, one end of the second barb is fixedly connected to the connecting shaft, and the second barb is arranged on the right side of the coded disc; after the connecting shaft is turned downwards, the second reverse hook is buckled between adjacent code teeth on the right side of the code wheel; when the coded disc rotates clockwise, the inclined plane on one side of the second barb is abutted to the code teeth.
As a further improvement of the invention, the measurement data module further comprises an ultrasonic probe which is fixedly connected with one side surface of the shell, the ultrasonic probe is in communication connection with the measurement data module, and signals acquired by the ultrasonic probe are transmitted to the measurement data module for length calculation.
The method has the advantages that the price quoted by the wire rod in the current time period can be obtained at any time by arranging the wire rod selecting module to communicate with the cloud server, and the data can be stored through the cloud server at any time by arranging the table counting module to communicate with the cloud server, so that various problems caused by data loss due to accidental damage of equipment are avoided, a budget list can be conveniently printed through the table printing module, manual copying of the list is not needed, the working efficiency is improved, manual copying is avoided, and the error rate is reduced; adopt equipment to gather wiring measurement value through the measurement data module to can simulate the wiring form through the measurement data module and measure, it is much higher to compare current manual work use tape measure measurement accuracy, can directly carry out the form system with the length that measures through equipment simultaneously, reduced artifical record and calculation, reduce the error rate that artifical record and calculation produced.
Detailed Description
The invention will be further described in detail with reference to the following examples, which are given in the accompanying drawings.
Referring to fig. 1 to 6, a budget system for electrical wiring of a room includes a machine body 1 and a cloud server 100, the machine body 1 includes a housing 222 and a circuit board disposed in the housing, wherein the cloud server 100 is provided with a storage space for storing table data and with a wire quotation list updated in real time, and the circuit board includes:
the system comprises a wire selecting module 105, wherein the wire selecting module 105 is provided with a wire code, the cloud server 100 is provided with a real-time updated wire quotation database corresponding to the wire code of the wire selecting module 105 and used for inquiring quotation in a communication manner, the wire selecting module 105 is in communication connection with the cloud server 100 after selecting a wire, and obtains a corresponding real-time updated wire quotation through the corresponding wire code and outputs quotation data;
the measurement data module 108, the measurement data module 108 is connected with the wire selecting module 105, the measurement data module 108 is arranged on the shell 222, and after the wire selecting module 105 obtains a wire quotation, the measurement data module 108 measures the overall wiring length of the room and outputs the wiring length data;
a table statistics module 102, wherein the table statistics module 102 is coupled to the measurement data module 108 and the wire selection module 105, and is in communication connection with the cloud server 100, and the table statistics module 102 receives the wire distribution length data output by the measurement data module 108 and the quotation data output by the wire selection module 105, makes a statistical list, outputs the statistical list, and sends the statistical list data to the cloud server 100 for storage;
and a form printing module 103, wherein the form printing module 103 accepts the statistics list output by the form statistics module 102 and prints the statistics list into a budget list.
The cloud server 100 is internally provided with quotations of wires such as optical fibers, copper core shielding control cables, copper core computer cables and copper core copper wire shielding control flexible cables which are updated in real time in advance, the quotations correspond to wire codes of 1A, 2B, 2C and the like in the wire module 105, for example, when the real-time quotation of the optical fibers needs to be inquired, the wire module 105 is selected to send the 1A wire code to the cloud server 100, the cloud server 100 receives the 1A wire code and inquires the real-time quotation of the optical fibers, for example, after inquiring about two yuan per meter of the real-time quotation, the cloud server 100 sends the quotation to the wire module 105, so that the inquiry of the real-time quotation is realized, the corresponding real-time quotation can be inquired through communication between the wire module 105 and the cloud server 100, the wire module 105 and the form counting module 102 can mutually communicate with the cloud server 100 through the GPRS module circuit The measurement data module 108 can be ultrasonic ranging, infrared ranging, laser ranging or keyboard input length, the measurement data obtained by direct detection through equipment has much higher precision and is not easy to make mistakes compared with the existing mode of manually using a tape measure for measurement and needing manual recording, the form statistical module 102 can be a data list algorithm of a processor program in the existing equipment, compared with the existing mode of manually calculating, the manual calculation can be omitted through the form statistical module 102, simultaneously, the form is automatically generated for convenient lookup, the entry is clear, the error rate generated by manual recording and calculation is reduced, and the cloud server 100 can be communicated with, after the data table counted by the table counting module 102 is transmitted to the table printing module 103, the table printing module 103 can print the data table without manually copying a list, so that the working efficiency is improved, manual copying is avoided, and the error rate is reduced.
As a modified specific embodiment, a keyboard 3 and a display screen 2 are arranged on one side surface of the housing 222, the keyboard 3 and the display screen 2 are connected with the measurement data module 108, the wire selection module 105, the form statistic module 102 and the form printing module 103, the keyboard 3 directly inputs the length to the measurement data module 108, selects the wire type to the wire selection module 105, stores the wire type to the form statistic module 102 and prints the form printing module 103, and the display screen 2 displays the wire price of the wire selection module 105, the measurement length of the measurement data module 108, the statistical information of the form statistic module 102 and an interactive interface of the form printing module 103; the keyboard 3 is a thin film panel type keyboard and is closely attached to the surface of the shell 222. The keyboard 3 and the display screen 2 are arranged, so that man-machine interaction is improved, a user can clearly see the measured numerical value table, the budget result, the wire quotation and the like on the display screen 2, and the keyboard 3 is used for conveniently operating the modules. Because the place of measuring with needs is the house of not finishing yet basically, the inside dust of this kind of house is many, operational environment is abominable, the staff is infected with various greasy dirt or dust easily, compare ordinary keyboard, through setting up film panel type keyboard, can reduce inside the dust gets into shell 222, and even be infected with the greasy dirt also can directly carry out surface cleaning through the cleaner, and the waterproof ability on shell 222 surface has also been improved, and film panel type keyboard simple to operate, insert during the installation behind the communication signal line direct laminating can at shell 222's surface, it needs to set up a circuit board specially to compare ordinary keyboard, film panel type keyboard has still reduced manufacturing cost, the internal circuit volume of shell 222 has been reduced.
As a modified specific embodiment, the measurement data module 108 comprises a code disc 10, an encoder 11 and a measuring line 12 which is arranged inside a shell 222 and can stretch; the winding shaft 9 and the fixing shaft 22 are arranged inside the shell 222, the winding shaft 9 is rotatably connected to the fixing shaft 22, one end of the measuring wire 12 is connected with the pull ring 6, the other end of the measuring wire 12 is fixedly connected to the winding shaft 9, the coded disc 10 is coaxially and fixedly connected with the winding shaft 9, the encoder 11 is sleeved on the coded disc 10, and the encoder 11 is in communication connection with the measuring data module 108 and used for detecting the rotation of the coded disc 10 and transmitting the rotation data of the coded disc 10 to the measuring data module 108. Through the structural relation, after the pull ring 6 is pulled, because the pull ring 6 is connected with the winding shaft 9 through the measuring wire 12, the pull ring 6 drives the winding shaft 9 to rotate through the measuring wire 12, and simultaneously, the coded disc 10 coaxially and fixedly connected with the winding shaft 9 also rotates in the same direction, and because the coded disc 10 is sleeved with the encoder 11, and the encoder 11 is in communication connection with the data measuring module 108, the measured data module 108 can detect the number of turns of the coded disc 10 through the signal of the encoder 11, thereby calculating the pulled length of the pull ring 6, and obtaining the measured length of the wiring, through the measuring mode, the wiring measuring process is very simple and convenient, only the pull ring 6 is pulled, the equipment can simulate the wiring to automatically obtain the length of the wiring, and the length is displayed through the display screen 2, is more intuitively reflected to a user, and the manual tape measure is used, after the, measured data are also recorded, and compared with the improvement, the improvement reduces the manual recording process and has high accuracy.
As a modified specific embodiment, one end of the winding shaft 9, which faces away from the code wheel 10, is fixedly connected with a spring plate 20, and a spring 21 is arranged in the spring plate 20; one end of the clockwork spring 21 is fixedly connected to the wall of the clockwork spring plate 20, and the other end of the clockwork spring 21 is fixedly connected to the fixed shaft 22; when the measuring wire 12 is pulled out, the winding shaft 9 rotates counterclockwise to wind the clockwork spring 21 to be elastically deformed. Through the above-mentioned structural relationship, fix the one end of clockwork spring 21 on the wall of the plate of clockwork spring dish 20, the other end is fixed back on fixed axle 22, can drive winding shaft 9 and rotate when pull ring 6 pulls out measuring wire 12, thereby will make clockwork spring 21 wind tightly and produce elastic deformation, make it carry elastic potential energy, through the recovery effect of this kind of elastic potential energy and the clockwork spring 21 of winding tightly, can drive winding shaft 9 and rotate clockwise, thereby withdraw measuring wire 12, manual recovery is compared in this kind of setting of automatic recovery, the trouble of manual recovery has been reduced, the operating time is saved, recovery and next detection have been facilitated.
As a modified specific embodiment, the form printing module 103 includes a micro printer and a printer port 4; the micro printer is arranged inside the shell 222 and is in communication connection with the form printing module 103 so as to read and print form data transmitted from the form counting module 102 to the form printing module 103, the printer port 4 is arranged on one side surface of the shell 222, a sawtooth strip 5 is arranged on one side edge of the printer port 4, a printing outlet of the micro printer is arranged in the printer port 4, and paper printed by the micro printer extends out of the printer port 4. The form printing module 103 transmits the form data to the micro printer, the micro printer reads the form data and prints out the budget list, and the budget list extends out of the printer port 4, because one side of the printer port 4 is provided with the sawtooth strip 5, the budget list can be torn off more easily through cutting of the sawtooth strip 5, and the torn budget list is neat and complete, the phenomenon that the list is damaged and incomplete due to common tearing of the budget list is avoided, and the list is directly printed out, so that the items are simpler and clearer, the volume occupied by the micro printer is small, the size of the device can be reduced, and the micro printer is directly arranged inside the shell 222, so that the micro printer is more convenient to carry without an additional printer device.
As an improved specific embodiment, a circle of the periphery of the code wheel 10 is provided with code teeth 15, a connecting shaft 18 is further arranged in the housing 222, an elastic sheet 32 is connected to the connecting shaft 18, one end of the elastic sheet 32 is fixedly connected to the housing 222, the other end of the elastic sheet 32 is fixedly connected to one end of the connecting shaft 18, a first barb 13 is arranged on the lower side of the code wheel 10, the first barb 13 is fixedly connected to the other end of the connecting shaft 18 opposite to the elastic sheet 32, and a hook portion of the first barb 13 hooks the code teeth 15 on the lower side of the code wheel 10; when the coded disc 10 rotates clockwise, the first barb 13 hooks the code teeth 15 to limit the coded disc 10 to rotate clockwise, so that the winding shaft 9 is limited to rotate. Through foretell relation of connection, drive winding shaft 9 and rotate when measuring line 12 is pulled out to pull ring 6, thereby will make clockwork spring 21 wind and tightly produce elastic deformation, make it carry elastic potential energy, the clockwork spring 21 that winds up this moment has powerful recovering effect, if loosen pull ring 6 carelessly this moment and will lead to measuring line 12 and pull ring 6 to withdraw fast, thereby probably make equipment damage or pull ring 6 pound near people, thereby lead to the safety problem, the first barb 13 that sets up this moment catches on the sign indicating number tooth 15 that sets up on code wheel 10, make code wheel 10 unable rotation, thereby restriction winding shaft 9 rotates clockwise, thereby avoid the production of this kind of safety problem, strengthen the security of equipment.
As a modified specific embodiment, the shell 222 is provided with a button 16, the lower side surface of the button 16 is provided with a sliding surface 19, the sliding surface 18 is an inclined surface, and the inclined surface has an inclined direction in which the elastic piece 32 extends obliquely upward toward the first barb 13; be provided with extension rod 17 on the connecting axle 18, extension rod 17's one end fixed connection is on connecting axle 18, extension rod 17's the other end and slip face 19 are inconsistent, work as the back is pushed down to button 16, extension rod 17 makes extension rod 17 push down along with the guide of slip face 19 with the inconsistent one end of slip face, makes connecting axle 18 upset downwards simultaneously to make first barb 13 deviate from between the adjacent sign indicating number tooth 15. Through the structure relation, after the button 16 is pressed, the slide surface 19 arranged on the lower side surface of the button 16 extrudes one end of the extension rod 17, which is abutted against the slide surface, because the slide surface 19 is an inclined surface, the inclined surface has a guiding effect, then the extension rod 17 slides along the inclined surface, the extension rod 17 is pressed down when sliding along the inclined surface, and also because the other end of the extension rod 17 is fixedly connected with the connecting shaft 18, then the extension rod 17 drives the connecting rod 18 fixedly connected with the elastic sheet 32 to bend downwards, so that the first barb 13 is separated from the adjacent code teeth 15, the drawn-out measuring wire 12 and the pull ring 6 can be retracted after the button 16 is pressed through the operation, compared with the situation that the button 16 is not controlled to be retracted, manual control can be better realized after the button 16 is additionally arranged, the retraction can be realized only by pressing the button 16, and the locking of the current measuring length can be realized without pressing the.
As a modified specific embodiment, the connecting shaft 18 is further provided with a second barb 14, one side surface of the hook portion of the second barb 14 is an inclined surface, the inclined surface has an inclined direction in which the first barb 13 extends obliquely upward toward the elastic sheet 32, one end of the second barb 14 is fixedly connected to the connecting shaft 18, and the second barb 14 is arranged on the right side of the code disc 10; after the connecting shaft 18 is turned downwards, the second inverted hook 14 is buckled between adjacent code teeth 15 on the right side of the code wheel 10; when the code wheel 10 rotates clockwise, the inclined surface of one side of the second barb 14 is abutted with the code tooth 15. Through the above-mentioned structural relationship, since one end of the second barb 14 is fixedly connected to the connecting shaft 18, and the position of the second barb 14 is arranged on the right side of the code wheel 10, when the button 16 is pressed, the connecting shaft 18 elastically connected with the housing 222 is bent, so that the position of the second barb 14 is changed, the second barb 14 is caught between the adjacent code teeth 15 on the right side of the code wheel 10, and when the code wheel 10 rotates clockwise, the code tooth 15 abutting against the second barb 14 is arranged as an inclined surface, so that when the code wheel 10 rotates clockwise, the code tooth 15 presses the inclined surface of the second barb 14, so that the second barb 14 is pressed down, so that the second barb 14 is released from the current adjacent code teeth 15 to the next adjacent code teeth 15, so that after the button 16 is pressed, the first barb 13 is mutually matched with the second barb 14, and the first barb 13 is released from the adjacent code teeth 15 on the lower side of the code wheel 10, the measurement line 12 that makes to stretch out can be withdrawed automatically, and second barb 14 is detained between the adjacent sign indicating number tooth 15 on code wheel 10 right side simultaneously, has the inclined plane of second barb 14 as the buffering when making code wheel 10 retrieve clockwise rotation, thereby reduced the speed of withdrawing, avoided equipment because the equipment damage that the speed of retrieving measurement line 12 and pull ring 6 leads to at the excessive speed, the life of extension equipment, avoided retrieving speed too fast and leaded to pull ring 6 to pound the phenomenon of people.
As a modified specific embodiment, the measurement data module 108 further includes an ultrasonic probe 7, the ultrasonic probe 7 is fixedly connected to one side surface of the housing 222, the ultrasonic probe 7 is in communication connection with the measurement data module 108, and signals acquired by the ultrasonic probe 7 are transmitted to the measurement data module 108 for length calculation. The channel that some hands are difficult to stretch into appears unavoidably in operational environment, and the ultrasonic probe 7 that this improvement set up can measure the back through ultrasonic ranging's mode to above-mentioned channel, and the data transmission that will gather gives data measurement module 108, can realize measuring the distance of the channel that some hands are difficult to stretch into, avoids adopting the mode of estimation owing to can't be difficult to measure, can improve the accuracy.
As a modified specific embodiment, a graduated scale 8 is slidably connected to one side surface of the shell 222; a side surface of the housing 222 is provided with a scale groove 25, a slide rail 24 is arranged on a groove surface on one side of the scale groove 25, a slide block 26 is arranged on one side edge of the scale 8, the slide block 26 is buckled in the slide rail 24, so that the scale 8 slides in the scale groove 25, and a shifting block 23 is arranged on one side of the scale 8. Through the scale 8 that sets up above-mentioned relation of connection, can realize making the unable measuring passageway of ultrasonic wave also measure some passageway diameter undersize, through stirring the flexible of dial block 23 control scale 8, aim at the passageway that needs the measurement with scale recess 25 mouthfuls, scale 8 stretches out when stirring dial block 23, the scale that simultaneously 8 superscripts can directly show the data that record, the numerical value direct input who will show through keyboard 3, avoided because the passageway undersize leads to the unable phenomenon that needs the estimation of measuring, thereby measured precision has been improved.
The above description is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments, and all technical solutions belonging to the idea of the present invention belong to the protection scope of the present invention. It should be noted that modifications and embellishments within the scope of the invention may occur to those skilled in the art without departing from the principle of the invention, and are considered to be within the scope of the invention.