Machine function item automatic configuration and submission method, device, equipment and storage medium
By automatically obtaining and maintaining machine function item information, configuring and submitting machine function items, the problems of high labor costs and low accuracy in traditional configuration methods are solved, and efficient and intelligent automatic configuration and submission of function items are achieved.
Patent Information
- Application Number
- CN202210286876.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-22
- Publication Date
- 2025-04-01
- Estimated Expiration
- 2042-03-22
AI Technical Summary
The configuration and submission methods of traditional machine function items have problems such as high labor investment costs, low accuracy, difficult positioning problems, and cumbersome delivery processes, resulting in increased production costs of TV products and low intelligent configuration of functional items.
By obtaining preset machine function item information, maintaining the preset specification template, generating the target specification template, and configuring the function item based on the co-contracting information of the target product to generate a configuration file. Then, generate a task submission request based on the configuration file, determine the submission result, and review the configuration file.
Automatic configuration and submission of machine function items is realized, configuration efficiency and intelligence are improved, the process of manually editing configuration files is avoided, and the delivery process is simplified.
Smart Images

Figure CN114638207B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of machine function item configuration, and in particular to a method, device, equipment and storage medium for automatic configuration and submission of machine function items. Background Art
[0002] As the development speed of TV products increases, users' demand for TV functions or positioning is also increasing. For TV products, such a large number of different functional items require different software or hardware. In this process from 0 to 1, the specification book is needed throughout the whole process as a reference, and the specification book corresponds to different functional items and corresponding configurations. The traditional machine function item configuration and submission method adopts the offline document editing method, and the machine function item configuration and submission are realized by manually editing the machine configuration file. This method has great defects. For different TV functions and configurations in the specification book, the configuration of machine function items will have problems such as high labor input cost, low accuracy, difficult positioning problems, and cumbersome delivery process. This machine function item configuration method not only increases the production cost of TV products, but also the intelligence of machine function item configuration is relatively low. Summary of the invention
[0003] The main purpose of the present invention is to propose a method, device, equipment and storage medium for automatic configuration and submission of machine function items, aiming to solve the technical problem of how to improve the intelligence of automatic configuration and submission of machine function items.
[0004] To achieve the above object, the present invention provides a method for automatically configuring and submitting machine function items, the method comprising:
[0005] Acquire preset machine function item information, maintain a preset specification document template according to the machine function item information, and obtain a target specification document template;
[0006] Obtaining the co-package information of the target product, configuring the functional items according to the co-package information and the target specification template, and generating a configuration file;
[0007] A corresponding task submission request is generated according to the configuration file, and a submission result of the configuration file is determined according to the task submission request, and the configuration file is audited according to the submission result.
[0008] Optionally, the step of generating a corresponding task submission request according to the configuration file includes:
[0009] If the configuration parameters of the configuration file change, a configuration submission task corresponding to the configuration file is generated.
[0010] Submitting the task according to the configuration generates a corresponding task submission request.
[0011] Optionally, the step of determining the submission result of the configuration file according to the task submission request includes:
[0012] Sending the task submission request to a preset task queue, and detecting whether there are other task submission requests in the task queue;
[0013] If there is no other task submission request in the task queue, the configuration file is sent to the internal server of the machine and the submission result returned by the internal server of the machine is received.
[0014] Optionally, the step of reviewing the configuration file configuration according to the submission result includes:
[0015] If the submission result is a successful reception, the configuration file is reviewed, and a review result corresponding to the configuration file is determined, and whether the review result is a passed review is detected;
[0016] If the audit result is passed, the configuration file is configured.
[0017] Optionally, the step of maintaining a preset specification template according to the machine function item information to obtain a target specification template includes:
[0018] Detecting whether there is a new function item in the machine function item information;
[0019] If there is a new function item, the new function item is added to the preset specification document template to obtain the target specification document template.
[0020] Optionally, the step of configuring function items according to the co-package information and the target specification template to generate a configuration file includes:
[0021] Acquire actual function item information of the target product, and configure repeated function items in the target specification template according to the actual function item information to obtain a proposed configuration file;
[0022] Obtain a preset machine common package, and detect whether the machine common package exists in the common package information;
[0023] If the machine common package exists, the machine common package is added to the simulated configuration file to obtain an initial configuration file, and the configuration file is determined according to the initial configuration file.
[0024] Optionally, the step of determining a configuration file according to the initial configuration file includes:
[0025] Obtaining a configuration log corresponding to the initial configuration file, and verifying the configuration log;
[0026] If the verification fails, the step of detecting whether the co-package information exists in the machine co-package body is executed;
[0027] If the verification is successful, the initial configuration file is used as the configuration file.
[0028] In addition, to achieve the above-mentioned purpose, the present invention also provides a device for automatically configuring and submitting machine function items, comprising:
[0029] A maintenance module, used to obtain preset machine function item information, maintain the preset specification document template according to the machine function item information, and obtain a target specification document template;
[0030] A configuration module, used to obtain the co-package information of the target product, configure the function items according to the co-package information and the target specification template, and generate a configuration file;
[0031] The processing module is used to generate a corresponding task submission request according to the configuration file, determine the submission result of the configuration file according to the task submission request, and perform configuration review on the configuration file according to the submission result.
[0032] In addition, to achieve the above-mentioned objectives, the present invention also provides a machine function item automatic configuration and submission device, including: a memory, a processor, and a machine function item automatic configuration and submission program stored on the memory and executable on the processor, wherein the machine function item automatic configuration and submission program implements the steps of the above-mentioned machine function item automatic configuration and submission method when executed by the processor.
[0033] In addition, to achieve the above-mentioned objectives, the present invention also provides a machine function item automatic configuration and submission storage medium, on which a machine function item automatic configuration and submission program is stored. When the machine function item automatic configuration and submission program is executed by a processor, the steps of the machine function item automatic configuration and submission method as described above are implemented.
[0034] The present invention obtains preset machine function item information, maintains preset specification book template according to the machine function item information, obtains target specification book template; obtains co-package information of target product, determines co-package body of machine and repeated function items of target specification book template according to the co-package information, automatically configures co-package body and repeated function items in co-package information to form configuration file; after generating configuration file, automatically generates corresponding task submission request according to configuration file, submits the task submission request in preset task queue, sends configuration file to server after determining that task submission request can be executed, receives submission result returned by server, and audits configuration file according to submission result. Thus, the phenomenon of manually editing configuration file of machine to realize configuration and submission of machine function items is avoided. This memory configuration method not only automatically configures machine function items and thus improves configuration efficiency of automatic configuration and submission of machine function items, but also improves intelligence of automatic configuration and submission of machine function items by automatically configuring and submitting configuration files. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 It is a schematic diagram of the automatic configuration and submission device structure of machine function items of the hardware operating environment involved in the embodiment of the present invention;
[0036] Figure 2 A schematic diagram of a flow chart of a first embodiment of a method for automatically configuring and submitting machine function items of the present invention;
[0037] Figure 3 A schematic diagram of a device module for automatically configuring and submitting machine function items of the present invention;
[0038] Figure 4 A schematic diagram of a process for automatically configuring the function items of the machine of the present invention and submitting the specification sheet for maintenance;
[0039] Figure 5 A schematic diagram of the process of automatically configuring the machine function items of the present invention and submitting the initial configuration file for verification;
[0040] Figure 6 A schematic diagram of the process of automatically configuring the machine function items of the present invention and submitting the configuration file for configuration review;
[0041] Figure 7 A schematic diagram of a process for automatically configuring the function items of the machine of the present invention;
[0042] Figure 8 A schematic diagram of the process of automatically submitting machine function items of the present invention.
[0043] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0044] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0045] Reference Figure 1 , Figure 1 A schematic diagram of the automatic configuration and submission of device structure for machine function items of the hardware operating environment involved in the embodiment of the present invention.
[0046] like Figure 1 As shown, the automatic configuration and submission device of the machine function item may include: a processor 0003, such as a central processing unit (CPU), a communication bus 0001, an acquisition interface 0002, a processing interface 0004, and a memory 0005. Among them, the communication bus 0001 is used to realize the connection and communication between these components. The acquisition interface 0002 may include an information acquisition device and an acquisition unit such as a computer, and the acquisition interface 0002 may optionally include a standard wired interface and a wireless interface. The processing interface 0004 may optionally include a standard wired interface and a wireless interface. The memory 0005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 0005 may also be a storage device independent of the aforementioned processor 0003.
[0047] Those skilled in the art will understand that Figure 1 The structure shown in does not constitute a limitation on the automatic configuration and submission device of machine function items, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
[0048] like Figure 1 As shown, the memory 0005 as a storage medium may include an operating system, an acquisition interface module, an execution interface module, and a machine function item automatic configuration and submission program.
[0049] exist Figure 1In the machine function item automatic configuration and submission device shown, the communication bus 0001 is mainly used to realize the connection communication between components; the acquisition interface 0002 is mainly used to connect to the background server and communicate data with the background server; the processing interface 0004 is mainly used to connect to the deployment end (user end) and communicate data with the deployment end; the processor 0003 and the memory 0005 in the machine function item automatic configuration and submission device of the present invention can be set in the machine function item automatic configuration and submission device, and the machine function item automatic configuration and submission device calls the machine function item automatic configuration and submission program stored in the memory 0005 through the processor 0003, and executes the machine function item automatic configuration and submission method provided in the embodiment of the present invention.
[0050] Based on the above hardware structure, an embodiment of the method for automatic configuration and submission of machine function items of the present invention is proposed.
[0051] The embodiment of the present invention provides a method for automatically configuring and submitting machine function items, referring to Figure 2 , Figure 2 The figure is a flow chart of a first embodiment of a method for automatically configuring and submitting machine function items of the present invention.
[0052] In this embodiment, the method for automatically configuring and submitting machine function items includes:
[0053] Step S10, obtaining preset machine function item information, maintaining a preset specification document template according to the machine function item information, and obtaining a target specification document template;
[0054] In this embodiment, the configuration of the function items of the machine requires a specification sheet as a reference throughout the entire process, wherein the specification sheet corresponds to different function items and corresponding configurations. At present, the company's specification sheets are all edited in an offline document manner. For different TV functions and configurations in the specification sheet, when configuring the function items of the machine, it will cause high manpower investment costs, low accuracy, difficult positioning problems, and cumbersome delivery processes, which is obviously not in line with the current short development cycle process. In response to the above-mentioned machine function item configuration defects, the technical solution of the present invention is proposed. By obtaining preset machine function item information and maintaining the specification sheet template inside the machine according to the machine function item information, the updated specification sheet template of the machine can be obtained, and the configuration file can be automatically configured according to the updated specification sheet template (target specification sheet template), wherein the machine function item information refers to the function item of the machine, the specification sheet template refers to the template for the definition of the function item inside the machine, and the target specification sheet template refers to the specification sheet template updated according to the function item information. For example, Figure 4 As shown, the steps of maintaining the preset specification template according to the machine function item information and obtaining the target specification template include:
[0055] Step B11, detecting whether there is a new function item in the machine function item information;
[0056] After obtaining the machine function item information, all the function items in the machine function item information will be determined, and compared with the function items in the internal specification template to detect whether there are function items in the machine function item information that are different from the internal specification, and the function items will be taken out from the determined machine function item information to provide a basis for maintaining the specification template.
[0057] Step B12: If there is a new function item, add the function item to the preset specification template to obtain the target specification template.
[0058] When the detection result shows that there is a new function item in the machine function item information, the controller will add the new function item to the specification template, thus forming the target specification template. After the new function item is added, this function item may be applicable to other projects, so it is directly saved in the template. When other projects need it, it can be used directly, and it will be retained in the template if it is not needed. Conversely, when there is no new function item, the controller will use the existing specification template as the target specification template.
[0059] In this embodiment, by obtaining preset machine function item information and then maintaining the existing specification document template according to the machine function item information, the function items of the specification document are continuously increased, and the specification document is intelligently updated to ensure that more function item resources can be called when configuring the machine function items.
[0060] Step S20, obtaining the co-package information of the target product, configuring the function items according to the co-package information and the target specification template, and generating a configuration file;
[0061] In this embodiment, the controller will automatically configure the machine function items according to the acquired co-package information of the target product and the existing target specification template, wherein the co-package information refers to the product function items that cannot be completed by a single machine. For example, the co-package information needs to be composed of co-package body a of machine A and co-package body b of machine B. That is to say, to complete the function corresponding to the co-package information, machine A and machine B must implement the function item configuration together. After obtaining the co-package information, the machine difference item information will be edited according to the co-package of the machine, and the specification template composed of the difference items and the product function items will be combined into an initial configuration file. After the initial configuration file is formed, the initial configuration file is verified to obtain the configuration file, wherein the initial configuration file refers to a configuration file that has not been verified, and the configuration file refers to a file formed after the machine is automatically configured and verified. For example, Figure 5 As shown, the step of determining the configuration file according to the initial configuration file includes:
[0062] Step B21, obtaining a configuration log corresponding to the initial configuration file, and verifying the configuration log;
[0063] After obtaining the initial configuration file, it will be verified. Only when the verification is successful will the configuration file be output. When verifying the initial configuration file, it is mainly based on the configuration log corresponding to the entire initial configuration file generation process. By obtaining the configuration log corresponding to the initial configuration file and verifying the configuration log, the initial configuration file is operated accordingly according to the verification result. Among them, the configuration log refers to the log recording the entire configuration process. By obtaining the configuration log, a theoretical basis can be provided for the verification of the initial configuration file, thereby ensuring the accuracy of the configuration file.
[0064] Step B22, if the verification fails, executing the step of detecting whether the co-package information exists in the machine co-package body;
[0065] After verifying the initial configuration file, the controller will receive two different verification results. When it receives the configuration log verification failure instruction (verification failure), the controller will continue to edit the difference items of the common package information, and re-compile the new initial configuration file after editing, and then verify the new initial configuration file. The controller will continue to verify the new initial configuration file until the initial configuration file verification is successful, and then stop editing the difference items of the common package information.
[0066] Step B23: If the verification is successful, the initial configuration file is used as the configuration file.
[0067] Another situation is that the control receives a configuration log verification success instruction (verification success), which means that the initial configuration file has been verified successfully, and the initial configuration file currently obtained is the required configuration file, and the obtained initial configuration file can be directly used as the configuration file.
[0068] In this embodiment, the controller automatically configures the machine according to the acquired co-package information of the target product and the target specification template inside the machine to obtain a configuration file, thereby improving the intelligence of the automatic configuration of the machine function items.
[0069] Step S30, generating a corresponding task submission request according to the configuration file, determining a submission result of the configuration file according to the task submission request, and performing configuration review on the configuration file according to the submission result.
[0070] After obtaining the configuration file, the configuration file will be automatically submitted to the machine. First, the corresponding task submission request will be generated according to the configuration file, and after the task submission request is generated, the submission result of the configuration file will be determined according to the actual processing status of the task submission request. The task submission request refers to the request generated according to the configuration file, the submission result refers to the result information returned after the configuration file is sent, and the configuration review refers to the configuration of the machine after the machine reviews the submitted configuration file. After obtaining the submission result, the configuration file is reviewed according to the submission result. That is to say, when the machine has a configuration file, it will generate a task, and submit a request to the corresponding location method task inside the machine to request the processing of the task, and return a submission result after the task is processed. Finally, the configuration file is processed according to the submission result. For example, Figure 6 As shown, the step of configuring and reviewing the configuration file according to the submission result includes:
[0071] Step B31, if the submission result is successfully received, the configuration file is reviewed, and the review result corresponding to the configuration file is determined, and whether the review result is approved;
[0072] The task in the task queue is to send the configuration file to the server. When the server receives the configuration file, it will return a successful receipt return message, which means that the configuration file has been successfully submitted to the machine. The controller will configure the machine according to the obtained configuration file. The controller will review the configuration file, determine the review result corresponding to the configuration file, and configure the machine according to the review result, realizing the automatic configuration step after the machine automatically submits the configuration file, providing a configuration basis for automatically configuring the configuration file to the machine.
[0073] Step B32: If the audit result is approved, the configuration file is configured.
[0074] When the audit result is passed, the configuration file will be automatically configured on the machine, realizing the process of configuring the machine according to the configuration file.
[0075] In this embodiment, by generating a corresponding task submission request according to the configuration file, determining the submission result of the configuration file according to the task submission request, and reviewing the configuration file according to the submission result, not only the automatic submission of the generated configuration file is realized, but also it is ensured that the configuration file will be configured on the machine after the automatic submission, thereby improving the intelligence of the automatic configuration and submission of the machine function items.
[0076] Furthermore, this embodiment also provides a schematic diagram of a technical solution for automatic configuration and submission of machine function items, which includes a flowchart for automatic configuration of machine function items and a flowchart for automatic submission of machine function items. Figure 7 , Figure 7 The flowchart of automatic configuration of machine function items is shown in the figure. In the present embodiment, the controller, on the one hand, edits the common package information to detect whether there is common package information of the machine. If there is common package information of the machine, the difference items in the common package information are edited. On the other hand, the controller determines the configuration of the function items of the machine required by the product, and automatically configures the repeated function items according to the specification template of the machine. Finally, the repeated function items configured in the specification template and the edited difference items form the configuration file of the machine. After the configuration file is generated, the configuration file is tested to see whether the configured function items are accurate. The main detection basis is based on the log storage corresponding to the entire generated configuration file. The function items of the configuration file are detected by the log of the configuration file to see whether they are accurate. When it is determined that the function items are accurate, it means that the configuration file of the machine has been generated. Otherwise, it will detect whether the common package information exists, and continue to edit the difference item information according to the common package of the machine in the common package information. Until it is determined that the function items are correct, it means that the automatic configuration function items of the entire machine are completed. By configuring and editing the preset specification and common package information, the efficient automatic configuration of the machine function items is guaranteed, and the intelligence of the machine function item configuration is improved. After getting the configuration file of the machine, the controller will automatically submit the configuration file. Figure 8 , Figure 8For the automatic submission flow chart of the machine function item, the controller will detect whether the configuration file inside the machine is updated. When the configuration file is detected, the configuration submission task will be triggered. The triggering method can be that the controller automatically queries whether the configuration file is updated at a fixed time or the user enters a trigger instruction on the machine after the configuration file is updated, generates a configuration submission task according to the instruction, and caches the generated configuration submission task in the cache after the configuration submission task is generated. The cache will generate a task submission request based on the cached configuration submission task and send the task submission request to the task queue inside the controller. After the task queue receives the task submission request, the controller will destroy the task submission request on the cache side on the one hand, and judge the task queue on the other hand to detect whether the task queue is currently submitting tasks. If the detection result of the controller is that there is still a task submission request, it will continue to wait for the task to be submitted. Until it is detected that there is no task submission request, the configuration file corresponding to the task submission request will be sent to the server. When the server submission result is that the configuration file is successfully accepted, the task submission request will be destroyed. Otherwise, it means that the server has not received the configuration file. After the server receives the configuration file, it will review the updated configuration file, and after the review is successful, the updated configuration file will be configured on the machine. By detecting whether the machine configuration file is updated, the automatic submission of the machine function item configuration file is realized, thereby improving the intelligence of the machine function item submission.
[0077] This embodiment obtains the preset machine function item information, maintains the preset specification book template according to the machine function item information, obtains the target specification book template; obtains the co-package information of the target product, determines the co-package body of the machine and determines the repeated function items of the target specification book template according to the co-package information, and automatically configures the co-package body and repeated function items in the co-package information to form a configuration file; after generating the configuration file, automatically generates a corresponding task submission request according to the configuration file, submits the task submission request in a preset task queue, sends the configuration file to the server after the task submission request is determined to be executable, receives the return submission result of the server, and audits the configuration of the configuration file according to the submission result. This avoids the phenomenon of manually editing the configuration file of the machine to realize the configuration and submission of the machine function items. This memory configuration method not only automatically configures the machine function items and thus improves the configuration efficiency of the automatic configuration and submission of the machine function items, but also improves the intelligence of the automatic configuration and submission of the machine function items by automatically configuring and submitting the configuration file.
[0078] Further, based on the first embodiment of the method for automatically configuring and submitting machine function items of the present invention, a second embodiment of the method for automatically configuring and submitting machine function items of the present invention is proposed. The method for automatically configuring and submitting machine function items includes:
[0079] Step a: If the configuration parameters of the configuration file change, a configuration submission task corresponding to the configuration file is generated.
[0080] Step b: submitting the task according to the configuration to generate a corresponding task submission request.
[0081] After obtaining the configuration file, the controller will detect changes in the configuration parameters of the configuration file, where the change in configuration parameters means that the machine configuration file is different from the previous configuration file. On the one hand, the controller periodically detects whether the configuration file inside the machine has changed, and sends a configuration change instruction when the configuration file change is detected; on the other hand, when the configuration file changes, it is manually determined, and when it is manually determined, a configuration change instruction will be generated inside the controller. When there is a configuration change instruction, the controller will automatically trigger the configuration submission task corresponding to the configuration file according to the configuration change instruction. After obtaining the configuration submission task, the corresponding task submission request will be generated according to the configuration submission task, which is equivalent to generating a task inside the controller after the configuration file changes. When the controller detects that there is a task, it will send a task submission request to the corresponding location, thereby realizing the processing of the task. That is to say, the new configuration file triggers the configuration submission task, and the configuration submission task will trigger the formation of a task submission request to process the task. The new configuration file, the configuration submission task and the task submission request are closely linked, and have been triggered by the previous condition.
[0082] In this embodiment, by detecting whether the configuration file has changed, a task will be generated when the change occurs and a task submission request will be sent to the corresponding processing location, thereby ensuring the intelligence of automatic submission of the configuration file and efficient and accurate submission.
[0083] Further, the step of determining the submission result of the configuration file according to the task submission request includes:
[0084] Step c, sending the task submission request to a preset task queue, and detecting whether there are other task submission requests in the task queue;
[0085] The generated task submission request is sent to the preset task queue, where the task queue refers to the queue that handles internal matters of the machine. After the task submission request of the configuration file is sent to the task queue, the task of the configuration file will not be executed immediately. Instead, the status of the task queue is detected to determine whether there are other task submission requests based on the current status of the task queue. The task submission request of the configuration file is processed based on the status. By detecting the status of the task queue, the normal progress of the task is guaranteed.
[0086] Step d: If there is no other task submission request in the task queue, the configuration file is sent to the internal server of the machine and the submission result returned by the internal server of the machine is received.
[0087] When the detection result is that there are no other task submission requests in the current state, the controller will send the configuration file to the internal server of the machine and will receive the submission result returned by the internal server of the machine, and will delete the task submission request in the task queue after determining the submission result; conversely, when the detection result is that there are other task submission requests in the current state, the controller will wait for the execution of other task submission requests before executing the task submission request corresponding to the configuration file.
[0088] In this embodiment, the controller processes the task submission request corresponding to the configuration file through the task queue, and determines whether to execute it according to the current state of the task queue, thereby ensuring that the tasks within the machine are carried out in an orderly and efficient manner.
[0089] Further, the step of configuring function items according to the co-package information and the target specification template to generate a configuration file includes:
[0090] Step g, obtaining actual function item information of the target product, configuring repeated function items in the target specification template according to the actual function item information, and obtaining a proposed configuration file;
[0091] After obtaining the co-package information, the actual function item information of the target product will also be obtained, and the repeated function items will be configured in the target specification template according to the actual function item information, thus completing the automatic configuration of the configuration file function items. The actual function item information refers to the function items of the machine required by the target product. After determining the actual function item information, those required function items will be configured in the target specification template. The quasi-European file refers to a file that only configures the specification. By configuring the target specification, the configuration of repeated function items is realized, ensuring the accuracy of the configuration.
[0092] Step h, obtaining a preset machine common package, and detecting whether the common package information exists in the machine common package;
[0093] After obtaining the proposed configuration file, the controller will obtain the common package of the machine and detect whether the existing common package information that needs to be configured contains the common package of the machine, where the common package refers to the configuration of the product function that the machine jointly completes. Based on the detection of whether the common package information contains the common package of the machine, the controller will then edit the difference item information and configure the difference items in the configuration file.
[0094] Step i: if the machine common package exists, then add the machine common package to the simulated configuration file to obtain the initial configuration file, and determine the configuration file based on the initial configuration file.
[0095] After detecting the common package information, the machine common package required in the common package information will be added to the proposed configuration file, so that the initial configuration file is obtained, and the initial configuration file is verified. After the verification and confirmation that the verification result is accurate, the configuration file can be obtained.
[0096] In this embodiment, the function items are automatically configured through the common package information and the target specification template to generate a configuration file, thereby improving the intelligence of the machine function item configuration.
[0097] The present invention also provides a device for automatically configuring and submitting machine function items, referring to Figure 3 , the machine function item automatic configuration and submission device includes:
[0098] Maintenance module A01, used for presetting machine function item information, maintaining the presetting specification document template according to the machine function item information, and obtaining the target specification document template;
[0099] Configuration module A02, used to obtain the co-package information of the target product, configure the function items according to the co-package information and the target specification template, and generate a configuration file;
[0100] The processing module A03 is used to generate a corresponding task submission request according to the configuration file, determine the submission result of the configuration file according to the task submission request, and perform configuration review on the configuration file according to the submission result.
[0101] Optionally, the processing module A03 is further used for:
[0102] If the configuration parameters of the configuration file change, a configuration submission task corresponding to the configuration file is generated.
[0103] Submitting the task according to the configuration generates a corresponding task submission request.
[0104] Optionally, the processing module A03 is further used for:
[0105] Sending the task submission request to a preset task queue, and detecting whether there are other task submission requests in the task queue;
[0106] If there is no other task submission request in the task queue, the configuration file is sent to the internal server of the machine and the submission result returned by the internal server of the machine is received.
[0107] Optionally, the processing module A03 is further used for:
[0108] If the submission result is a successful reception, the configuration file is reviewed, and a review result corresponding to the configuration file is determined, and whether the review result is a passed review is detected;
[0109] If the audit result is passed, the configuration file is configured.
[0110] Optionally, the maintenance module A01 is further used to:
[0111] Detecting whether there is a new function item in the machine function item information;
[0112] If there is a new function item, the function item is added to the preset specification template to obtain the target specification template.
[0113] Optionally, the configuration module A02 is further used to:
[0114] Acquire actual function item information of the target product, and configure repeated function items in the target specification template according to the actual function item information to obtain a proposed configuration file;
[0115] Obtain a preset machine common package, and detect whether the common package information exists in the machine common package;
[0116] If the machine common package exists, the machine common package is added to the simulated configuration file to obtain an initial configuration file, and the configuration file is determined according to the initial configuration file.
[0117] Optionally, the configuration module A02 is further used to:
[0118] Obtaining a configuration log corresponding to the initial configuration file, and verifying the configuration log;
[0119] If the verification fails, the step of detecting whether the co-package information exists in the machine co-package body is executed;
[0120] If the verification is successful, the initial configuration file is used as the configuration file.
[0121] The methods executed by the above-mentioned program modules can refer to the various embodiments of the method for automatic configuration and submission of machine function items of the present invention, and will not be described in detail here.
[0122] The invention also provides a device for automatically configuring and submitting machine function items.
[0123] The device of the present invention comprises: a memory, a processor and a machine function item automatic configuration and submission program stored in the memory and executable on the processor. When the machine function item automatic configuration and submission program is executed by the processor, the steps of the machine function item automatic configuration and submission method as described above are implemented.
[0124] The invention also provides a storage medium.
[0125] The storage medium of the present invention stores a machine function item automatic configuration and submission program, which implements the steps of the machine function item automatic configuration and submission method described above when executed by a processor.
[0126] Among them, the method implemented when the machine function item automatic configuration and submission program running on the processor is executed can refer to the various embodiments of the machine function item automatic configuration and submission method of the present invention, and will not be repeated here.
[0127] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0128] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0129] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0130] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for automatically configuring and submitting machine function items, characterized in that: The method steps for automatically configuring and submitting machine function items include: Acquire preset machine function item information, maintain a preset specification template according to the machine function item information, and obtain a target specification template, wherein the target specification template refers to the preset specification template after being updated according to the machine function item information; Acquire the co-package information of the target product, configure the function items according to the co-package information and the target specification template, and generate a configuration file, wherein the co-package information refers to the function items of the product that cannot be completed by one machine, and the step of configuring the function items according to the co-package information and the target specification template to generate the configuration file includes: Acquire the actual function item information of the target product, configure the repeated function items in the target specification template according to the actual function item information, and obtain the proposed configuration file; acquire the preset machine common package, and detect whether the machine common package exists in the common package information; if the machine common package exists, add the machine common package to the proposed configuration file to obtain the initial configuration file, and determine the configuration file according to the initial configuration file, wherein the machine common package refers to the configuration of the machine to complete the product function together; A corresponding task submission request is generated according to the configuration file, and a submission result of the configuration file is determined according to the task submission request, and the configuration file is audited according to the submission result.
2. The method for automatically configuring and submitting machine function items as claimed in claim 1, characterized in that: The step of generating a corresponding task submission request according to the configuration file includes: If the configuration parameters of the configuration file change, a configuration submission task corresponding to the configuration file is generated. Submitting the task according to the configuration generates a corresponding task submission request.
3. The method for automatically configuring and submitting machine function items as claimed in claim 1, characterized in that: The step of determining the submission result of the configuration file according to the task submission request includes: Sending the task submission request to a preset task queue, and detecting whether there are other task submission requests in the task queue; If there is no other task submission request in the task queue, the configuration file is sent to the internal server of the machine and the submission result returned by the internal server of the machine is received.
4. The method for automatically configuring and submitting machine function items as claimed in claim 1, characterized in that: The step of reviewing the configuration file configuration according to the submission result includes: If the submission result is a successful reception, the configuration file is reviewed, and a review result corresponding to the configuration file is determined, and whether the review result is a passed review is detected; If the audit result is passed, the configuration file is configured.
5. The method for automatically configuring and submitting machine function items as claimed in claim 1, characterized in that: The step of maintaining a preset specification template according to the machine function item information to obtain a target specification template includes: Detecting whether there is a new function item in the machine function item information; If there is a new function item, the new function item is added to the preset specification document template to obtain the target specification document template.
6. The method for automatically configuring and submitting machine function items as claimed in claim 1, characterized in that: The step of determining a configuration file according to the initial configuration file comprises: Obtaining a configuration log corresponding to the initial configuration file, and verifying the configuration log; If the verification fails, the step of detecting whether the co-package information exists in the machine co-package is executed; If the verification is successful, the initial configuration file is used as the configuration file.
7. A device for automatically configuring and submitting machine function items, characterized in that: The automatic configuration and submission device for machine function items includes: A maintenance module, used to obtain preset machine function item information, maintain the preset specification template according to the machine function item information, and obtain a target specification template, wherein the target specification template refers to the preset specification template after being updated according to the machine function item information; A configuration module is used to obtain the co-package information of the target product, configure the function items according to the co-package information and the target specification template, and generate a configuration file, wherein the co-package information refers to the function items of the product that cannot be completed by one machine, and the step of configuring the function items according to the co-package information and the target specification template and generating a configuration file includes: Acquire the actual function item information of the target product, configure the repeated function items in the target specification template according to the actual function item information, and obtain the proposed configuration file; acquire the preset machine common package, and detect whether the machine common package exists in the common package information; if the machine common package exists, add the machine common package to the proposed configuration file to obtain the initial configuration file, and determine the configuration file according to the initial configuration file, wherein the machine common package refers to the configuration of the machine to complete the product function together; The processing module is used to generate a corresponding task submission request according to the configuration file, determine the submission result of the configuration file according to the task submission request, and perform configuration review on the configuration file according to the submission result.
8. A device for automatically configuring and submitting machine function items, characterized in that: The machine function item automatic configuration and submission device includes: a memory, a processor, and a machine function item automatic configuration and submission program stored in the memory and executable on the processor. When the machine function item automatic configuration and submission program is executed by the processor, the steps of the machine function item automatic configuration and submission method as described in any one of claims 1 to 6 are implemented.
9. A storage medium, characterized in that: The storage medium stores a machine function item automatic configuration and submission program, which, when executed by a processor, implements the steps of the machine function item automatic configuration and submission method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Report data filling method and system
CN103268335A
Specification generation method and device and terminal equipment
CN112966488A