Accurate model selection method and device for pneumatic element product
By receiving the pneumatic component serial number and attribute information input by the user, and using preset detection rules to judge and retrieve pneumatic component product information, the problem of inaccurate selection and high error rate of manual query in the existing system is solved, and accurate selection of pneumatic component products is realized.
Patent Information
- Application Number
- CN202411129174.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-16
- Publication Date
- 2026-03-03
AI Technical Summary
Existing pneumatic component selection systems cannot accurately match user needs when the sample size is huge and the sample attributes are complex, and relying on manual queries results in a high error rate and low efficiency.
By receiving the pneumatic component serial number and attribute information input by the user, the system uses preset detection rules to determine its correctness, and retrieves pneumatic component product information based on the correct information, providing accurate selection methods and devices, including data receiving, detection, and information return modules.
It enables precise matching of pneumatic component product information in complex product environments, improving the accuracy and efficiency of selection and meeting users' needs for precise selection of similar products.
Smart Images

Figure CN121599729A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of pneumatic component technology, and in particular to a method and apparatus for precise selection of pneumatic component products. Background Technology
[0002] In the industrial sector, with technological advancements and product upgrades, there is an increasing number of pneumatic components with similar models and functions. Due to the vast quantity and high degree of similarity among these products, it is becoming increasingly difficult for customers to accurately select the pneumatic components that meet their needs.
[0003] Previously, pneumatic component selection typically involved technicians assisting customers with choices based on product catalogs. However, with the rapid development of computer technology, this traditional method has been gradually replaced by selection software. When using selection software, users simply need to input the relevant parameters for the corresponding series of pneumatic components to quickly find suitable product models.
[0004] However, most existing pneumatic component selection systems rely on attribute-based filtering, using a limited set of attributes to select target products from an ever-increasing pool of pneumatic components. But as product development advances, more and more pneumatic components with similar parameters and functions emerge. Therefore, existing selection systems cannot accurately meet users' selection needs given the massive sample size and complex attributes. Furthermore, determining the correctness of pneumatic component models depends on the experience of professionals. Technicians manually searching through samples to determine component models have a high error rate, a high barrier to entry, and low efficiency. Summary of the Invention
[0005] In view of the above problems, the present invention is proposed to provide a method and apparatus for precise selection of pneumatic component products that overcomes or at least partially solves the above problems.
[0006] In a first aspect, embodiments of the present invention provide a method for precise selection of pneumatic component products, including:
[0007] Receives the serial number and at least one attribute information of the pneumatic component product to be selected from the user;
[0008] According to the preset detection rules, the serial number and at least one attribute information of the candidate pneumatic component product are detected to determine whether the full model information corresponding to the serial number and at least one attribute information of the candidate pneumatic component product is correct.
[0009] If the judgment result is yes, then the product information of the pneumatic component is retrieved based on the serial number of the candidate pneumatic component and the full model information corresponding to at least one attribute information.
[0010] The retrieved product information will be returned.
[0011] In one embodiment, the serial number and at least one attribute information of the pneumatic component product to be selected by the user are input in the following manner:
[0012] Receives the serial number information selected by the user through the preset serial number input interface;
[0013] Provide the user with multiple attribute information options corresponding to the serial number;
[0014] Receive at least one attribute information selected by the user from the multiple attribute information options.
[0015] In one embodiment, before the step of determining whether the serial number and at least one attribute information of the candidate pneumatic component product are correct, the method further includes:
[0016] Based on the serial number and at least one attribute information of the pneumatic component product to be selected input by the user, generate full model information corresponding to the serial number and at least one attribute information of the pneumatic component product to be selected.
[0017] In one embodiment, the serial number and at least one attribute information of the pneumatic component product to be selected by the user are input in the following manner:
[0018] Receive full model information input by the user, the full model information including the serial number of the pneumatic component product to be selected and at least one attribute information;
[0019] The full model information input by the user is the full model information corresponding to the serial number and at least one attribute information of the pneumatic component product to be selected.
[0020] In one embodiment, after receiving the full model information input by the user, the method further includes:
[0021] Preprocess the format of the full model information input by the user;
[0022] The model type of the candidate pneumatic component product is determined based on the pre-processed full model information input by the user, so as to obtain the serial numbers of all the candidate pneumatic component products that match the model type.
[0023] Based on the serial numbers of all the pneumatic component products that match the model type, obtain the serial number information that has the same field as the full model information entered by the user;
[0024] Using the preset judgment rules of the acquired series information, determine whether there is series information that matches the full model information input by the user;
[0025] If the judgment result is yes, then the preprocessed full model information of the user input is further detected; if the judgment result is no, then the series information is saved as similar series information and returned.
[0026] In one embodiment, the preset detection rule specifically includes:
[0027] Based on the serial number of the candidate pneumatic component product, the value range, attribute contradiction rules, and attribute constraint rules are checked for each attribute information of the candidate pneumatic component product. If the value range check, attribute contradiction rule check, and attribute constraint rule check of each attribute information of the candidate pneumatic component product are all qualified, then it is determined that the serial number of the candidate pneumatic component product and the full model information corresponding to at least one attribute information are correct.
[0028] In one embodiment, constraint rule detection for each attribute information of the candidate pneumatic component product includes:
[0029] If the serial number and at least one attribute information of the candidate pneumatic component product have non-standard product attribute constraints, then the serial number and at least one attribute information of the candidate pneumatic component product are tested for non-standard product attribute constraints and standard product attribute constraints.
[0030] If the serial number and at least one attribute information of the candidate pneumatic component product do not have non-standard product attribute constraints, then only standard product attribute constraints will be checked for the serial number and at least one attribute information of the candidate pneumatic component product.
[0031] In one embodiment, when receiving at least one attribute information selected by the user from the plurality of attribute information options, the method further includes:
[0032] For each attribute information received, the dependency and conflict relationships between the currently received attribute information and other previously received attribute information, as well as the value range of the currently received attribute information, are detected.
[0033] Once all received attribute information passes the test, the received serial number and all attribute information are combined to obtain the corresponding full model information.
[0034] In one embodiment, determining the model type of the candidate pneumatic component product based on preprocessed full model information input by the user includes:
[0035] Based on the pre-processed full model information input by the user, verify whether the selected pneumatic component product belongs to a series model, accessory type model, or magnetic switch type model.
[0036] In one embodiment, if the determination result is yes, the preprocessed full model information of the user input is further detected, including:
[0037] If the preprocessed full model information of the user input fails the detection, and there is a next series of information that matches the preprocessed full model information of the user input, then the preprocessed full model information of the user input will continue to be detected based on the series of information.
[0038] In one embodiment, preprocessing of the full model information input by the user includes one or more of the following operations:
[0039] Remove spaces from the full model information entered by the user;
[0040] Correct incorrect capitalization;
[0041] An error message is given for illegal characters entered.
[0042] Secondly, embodiments of the present invention provide a precise selection device for pneumatic component products, comprising:
[0043] The data receiving module is used to receive the serial number and at least one attribute information of the pneumatic component product to be selected, which is input by the user.
[0044] The detection module is used to detect the serial number and at least one attribute information of the candidate pneumatic component product according to preset detection rules, and to determine whether the full model information corresponding to the serial number and at least one attribute information of the candidate pneumatic component product is correct.
[0045] The retrieval module is used to retrieve the product information of the pneumatic component based on the serial number of the candidate pneumatic component and the full model information corresponding to at least one attribute information if the judgment result is yes.
[0046] The information return module is used to return the retrieved product information.
[0047] Thirdly, embodiments of the present invention provide a server computing device, characterized in that it includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the aforementioned method for precise selection of pneumatic component products.
[0048] Fourthly, embodiments of the present invention provide a non-transitory computer-readable storage medium, which, when the instructions in the storage medium are executed by a processor, enables the aforementioned method for precise selection of pneumatic component products.
[0049] Fifthly, embodiments of the present invention provide a computer program product, the computer program product including a computer program, and the aforementioned method for precise selection of pneumatic component products when the computer program is executed by a processor.
[0050] The beneficial effects of the above-described technical solutions provided in the embodiments of the present invention include at least the following:
[0051] The method and apparatus for precise selection of pneumatic components provided in this invention receive the serial number and attribute information of the pneumatic component to be selected from the user, and perform detection on the serial number and attribute information of the pneumatic component to be selected according to preset detection rules. It determines whether the full model information corresponding to the serial number and attribute information of the pneumatic component to be selected is correct. If the determination is correct, the product information of the pneumatic component to be selected is provided to the user. The selection method provided in this invention can better adapt to the situation of large product capacity and complex product attribute information. By performing multiple detections on the received attribute information of the pneumatic component to be selected according to preset rules, the selection method provided in this invention can accurately match the product information of the pneumatic component to be selected.
[0052] Furthermore, users can search for the serial number information of the pneumatic component product to be selected, and obtain a list of attribute information options corresponding to the serial number information. Then, users can select multiple attribute information of the pneumatic component product to be selected through the attribute information option list. Users can also directly input the full model information of the pneumatic component product to be selected, including the serial number and multiple attribute information, based on their selection experience. Therefore, the selection method provided by this invention can better meet users' needs for accurate selection of similar pneumatic component products, while effectively improving the selection accuracy.
[0053] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings.
[0054] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description
[0055] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings:
[0056] Figure 1 This is a schematic diagram of the precise selection method for pneumatic component products in an embodiment of the present invention;
[0057] Figure 2 This is a schematic diagram illustrating the precise selection process for pneumatic components in an embodiment of the present invention.
[0058] Figure 3 This is a schematic diagram illustrating the input method for receiving user input of serial number and attribute information in an embodiment of the present invention;
[0059] Figure 4 This is a schematic diagram of the detection process for receiving serial number and attribute information input by the user in an embodiment of the present invention;
[0060] Figure 5 This is a schematic diagram of the interactive interface for receiving user input of serial number and attribute information in an embodiment of the present invention;
[0061] Figure 6 This is a schematic diagram of the interactive interface for receiving full model information input by the user in an embodiment of the present invention;
[0062] Figure 7 This is a schematic diagram of the detection process for receiving full model information input by the user in an embodiment of the present invention;
[0063] Figure 8 This is a schematic diagram of the process for verifying the model type of the preprocessed full model information in an embodiment of the present invention;
[0064] Figure 9 This is a schematic diagram of the detection process for generating full model information in an embodiment of the present invention;
[0065] Figure 10 This is a schematic diagram of a precise selection device module for pneumatic components in an embodiment of the present invention. Detailed Implementation
[0066] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
[0067] Current pneumatic component selection systems are based on attribute filtering, using a limited set of attributes to screen an ever-increasing number of pneumatic component products to find the target product. As the R&D level of pneumatic components improves, more and more pneumatic component products with similar parameters and functions are emerging. The inventors of this invention have discovered that selection methods based on a limited number of attributes often result in a large number of pneumatic component product listings, and these listings are often very similar, thus failing to meet the need for accurate selection of similar pneumatic component products.
[0068] In view of the above problems, in order to meet the requirements for accurate selection of pneumatic components, this invention provides a method and apparatus for accurate selection of pneumatic components.
[0069] The precise selection method for pneumatic component products provided in this embodiment of the invention refers to... Figure 1 As shown, the method includes the following process implementation:
[0070] S11. Receive the serial number and at least one attribute information of the pneumatic component product to be selected from the user;
[0071] S12. According to the preset detection rules, the serial number and at least one attribute information of the candidate pneumatic component product are detected to determine whether the full model information corresponding to the serial number and at least one attribute information of the candidate pneumatic component product is correct.
[0072] S13. If the judgment result is yes, then retrieve the product information of the pneumatic component according to the serial number of the candidate pneumatic component product and the full model information corresponding to at least one attribute information;
[0073] S14. Return the retrieved product information.
[0074] The precise selection method for pneumatic components provided in this invention receives the serial number and attribute information of the pneumatic component to be selected from the user, and performs detection on the serial number and attribute information of the pneumatic component to be selected according to preset detection rules. It determines whether the full model information corresponding to the serial number and attribute information of the pneumatic component to be selected is correct. If the determination is correct, the product information of the pneumatic component to be selected is provided to the user. Therefore, the selection method provided in this invention can better adapt to the situation of large product capacity and complex product attribute information. By performing multiple detections on the attribute information of the pneumatic component to be selected according to preset rules, the selection method provided in this invention can accurately match the product information of the pneumatic component to be selected.
[0075] Furthermore, users can search for the serial number information of the pneumatic component product to be selected, and obtain a list of attribute information options corresponding to the serial number information. Then, users can select multiple attribute information of the pneumatic component product to be selected through the attribute information option list. Users can also directly input the full model information of the pneumatic component product to be selected, including the serial number and multiple attribute information, based on their selection experience. Therefore, the selection method provided by this invention can better meet users' needs for accurate selection of similar pneumatic component products, while effectively improving the selection accuracy.
[0076] In this embodiment of the invention, in step S11 above, see [link to specific implementation]. Figure 2 As shown, users can search for the serial number of the pneumatic component to be selected, obtain a list of attribute information options corresponding to the serial number, and then select multiple attribute information of the pneumatic component to be selected. Therefore, see... Figure 3 As shown, the input method for receiving the serial number and at least one attribute information of the pneumatic component product to be selected from the user can be achieved through the following process:
[0077] S31. Receive the serial number information selected by the user through the preset serial number input interface;
[0078] S32. Provide the user with multiple attribute information options corresponding to the serial number;
[0079] S23. Receive at least one attribute information selected by the user from the plurality of attribute information options.
[0080] In one embodiment, when receiving the serial number information selected by the user through the preset serial number input interface in step S31 above, it is necessary to determine the serial number of the pneumatic component product to be selected. For example, the serial number of the pneumatic component product to be selected can be selected by a simple filtering method. The filtering classification can be based on the application of the pneumatic component product, such as actuators, pressure switches, process switches, etc., or it can be based on the application industry and process type of the pneumatic component product. For example, the serial number of the pneumatic component product to be selected can also be retrieved by inputting serial number keywords.
[0081] In one embodiment, in step S32 above, after the user determines the serial number of the pneumatic component product to be selected, a list of attribute information options corresponding to the serial number will be provided to the user. The attribute information of the pneumatic component product may include, for example, the product's diameter, thickness, presence or absence of a built-in magnetic ring, installation method, installation location, cylinder diameter, stroke, and customized specifications.
[0082] Furthermore, in one embodiment, when receiving at least one attribute information selected by the user from the plurality of attribute information options in step S33 above, each time an attribute information is received, the currently received attribute information is detected, see [link to relevant documentation]. Figure 4 As shown, the detection method can be:
[0083] For each attribute information received, the dependency and conflict relationships between the currently received attribute information and other previously received attribute information, as well as the value range of the currently received attribute information, are detected.
[0084] Once all received attribute information passes the test, the received serial number and all attribute information are combined to obtain the corresponding full model information.
[0085] In one embodiment, the dependency between attribute information is, for example, the existence of attribute information A requires attribute information B to have a specific value; the dependency between attribute information may also include the mandatory attribute information of the pneumatic component product to be selected, such as the cylinder bore and stroke of the cylinder being mandatory attribute information.
[0086] In one embodiment, there is a conflict between attribute information, such as attribute information A and attribute information C cannot exist simultaneously.
[0087] In one embodiment, when all received attribute information passes the test, the serial number input by the user and all attribute information are combined to obtain the corresponding full model information. The combination method can be, for example, storing the full model information of the pneumatic component product to be selected as a string consisting of multiple attribute bits in advance, and filling the corresponding attribute bits of the pneumatic component product to be selected by the user into the corresponding attribute bits of the string according to the position of the attribute bits in the string, thereby generating the full model information corresponding to the serial number input by the user and all attribute information.
[0088] See Figure 5 As shown, Figure 5 In a specific implementation of this invention, an interactive interface is provided for receiving the serial number of the pneumatic component product to be selected and at least one attribute information input method from the user. The interface is divided into two parts: the upper part displays the serial number of the pneumatic component product to be selected, and the lower part displays the full model of the product with attribute bits and a list of attribute information options. Among them, the required attribute information is indicated by blue in the default state, the attribute information detected by the above attribute information is indicated by green, and the attribute information with conflict or error is indicated by orange.
[0089] At this point, before determining whether the full model information corresponding to the serial number and at least one attribute information of the candidate pneumatic component product is correct, the full model information corresponding to the serial number and at least one attribute information of the candidate pneumatic component product is generated by receiving the user's input of the serial number and at least one attribute information of the candidate pneumatic component product.
[0090] In step S11 above, see the following for specific implementation: Figure 2 As shown, users can also select a pneumatic component by directly inputting the full model information, including the serial number and at least one attribute, based on their selection experience. Therefore, the input method for receiving the serial number and at least one attribute information of the pneumatic component can also be to receive the full model information input by the user; see [link to relevant documentation]. Figure 6 The diagram illustrates the interaction of the full model information input interface provided in this embodiment of the invention. The full model information input box receives full model information input by the user. Below the input box, a certain number of pneumatic component products are displayed by default. During selection, the pneumatic component product information corresponding to the full model information received by the input box is displayed. The aforementioned full model information includes the serial number of the pneumatic component product to be selected and at least one attribute information; the full model information input by the user is the full model information corresponding to the serial number and at least one attribute information of the pneumatic component product to be selected.
[0091] In one embodiment, when a user directly inputs the full model information of the pneumatic component to be selected, including the serial number and at least one attribute information, after receiving the full model information input by the user, the serial information of the received full model information must also be checked. See [link to relevant documentation]. Figure 7 As shown, its detection method can include the following process:
[0092] S701. Preprocess the information format of the full model information input by the user;
[0093] S702. Determine the model type of the pneumatic component product to be selected based on the preprocessed full model information input by the user;
[0094] S703. Based on the model type of the pneumatic component product to be selected, obtain the serial numbers of all pneumatic component products that conform to the model type of the pneumatic component product to be selected;
[0095] S704. Based on the serial numbers of all the model types of the pneumatic components to be selected, obtain the serial information of the serial numbers that have the same fields as the full model information input by the user.
[0096] S705. According to the preset judgment rules corresponding to the acquired series information, the preprocessed full model information is detected to determine whether there is series information that matches the full model information input by the user; if the judgment result is yes, S706 is executed; otherwise, S707 is executed.
[0097] S706. Further inspection of the pre-processed full model information input by the user;
[0098] S707. Save the series information as similar series information and return the product information corresponding to the similar series information to the user. If there is no similar series information, the returned full model information is incorrect.
[0099] In one embodiment, the full model information directly input by the user in step S701 above is highly likely to contain some errors. Therefore, preprocessing is needed to automatically correct these errors. In specific implementations, the user-input full model information undergoes information format preprocessing, which may include one or more of the following operations:
[0100] Remove spaces from the full model information entered by the user;
[0101] Correct incorrect capitalization;
[0102] An error message is given for illegal characters entered.
[0103] Illegal characters can be any characters other than legal characters. Legal characters include the digits "0-9", uppercase letters "A", "Z", and the special characters "+", "-", "(", ")", "¥", " / ", "|", and "#". All other characters are considered illegal. When an illegal character is entered, the system will display an error message. For example, entering the character "@" will prompt the system with a message (e.g., a pop-up window). Removing spaces from the user-entered full model information will automatically adjust the field positions within the full model information.
[0104] In one embodiment, step S702 above, which determines the model type of the candidate pneumatic component product based on the pre-processed full model information input by the user, requires verifying whether the candidate pneumatic component product belongs to a series model, accessory type model, or magnetic switch type model. For specific implementation, see [link to relevant documentation]. Figure 8 As shown, the pre-processed user-input full model information can be used to sequentially verify whether the candidate pneumatic component product belongs to a series model, accessory type model, or magnetic switch type model. Specific judgment methods could include, for example:
[0105] The default model type for the preprocessed full model information is 0, which means that it is not clear which type of model the pneumatic component product to be selected belongs to;
[0106] Create a pointer to the series model object, and parse the preprocessed full model information based on the pointer to the series model object. If the parsing return value is 1, then the pneumatic component product to be selected belongs to the series model; if the parsing and verification return value is -1, then continue to create a pointer to the accessory model object.
[0107] The preprocessed full model information is parsed based on the pointer to the firmware model object. If the parsing return value is 1, the pneumatic component product to be selected belongs to the accessory model. If the parsing return value is -1, continue to create a pointer to the magnetic switch model object.
[0108] The preprocessed full model information is parsed based on the pointer to the magnetic switch model object. If the parsed return value is 1, the pneumatic component product to be selected belongs to the magnetic switch model; otherwise, it returns null.
[0109] Based on the above-determined model type of the pneumatic component product to be selected, obtain the serial number of all models that match the model type of the pneumatic component product to be selected, and obtain the serial number information of the serial number that has the same field as the full model information input by the user.
[0110] Since the full model information directly entered by the user is essentially a single field of information, it is not possible to determine the serial number and series information corresponding to the full model information directly entered by the user. Therefore, it is necessary to detect and determine the series information to which the full model information entered by the user belongs.
[0111] In one embodiment, in step S705 above, a preset judgment rule for the acquired series information is used to determine whether there is series information that matches the full model information input by the user. The preset judgment rule may be that each product's series information has a regular expression for the full model information. This regular expression restricts each attribute bit of the full model information. Therefore, by using this regular expression to detect the preprocessed full model information input by the user, it can directly determine whether there are errors in the attribute bits of the preprocessed full model information input by the user. If there are erroneous attribute bits, it means that the series information currently being detected does not match the full model information input by the user; otherwise, the series information currently being detected matches the full model information input by the user.
[0112] If the judgment result is yes, it means that there is a series information that matches the full model information input by the user. Based on the series information that matches the full model information input by the user, the preprocessed full model information input by the user is detected. That is, before detecting the full model information, the full model information input by the user is first processed into the full model information corresponding to the series number and all attribute information of the pneumatic component product to be selected.
[0113] At this point, before determining whether the serial number and at least one attribute information of the candidate pneumatic component product are correct, the generation of the serial number and all attribute information of the candidate pneumatic component product is completed by receiving the full model information input by the user.
[0114] In one implementation, when selecting a pneumatic component by receiving full model information from the user, please refer to [reference needed]. Figure 7 As shown, in step S706 above, if the judgment result is yes, then the preprocessed full model information input by the user, that is, the full model information corresponding to the series number and all attribute information, is further detected. If the preprocessed full model information input by the user is incorrectly detected, and there is another series information that matches the preprocessed full model information input by the user, then the preprocessed full model information input by the user continues to be detected according to the next series information, see [link to relevant documentation]. Figure 7 As shown, the detection process can be, for example:
[0115] S708. Determine whether the serial number and the full model information corresponding to all attribute information of the current series are correct; if the determination result is yes, then execute S712; if the determination result is no, then execute S709.
[0116] S709. Determine if there is a next series of information that matches the full model information entered by the user. If the determination result is yes, then execute S710; if the determination result is no, then execute S711.
[0117] S710. Using the next series information that matches the full model information entered by the user, generate the full model information corresponding to the serial number and all attribute information of the next series information; then continue to execute S709;
[0118] S711. If there is one and only one series information that matches the full model number of the preprocessed user input, then the series information is returned to the user; if there are multiple series information that match the full model number of the preprocessed user input, then all series information is returned to the user so that the user can choose.
[0119] S712, Returns the product information corresponding to the correct full model information detected.
[0120] Further, in this embodiment of the invention, step S12 above involves detecting the serial number and at least one attribute information of the candidate pneumatic component product according to a preset detection rule. The preset detection rule may specifically include: detecting the value range, attribute contradiction rule, and attribute constraint rule for each attribute information of the candidate pneumatic component product based on the serial number of the candidate pneumatic component product. If the value range detection, attribute contradiction rule detection, and attribute constraint rule detection of each attribute information of the candidate pneumatic component product are all qualified, then it is determined that the full model information corresponding to the serial number and at least one attribute information of the candidate pneumatic component product is correct.
[0121] The aforementioned contradiction detection refers to the detection of conflicting relationships between attribute information. For example, if attribute information A and attribute information B conflict and cannot both appear in the same complete model information, then the complete model information contains contradictory attribute information, and therefore the complete model information can be determined to be incorrect. Of course, correct complete model information does not contain any conflicting relationships between attribute information.
[0122] In a specific implementation of this invention, the contradictory rules can be recorded using regular expressions, for example. Under a specific attribute position, the regular expression represents the optional values of all attribute information that are prohibited from appearing simultaneously. In addition, there can be one or more contradictory rules for the same full model. In this case, all attribute information can be detected in sequence according to the contradictory rules.
[0123] In one embodiment, constraint rule detection is performed on each attribute information of the candidate pneumatic component product. If there are non-standard product attribute constraints on the serial number and the full model information corresponding to at least one attribute information of the candidate pneumatic component product, then non-standard product attribute constraints and standard product attribute constraints are detected on the serial number and the full model information corresponding to at least one attribute information of the candidate pneumatic component product.
[0124] If the serial number and at least one attribute information of the pneumatic component product to be selected do not have non-standard product attribute constraints, then only standard product attribute constraints will be checked for the serial number and at least one attribute information of the pneumatic component product to be selected.
[0125] In specific implementation, the above non-standard product attribute constraints often exist in the full model information corresponding to the pneumatic component products of non-standard products ordered by users. In principle, pneumatic component products that meet the customized requirements of users belong to non-standard products. Since non-standard products have attribute information of customized requirements, they do not belong to standard products. Therefore, for common pneumatic component products of non-standard products, if users have a need for model selection, it is necessary to distinguish between pneumatic component products of non-standard products and pneumatic component products of standard products in the full model information. Therefore, an attribute bit named customized specification is added to the full model information of non-standard products, corresponding to the attribute information of non-standard products. Specifically, see Figure 5 As shown, in the attribute information option list, the customized specification located at the last option position is used to select the non-standard product attribute information.
[0126] It can be seen that the full model information corresponding to pneumatic component products of non-standard products often contains both non-standard product attribute information and standard product attribute information, while the full model information corresponding to pneumatic component products of standard products does not contain non-standard attribute information. Thus, the full model information corresponding to pneumatic component products of non-standard products often needs to detect both non-standard product attribute information constraints and standard product attribute constraints, while the full model information corresponding to pneumatic component products of standard products does not need to detect non-standard product attribute information constraints.
[0127] At the same time, in the specific implementation of the present invention, when selecting a model for pneumatic component products of non-standard products by receiving the series number and at least one attribute information of the pneumatic component products to be selected entered by the user, the customized specification can only receive one non-standard product attribute information. However, when selecting a model for pneumatic component products of non-standard products by receiving the full model information of the pneumatic component products to be selected entered by the user, two non-standard product attribute information can be specified, and there should be no conflict relationship between the two specified non-standard product attribute information, and they are allowed to be combined.
[0128] For those with two non-standard product attribute information in the full model information, during the detection of attribute information constraints, it is necessary to perform two detections of non-standard product attribute information constraints on the non-standard product attribute information, that is, perform one detection of non-standard product attribute information constraints on each non-standard product attribute information. Only when both detections pass, the detection of the constraints of the non-standard product attribute information existing in the full model information is qualified. For products with customized specifications, that is, pneumatic component products with non-standard product attribute information, during the detection of attribute information, the priority of non-standard product attribute information detection is higher than that of ordinary attribute information detection.
[0129] For example, when there is non-standard product attribute information A in the full model information, the values of attribute information C and attribute information D must be within a specific range. If, during the test, the value of attribute information C or attribute information D is found to be outside the specific range, it means that the test of the constraint rules of the non-standard product attribute information is unqualified and its full model information is incorrect.
[0130] In one embodiment, see Figure 9 As shown, based on the aforementioned preset testing specifications and the constraint rules for each attribute information of the pneumatic component product to be selected, the testing process for the serial number and full model information corresponding to at least one attribute information of the pneumatic component product to be selected can be, for example, the following process:
[0131] S901. Take the serial number and all attribute information of the selected pneumatic component products generated above and split them into the serial number and each attribute information of the full model according to the attribute bits.
[0132] S902. Perform value range detection on all the split attribute information;
[0133] S903. Determine whether the value range of all attribute information is qualified. If the value range of all attribute information is qualified, execute S904; otherwise, execute S913 and return an error message.
[0134] S904. Perform contradictory rule checks on all attribute information;
[0135] S905. Determine whether the contradiction rule detection of all attribute information is qualified; if the contradiction rule detection of all attribute information is qualified, that is, there are no contradictory records, then execute S906; otherwise, execute S913 and return an error message.
[0136] S906. Perform a check on all attribute information to determine if there are any non-standard product attribute information constraints;
[0137] S907. Perform a check on all attribute information to determine whether there are non-standard product attribute information constraints. If the result is yes, proceed to S908; otherwise, proceed to S910.
[0138] S908. Detect the constraint information of all non-standard products' attributes;
[0139] S909. Determine whether all non-standard product attribute information constraint tests are qualified; if all non-standard product attribute information constraint tests are qualified, then execute S910; otherwise, execute S913 and return an error message.
[0140] S910. Conduct testing on all standard product attribute information constraints;
[0141] S911. Determine whether all standard product attribute information constraints have passed the tests; if all standard product attribute information constraints have passed the tests, then execute S912; otherwise, execute S913 and return an error message.
[0142] S912, The serial number and all attribute information of the selected pneumatic component product are returned correctly;
[0143] S913, Returns error message.
[0144] In the above-described full-model information detection process, the detection priority of non-standard product attribute information constraints is higher than that of standard product attribute information constraint rules. Therefore, during the non-standard product attribute constraint rule detection process, all detected attribute information constraints are grouped and recorded in the detected group. Subsequently, when detecting constraints on standard product attribute information, if the same attribute information constraint is encountered, the standard product attribute information will not be detected accordingly. For full-model information that only contains standard product attribute information, since there are no values in the detection group, standard product attribute information constraint detection is performed on all attribute information.
[0145] Furthermore, in this embodiment of the invention, in step S13 above, when the serial number and at least one attribute information of the pneumatic component product to be selected are correct, the product information of the pneumatic component to be selected is retrieved based on the full model information.
[0146] Furthermore, in this embodiment of the invention, the product information returned in step S14 may include, for example, basic parameter information, place of origin information, processing cycle information, model breakdown, product weight, similar products, and related component information of the pneumatic component product.
[0147] Based on the same inventive concept, this invention also provides a device for precise selection of pneumatic components. Since the principle by which this device solves the problem is similar to the aforementioned method for precise selection of pneumatic components, the implementation of this device can refer to the implementation of the aforementioned method, and the repeated parts will not be described again.
[0148] This invention provides a precise selection device for pneumatic component products. (See also...) Figure 10 As shown, it includes:
[0149] 101. Data receiving module, used to receive the serial number and at least one attribute information of the pneumatic component product to be selected by the user;
[0150] 102. A detection module, used to detect the serial number and at least one attribute information of the candidate pneumatic component product according to a preset detection rule, and to determine whether the full model information corresponding to the serial number and at least one attribute information of the candidate pneumatic component product is correct;
[0151] 103. A retrieval module, used to retrieve product information of the pneumatic component based on the serial number of the candidate pneumatic component and the full model information corresponding to at least one attribute information if the judgment result is yes;
[0152] 104. Information return module, used to return the retrieved product information.
[0153] This invention also provides a server computing device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the aforementioned method for precise selection of pneumatic component products.
[0154] This invention also provides a computer program product, which includes a computer program that, when executed by a processor, implements the aforementioned method for precise selection of pneumatic component products.
[0155] This invention also provides a non-transitory computer-readable storage medium that, when the instructions in the storage medium are executed by a processor, enables the precise selection method for pneumatic component products as described above.
[0156] Regarding the precise selection device for pneumatic component products in the above embodiments, the specific methods by which each module performs its operation have been described in detail in the embodiments related to the method, and will not be elaborated here.
[0157] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation entry points are provided for users to choose to authorize or refuse.
[0158] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.
[0159] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0160] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0161] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0162] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.
Claims
1. A method for precise selection of pneumatic component products, characterized in that, include: Receives the serial number and at least one attribute information of the pneumatic component product to be selected from the user; According to the preset detection rules, the serial number and at least one attribute information of the candidate pneumatic component product are detected to determine whether the full model information corresponding to the serial number and at least one attribute information of the candidate pneumatic component product is correct. If the judgment result is yes, then the product information of the pneumatic component is retrieved based on the serial number of the candidate pneumatic component and the full model information corresponding to at least one attribute information. The retrieved product information will be returned.
2. The precise selection method for pneumatic component products as described in claim 1, wherein the serial number and at least one attribute information of the pneumatic component product to be selected, input by the user, are entered in the following manner: Receives the serial number information selected by the user through the preset serial number input interface; Provide the user with multiple attribute information options corresponding to the serial number; Receive at least one attribute information selected by the user from the multiple attribute information options.
3. The method for precise selection of pneumatic component products as described in claim 1, before the step of determining whether the full model information corresponding to the serial number and at least one attribute information of the pneumatic component product to be selected is correct, further includes: Based on the serial number and at least one attribute information of the pneumatic component product to be selected input by the user, generate full model information corresponding to the serial number and at least one attribute information of the pneumatic component product to be selected.
4. The precise selection method for pneumatic component products as described in claim 1, wherein the serial number and at least one attribute information of the pneumatic component product to be selected, input by the user, are entered in the following manner: Receive full model information input by the user, the full model information including the serial number of the pneumatic component product to be selected and at least one attribute information; The full model information input by the user is the full model information corresponding to the serial number and at least one attribute information of the pneumatic component product to be selected.
5. The method for precise selection of pneumatic component products as described in claim 4, characterized in that, After receiving the full model information input by the user, the method further includes: Preprocess the format of the full model information input by the user; The model type of the candidate pneumatic component product is determined based on the pre-processed full model information input by the user, so as to obtain the serial numbers of all the candidate pneumatic component products that match the model type. Based on the serial numbers of all the pneumatic component products that match the model type, obtain the serial number information that has the same field as the full model information entered by the user; Using the preset judgment rules of the acquired series information, determine whether there is series information that matches the full model information input by the user; If the judgment result is yes, then the preprocessed full model information of the user input is further detected; if the judgment result is no, then the series information is saved as similar series information and returned.
6. The method for precise selection of pneumatic component products as described in claim 1, characterized in that, The preset detection rules specifically include: Based on the serial number of the candidate pneumatic component product, the value range, attribute contradiction rules, and attribute constraint rules are checked for each attribute information of the candidate pneumatic component product. If the value range check, attribute contradiction rule check, and attribute constraint rule check of each attribute information of the candidate pneumatic component product are all qualified, then it is determined that the serial number of the candidate pneumatic component product and the full model information corresponding to at least one attribute information are correct.
7. The method for precise selection of pneumatic component products as described in claim 6, characterized in that, Constraint rule detection for each attribute information of the candidate pneumatic component products includes: If the serial number and at least one attribute information of the candidate pneumatic component product have non-standard product attribute constraints, then the serial number and at least one attribute information of the candidate pneumatic component product are tested for non-standard product attribute constraints and standard product attribute constraints. If the serial number and at least one attribute information of the candidate pneumatic component product do not have non-standard product attribute constraints, then only standard product attribute constraints will be checked for the serial number and at least one attribute information of the candidate pneumatic component product.
8. The method for precise selection of pneumatic component products as described in claim 2, characterized in that, When receiving at least one attribute information selected by the user from the plurality of attribute information options, the method further includes: For each attribute information received, the dependency and conflict relationships between the currently received attribute information and other previously received attribute information, as well as the value range of the currently received attribute information, are detected. Once all received attribute information passes the test, the received serial number and all attribute information are combined to obtain the corresponding full model information.
9. The method for precise selection of pneumatic component products as described in claim 5, characterized in that, The model type of the pneumatic component product to be selected is determined based on the pre-processed full model information input by the user, including: Based on the pre-processed full model information input by the user, verify whether the selected pneumatic component product belongs to a series model, accessory type model, or magnetic switch type model.
10. The method for precise selection of pneumatic component products as described in claim 5, characterized in that, If the judgment result is yes, then the preprocessed full model information of the user input will be further checked, including: If the preprocessed full model information of the user input fails the detection, and there is a next series of information that matches the preprocessed full model information of the user input, then the preprocessed full model information of the user input will continue to be detected based on the series of information.
11. The method for precise selection of pneumatic component products as described in claim 5, characterized in that, Perform information format preprocessing on the full model information input by the user, including one or more of the following operations: Remove spaces from the full model information entered by the user; Correct incorrect capitalization; An error message is given for illegal characters entered.
12. A selection device for pneumatic component products, characterized in that, include: The data receiving module is used to receive the serial number and at least one attribute information of the pneumatic component product to be selected, which is input by the user. The detection module is used to detect the serial number and at least one attribute information of the candidate pneumatic component product according to preset detection rules, and to determine whether the full model information corresponding to the serial number and at least one attribute information of the candidate pneumatic component product is correct. The retrieval module is used to retrieve the product information of the pneumatic component based on the serial number of the candidate pneumatic component and the full model information corresponding to at least one attribute information if the judgment result is yes. The information return module is used to return the retrieved product information.
13. A server computing device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, implements the precise selection method for the pneumatic component product according to any one of claims 1-11.
14. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor, the method for precise selection of pneumatic component products according to any one of claims 1-11 can be implemented.
15. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the precise selection method for the pneumatic component product according to any one of claims 1-11.