Self-adaptive cutter depth determination method and apparatus, storage medium, and electronic device
By identifying the specifications of the conduit to obtain the appropriate cutting depth, the problem of convenience and accuracy of wire marking machines when cutting conduits of different specifications is solved, and efficient and flexible control of conduit cutting is achieved.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- WUHAN JINGCHEN INTELLIGENT IDENTIFICATION TECH CO LTD
- Filing Date
- 2025-11-26
- Publication Date
- 2026-07-02
AI Technical Summary
When cutting conduits of different specifications, wire marking machines often struggle to achieve the appropriate cutting depth, resulting in cuts that are too deep or too shallow, which affects ease of use and accuracy.
By identifying the specifications of the conduit, the appropriate cutting depth is obtained for cutting. This includes near-field communication identification chips, pre-stored specifications, database queries, and linear correspondence, providing options for half-cut and full-cut cutting depths.
It improves the convenience and accuracy of conduit cutting, reduces manual data input, adapts to various working scenarios, and avoids conduit waste.
Smart Images

Figure CN2025137906_02072026_PF_FP_ABST
Abstract
Description
A method, apparatus, storage medium, and electronic device for adaptive cutting depth
[0001] This application claims priority to Chinese Patent Application No. 202411954467.X, filed on December 27, 2024, entitled "A Cutting Depth Adaptive Method, Apparatus, Storage Medium and Electronic Device", the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of wire marking machine printing technology, and more specifically, to a cutting depth adaptive method, apparatus, storage medium, and electronic device in the field of wire marking machine printing technology. Background Technology
[0003] A wire marking machine is a device used to print characters on various materials, such as secondary wire marking in electrical control and distribution equipment. It is an important tool for identifying wires. While printing characters, the wire marking machine can also cut conduits to segment them. However, due to the wide variety of conduit specifications, diameters, thicknesses, and materials, different specifications of conduits require different cutting depths. If a suitable cutting depth cannot be used, the conduit may be cut too deep or too shallow, causing inconvenience to users. Therefore, a convenient and accurate conduit cutting method is needed. Summary of the Invention
[0004] This application provides a cutting depth adaptive method, apparatus, storage medium, and electronic device. The method can identify the specifications of the conduit and use a suitable cutting depth for cutting, thereby improving the convenience and accuracy of conduit cutting.
[0005] In a first aspect, embodiments of this application provide a cutting depth adaptive method, the method comprising:
[0006] The system detects the cutting command for the conduit to be cut and obtains the target specifications of the conduit.
[0007] Retrieve the target depth of cut corresponding to the target specification from the database.
[0008] The tube to be cut is cut based on the target cutting depth.
[0009] The above technical solution enables the identification of conduit specifications, thereby allowing for the appropriate cutting depth and improving the convenience and accuracy of conduit cutting.
[0010] In conjunction with the first aspect, in some possible implementations, obtaining the target specifications of the conduit to be cut includes:
[0011] The identification chip corresponding to the tube to be cut is detected by near-field communication, and a wireless connection is established with the identification chip.
[0012] Based on the near-field communication method, the target specifications of the tube to be cut are obtained from the identification chip.
[0013] The above technical solution enables the acquisition of target specifications through near-field communication, improving the convenience of acquiring target specifications and further enhancing the efficiency and accuracy of conduit cutting.
[0014] In conjunction with the first aspect, in some possible implementations, obtaining the target specifications of the conduit to be cut includes:
[0015] Retrieve the pre-stored conduit specifications from local storage and determine the pre-stored conduit specifications as the target specifications for the conduit to be cut.
[0016] In conjunction with the first aspect, in some possible implementations, before detecting the cutting command for the conduit to be cut and obtaining the target specifications of the conduit to be cut, the method further includes:
[0017] The system receives conduit specification information sent by a user terminal, and obtains specification values from the conduit specification information. The specification values are either input by the user for the user terminal or obtained by the user terminal based on the coded image corresponding to the conduit to be cut.
[0018] The specified specifications are used as pre-stored conduit specifications and saved in local storage.
[0019] The above technical solution can determine the pre-stored tubing specifications as the target specifications of the tubing to be cut, avoiding frequent identification chip detection and data reading in scenarios where the wire marking machine needs to work continuously, thereby improving the work efficiency of the current working scenarios.
[0020] In conjunction with the first aspect, in some possible implementations, the method further includes:
[0021] The system receives conduit specification update information sent by the user terminal and updates the pre-stored conduit specifications based on the conduit specification update information.
[0022] The above technical solution can update the pre-stored conduit specifications based on the received conduit specification update information, thus meeting the flexible needs of users or staff in conduit cutting scenarios.
[0023] In conjunction with the first aspect, in some possible implementations, obtaining the target depth of cut corresponding to the target specification from the database includes:
[0024] Determine the target specification range corresponding to the target specification.
[0025] Retrieve the target depth of cut corresponding to the target specification range from the database.
[0026] The above technical solution can determine the appropriate cutting depth by using the specification range, which ensures the accuracy of the obtained cutting depth while reducing the amount of data stored in the database and reducing manual data input.
[0027] In conjunction with the first aspect, in some possible implementations, obtaining the target depth of cut corresponding to the target specification from the database includes:
[0028] Obtain the linear correspondence between conduit specifications and cutting depth.
[0029] Based on the linear correspondence, the target depth of cut corresponding to the target specification is obtained.
[0030] The above technical solution can obtain the target cutting depth corresponding to the target specification based on the linear correspondence, reducing the dependence on manual data input. When the specification of the conduit to be cut is not within the range of conduit specifications in the database, the appropriate cutting depth is calculated through the linear relationship, thereby ensuring the accuracy of cutting.
[0031] In conjunction with the first aspect, in some possible implementations, the target cutting depth includes a half-cut cutting depth and a full-cut cutting depth.
[0032] The cutting process of the conduit to be cut based on the target cutting depth includes:
[0033] If the cutting command is a half-cut command, the conduit to be cut is cut based on the half-cut depth.
[0034] If the cutting command is a full cut command, then the conduit to be cut is cut based on the full cut depth.
[0035] The above technical solution allows users or workers to choose between appropriate half-cut and full-cut depths, making conduit cutting more flexible and suitable for various working scenarios.
[0036] In conjunction with the first aspect, in some possible implementations, the method further includes:
[0037] If the target size is not within the size threshold range, an "cannot be cut" message will be output.
[0038] And / or, stop the cutting process for the conduit to be cut.
[0039] And / or, stop the printing process for the tube to be cut.
[0040] And / or, stop performing the movement process for the tube to be cut.
[0041] The above technical solution can avoid erroneous printing, cutting, and moving of conduits when the target specifications are not suitable, thereby avoiding conduit waste.
[0042] Secondly, embodiments of this application provide a cutting depth adaptive device, the device comprising:
[0043] The target specification acquisition unit is used to detect the cutting command for the conduit to be cut and acquire the target specification of the conduit to be cut.
[0044] The depth of cut determination unit is configured to retrieve the target depth of cut corresponding to the target specification from the database.
[0045] The cutting processing unit is configured to cut the conduit to be cut based on the target cutting depth.
[0046] Thirdly, embodiments of this application provide a computer storage medium storing a plurality of instructions adapted for loading by a processor and executing the above-described method steps.
[0047] Fourthly, embodiments of this application provide an electronic device that may include a processor and a memory, wherein the memory stores a computer program adapted to be loaded by the processor and to execute the above-described method steps.
[0048] In one or more embodiments of this application, a cutting command for a conduit to be cut is detected, the target specification of the conduit is obtained, the target cutting depth corresponding to the target specification is retrieved from a database, and the conduit is cut based on the target cutting depth. By identifying the conduit specification, a suitable cutting depth is used for cutting, thus improving the convenience and accuracy of conduit cutting. Attached Figure Description
[0049] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0050] Figure 1 is a schematic diagram illustrating an example of the depth of cutter penetration for a conduit according to an embodiment of this application;
[0051] Figure 2 is a flowchart illustrating a cutting depth adaptive method provided in an embodiment of this application;
[0052] Figure 3 is a schematic diagram of a target specification acquisition process provided in an embodiment of this application;
[0053] Figure 4 is a schematic diagram of a process for pre-storing conduit specifications provided in an embodiment of this application;
[0054] Figure 5 is a schematic diagram of a process for determining the cutting depth according to an embodiment of this application;
[0055] Figure 6 is a schematic diagram of a process for determining the cutting depth according to an embodiment of this application;
[0056] Figure 7 is a schematic diagram of a cutting process provided in an embodiment of this application;
[0057] Figure 8 is a schematic diagram of a cutting depth adaptive device provided in an embodiment of this application;
[0058] Figure 9 is a schematic diagram of a cutting depth adaptive device provided in an embodiment of this application;
[0059] Figure 10 is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Embodiments of the present invention
[0060] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0061] A wire marking machine, also known as a wire marking printer or marking machine, is a device used for marking wiring in electrical control, power distribution equipment, and integrated cabling projects. It can be applied in power, telecommunications, steel, and manufacturing industries. The wire marking machine prints characters on conduits to identify wires and cables. These conduits can be made of materials such as polyvinyl chloride (PVC) tubing, heat shrink tubing, or self-adhesive labels. They serve to protect wires and cables from external damage, ensuring their safety and extending their lifespan. The marked wires and cables clearly display their function, purpose, and specifications, facilitating classification, identification, and maintenance by staff. Furthermore, the wire marking machine often requires cutting the conduit during the marking process, reducing the need for manual cutting and significantly improving efficiency, especially in applications requiring a large number of wire markings. However, due to the diverse specifications of conduits, such as varying diameters, thicknesses, and materials, different specifications of conduits require different cutting depths. If a uniform cutting depth is used for all conduits, some conduits may be cut too deeply, resulting in a complete cut instead of a partial cut. This not only affects the use of the conduit and does not meet the needs of the workers, but may also shorten the lifespan of the cutter. For other conduits, cutting too shallow may make the conduit difficult to break, or conduits that should be completely cut may not be completely cut due to insufficient cutting depth, still not meeting the needs of the workers and even increasing the difficulty of their work.
[0062] This application provides a cutting depth adaptive device that can determine a suitable cutting depth based on the specifications of the wire conduit for cutting. The cutting depth adaptive method provided in this application can be implemented using a computer program and can run on a cutting depth adaptive device based on the von Neumann architecture. This computer program can be integrated into an application or run as a standalone tool application. The cutting depth adaptive device can be a wire marking machine, a module or application program within the wire marking machine for implementing cutting depth adaptation, or an independent electronic device connected to and controlling the wire marking machine for cutting processing. Please refer to Figure 1, which is a schematic diagram illustrating an example of the cutting depth for conduit in this application embodiment. When a user or worker wants to use a wire marking machine to cut the conduit, the conduit can be correctly placed in the inlet of the wire marking machine, and a cutting command for the conduit can be sent to the wire marking machine. When the cutting depth adaptive device detects the cutting command and obtains the specifications of the conduit, it can obtain a cutting depth suitable for the specifications of the conduit and cut the conduit according to the cutting depth, thereby leaving a conduit cut. This makes it easier for the user or worker to break or tear the conduit according to the cut, and to use a cutting depth suitable for the conduit specifications for cutting, thus improving the convenience and accuracy of conduit cutting.
[0063] The cutting depth adaptive method provided in this application will be described in detail below with reference to specific embodiments.
[0064] Please refer to Figure 2, which is a flowchart illustrating a cutting depth adaptive method provided in an embodiment of this application. As shown in Figure 2, the method in this embodiment may include the following steps S101-S103.
[0065] S101, detect the cutting command for the conduit to be cut and obtain the target specifications of the conduit to be cut.
[0066] Specifically, when a user or worker wants to use a wire marking machine to cut the conduit, they can send a cutting command to the machine. This can be done either through the machine's control panel or via a user terminal connected to the machine. For example, the user terminal may have an application installed to control the machine, allowing the user or worker to send the cutting command. The cutting depth adaptive device will only begin cutting the conduit after detecting the cutting command.
[0067] Users or staff can place the conduit to be cut into the inlet of the wire marking machine, allowing the machine to perform cutting and marking processes. The adaptive cutting depth device can acquire the target specifications of the conduit, which can include the conduit's diameter, thickness, and material. For example, the diameter can be the outer diameter of the conduit, and the thickness can be the wall thickness. Different outer diameters of conduits have different wall thickness standards to ensure the conduit's mechanical strength and electrical performance. The material can include PVC, polyethylene (PE), and metals such as carbon steel and stainless steel. The adaptive cutting depth device will only continue the cutting process after detecting the cutting command and acquiring the target specifications. The device can either detect the cutting command first and then acquire the target specifications, or acquire the target specifications first and then detect the cutting command.
[0068] S102, retrieve the target depth of cut corresponding to the target specification from the database.
[0069] Specifically, the cutting depth adaptive device can store the specifications of the conduit and the corresponding appropriate cutting depth in a database. The specifications and cutting depths in the database can be input by users or staff based on historical experience. Therefore, after obtaining the target specifications of the conduit to be cut, the cutting depth adaptive device can obtain the target cutting depth corresponding to the target specifications from the database. The target cutting depth is the appropriate cutting depth for the conduit to be cut.
[0070] S103, cuts the tubing to be cut based on the target cutting depth.
[0071] Specifically, the cutting depth adaptive device can cut the conduit to be cut based on the target cutting depth, that is, leave a cut in the conduit at the target cutting depth, so that users or workers can easily break or tear the conduit according to the cut, thus improving the work efficiency of the workers.
[0072] In this embodiment, a cutting command for the conduit to be cut is detected, the target specification of the conduit is obtained, the target cutting depth corresponding to the target specification is retrieved from a database, and the conduit is cut based on the target cutting depth. By identifying the conduit specification, a suitable cutting depth is used for cutting, improving the convenience and accuracy of conduit cutting.
[0073] Please refer to Figure 3, which is a schematic diagram of a process for obtaining target specifications according to an embodiment of this application. Step S101 may include the following steps:
[0074] S201 uses near-field communication to detect the identification chip corresponding to the tube to be cut and establishes a wireless connection with the identification chip.
[0075] Specifically, each conduit can have a corresponding identification chip, which can store the specifications of the corresponding conduit. When the user or staff places the conduit to be cut at the inlet, the cutting depth adaptive device can use near-field communication to detect the identification chip corresponding to the conduit to be cut and establish a wireless connection with the identification chip.
[0076] Optionally, the identification chip can be a Radio Frequency Identification (RFID) chip, which is an electronic tag that automatically identifies and tracks data using wireless radio frequency signals and can store a certain amount of data. The near-field communication method can be a wireless communication method based on Near Field Communication (NFC) technology. When the cutting depth adaptive device detects the identification chip within the NFC sensing range, it can establish a wireless connection with the chip.
[0077] S202, based on near-field communication, obtains the target specifications of the conduit to be cut from the identification chip.
[0078] Specifically, after establishing a wireless connection, the cutting depth adaptive device can obtain the target specifications of the tube to be cut from the identification chip corresponding to the tube to be cut based on near-field communication. That is, as long as the tube to be cut is close to the near-field communication module of the wire marking machine, the cutting depth adaptive device can communicate with the identification chip and read the target specifications stored in the identification chip. This makes the acquisition of target specifications fast and accurate, freeing workers from tedious manual adjustment and measurement work, thereby improving production efficiency and providing workers with a convenient and intelligent working environment.
[0079] Optionally, in addition to the target specifications of the conduit to be cut, the identification chip can also contain material parameter information of the conduit, such as the production date, batch number, pressure resistance, wear resistance, acid and alkali resistance, temperature resistance, tensile strength, compressive strength, and flame retardant rating. The cutting depth adaptive device can obtain the material parameter information of the conduit to be cut from the identification chip based on near-field communication and display the material parameter information to prompt the user or staff about the performance of the conduit to be cut, facilitating the user or staff to further determine the purpose of the conduit to be cut, print markings, etc. The cutting depth adaptive device can display the material parameter information on the display screen of the wire marking machine, and can also send the material parameter information to the user terminal for display.
[0080] In this embodiment, a near-field communication (NFC) method is used to detect the identification chip corresponding to the conduit to be cut, and a wireless connection is established with the identification chip. Based on the NFC method, the target specifications of the conduit to be cut are obtained from the identification chip. Obtaining the target specifications through NFC improves the convenience of target specification acquisition and further enhances the efficiency and accuracy of conduit cutting.
[0081] The cutting depth adaptive device can obtain the target specification from the identification chip of the cutting conduit using near-field communication. However, not all conduits are equipped with identification chips, and in work scenarios that require continuous cutting of numerous conduits, frequent identification chip detection and target specification reading will reduce the efficiency of conduit cutting and may also reduce the lifespan of the near-field communication module in the wire marking machine. Therefore, when the conduit is not equipped with an identification chip, or in work scenarios that require continuous cutting of numerous conduits, the cutting depth adaptive device may include the following steps in step S101:
[0082] Retrieve the pre-stored conduit specifications from local storage and set the pre-stored conduit specifications as the target specifications for the conduit to be cut.
[0083] Specifically, users or staff can input pre-stored conduit specifications into the local storage of the cutting depth adaptive device. When the cutting depth adaptive device detects a cutting command for the conduit to be cut, it can directly retrieve the pre-stored conduit specifications from the local storage and set the pre-stored conduit specifications as the target specifications for the conduit to be cut. This allows for the direct selection of an appropriate target cutting depth for cutting, avoiding frequent identification chip detection and data reading in scenarios where the wire marking machine needs to work continuously, thereby improving the work efficiency of current work scenarios.
[0084] Optionally, please also refer to Figure 4, which provides a flowchart of pre-storing conduit specifications according to an embodiment of this application. The following steps may be included before step S101:
[0085] S301 receives conduit specification information sent by the user terminal and obtains specification values from the conduit specification information.
[0086] Specifically, users or staff can set the corresponding specification values for the conduit on the user terminal. Then, the application on the user terminal can generate conduit specification information based on the specification values and send the conduit specification information to the wire marking machine. After receiving the conduit specification information sent by the user terminal, the cutting depth adaptive receiver can retrieve the specification values from the conduit specification information.
[0087] Optionally, the specification values can be directly input by the user on the user terminal. For example, the user can manually input various values of the conduit specifications, such as diameter, thickness, and material, on the user terminal application to generate the specification values.
[0088] Optionally, the conduit can also have a corresponding coded image. The coded image can be on the outer packaging of the conduit, and can be a barcode, QR code, etc. It can store the corresponding specification value of the conduit. Users or staff can use user terminals to scan the coded image of the conduit to be cut, thereby obtaining the specification value corresponding to the specification of the conduit to be cut, thereby improving the efficiency of conduit identification and management. Through automated scanning, errors in manual input information are reduced, ensuring the accuracy of data.
[0089] S302 uses the specification values as the pre-stored conduit specifications and saves them in local storage.
[0090] Specifically, after the cutting depth adaptive device obtains the specification value, it can use the specification value as a pre-stored conduit specification and save it in local storage, so that when a cutting command is received later, the subsequent cutting process can be directly performed based on the pre-stored conduit specification.
[0091] Optionally, the pre-stored conduit specifications can be changed according to the actual needs of users or staff. When users or staff need to change the pre-stored conduit specifications, they can send conduit specification update information to the wire marking machine via the user terminal. The conduit specification update information can also contain new specification values. These updated specification values can be input by the user via the user terminal or obtained by the user terminal based on the corresponding coded image of the conduit. The relevant specification update information is generated by the user terminal based on the updated specification values and is used to indicate the update processing of the pre-stored conduit specification information. After receiving the conduit specification update information sent by the user terminal, the cutting depth adaptive device can update the pre-stored conduit specifications based on the updated information. For example, the cutting depth adaptive device can obtain the updated specification values from the conduit specification update information and then replace the pre-stored conduit specifications with the updated specification values to achieve the update processing purpose.
[0092] In this embodiment, the system receives conduit specification information sent by the user terminal, obtains specification values from the conduit specification information, uses these specifications as pre-stored conduit specifications, and saves them in local storage. It then retrieves the pre-stored conduit specifications from the local storage and determines them as the target specifications for the conduit to be cut. This avoids frequent identification chip detection and data reading in scenarios where the conduit marking machine needs to operate continuously, thereby improving the efficiency of existing work scenarios. Furthermore, the system can update the pre-stored conduit specifications based on received conduit specification update information, meeting the flexible needs of users or staff in conduit cutting work scenarios.
[0093] The database can store the cutting depth corresponding to each conduit specification. The adaptive cutting depth device can directly obtain the target cutting depth corresponding to the target specification from the database, thus making the obtained target cutting depth more accurate. However, conduit specifications are diverse. If users or workers were to input the cutting depth corresponding to all specifications, it would not only consume a lot of database storage space but also increase the workload of users and workers. Therefore, the database can store the cutting depth corresponding to different ranges of conduit specifications, thereby ensuring the accuracy of the obtained cutting depth while reducing data storage.
[0094] Please refer to Figure 5, which is a flowchart illustrating the process of determining the cutting depth according to an embodiment of this application. Step S102 may include the following steps:
[0095] S401, Determine the target specification range corresponding to the target specification.
[0096] Specifically, if the database stores the cutting depth corresponding to different conduit specifications, the cutting depth adaptively determines the target specification range after obtaining the target specification of the conduit to be cut. The target specification range is the range of conduit specifications in the database that includes the target specification. For example, if the target specification is "diameter 17mm, thickness 1mm, material PVC", then the corresponding target specification range can be "diameter 16~20mm, thickness 0.85mm~1.15mm, material PVC".
[0097] Optionally, the material in the target specification is the same as the material in the target specification range, and the diameter, thickness, and other values in the target specification are within the range of diameter, thickness, and other values in the target specification range.
[0098] S402, retrieve the target depth of cut corresponding to the target specification range from the database.
[0099] Specifically, the pipe specification range in the database corresponds one-to-one with the cutting depth, and the cutting depth adaptive device can obtain the target cutting depth corresponding to the target specification range from the database.
[0100] In this embodiment, a target specification range corresponding to the target specification is determined, and the target cutting depth corresponding to the target specification range is obtained from the database. Determining a suitable cutting depth through the specification range ensures the accuracy of the obtained cutting depth while reducing database data storage and manual data input.
[0101] Whether determining the cutting depth based on specific conduit specifications or a range of conduit specifications, it relies on manual data input from users or staff. However, manual data input is prone to errors and omissions. If the specifications of the conduit to be cut do not exist within any conduit specification range in the database, it is difficult to obtain the appropriate cutting depth. To further improve the accuracy of the obtained cutting depth, the database can not only store the cutting depths corresponding to different conduit specification ranges, but also the linear correspondence between conduit specifications and cutting depths. Even if the specifications of the conduit to be cut are not within the range of conduit specifications in the database, the appropriate cutting depth can be calculated through the linear relationship, thereby ensuring the accuracy of the cutting.
[0102] Please also refer to Figure 6, which is a flowchart illustrating the process of determining the cutting depth according to an embodiment of this application. Step S102 may include the following steps:
[0103] S501, obtain the linear correspondence between conduit specifications and cutting depth.
[0104] Specifically, users or staff can input the sample tubing specifications and the corresponding cutting depth for each specification. The cutting depth is determined by the user or staff based on past experience, representing a suitable cutting depth for each tubing specification. The cutting depth adaptive device can calculate and store the linear correspondence between the tubing specifications and cutting depths in a database. If the database contains a linear correspondence between tubing specifications and cutting depths, the cutting depth adaptive device can retrieve this correspondence.
[0105] Optionally, if the target specification does not exist in the database, or if the database does not contain a range of conduit specifications that include the target specification, the cutting depth adaptive device can obtain a linear correspondence between the conduit specification and the cutting depth.
[0106] S502, based on a linear correspondence, obtains the target depth of cut corresponding to the target specification.
[0107] Specifically, the cutting depth adaptive device can obtain the target cutting depth corresponding to the target specification based on a linear correspondence.
[0108] In this embodiment, a linear correspondence between the conduit specification and the cutting depth is obtained. Based on this linear correspondence, the target cutting depth corresponding to the target specification is obtained, reducing the reliance on manual data input. When the conduit specification to be cut is not within the range of conduit specifications in the database, a suitable cutting depth is calculated through the linear relationship, thereby ensuring the accuracy of the cutting.
[0109] When users or staff use a wire marking machine to cut conduit, they can choose between a full cut or a partial cut. A partial cut only makes a slit in the conduit without severing it completely, requiring the user or staff to manually pull off each section. A full cut completely severs each section of conduit without requiring manual removal. Therefore, the cutting depth corresponding to the conduit specifications stored in the database can include both partial and full cut cutting depths. Consequently, the target cutting depth obtained by the cutting depth adaptive device based on the target specifications can also include both partial and full cut cutting depths. The partial cut cutting depth is the appropriate cutting depth when partially cutting the conduit, and the full cut cutting depth is the appropriate cutting depth when fully cutting the conduit.
[0110] Please refer to Figure 7, which provides a schematic flowchart of a cutting process according to an embodiment of this application. Step S103 may include the following steps:
[0111] S601, if the cutting command is a half-cut command, then the tube to be cut is cut based on the half-cut depth.
[0112] Specifically, the cutting command sent by the user or worker to the wire marking machine can be a partial cut command or a full cut command. A partial cut command indicates that the user or worker wants to perform a partial cut on the wire to be cut, while a full cut command indicates that the user or worker wants to perform a full cut on the wire to be cut. Partial and full cuts each have their advantages and can be applied to different processing needs and application scenarios. Users or workers can achieve flexible control over the wire cutting by sending different cutting commands. If the cutting command is a partial cut command, the cutting depth adaptive device can obtain the partial cutting depth within the target cutting depth and perform cutting processing on the wire to be cut based on the partial cutting depth, thus achieving a partial cut on the wire to be cut.
[0113] S602, if the cutting command is a full cut command, then the cutting process is performed on the conduit to be cut based on the full cut depth.
[0114] Specifically, if the cutting command is a full cut command, the cutting depth adaptive device can obtain the full cut depth in the target cutting depth and perform cutting processing on the tube to be cut based on the full cut depth to achieve a full cut of the tube to be cut.
[0115] Optionally, the cutting depth of the wire marking machine is related to the number of rotation steps of the stepper motor. Therefore, the cutting depth adaptive device can calculate the target number of rotation steps of the stepper motor based on the target cutting depth and control the stepper motor of the wire marking machine to work based on the target number of rotation steps, so as to achieve cutting processing using the target cutting depth.
[0116] In this embodiment, the target cutting depth includes a half-cut cutting depth and a full-cut cutting depth. If the cutting command is a half-cut command, the conduit to be cut is cut based on the half-cut cutting depth; if the cutting command is a full-cut command, the conduit to be cut is cut based on the full-cut cutting depth. By providing suitable half-cut and full-cut cutting depths for users or workers to choose from, conduit cutting becomes more flexible and applicable to various working scenarios.
[0117] In one embodiment of this application, the cutting depth adaptive method may further include the following steps:
[0118] If the target specification is not within the size threshold range, an "unable to cut" message will be output, and / or, the cutting process for the tube to be cut will be stopped, and / or, the printing process for the tube to be cut will be stopped, and / or, the movement process for the tube to be cut will be stopped.
[0119] Specifically, the wire marking machine has a size threshold range for the specifications of the wire tubes it can print and cut. This threshold range defines the range of specifications of wire tubes that the machine can process. For example, if the wire tube specifications are too large and exceed the size threshold range, the wire marking machine cannot perform the correct printing and cutting process, which will cause inconvenience to users and staff. Therefore, after the cutting depth adaptive device obtains the target specifications of the wire tube to be cut, it can first determine whether the target specifications are within the size threshold range. If the target specifications are not within the size threshold range, a "cannot cut" prompt message is output to inform the user or staff that the wire marking machine cannot cut the wire tube and that a wire tube of a suitable specification needs to be replaced. Conversely, if the target specifications are within the size threshold range, it means that the wire marking machine can cut the wire tube, and the cutting depth adaptive device can continue to execute the steps after S101.
[0120] In addition to outputting a "cannot cut" message, the cutting depth adaptive device can also stop the cutting process for the tubing to be cut, and / or stop the printing process for the tubing to be cut. Furthermore, since the wire marking machine moves the tubing to be cut during printing and cutting, the cutting depth adaptive device can also stop the movement process for the tubing to be cut, thus avoiding incorrect printing, cutting, and moving of the tubing when the target specifications are not suitable, thereby preventing tubing waste.
[0121] The cutting depth adaptive device provided in the embodiments of this application will now be described in detail with reference to Figures 8 and 9. It should be noted that the cutting depth adaptive device in Figures 8 and 9 is used to execute the method of the embodiments shown in Figures 1-7 of this application. For ease of explanation, only the parts related to the embodiments of this application are shown. For specific technical details not disclosed, please refer to the embodiments shown in Figures 1-7 of this application.
[0122] Please refer to Figure 8, which shows a schematic diagram of the structure of a cutting depth adaptive device provided in an exemplary embodiment of this application. This cutting depth adaptive device can be implemented as all or part of a device through software, hardware, or a combination of both. The device 1 includes a target specification acquisition unit 11, a cutting depth determination unit 12, and a cutting processing unit 13.
[0123] The target specification acquisition unit 11 is configured to detect the cutting command for the tube to be cut and acquire the target specification of the tube to be cut.
[0124] The depth of cut determination unit 12 is configured to obtain the target depth of cut corresponding to the target specification from the database.
[0125] The cutting processing unit 13 is configured to cut the tube to be cut based on the target cutting depth.
[0126] In this embodiment, a cutting command for the conduit to be cut is detected, the target specification of the conduit is obtained, the target cutting depth corresponding to the target specification is retrieved from the database, and the conduit is cut based on the target cutting depth. By identifying the conduit specification, a suitable cutting depth is used for cutting, improving the convenience and accuracy of conduit cutting.
[0127] Please refer to Figure 9, which shows a schematic diagram of the structure of a cutting depth adaptive device provided in an exemplary embodiment of this application. This cutting depth adaptive device can be implemented as all or part of a device through software, hardware, or a combination of both. The device 1 includes a pre-stored specification acquisition unit 14, a pre-stored specification update unit 15, a target specification acquisition unit 11, a cutting depth determination unit 12, a cutting processing unit 13, and a size threshold judgment unit 16.
[0128] The pre-stored specification acquisition unit 14 is configured to receive conduit specification information sent by the user terminal, and acquire specification values from the conduit specification information. The specification values are either input by the user for the user terminal or acquired by the user terminal based on the coded image corresponding to the conduit to be cut.
[0129] The specified specifications are used as pre-stored conduit specifications and saved in local storage.
[0130] The pre-stored specification update unit 15 is configured to receive conduit specification update information sent by the user terminal and update the pre-stored conduit specifications based on the conduit specification update information.
[0131] The target specification acquisition unit 11 is configured to detect the cutting command for the tube to be cut and acquire the target specification of the tube to be cut.
[0132] Optionally, the target specification acquisition unit 11 is specifically configured to use near-field communication to detect the identification chip corresponding to the tube to be cut and establish a wireless connection with the identification chip;
[0133] Based on the near-field communication method, the target specifications of the tube to be cut are obtained from the identification chip.
[0134] Optionally, the target specification acquisition unit 11 is specifically configured to acquire a pre-stored conduit specification in local storage and determine the pre-stored conduit specification as the target specification of the conduit to be cut.
[0135] The depth of cut determination unit 12 is configured to obtain the target depth of cut corresponding to the target specification from the database.
[0136] Optionally, the cutting depth determining unit 12 is specifically configured to determine the target specification range corresponding to the target specification;
[0137] Retrieve the target depth of cut corresponding to the target specification range from the database.
[0138] Optionally, the cutting depth determining unit 12 is specifically configured to obtain a linear correspondence between the pipe specification and the cutting depth;
[0139] Based on the linear correspondence, the target depth of cut corresponding to the target specification is obtained.
[0140] The cutting processing unit 13 is configured to cut the tube to be cut based on the target cutting depth.
[0141] Optionally, the target cutting depth includes a half-cut cutting depth and a full-cut cutting depth. Specifically, the cutting processing unit 13 is configured to cut the conduit to be cut based on the half-cut cutting depth if the cutting command is a half-cut command.
[0142] If the cutting command is a full cut command, then the conduit to be cut is cut based on the full cut depth.
[0143] The size threshold judgment unit 16 is configured to output a "cannot be cut" prompt message if the target specification is not within the size threshold range.
[0144] And / or, stop the cutting process for the conduit to be cut.
[0145] And / or, stop the printing process for the tube to be cut.
[0146] And / or, stop performing the movement process for the tube to be cut.
[0147] In this embodiment, the cutting command for the conduit to be cut is detected using near-field communication (NFC). A wireless connection is established with the NFC chip to detect the corresponding identification chip. Based on NFC, the target specification of the conduit to be cut is obtained from the identification chip. Obtaining the target specification via NFC improves the convenience of target specification acquisition, further enhancing the efficiency and accuracy of conduit cutting. Alternatively, conduit specification information sent by the user terminal can be received, and the specification value can be obtained from the conduit specification information. This specification value is used as a pre-stored conduit specification and saved in local storage. The pre-stored conduit specification is then retrieved from local storage and determined as the target specification for the conduit to be cut. This avoids frequent identification chip detection and data reading in scenarios where the wire marking machine needs to operate continuously, thereby improving the efficiency of existing work scenarios. Furthermore, the pre-stored conduit specification can be updated based on received conduit specification update information, meeting the flexible needs of users or workers in conduit cutting scenarios. The target specification range corresponding to the target specification is determined, and the target cutting depth corresponding to the target specification range is obtained from the database. By determining the appropriate cutting depth within a specified range, the accuracy of the obtained cutting depth is ensured while reducing database data storage and manual data input. Alternatively, a linear correspondence between conduit specifications and cutting depth can be established. Based on this linear correspondence, the target cutting depth corresponding to the target specification is obtained, reducing reliance on manual data input. When the conduit specification to be cut is not within the range of conduit specifications in the database, a suitable cutting depth is calculated using the linear relationship, thereby ensuring cutting accuracy. The conduit to be cut is then cut based on the target cutting depth. By identifying the conduit specification and using a suitable cutting depth for that specification, the convenience and accuracy of conduit cutting are improved. Furthermore, the target cutting depth includes a half-cut cutting depth and a full-cut cutting depth. If the cutting command is a half-cut command, the conduit to be cut is cut based on the half-cut cutting depth; if the cutting command is a full-cut command, the conduit to be cut is cut based on the full-cut cutting depth. By providing suitable half-cut and full-cut cutting depths for users or workers to choose from, conduit cutting becomes more flexible and applicable to various working scenarios.
[0148] It should be noted that the cutting depth adaptive device provided in the above embodiments is only illustrated by the division of the above functional modules when executing the cutting depth adaptive method. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the cutting depth adaptive device and the cutting depth adaptive method embodiments provided in the above embodiments belong to the same concept, and the implementation process is detailed in the method embodiments, which will not be repeated here.
[0149] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0150] This application also provides a computer storage medium that can store multiple instructions. These instructions are adapted to be loaded and executed by a processor using the cutting depth adaptive method described in the embodiments shown in Figures 1-7 above. For details of the execution process, please refer to the specific description of the embodiments shown in Figures 1-7, which will not be repeated here.
[0151] This application also provides a computer program product that stores at least one instruction, which is loaded by the processor and executed as described in the embodiments shown in Figures 1-7 above. For the specific execution process, please refer to the detailed description of the embodiments shown in Figures 1-7, which will not be repeated here.
[0152] Please refer to Figure 10, which shows a structural block diagram of an electronic device provided in an exemplary embodiment of this application. The electronic device in this application may include one or more components such as a processor 110, a memory 120, an input device 130, an output device 140, and a bus 150. The processor 110, memory 120, input device 130, and output device 140 may be connected to each other via the bus 150.
[0153] Processor 110 may include one or more processing cores. Processor 110 connects to various parts of the electronic device using various interfaces and lines, and executes various functions of terminal 100 and processes data by running or executing instructions, programs, code sets, or instruction sets stored in memory 120, and by calling data stored in memory 120. Optionally, processor 110 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). Processor 110 may integrate one or more of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user page, and applications; the GPU is responsible for rendering and drawing the displayed content; and the modem handles wireless communication. It is understood that the modem may also not be integrated into processor 110 and may be implemented separately using a communication chip.
[0154] The memory 120 may include random access memory (RAM) or read-only memory (ROM). Optionally, the memory 120 may include non-transitory computer-readable storage medium. The memory 120 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the various method embodiments described above, etc. The operating system may be the Android system, including systems deeply developed based on the Android system, the iOS system developed by Apple Inc., including systems deeply developed based on the iOS system, or other systems.
[0155] The memory 120 can be divided into operating system space and user space. The operating system runs in the operating system space, while native and third-party applications run in user space. To ensure that different third-party applications can achieve good running performance, the operating system allocates corresponding system resources for each application. However, different application scenarios within the same third-party application have different requirements for system resources. For example, in local resource loading scenarios, third-party applications have high requirements for disk read speed; in animation rendering scenarios, third-party applications have high requirements for GPU performance. Since the operating system and third-party applications are independent of each other, the operating system often cannot promptly perceive the current application scenario of a third-party application, resulting in the operating system's inability to adapt system resources accordingly.
[0156] In order for the operating system to distinguish the specific application scenarios of third-party applications, it is necessary to establish data communication between the third-party applications and the operating system. This would allow the operating system to obtain the current scenario information of the third-party applications at any time, and then perform targeted system resource adaptation based on the current scenario.
[0157] The input device 130 is used to receive input instructions or data, and includes, but is not limited to, a keyboard, mouse, camera, microphone, or touch device. The output device 140 is used to output instructions or data, and includes, but is not limited to, a display device and a speaker. In one example, the input device 130 and the output device 140 can be combined, and the input device 130 and the output device 140 can be a touch display screen.
[0158] The touch display screen can be designed as a full-screen, curved screen, or irregularly shaped screen. It can also be designed as a combination of a full-screen and a curved screen, or a combination of an irregularly shaped screen and a curved screen; however, this application does not limit the specific design in this regard.
[0159] In addition, those skilled in the art will understand that the structure of the electronic device shown in the above figures does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements. For example, the electronic device may also include radio frequency circuits, input units, sensors, audio circuits, Wireless Fidelity (WiFi) modules, power supplies, Bluetooth modules, etc., which will not be described in detail here.
[0160] In the electronic device shown in Figure 10, the processor 110 can be used to call the cutting depth adaptive application stored in the memory 120 and specifically perform the following operations:
[0161] Detect the cutting command for the conduit to be cut, and obtain the target specifications of the conduit to be cut;
[0162] Retrieve the target depth of cut corresponding to the target specification from the database;
[0163] The tube to be cut is cut based on the target cutting depth.
[0164] In one embodiment, when the processor 110 executes the process of obtaining the target specifications of the conduit to be cut, it specifically performs the following operations:
[0165] Near-field communication is used to detect the identification chip corresponding to the tube to be cut, and a wireless connection is established with the identification chip.
[0166] Based on the near-field communication method, the target specifications of the tube to be cut are obtained from the identification chip.
[0167] In one embodiment, when the processor 110 executes the process of obtaining the target specifications of the conduit to be cut, it specifically performs the following operations:
[0168] Retrieve the pre-stored conduit specifications from local storage and determine the pre-stored conduit specifications as the target specifications for the conduit to be cut.
[0169] In one embodiment, before executing the detection of a cutting instruction for the conduit to be cut and obtaining the target specifications of the conduit to be cut, the processor 110 also performs the following operations:
[0170] Receive conduit specification information sent by a user terminal, and obtain specification values from the conduit specification information. The specification values are either input by the user for the user terminal or obtained by the user terminal based on the coded image corresponding to the conduit to be cut.
[0171] The specified specifications are used as pre-stored conduit specifications and saved in local storage.
[0172] In one embodiment, when executing the cutting depth adaptive method, the processor 110 also performs the following operations:
[0173] The system receives conduit specification update information sent by the user terminal and updates the pre-stored conduit specifications based on the conduit specification update information.
[0174] In one embodiment, when the processor 110 retrieves the target depth of cut corresponding to the target specification from the database, it specifically performs the following operations:
[0175] Determine the target specification range corresponding to the target specification;
[0176] Retrieve the target depth of cut corresponding to the target specification range from the database.
[0177] In one embodiment, when the processor 110 retrieves the target depth of cut corresponding to the target specification from the database, it specifically performs the following operations:
[0178] Obtain the linear relationship between conduit specifications and cutting depth;
[0179] Based on the linear correspondence, the target depth of cut corresponding to the target specification is obtained.
[0180] In one embodiment, the target cutting depth includes a half-cut cutting depth and a full-cut cutting depth;
[0181] When the processor 110 performs the cutting process on the tube to be cut based on the target cutting depth, it specifically performs the following operations:
[0182] If the cutting command is a half-cut command, then the conduit to be cut is cut based on the half-cut depth.
[0183] If the cutting command is a full cut command, then the conduit to be cut is cut based on the full cut depth.
[0184] In one embodiment, when executing the cutting depth adaptive method, the processor 110 also performs the following operations:
[0185] If the target size is not within the size threshold range, an "cannot be cut" message will be output.
[0186] And / or, stop the cutting process for the conduit to be cut.
[0187] And / or, stop the printing process for the tube to be cut.
[0188] And / or, stop performing the movement process for the tube to be cut.
[0189] In this embodiment, the cutting command for the conduit to be cut is detected using near-field communication (NFC). A wireless connection is established with the NFC chip to detect the corresponding identification chip. Based on NFC, the target specification of the conduit to be cut is obtained from the identification chip. Obtaining the target specification via NFC improves the convenience of target specification acquisition, further enhancing the efficiency and accuracy of conduit cutting. Alternatively, conduit specification information sent by the user terminal can be received, and the specification value can be obtained from the conduit specification information. This specification value is used as a pre-stored conduit specification and saved in local storage. The pre-stored conduit specification is then retrieved from local storage and determined as the target specification for the conduit to be cut. This avoids frequent identification chip detection and data reading in scenarios where the wire marking machine needs to operate continuously, thereby improving the efficiency of existing work scenarios. Furthermore, the pre-stored conduit specification can be updated based on received conduit specification update information, meeting the flexible needs of users or workers in conduit cutting scenarios. The target specification range corresponding to the target specification is determined, and the target cutting depth corresponding to the target specification range is obtained from the database. By determining the appropriate cutting depth within a specified range, the accuracy of the obtained cutting depth is ensured while reducing database data storage and manual data input. Alternatively, a linear correspondence between conduit specifications and cutting depth can be established. Based on this linear correspondence, the target cutting depth corresponding to the target specification is obtained, reducing reliance on manual data input. When the conduit specification to be cut is not within the range of conduit specifications in the database, a suitable cutting depth is calculated using the linear relationship, thereby ensuring cutting accuracy. The conduit to be cut is then cut based on the target cutting depth. By identifying the conduit specification and using a suitable cutting depth for that specification, the convenience and accuracy of conduit cutting are improved. Furthermore, the target cutting depth includes a half-cut cutting depth and a full-cut cutting depth. If the cutting command is a half-cut command, the conduit to be cut is cut based on the half-cut cutting depth; if the cutting command is a full-cut command, the conduit to be cut is cut based on the full-cut cutting depth. By providing suitable half-cut and full-cut cutting depths for users or workers to choose from, conduit cutting becomes more flexible and applicable to various working scenarios.
[0190] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory, or random access memory, etc.
[0191] The above-disclosed embodiments are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Therefore, any equivalent variations made in accordance with the claims of this application shall still fall within the scope of this application.
[0192] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in the embodiments of this specification are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the cutting instructions and target specifications involved in this specification were obtained under full authorization.
Claims
1. A cutting depth adaptive method, wherein, The method includes: Detect the cutting command for the conduit to be cut, and obtain the target specifications of the conduit to be cut; Retrieve the target depth of cut corresponding to the target specification from the database; The tube to be cut is cut based on the target cutting depth.
2. The method according to claim 1, wherein, Obtaining the target specifications of the conduit to be cut includes: Near-field communication is used to detect the identification chip corresponding to the tube to be cut, and a wireless connection is established with the identification chip. Based on the near-field communication method, the target specifications of the tube to be cut are obtained from the identification chip.
3. The method according to claim 1, wherein, Obtaining the target specifications of the conduit to be cut includes: Retrieve the pre-stored conduit specifications from local storage and determine the pre-stored conduit specifications as the target specifications for the conduit to be cut.
4. The method according to claim 3, wherein, Before detecting the cutting command for the conduit to be cut and obtaining the target specifications of the conduit to be cut, the method further includes: Receive conduit specification information sent by a user terminal, and obtain specification values from the conduit specification information. The specification values are either input by the user for the user terminal or obtained by the user terminal based on the coded image corresponding to the conduit to be cut. The specified specifications are used as pre-stored conduit specifications and saved in local storage.
5. The method according to claim 3, wherein, The method further includes: The system receives conduit specification update information sent by the user terminal and updates the pre-stored conduit specifications based on the conduit specification update information.
6. The method according to any one of claims 1 to 5, wherein, The step of retrieving the target depth of cut corresponding to the target specification from the database includes: Determine the target specification range corresponding to the target specification; Retrieve the target depth of cut corresponding to the target specification range from the database.
7. The method according to any one of claims 1 to 5, wherein, The step of retrieving the target depth of cut corresponding to the target specification from the database includes: Obtain the linear relationship between conduit specifications and cutting depth; Based on the linear correspondence, the target depth of cut corresponding to the target specification is obtained.
8. The method according to any one of claims 1 to 7, wherein, The target cutting depth includes a half-cut cutting depth and a full-cut cutting depth; The cutting process of the conduit to be cut based on the target cutting depth includes: If the cutting command is a partial cut command, then the conduit to be cut is cut based on the partial cut depth; and, If the cutting command is a full cut command, then the conduit to be cut is cut based on the full cut depth.
9. The method according to any one of claims 1 to 8, wherein, The method further includes: If the target size is not within the size threshold range, an "cannot be cut" message will be output. And / or, stop the cutting process for the conduit to be cut. And / or, stop the printing process for the tube to be cut. And / or, stop performing the movement process for the tube to be cut.
10. A cutting depth adaptive device, wherein, The device includes: The target specification acquisition unit is configured to detect a cutting command for the conduit to be cut and acquire the target specification of the conduit to be cut. The depth of cut determination unit is configured to obtain the target depth of cut corresponding to the target specification from the database; The cutting processing unit is configured to cut the conduit to be cut based on the target cutting depth.
11. A computer storage medium, wherein, The computer storage medium stores a plurality of instructions, which are adapted to be loaded by a processor and executed as the method steps of any one of claims 1 to 9.
12. An electronic device, wherein, include: A processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and executed the method steps as claimed in any one of claims 1 to 9.