Cassette, cassette reading device, device configuration apparatus and configuration method

By using RGB principle cassettes and cassette reading devices on the device to automatically parse and configure device parameters, it solves the problems of complex and low-efficiency configuration of existing devices, and achieves efficient and accurate device configuration and information confidentiality.

CN113392670BActive Publication Date: 2024-09-17XINJIANG G C ENERGY TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110868237.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-30
Publication Date
2024-09-17
Estimated Expiration
2041-07-30

AI Technical Summary

Technical Problem

Existing equipment configuration operations are complex and inefficient, resulting in high labor costs and configuration errors. In particular, there are great challenges in the configuration process of certain fixed parameter equipment.

Method used

A cassette and cassette reading device based on the RGB principle is designed. By using color blocks of different colors on the cassette to represent device parameter information, and using color sensors and controllers to automatically analyze this information, automatic configuration of the device is achieved.

Benefits of technology

It simplifies the equipment configuration process, reduces labor costs, improves configuration efficiency and accuracy, and enhances the confidentiality of equipment parameter information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113392670B
    Figure CN113392670B
Patent Text Reader

Abstract

The present invention discloses a cassette, a cassette reading device, a device configuration apparatus and a configuration method. The cassette comprises a cassette body, on which an identification area comprising a starting segment and a data storage segment consisting of color blocks is provided. The cassette reading device comprises a box body, in which a cassette reading device is provided. The device comprises a pair of rollers for conveying the cassette and a cassette reading component for reading RGB values ​​of color blocks on the cassette, wherein the component comprises a controller, a color sensor and a trigger component. The device configuration apparatus comprises the above-mentioned cassette and cassette reading device. The configuration method comprises the steps of reading, parsing and configuring RGB values ​​using the above-mentioned cassette and cassette reading device. The cassette, the cassette reading device, the device configuration apparatus and the configuration method in the present application can solve the problems of high labor cost and manpower cost and low configuration efficiency in the configuration of a certain type of existing equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of equipment configuration, and in particular relates to a cassette, a cassette reading device, an equipment configuration apparatus and a configuration method. Background Art

[0002] At present, with the further development of industry, more and more equipment is used. In order to ensure the normal operation of industrial production lines, the equipment needs to be dismantled, inspected and maintained regularly. After the inspection and maintenance, the equipment needs to be reconfigured by the staff. However, the configuration operation of many devices is complicated and the technical requirements of the operators are high. This not only brings a large workload to the staff, but also inevitably there are mistakes in the manual configuration process, which affects the configuration efficiency of the equipment. According to actual on-site operations, at present, for a certain type of equipment, the main parameters of its configuration are relatively fixed. Therefore, designing an equipment configuration device that can be applied to a certain type of equipment is an urgent problem to be solved in this application. Summary of the invention

[0003] The purpose of the present invention is to provide a cassette for configuring device information, a cassette reading device, a device configuration apparatus based on the RGB principle, and a method for configuring device information, so as to solve the problems of high labor cost and manpower cost and low configuration efficiency when configuring a certain type of existing equipment.

[0004] In order to solve the above problems, the present application provides a cassette for configuring device information, comprising a cassette body 1, wherein the cassette body 1 is provided with at least an identification area, wherein the identification area comprises a starting segment 11 and a data storage segment 12, wherein the starting segment 11 is composed of color blocks of the same color, and the data storage segment 12 is composed of color blocks of at least two colors arranged in a certain order, and the color blocks arranged in a certain order can be parsed to obtain parameter information required for the device to be configured.

[0005] As a preferred embodiment of the present application, a positioning area is provided on the cassette body 1, and the positioning area includes multiple groups of positioning blocks 13 whose geometric centers are on a straight line, and each group of positioning blocks 13 corresponds to at least one group of color blocks distributed in the longitudinal or transverse direction. The positioning blocks 13 can be used to position the color blocks of the data storage segment 12.

[0006] As a preferred solution of the present application, the positioning block 13 is a color block of a different color from the color block of the data storage segment 12 or is a light-transmitting hole.

[0007] As a preferred solution of the present application, the data storage segment 12 includes color blocks of four colors: red, green, blue and white.

[0008] In order to solve the above problems, the present application also provides a cassette reading device, which is used for the cassette mentioned above, and includes a box body 2, and a cassette inlet 21 and a cassette outlet are respectively provided on both sides of the box body 2. A cassette reading device is provided in the box body 2, and the cassette reading device includes at least one set of rollers 22 and a cassette reading component 25. There is a channel through which the cassette can pass between the rollers 22, and a motor 24 is connected to the rollers 22. The cassette reading component 25 includes a controller 254, a color sensor 251 and a trigger component. The color sensor 251 can collect the RGB value of a color block in a row or a column on the cassette. The color sensor 251 and the trigger component are both connected to the I / O port of the controller 254. The controller 254 can receive an electrical signal from the trigger component and trigger the color sensor 251 according to the electrical signal to collect the RGB value of the corresponding color block.

[0009] As a preferred solution of the present application, the cassette reading component 25 includes a calibration component, which includes a group of white light sources 253. The group of white light sources 253 is arranged below the color sensor 251 and corresponds to the number and position of the color sensor 251.

[0010] As a preferred solution of the present application, the trigger component includes an encoder 23 and / or a photoelectric component.

[0011] When the trigger component is only the encoder 23, the encoder 23 is arranged on the roller pair 22, and the encoder 23 is connected to the I / O port of the controller 254. The encoder 23 generates an electrical signal to the controller 254 every time it rotates a certain angular displacement. The controller 254 triggers the color sensor 251 to collect the RGB value of the color block according to the electrical signal.

[0012] When the trigger component is only a photoelectric component, a light-transmitting hole is provided on the cassette, and the photoelectric component includes a photoelectric sensor 252 and a calibration light source 255. The cassette can pass between the photoelectric sensor 252 and the calibration light source 255. The photoelectric sensor 252 is connected to the I / O port of the controller 254. After sensing the light from the hole, the photoelectric sensor 252 sends an electrical signal to the controller 254. The controller 254 triggers the color sensor 251 to collect the RGB value of the color block according to the electrical signal.

[0013] When the trigger assembly includes an encoder 23 and a photoelectric assembly, the encoder 23 will generate an electrical signal and transmit it to the controller 254 every time it rotates a specific angular displacement. The controller 254 triggers the color sensor 251 to collect the RGB value of the corresponding color block according to the electrical signal. When the photoelectric sensor 252 in the photoelectric assembly senses that a light source enters the orifice at a certain moment, it sends an enable signal to the controller 254. The controller 254 calibrates the encoder 23 according to the enable signal.

[0014] And / or, the controller 254 is connected to a device processing unit of the device, and the controller 254 writes the parsed parameter information into the device processing unit to implement the configuration operation.

[0015] In order to solve the above problems, the present application also provides a device configuration apparatus based on the RGB principle, characterized in that it includes the above-mentioned cassette and the above-mentioned cassette reading device.

[0016] In order to solve the above problem, the present application also provides a method for configuring device information, wherein the device used in the method includes the above-mentioned cassette and the above-mentioned cassette reading device, wherein the cassette reading device is preset with a correspondence between the RGB value of each color block on the cassette and the parameter information required for using the current device;

[0017] The specific steps include:

[0018] S1: Put the cassette into the box body 2 through the cassette entrance and make the end of the cassette with the starting section 11 located in the channel of the roller 22;

[0019] S2: Start the motor 24 and the cassette reading device. When the motor 24 drives the roller 22 to rotate, the cassette can be dragged to one side of the cassette outlet under the action of the roller 22. The trigger component generates an electrical signal at a specific time and sends the electrical signal to the controller 254. The controller 254 triggers the color sensor 251 according to the electrical signal to collect the RGB value of the color block located below it and transmits it to the controller 254. The controller 254 parses the multiple groups of RGB values ​​collected by the multiple color sensors 251 to obtain the parameter information required to configure the current device;

[0020] S3: Automatically configure the device using the parsed parameter information.

[0021] As a preferred solution of the present application, before step S1, it further includes: calibrating each color sensor 251 using white light, where the white light comes from a white light source 253 that is arranged below the color sensor 251 and corresponds to the number and position of the color sensors 251;

[0022] In step S2, the method in which the controller 254 parses the RGB value to obtain the parameter information required to configure the current device includes: the controller 254 filters the RGB value collected by the color sensor 251 and represents it with a binary code, and finally obtains the parameter information required to use the current device according to the binary code;

[0023] In step S2, the trigger component includes an encoder 23 and / or a photoelectric component:

[0024] When the trigger component is only the encoder 23, the encoder 23 will generate an electrical signal and transmit it to the controller 254 every time it rotates a specific angular displacement. The controller 254 triggers the color sensor 251 to collect the RGB value of the corresponding color block according to the electrical signal;

[0025] When the trigger component is only a photoelectric component, a light-transmitting hole is provided on the cassette, and the relationship between the positions of the color blocks in each row or column on the cassette and the holes is provided in the cassette reading device, specifically including: the cassette moves synchronously with the roller pair 22, and when a light source passes through the hole at a certain moment, the photoelectric sensor 252 senses the light source and sends an electrical signal to the controller 254, and the controller 254 triggers the color sensor 251 according to the electrical signal to collect the RGB value of the corresponding color block;

[0026] When the trigger component includes an encoder 23 and a photoelectric component, a plurality of light-transmitting holes are provided on the cassette, and the relationship between the angular displacement of the encoder 23 and the position of each hole is provided in the cassette reading device. Each time the encoder 23 rotates a specific angular displacement, an electrical signal will be generated and transmitted to the controller 254. The controller 254 triggers the color sensor 251 to collect the RGB value of the corresponding color block according to the electrical signal. At the same time, the photoelectric sensor 254 in the photoelectric component sends an enable signal to the controller 254 when it senses that a light source enters the hole at a certain moment. The controller 254 calibrates the encoder 23 according to the enable signal.

[0027] In step S3, the step of automatically configuring the device according to the parsed parameter information includes: the controller is connected to the device processing unit of the device, and the controller writes the parsed parameter information into the device processing unit of the device to complete the configuration operation.

[0028] Compared with the prior art, the advantages of the cassette for configuring device information in the present application include: compared with the existing computers, USB flash drives, etc. that store the parameter information required for the device to be configured, the parameter information required for the device to be configured is represented by color blocks of different colors, which is not only easy to carry, but also does not worry about parameter information leakage. While facilitating use by staff, it also enhances the confidentiality of device parameter information.

[0029] Compared with the prior art, the cassette reading device in the present application only requires one person to complete the cassette reading operation, and during the reading operation, the RGB values ​​of the color blocks on the cassette are automatically read and analyzed by the device without manual setting. This not only saves labor costs, but also improves data reading efficiency and accuracy.

[0030] Compared with the prior art, the device configuration device based on the RGB principle in the present application includes the above-mentioned cassette and cassette reading device. The use of the cassette and cassette reading device can not only quickly realize the configuration of the device, but also has high configuration efficiency. At the same time, the configuration device is easy to carry, simple to operate, and has good confidentiality performance for the device configuration information.

[0031] Compared with the prior art, the method for configuring device information in the present application is different from the prior art in which people manually configure the device by carrying a computer or a USB flash drive. Instead, a cassette reading device is installed on the device, and the cassette reading device is used to read the RGB value of the color block in the cassette and parse the parameter information required for the device to be configured according to the RGB value to realize the device configuration. This method does not require manual configuration by people, and the entire reading, parsing and configuration process are automatically completed by the device. Therefore, the device configuration method in the present application not only improves the efficiency of device configuration, but also saves labor costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 This is a schematic diagram of the main structure of a cassette provided in Embodiment 1 of the present invention.

[0033] Figure 2 This is a schematic diagram of the main structure of another cassette provided in the first embodiment of the present invention.

[0034] Figure 3 This is a schematic diagram of the structure of the color block after preliminary analysis provided by the first embodiment of the present invention.

[0035] Figure 4 This is a side structural schematic diagram of a cassette reading device provided in Embodiment 2 of the present invention.

[0036] Figure 5 The second embodiment of the present invention provides Figure 4 A is a partial enlarged view of the figure.

[0037] Figure 6 This is a side structural schematic diagram of another cassette reading device provided in Embodiment 2 of the present invention.

[0038] Figure 7 This is a schematic diagram of the top structure of a cassette reading device provided in Embodiment 2 of the present invention.

[0039] Figure 8 This is a diagram showing the positional relationship between the cassette reading assembly and the color blocks and holes on the cassette provided in the second embodiment of the present invention.

[0040] Fig. 9 This is a control structure diagram of the cassette reading component 25 provided in the second embodiment of the present invention.

[0041] Fig.10This is a schematic diagram of the three-dimensional structure of a cassette reader with a cassette inserted therein provided in the third embodiment of the present invention.

[0042] Reference numerals

[0043] Cassette body 1, starting section 11, white color block 111, data storage section 12, red color block 121, green color block 122, blue color block 123, positioning block 13, box body 2, cassette inlet 21, rollers 22, encoder 23, motor 24, cassette reading component 25, color sensor 251, photoelectric sensor 252, white light source 253, controller 254, calibration light source 255. DETAILED DESCRIPTION

[0044] Embodiment 1:

[0045] The present embodiment provides a cassette for configuring device information, the cassette comprising a cassette body 1, the present embodiment preferably the cassette body 1 is made of a material that is resistant to wear and oil, the cassette body 1 is provided with an identification area, the identification area comprises a starting section 11 and a data storage section 12, the starting section 11 is composed of blocks of the same color, the present embodiment preferably comprises a white block 111, the data storage section 12 is composed of blocks of at least two colors arranged in a certain structure, in order to be able to store more information, the present embodiment preferably comprises four types of blocks of red, green, blue, and white colors 111, and the blocks of the four colors are arranged in the form of multiple rows and columns, see Figure 1-2 Of course, when the amount of information is large, more than four color blocks can be selected; in this embodiment, the RGB corresponding to the four colors of red, green, blue and white are (255, 0, 0), (0, 255, 0), (0, 0, 255), (255, 255, 255), respectively. Figure 3 , taking the arrangement of four colors in the form of eight rows and one column as an example to illustrate how to parse out the parameter information required for the device to be configured according to the RGB indicator, for the convenience of explanation, it is preferred that the color blocks of the four colors of red, green, blue and white are represented by 0, 1, 2, and 3. The RGB values ​​of the four colors can be used to parse out a binary code containing 100 010 001 111 100 001 111 010, and the binary code can be parsed by a computer to obtain the parameter information required for the device to be configured (this part of the content is mainly completed in the ribbon reading device, so the relationship between the above code and the parameter information required for the device to be configured needs to be written into the control program in advance. This embodiment is mainly for illustrating the arrangement of the color blocks on the ribbon, and the program part is not specifically described). In this embodiment, the parameter information required for the device to be configured includes but is not limited to configuration parameters, operation mode, verification information, product information, and purchase information.

[0046] Furthermore, in the present embodiment, a positioning area is provided on the cassette body 1, and the positioning area includes a plurality of groups of positioning blocks 13 whose geometric centers are on a straight line, and each group of positioning blocks 13 corresponds to at least one group of color blocks distributed in the longitudinal or transverse direction. In the present embodiment, when the cassette is moved transversely during use, preferably each group of positioning blocks 13 corresponds to one or two groups of color blocks distributed in the transverse direction, and when the cassette is moved longitudinally during use, preferably each group of positioning blocks 13 corresponds to one or two groups of color blocks distributed in the longitudinal direction. In order to improve the accuracy of positioning, in the present embodiment, preferably each group of positioning blocks 13 corresponds to one group of color blocks. When in use, the number of color block groups corresponding to the positioning blocks 13 can be determined by collecting the number of positioning blocks 13. Therefore, the positioning blocks 13 can be used to locate the color blocks of the data storage segment 12, thereby avoiding the problem of missing color blocks and improving the efficiency of color block collection.

[0047] In this embodiment, for accurate positioning, it is preferred that multiple groups of positioning blocks 13 are arranged at a fixed interval, and the shape, size, etc. of the positioning blocks 13 are all the same.

[0048] In the present embodiment, the positioning block 13 is a color block of a color different from that of the color block of the data storage segment 12 or is a light-transmitting opening. When the positioning block 13 is a color block, during use, the number of positioning blocks 13 passed through is determined by collecting the number of colors of the color block, and then the number of color blocks of the data storage segment 12 collected is determined. When the positioning block 13 is a light-transmitting opening, a photoelectric component is required during use. The number of light transmittances of the opening collected by the photoelectric component can determine the number of positioning blocks 13 passed through and then the number of color blocks of the data storage segment 12 collected. In the present embodiment, the shape of the opening can be the center of a circle, a square or a regular polygon.

[0049] In this embodiment, a pad for increasing friction is preferably provided on the back side of the cassette (the side opposite to the color block), and the pad is provided with rice-grain-shaped protrusions. The pad not only facilitates the use of the cassette, but also has a limiting effect.

[0050] From the above analysis, it can be seen that in this embodiment, the parameter information required by the device to be configured is represented by the color blocks on the cassette.

[0051] Compared with the existing use of computers, USB flash drives, etc., it is not only easy to carry, but also does not worry about information leakage. It is convenient for staff to use while enhancing the confidentiality of equipment parameter information.

[0052] Embodiment 2:

[0053] This embodiment provides a cassette reading device, in particular, for reading the cassette described in Embodiment 1, the device comprises a box body 2, the two sides of the box body 2 are respectively provided with a cassette inlet 21 and a cassette outlet, the box body 2 is provided with a cassette reading device, the cassette reading device comprises at least one set of rollers 22 and a cassette reading component 25, see Figure 4-7In this embodiment, the rollers 22 preferably include two groups, active and passive, with a passage for the tape to pass through between the rollers 22 and a motor 24 connected to the active rollers 22. The tape reading assembly 25 is disposed at the front end of the active rollers 22. Figure 4 , or, the tape reading assembly 25 is disposed between the active and driven rollers 22, see Figure 6 In this embodiment, the setting position of the cassette reading component 25 can be determined according to the length of the starting section 11 of the cassette. In this embodiment, the cassette reading component 25 is preferably set at the front end of the active roller 22 and fixed to the top of the box body 2. Of course, it can also be fixed at the bottom, front end or rear end of the box body 2. It is specifically determined according to the direction in which the front side of the cassette (the side with the color block) enters the box body 2. The cassette reading component 25 includes a controller 254, a color sensor 251 and a trigger component. There are multiple color sensors 251, which are all located above the front side of the cassette. There is a color block corresponding to the bottom of each color sensor 251, that is, each color sensor 251 can collect the RGB values ​​of all color blocks located in the same row as the color block below it, see Figure 8 , the color sensor 251 and the trigger assembly are both connected to the I / O port of the controller 254, see Fig. 9 When in use, the controller 254 receives the electrical signal of the trigger component, and triggers the color sensor 251 to collect the RGB value of the corresponding color block according to the electrical signal. At the same time, the multiple groups of RGB values ​​collected by the multiple color sensors 251 are parsed into parameter information required for the device to be configured, and the parameter information is sent to the device processing unit of the device to implement the configuration operation, or the controller 254 transmits the RGB value collected by the color sensor 251 to the device processing unit of the device for parsing and real-time configuration operation. In this embodiment, the controller 254 is preferably connected to the device processing unit of the device, and the controller 254 writes the parsed parameter information into the device processing unit to implement the configuration operation.

[0054] In this embodiment, a filter is provided in the controller 254, and the filter converts the RGB value into a binary code after filtering. For example, the filter filters the RGB value of (250, 50, 100) into (255, 0, 0), and represents the filtered RGB value with binary 100. The controller 254 is provided with a program for the binary code and the parameter information required for the device to be configured, and the parameter information can be parsed through the binary code.

[0055] In this embodiment, in order to increase the friction between the pair of rollers 22 and the cassette, it is preferred that a pad is provided on the outer surface of the active and / or driven pair of rollers 22, and the pad is provided with rice-grain-shaped protrusions. The pad can be used to increase the friction between the pair of rollers 22 and the cassette, thereby facilitating the transmission of the cassette and preventing the cassette from slipping and affecting the collection accuracy.

[0056] Furthermore, in this embodiment, in order to improve the reading efficiency of the color sensor 251 and reduce the reading error caused by the color sensor 251, it is preferred that the cassette reading component 25 includes a calibration component, which includes a group of white light sources 253. The group of white light sources 253 is arranged below the color sensor 251 and corresponds to the number and position of the color sensor 251. Before starting to read the cassette, the color sensor 251 can be calibrated by the white light.

[0057] Furthermore, in this embodiment, the trigger component includes an encoder 23 and / or a photoelectric component.

[0058] When the trigger component is only the encoder 23, the encoder 23 is set on one of the rollers of the active pair of rollers 22, and the encoder 23 is connected to the I / O port of the controller 254. When in use, the encoder 23 will generate an electrical signal to the controller 254 after each rotation of a certain angular displacement. The controller 254 triggers the color sensor 251 to collect the RGB value of the color block according to the electrical signal.

[0059] When the trigger component is only a photoelectric component, a light-transmitting hole is provided on the cassette. The photoelectric component includes a photoelectric sensor 252 and a calibration light source 255. In this embodiment, the photoelectric sensor 252 and the cassette reading component 25 are preferably arranged on the same side, and the calibration light source 255 is arranged on the opposite side of the photoelectric sensor 252. The cassette can pass between the photoelectric sensor 252 and the calibration light source 255. The photoelectric sensor 252 is connected to the I / O port of the controller 254. When in use, the photoelectric sensor 252 sends an electrical signal to the controller 254 after sensing the light source from the hole. The controller 254 triggers the color sensor 251 to collect the RGB value of the color block according to the electrical signal.

[0060] When the trigger component includes an encoder 23 and a photoelectric component, the encoder 23 will generate an electrical signal and transmit it to the controller 254 every time it rotates a specific angular displacement. The controller 254 triggers the color sensor 251 according to the electrical signal to collect the RGB value of the corresponding color block. When the photoelectric sensor 252 in the photoelectric component senses that a light source enters the orifice at a certain moment, it sends an enable signal to the controller 254. The controller 254 calibrates the encoder 23 according to the enable signal. For example, when the orifice is located at A, the corresponding angular displacement of the encoder 23 should be B. When the orifice is determined to be located at A according to the enable signal, but the angular displacement of the encoder 23 offsets B, at this time, the controller 254 calibrates the angular displacement of the encoder 23 to B, thereby improving the acquisition accuracy of the encoder 23. That is, when the trigger component includes both the encoder 23 and the photoelectric component, the main function of the photoelectric component is to calibrate the encoder 23 to avoid angular displacement errors in the encoder 23, thereby affecting the acquisition accuracy and efficiency.

[0061] In this embodiment, the trigger component preferably includes an encoder 23 and a photoelectric component.

[0062] In this embodiment, the color sensor 251 includes a white light source 253 part and a color acquisition part, so that the acquisition accuracy of the color acquisition part can be improved. Without considering the size of the device, the color sensor 251 in this embodiment can be a TCS3200 sensor.

[0063] In this embodiment, one color card reading device can be used for a certain type of devices with the same parameter information, or one color card reading device can be installed for each device (including devices with the same parameter information). In this embodiment, one color card reading device is preferably used for a certain type of devices with the same parameter information, which can save usage costs.

[0064] When the present embodiment is in use, the ribbon reading device is fixed on the device and connected to the device processing unit of the device. The cassette is placed in the box body 2 through the cassette inlet 21, the motor 24 and the cassette reading assembly 25 are started, and the cassette moves to one side of the cassette outlet driven by the rollers 22. The encoder 23 on the cassette reading assembly 25 generates an electrical signal and transmits it to the controller 254 every time it rotates a specific angular displacement. The controller 254 triggers the color sensor 251 to collect the RGB value of the corresponding color block according to the electrical signal until the RGB value of all color blocks is read. At the same time, the photoelectric sensor 252 in the photoelectric assembly sends an enable signal to the controller 254 when it senses that a light source enters the orifice. The controller 254 calibrates the encoder 23 according to the enable signal (the controller 254 can pre-store the relationship between the angular displacement of the encoder 23 and the position of the orifice). The controller 254 filters all the RGB values ​​collected by the color sensor 251 through a filter and represents them in binary code, and uses the binary code to obtain the parameter information required for the device to be configured.

[0065] In summary, in this embodiment, the cassette reading device only requires one person to complete the cassette reading operation, and during the reading operation, the RGB values ​​of the color blocks on the cassette are automatically read and analyzed by the device without manual setting. This not only saves labor costs, but also improves data reading efficiency and accuracy.

[0066] Embodiment 3:

[0067] This embodiment provides a device configuration apparatus based on the RGB principle, which includes the cassette described in Embodiment 1 and the cassette reading device described in Embodiment 2. Fig.10 The use of the cassette and the cassette reading device can not only quickly realize the configuration of the device, but also has high configuration efficiency. At the same time, the configuration device is easy to carry, simple to operate, and has good confidentiality performance for the device configuration information.

[0068] Embodiment 4:

[0069] This embodiment provides a device information configuration method, the device used in the method includes the cassette described in Embodiment 1 and the cassette reading device described in Embodiment 2, the cassette reading device is preset with a correspondence between the RGB values ​​of each color block on the cassette and the parameter information required for using the current device, and the cassette reading device can be pre-installed on the current device;

[0070] The specific steps include:

[0071] S1: Put the cassette into the box body 2 through the cassette entrance and make the end of the cassette with the starting section 11 located in the channel of the roller 22. In this embodiment, before this step, it also includes: calibrating each color sensor 251 using white light, the white light comes from a white light source 253 that is arranged below the color sensor 251 and corresponds to the number and position of the color sensor 251. The color sensor 251 can be calibrated using the white light source 253 to improve its acquisition precision and accuracy;

[0072] S2: Start the motor 24 and the cassette reading device. When the motor 24 drives the roller 22 to rotate, the cassette can be dragged to one side of the cassette outlet under the action of the roller 22. The trigger component generates an electrical signal at a specific time interval and sends the electrical signal to the controller 254. The controller 254 triggers the color sensor 251 according to the electrical signal to collect the RGB value of the color block located below it and transmits it to the controller 254. The controller 254 parses the parameter information required to configure the current device according to the multiple groups of RGB values ​​collected by the multiple color sensors 251. In this embodiment, in this step, the method for the controller 254 to parse the parameter information required to configure the current device according to the RGB value includes: the controller 254 filters the RGB value collected by the color sensor 251 and represents it with binary code, and finally According to the binary code, the parameter information required for using the current device is obtained. In this embodiment, in the process of reading the color card, in order to improve the anti-interference performance and recognition speed, it is preferably set with an RGB value recognition amount threshold. For example, when the recognition amount x>200, x is determined to be 255, and when x<50, x=0 is determined. Specifically, when the read RGB value is (200, 0, 50), the RGB value is processed into (255, 0, 0) through the threshold, and the processed RGB value is represented by binary 100. The controller 254 is provided with a program for the binary code and the parameter information required for the device to be configured, and the parameter information can be parsed through the binary code (writing the program between the binary code and the parameter information is a prior art and is not specifically described in this embodiment);

[0073] S3: Automatically configure the device using the parsed parameter information.

[0074] In this embodiment, in step S2, the trigger component includes an encoder 23 and / or a photoelectric component:

[0075] When the trigger component is only the encoder 23 , the encoder 23 generates an electrical signal every time it rotates a specific angular displacement and transmits it to the controller 254 . The controller 254 triggers the color sensor 251 to collect the RGB value of the corresponding color block according to the electrical signal.

[0076] When the trigger component is only a photoelectric component, a plurality of groups of light-transmitting holes are provided on the cassette, and the relationship between the positions of the color blocks in each row or column on the cassette and the holes is provided in the cassette reading device, specifically including: the cassette moves forward synchronously with the pair of rollers 22, and when a light source passes through the hole at a certain moment, the photoelectric sensor 252 senses the light source and sends an electrical signal to the controller 254, and the controller 254 triggers the color sensor 251 to collect the RGB value of the corresponding color block according to the electrical signal. Of course, the cassette can also be provided with only one light-transmitting hole at the initial position, and the hole serves as the trigger position of the color sensor 251. The subsequent collection of the RGB of the color block can be pre-set in the controller 254.

[0077] When the trigger component includes an encoder 23 and a photoelectric component, a plurality of light-transmitting holes are provided on the cassette, and the relationship between the angular displacement of the encoder 23 and the position of each hole is provided in the cassette reading device. The encoder 23 generates an electrical signal every time it rotates a specific angular displacement and transmits it to the controller 254. The controller 254 triggers the color sensor 251 to collect the RGB value of the corresponding color block according to the electrical signal. When the photoelectric sensor 252 in the photoelectric component senses that a light source enters the hole at a certain moment, it sends an enable signal to the controller 254. The controller 254 generates an electrical signal according to the enable signal and the encoder provided in the cassette reading device. The encoder 23 is calibrated according to the relationship between the angular displacement of 23 and the position of each orifice. For example, when the orifice is at position A, the corresponding angular displacement of the encoder 23 should be B. When the orifice is at position A according to the enable signal, but the angular displacement of the encoder 23 deviates from B, then the controller 254 calibrates the angular displacement of the encoder 23 to B to improve the acquisition accuracy of the encoder 23. That is, when the trigger component includes both the encoder 23 and the photoelectric component, the main function of the photoelectric component is to calibrate the encoder 23 to avoid angular displacement errors of the encoder 23, thereby affecting the acquisition accuracy and efficiency.

[0078] In this embodiment, in step S3, the step of automatically configuring the device according to the parsed parameter information includes: the controller is connected to the device processing unit of the device, and the controller writes the parsed parameter information into the device processing unit of the device to complete the configuration operation. Of course, if the device processing unit has parsing and automatic writing functions, the controller can also send the read RGB value directly to the device processing unit, and the device processing unit will read, write and configure it by itself.

[0079] In summary, the method for configuring device information in this embodiment is different from the existing method of manually configuring the device by carrying a computer or a USB flash drive. Instead, a cassette reading device is installed on the device, and the cassette reading device is used to read the RGB value of the color block in the cassette and parse the parameter information required for the device to be configured according to the RGB value to realize the device configuration. This method does not require manual configuration by humans, and the entire reading, parsing and configuration process is automatically completed by the device. Therefore, the device configuration method in the embodiment not only improves the efficiency of device configuration, but also saves labor costs, and at the same time, improves the confidentiality of device parameter information.

[0080] The above is only an embodiment of the present invention, and the common knowledge such as the known specific structure and characteristics in the scheme is not described in detail here. It should be pointed out that for those skilled in the art, several improvements can be made without departing from the present invention, which should also be regarded as the protection scope of the present invention, and these will not affect the effect of the implementation of the present invention and the practicality of the patent. The scope of protection required by this application shall be based on the content of the claims, and the specific implementation methods and other records in the specification can be used to interpret the content of the claims.

Claims

1. A device configuration device based on RGB principle, characterized in that: The invention comprises a cassette and a cassette reading device, wherein the cassette comprises a cassette body (1), wherein the cassette body (1) is provided with at least an identification area and a positioning area, wherein the identification area comprises a starting section (11) and a data storage section (12), wherein the starting section (11) is composed of color blocks of the same color, wherein the data storage section (12) is composed of color blocks of at least two colors arranged in a certain order, wherein the positioning area comprises a plurality of groups of positioning blocks (13) whose geometric centers are on a straight line, wherein each group of positioning blocks (13) corresponds to at least one group of color blocks distributed in a longitudinal or transverse direction, and the color blocks of the data storage section (12) can be positioned by using the positioning blocks (13); wherein the cassette reading device comprises a box body (2), wherein two sides of the box body (2) are provided with a cassette inlet (21) and a cassette outlet, respectively, wherein a cassette reading device is provided in the box body (2), wherein the cassette reading device comprises At least one set of rollers (22) and a cassette reading component (25), wherein a passage through which a cassette can pass is provided between the rollers (22) and a motor (24) is connected to the rollers (22), wherein the cassette reading component (25) comprises a controller (254), a color sensor (251) and a trigger component, wherein the color sensor (251) can collect RGB values ​​of a color block in a row or a column on the cassette, wherein the color sensor (251) and the trigger component are both connected to an I / O port of the controller (254), wherein the controller (254) can receive an electrical signal from the trigger component and trigger the color sensor (251) according to the electrical signal to collect the RGB values ​​of the color blocks corresponding to the color blocks on the cassette, and wherein the controller (254) can parse out parameter information required for configuring the current device according to multiple sets of RGB values ​​collected by multiple color sensors (251).

2. The device configuration apparatus based on the RGB principle as claimed in claim 1, characterized in that: The positioning block (13) is a light-transmitting opening.

3. The device configuration apparatus based on the RGB principle as claimed in claim 2, characterized in that: The trigger component comprises an encoder (23) and / or a photoelectric component. When the trigger component is only an encoder (23), the encoder (23) is arranged on the roller pair (22), the encoder (23) is connected to the I / O port of the controller (254), and the encoder (23) generates an electrical signal to the controller (254) every time it rotates a certain angular displacement, and the controller (254) triggers the color sensor (251) to collect the RGB value of the color block according to the electrical signal; When the trigger component is only a photoelectric component, the photoelectric component includes a photoelectric sensor (252) and a calibration light source (255), the cassette can pass between the photoelectric sensor (252) and the calibration light source (255), the photoelectric sensor (252) is connected to the I / O port of the controller (254), and the photoelectric sensor (252) sends an electrical signal to the controller (254) after sensing the light source from the orifice, and the controller (254) triggers the color sensor (251) to collect the RGB value of the color block according to the electrical signal; When the trigger component includes an encoder (23) and a photoelectric component, the encoder (23) generates an electrical signal each time it rotates a specific angular displacement and transmits the electrical signal to the controller (254). The controller (254) triggers the color sensor (251) to collect the RGB value of the corresponding color block according to the electrical signal. When the photoelectric sensor (252) in the photoelectric component senses that a light source enters the hole at a certain moment, it sends an enable signal to the controller (254). The controller (254) calibrates the encoder (23) according to the enable signal. And / or, the controller (254) is connected to a device processing unit of the device, and the controller (254) writes the parsed parameter information into the device processing unit to complete the configuration operation.

4. The device configuration apparatus based on the RGB principle as claimed in claim 1, characterized in that: The cassette reading component (25) comprises a calibration component, which comprises a group of white light sources (253). The group of white light sources (253) is arranged below the color sensors (251) and corresponds to the number and position of the color sensors (251).

5. A method for configuring device information, characterized in that: The method is performed by using the device configuration device based on the RGB principle as described in any one of claims 1 to 4 above, wherein the cassette reading device is preset with a correspondence between the RGB value of each color block on the cassette and the parameter information required for using the current device; The specific steps include: S1: inserting the cassette into the box body (2) through the cassette inlet so that the end of the cassette provided with the starting section (11) is located in the channel of the pair of rollers (22); S2: starting the motor (24) and the cassette reading device, the motor (24) driving the roller (22) to rotate, and the cassette can be dragged to one side of the cassette outlet under the action of the roller (22), the trigger component generates an electrical signal at a specific time, and sends the electrical signal to the controller (254), the controller (254) triggers the color sensor (251) according to the electrical signal to collect the RGB value of the color block located below it and transmits it to the controller (254), and the controller (254) parses the multiple groups of RGB values ​​collected by the multiple color sensors (251) to obtain parameter information required to configure the current device; S3: Automatically configure the device using the parsed parameter information.

6. The method for configuring device information according to claim 5, characterized in that: Before step S1, the method further includes: calibrating each color sensor (251) using white light, wherein the white light comes from a white light source (253) arranged below the color sensor (251) and corresponding to the number and position of the color sensors (251); In step S2, the method in which the controller (254) parses the RGB value to obtain the parameter information required to configure the current device comprises: the controller (254) filters the RGB value collected by the color sensor (251) and represents it in binary code, and finally obtains the parameter information required to use the current device according to the binary code; In step S2, the trigger component includes an encoder (23) and / or a photoelectric component: When the trigger component is only the encoder (23), the encoder (23) will generate an electrical signal and transmit it to the controller (254) every time it rotates a specific angular displacement. The controller (254) triggers the color sensor (251) to collect the RGB value of the corresponding color block according to the electrical signal. When the trigger component is only a photoelectric component, the relationship between the positions of the color blocks in each row or column on the cassette and the holes on the cassette is provided in the cassette reading device, specifically including: the cassette moves forward synchronously with the pair of rollers (22), and when a light source passes through the hole at a certain moment, the photoelectric sensor (252) senses the light source and sends an electrical signal to the controller (254), and the controller (254) triggers the color sensor (251) according to the electrical signal to collect the RGB value of the corresponding color block; When the trigger component includes an encoder (23) and a photoelectric component, the relationship between the angular displacement of the encoder (23) and the position of each hole on the cassette is provided in the cassette reading device. Each time the encoder (23) rotates a specific angular displacement, an electrical signal is generated and transmitted to the controller (254). The controller (254) triggers the color sensor (251) to collect the RGB value of the corresponding color block according to the electrical signal. At the same time, when the photoelectric sensor (254) in the photoelectric component senses that a light source enters the hole at a certain moment, it sends an enable signal to the controller (254). The controller (254) calibrates the encoder (23) according to the enable signal. In step S3, the step of automatically configuring the device according to the parsed parameter information includes: the controller is connected to the device processing unit of the device, and the controller writes the parsed parameter information into the device processing unit of the device to complete the configuration operation.