A method, device and electronic device for inputting key fields of an SPC system
By setting the key-value input cell attributes to key type in the SPC system and displaying the selection control, the problem of key-value blank during user configuration is solved, and the complete and orderly display of key-value combinations of key-values in key fields is achieved, improving the user experience and input efficiency.
Patent Information
- Application Number
- CN202111640193.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-29
- Publication Date
- 2024-12-24
- Estimated Expiration
- 2041-12-29
AI Technical Summary
In the data acquisition planning page of the SPC system, when users configure the key values of the key fields, the key values previously configured will easily become blank, resulting in the inability to display the key values of the key fields in a flexible and orderly manner.
In the SPC system, in response to the data input command triggered by the user in the data acquisition planning interface, the key value input cell attributes corresponding to the cell position information are set to a key type, and the key value selection control is displayed, allowing the user to select and enter the target key Value, finally set the key-value input cell attribute to text type to ensure a complete and ordered display of key-value combinations.
It realizes that the key field key value is configured in the SPC system, so that the configured key value combinations can be displayed in a complete and orderly manner, improving the flexibility and efficiency of user input.
Smart Images

Figure CN114327191B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of data information processing, and in particular to a key field input method, device and electronic device of an SPC system. Background Art
[0002] The SPC (Statistical Process Control) system is a scientific, data-based quality analysis and improvement tool. It uses mathematical statistics principles to collect and analyze test data to achieve the effect of "pre-prevention", thereby effectively controlling the production process and continuously improving quality. The SPC system often needs to be used in conjunction with the Manufacturing Execution System (MES) to assist the production department and the quality department in monitoring and controlling production quality.
[0003] According to the product batch information of the MES system, such as the final finished product number (Finish Good ID), product ID (Product ID), product version (Product Version), process route (Route), production equipment (Process Equipment), operation procedure (Oper), measurement equipment (Measurement Equipment), process route version (Route Version) and other related information, the relationship group is selected to associate with the SPC system, and the user enters data on the data collection plan (EDC Plan) page of the SPC system or automatically collects data in the storage space of the corresponding parameters to achieve the purpose of data collection.
[0004] At present, when users use the data collection plan page of the SPC system client to configure key values of key fields, there is often a defect that the previously configured key values become blank, which results in the inability to flexibly and orderly display the configured key field key value combinations. Summary of the invention
[0005] The embodiments of the present disclosure at least provide a method, device and electronic device for inputting key fields of an SPC system, which can display the configured key field key value combinations completely and orderly during the process of configuring key field key values in the SPC system.
[0006] The present disclosure provides a method for inputting key fields of an SPC system, the method comprising:
[0007] In response to a data input instruction triggered by a user on a data collection plan interface in the SPC system, wherein the data input instruction includes cell location information, setting an attribute of a key value input cell corresponding to the cell location information to a key type;
[0008] Display a key value selection control corresponding to the cell position information;
[0009] In response to a target key value selected by a user in the key value selection control, inputting the target key value into the key value input cell;
[0010] The attribute corresponding to the key value input cell is set to text type.
[0011] In an optional implementation, in response to the data input instruction triggered by the user on the data collection plan interface in the SPC system, before the data input instruction includes the cell location information, the method further includes:
[0012] Obtain multiple key field types required by users;
[0013] A plurality of the key field types and a key value input cell corresponding to each of the key field types are displayed in the data collection plan interface.
[0014] In an optional implementation, the key value selection control includes an input field and a key value selection list, wherein the key value selection list displays a plurality of candidate key values, and the candidate key values are displayed based on the following method:
[0015] Obtain the input content entered by the user in the input field;
[0016] Determine a preset key value database corresponding to the key field type according to the key field type corresponding to the key value input cell;
[0017] Determine, in the preset key value database, a plurality of candidate key values corresponding to the input content whose relevance is greater than a preset relevance threshold;
[0018] The plurality of candidate key values are displayed in the key value selection list.
[0019] In an optional implementation manner, the method for displaying a key value selection control corresponding to the cell position information specifically includes:
[0020] Detecting a click operation of a mouse pointer operated by a user at the key value input cell;
[0021] The preset drop-down list display control is called, and the key value selection control is displayed at the position corresponding to the mouse pointer.
[0022] In an optional implementation manner, in response to a target key value selected by a user in the key value selection control, the method of inputting the target key value into the key value input cell specifically includes:
[0023] Detecting a selection operation of a mouse pointer operated by a user at the key value selection control;
[0024] Determining the target key value selected by the selection operation;
[0025] Setting the cell type corresponding to the key value input cell to a blank type;
[0026] The target key value is assigned to the text attribute of the key value input cell.
[0027] The present disclosure also provides a key field input device for an SPC system, the device comprising:
[0028] A first setting module is used to respond to a data input instruction triggered by a user in a data collection plan interface in the SPC system, wherein the data input instruction includes cell location information, and set the attribute of a key value input cell corresponding to the cell location information to a key type;
[0029] A display module, used for displaying a key value selection control corresponding to the cell position information;
[0030] An input module, configured to input the target key value into the key value input cell in response to a target key value selected by a user in the key value selection control;
[0031] The second setting module is used to set the attribute corresponding to the key value input cell to text type.
[0032] In an optional implementation manner, the display module is specifically used for:
[0033] Detecting a click operation of a mouse pointer operated by a user at the key value input cell;
[0034] The preset drop-down list display control is called, and the key value selection control is displayed at the position corresponding to the mouse pointer.
[0035] In an optional implementation manner, the input module is specifically used for:
[0036] Detecting a selection operation of a mouse pointer operated by a user at the key value selection control;
[0037] Determining the target key value selected by the selection operation;
[0038] Setting the cell type corresponding to the key value input cell to a blank type;
[0039] The target key value is assigned to the text attribute of the key value input cell.
[0040] In an optional implementation, the key value selection control includes an input bar and a key value selection list, wherein the key value selection list displays a plurality of candidate key values, and the display module includes a candidate key value display unit, and the candidate key value display unit is used to:
[0041] Obtain the input content entered by the user in the input field;
[0042] Determine a preset key value database corresponding to the key field type according to the key field type corresponding to the key value input cell;
[0043] Determine, in the preset key value database, a plurality of candidate key values corresponding to the input content whose relevance is greater than a preset relevance threshold;
[0044] The plurality of candidate key values are displayed in the key value selection list.
[0045] In an optional implementation manner, the key field input device further includes a key value input cell display module, and the key value input cell display module is used to:
[0046] Obtain multiple key field types required by users;
[0047] A plurality of the key field types and a key value input cell corresponding to each of the key field types are displayed in the data collection plan interface.
[0048] An embodiment of the present disclosure also provides an electronic device, including: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the above-mentioned key field input method, or steps in any possible implementation of the above-mentioned key field input method are executed.
[0049] The embodiment of the present disclosure also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method for inputting key fields or steps in any possible implementation of the method for inputting key fields is executed.
[0050] The disclosed embodiments provide a method, device and electronic device for inputting key fields of an SPC system, which responds to a data input instruction triggered by a user in a data collection plan interface in an SPC system, wherein the data input instruction includes cell location information; sets the attribute of a key value input cell corresponding to the cell location information to a key type; displays a key value selection control corresponding to the cell location information; responds to a target key value selected by a user in the key value selection control, inputs the target key value into a key value input cell; sets the attribute corresponding to the key value input cell to a text type. In the process of configuring key field key values in an SPC system, the configured key field key value combination can be displayed in a complete and orderly manner.
[0051] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following is a brief introduction to the drawings required for use in the embodiments. The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and are used together with the specification to illustrate the technical solutions of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can also be obtained based on these drawings without creative work.
[0053] Figure 1 A schematic diagram of a data collection plan interface of an SPC system provided by an embodiment of the present disclosure is shown;
[0054] Figure 2 A flowchart of a key field input method of an SPC system provided by an embodiment of the present disclosure is shown;
[0055] Figure 3 A flowchart showing another method for inputting key fields of an SPC system provided by an embodiment of the present disclosure is shown;
[0056] Figure 4 A schematic diagram of a key field input device of an SPC system provided by an embodiment of the present disclosure is shown;
[0057] Figure 5 A schematic diagram of an electronic device provided by an embodiment of the present disclosure is shown.
[0058] Illustrations: 100 - data collection plan interface; 110 - key field type display cell; 120 - key value input cell; 130 - key value selection control; 131 - input bar; 132 - key value selection list; 400 - key field input device; 410 - first setting module; 420 - display module; 430 - input module; 440 - second setting module; 51 - processor; 52 - memory; 53 - bus; 521 - memory; 522 - external memory. DETAILED DESCRIPTION
[0059] In order to make the purpose, technical scheme and advantages of the embodiments of the present disclosure clearer, the technical scheme in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The components of the embodiments of the present disclosure generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the present disclosure for protection, but merely represents the selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present disclosure.
[0060] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0061] The term "and / or" herein only describes an association relationship, indicating that three relationships may exist. For example, A and / or B may represent the following three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C may represent including any one or more elements selected from the set consisting of A, B, and C.
[0062] Research has found that in the existing key field input process, when users use the data collection plan page of the SPC system client to configure key field values, there is often a defect that the previously configured key values become blank, which in turn causes the configured key field key value combinations to be unable to be displayed flexibly and orderly.
[0063] Based on the above research, the present disclosure provides a key field input method, device and electronic device of an SPC system, which responds to a data input instruction triggered by a user in a data collection plan interface in an SPC system, wherein the data input instruction includes cell location information; sets the attribute of the key value input cell corresponding to the cell location information to a key type; displays a key value selection control corresponding to the cell location information; responds to a target key value selected by the user in the key value selection control, inputs the target key value into the key value input cell; sets the attribute corresponding to the key value input cell to a text type. In the process of configuring key field key values in an SPC system, the configured key field key value combination can be displayed completely and orderly.
[0064] In order to facilitate understanding of the embodiments of the present disclosure, a data collection plan interface of an SPC system provided by the embodiments of the present disclosure is first introduced. Figure 1 , which is a schematic diagram of a data collection plan interface 100 of an SPC system provided in an embodiment of the present disclosure.
[0065] like Figure 1 As shown in , the data collection plan interface 100 of the SPC system provided in the embodiment of the present application displays: a key field type display cell 110, a key value input cell 120 and a key value selection control 130, wherein the key value selection control 130 includes an input field 131 and a key value selection list 132.
[0066] Here, the key field types displayed in the key field type display cell 110 can be freely combined according to the needs of the user in actual production work, wherein the key field types may include the final finished product number (Finish Good ID), product ID (Product ID), product version (Product Version), process route (Route), production equipment (Process Equipment), operation procedure (Oper), measurement equipment (Measurement Equipment), process route version (Route Version) and other types of data obtained from the manufacturing execution system (Manufactory execute system, MES), and may also include equipment (Equipment), sub-equipment (SubEquipment) and other types of data obtained from the equipment automation programming (Equipment Automation Programing, EAP) system.
[0067] Furthermore, for the key value input cell 120 under each key field type, the user can input a key field key value (Channel Key Combination Key-VALUE, CKC KEY-VALUE) corresponding to the key field type in the key value input cell 120 .
[0068] Among them, multiple key value input cells 120 can be set under each key field type, and multiple different types of key field types and multiple different key field key values under each key field type can constitute multiple key field key value groups to correspond to a data collection plan (EDC Plan).
[0069] Furthermore, the input bar 131 and the key value selection list 132 can provide the user with a fuzzy search function. When the user enters the key value of the key field to be entered, the user is provided with an approximate key field key value corresponding to the user input content for selection.
[0070] In this way, when using the SPC system, users can directly obtain data from the MES and EAP systems, and can meet the needs of non-fixed numbers of key fields (Channel Key Combination key, CKC Key) in actual applications. Different numbers of key field combinations can be made according to the actual needs of users. At the same time, a fuzzy search function is provided for users in the process of entering key field values, making user input convenient and quick, and improving input efficiency and user experience.
[0071] The following is a detailed introduction to a key field input method of an SPC system disclosed in an embodiment of the present disclosure. The execution subject of the key field input method of the SPC system provided in the embodiment of the present disclosure is generally a computer device with certain computing capabilities, and the computer device includes, for example: a terminal device or a server or other processing device, and the terminal device can be a user equipment (User Equipment, UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (Personal Digital Assistant, PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc. In some possible implementations, the key field input method of the SPC system can be implemented by a processor calling a computer-readable instruction stored in a memory.
[0072] See also Figure 2 As shown, it is a flowchart of a key field input method of an SPC system provided by an embodiment of the present disclosure, including steps S201 to S204, wherein:
[0073] S201. In response to a data input instruction triggered by a user in a data collection plan interface in the SPC system, wherein the data input instruction includes cell location information, an attribute of a key value input cell corresponding to the cell location information is set to a key type.
[0074] In this step, the data collection plan interface in the SPC system displays multiple key field types selected by the user, and displays blank cells for inputting key field key values corresponding to each key field type as key value input cells. In response to the data input instruction triggered by the user in the data collection plan interface for the key value input cell, the data input instruction includes cell location information.
[0075] The preset trigger operation may be a click operation of the user operating the mouse pointer within the range of the key value input cell. The cell position information contained in the data input instruction may be the click position of the mouse pointer within the range of the key value input cell, or the position of the key value input cell of the user triggering the data input instruction in the data collection plan interface.
[0076] S202: Display a key value selection control corresponding to the cell position information.
[0077] In this step, after the user triggers the data input instruction, since the property of the key value input cell is set to button type, the data input instruction can trigger the button click event, and then in the data collection plan interface, a key value selection control is displayed at the actual position corresponding to the cell position information for the user to select the required key field key value.
[0078] Here, the key value selection control includes an input field and a key value selection list, wherein the key value selection list displays a plurality of candidate key values.
[0079] The input bar is used to obtain the input content entered by the user and provide a fuzzy search function according to the input content entered by the user. The key value selection list is used to display the alternative key values fuzzily searched according to the input content entered by the user. The user can operate the mouse pointer to select the required key field key value from the multiple alternative key values displayed in the key value selection list for input.
[0080] As a possible implementation method, alternative key values are displayed based on the following method: obtaining input content entered by the user in the input bar; determining a preset key value database corresponding to the key field type according to the key field type corresponding to the key value input cell; determining in the preset key value database, multiple alternative key values whose relevance corresponding to the input content is greater than a preset relevance threshold; and displaying the multiple alternative key values in a key value selection list.
[0081] Here, according to the key field type corresponding to the key value input cell selected by the user, communication is carried out with a preset key value database that can obtain this key field type, and multiple key field key values corresponding to the input content whose relevance is greater than a preset relevance threshold are selected from the preset key value database as alternative key values, and they are displayed in the key value selection list for the user to select.
[0082] Among them, the preset key-value database can be an MES system and an EAP system that work in coordination with the SPC system. For example, if the key field type selected by the user is operation process (Oper) data, the data is stored in the MES system. Therefore, after obtaining the input content entered by the user in the input field, communication is performed with the MES system, and data related to the user input content is searched and screened in the operation process (Oper) data stored in the MES system. The operation process (Oper) data with higher similarity is arranged in descending order according to the corresponding relevance, and the arranged operation process (Oper) data is then displayed in the key-value selection list.
[0083] As a possible implementation, a key value selection control corresponding to the cell position information is displayed based on the following method: detecting a click operation of a user's mouse pointer on the key value input cell; calling a preset drop-down list display control, and displaying the key value selection control at the position corresponding to the mouse pointer.
[0084] Here, the mouse click operation performed by the user using the mouse is used as a data input instruction. At the position where the user clicks the mouse pointer in the data collection plan interface, the preset drop-down list display control for displaying the drop-down list type control is called, and the key value selection control is displayed at the position where the user clicks the mouse pointer.
[0085] S203: In response to a target key value selected by a user in the key value selection control, input the target key value into the key value input cell.
[0086] In this step, after detecting the user's selection operation in the key value selection control, the target key value selected by the user in the key value selection control is determined according to the user's selection operation in the key value selection control, and the target key value is input into the key value input cell.
[0087] As a possible implementation, the method for inputting the target key value into the key value input cell specifically includes: detecting a selection operation of a user's mouse pointer at the key value selection control; determining the target key value selected by the selection operation; setting the cell type corresponding to the key value input cell to blank type; and assigning the target key value to the text attribute of the key value input cell.
[0088] S204: Set the attribute corresponding to the key value input cell to text type.
[0089] In this step, for the key value input cell where the key value of the key field has been entered, set the attribute corresponding to the key value input cell to text type.
[0090] The embodiment of the present application provides a method for inputting key fields in an SPC system, which responds to a data input instruction triggered by a user in a data collection plan interface in an SPC system, wherein the data input instruction includes cell location information; sets the attribute of a key value input cell corresponding to the cell location information to a key type; displays a key value selection control corresponding to the cell location information; responds to a target key value selected by a user in the key value selection control, inputs the target key value into a key value input cell; sets the attribute corresponding to the key value input cell to a text type. In the process of configuring key field key values in an SPC system, the configured key field key value combination can be displayed in a complete and orderly manner.
[0091] See also Figure 3 As shown, it is a flowchart of another key field input method of the SPC system provided by an embodiment of the present disclosure, including steps S301 to S305, wherein:
[0092] S301, obtaining multiple key field types required by the user; and displaying multiple key field types and key value input cells corresponding to each key field type in the data collection plan interface.
[0093] In this step, users can select a variety of different key field type combinations based on actual work needs.
[0094] Among them, the key field type may include data of the type of Finish Good ID, Product ID, Product Version, Route, Process Equipment, Operation, Measurement Equipment, Route Version, etc. obtained from the Manufacturing Execution System (MES), and may also include data of the type of Equipment, SubEquipment, etc. obtained from the Equipment Automation Programing (EAP) system. As a possible implementation, the key field type may be displayed in the form of a cell, as a header bar of the data collection plan form, and its arrangement may be horizontal or vertical, which may be selected according to actual needs during the specific implementation process, and no specific restrictions are made here. When the key field types are arranged horizontally, the key value input cells are arranged vertically under each key field type, and the number of key value input cells under each key field type may be set to one at first, and when the user needs to enter multiple, they may be added manually.
[0095] In this way, when using the SPC system, users can meet the requirements of non-fixed number of key field types and corresponding key field key values. The key field types and the number of key field key values corresponding to each key field type can be combined in different quantities according to the actual needs of users.
[0096] As a possible implementation, a method for obtaining multiple key field types required by a user may be as follows: multiple key field type selection cells are displayed on a data collection plan interface of an SPC system; when a click operation of a user on the key field type selection cell is detected, a key field type drop-down box is displayed below the key field type selection cell, wherein multiple key field types are displayed in the key field type drop-down box; and when a selection operation of a user on a key field type displayed in the key field type drop-down box is detected, the key field type corresponding to the selection operation is displayed in the key field type selection cell.
[0097] S302, in response to a data input instruction triggered by a user in a data collection plan interface in the SPC system, wherein the data input instruction includes cell location information, setting the attribute of a key value input cell corresponding to the cell location information to a key type.
[0098] S303: Display a key value selection control corresponding to the cell position information.
[0099] S304: In response to a target key value selected by a user in the key value selection control, input the target key value into the key value input cell.
[0100] S305: Set the attribute corresponding to the key value input cell to text type.
[0101] Among them, the implementation method of step S302-step S305 is the same as that of step S201-step S204, and the same technical effect can be achieved, which will not be repeated here.
[0102] The embodiment of the present application provides a method for inputting key fields in an SPC system, which responds to a data input instruction triggered by a user in a data collection plan interface in an SPC system, wherein the data input instruction includes cell location information; sets the attribute of a key value input cell corresponding to the cell location information to a key type; displays a key value selection control corresponding to the cell location information; responds to a target key value selected by a user in the key value selection control, inputs the target key value into a key value input cell; sets the attribute corresponding to the key value input cell to a text type. In the process of configuring key field key values in an SPC system, the configured key field key value combination can be displayed in a complete and orderly manner.
[0103] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.
[0104] Based on the same inventive concept, the embodiment of the present disclosure also provides a key field input device for the SPC system corresponding to the key field input method of the SPC system. Since the principle of solving the problem by the device in the embodiment of the present disclosure is similar to the key field input method of the SPC system mentioned above in the embodiment of the present disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0105] See also Figure 4 , Figure 4 A schematic diagram of a key field input device 400 of an SPC system provided in an embodiment of the present disclosure is shown as follows: Figure 4 As shown in , the key field input device 400 provided by the embodiment of the present disclosure includes: a first setting module 410; a display module 420; an input module 430; and a second setting module 440.
[0106] A first setting module 410 is used to respond to a data input instruction triggered by a user in a data collection plan interface in the SPC system, wherein the data input instruction includes cell location information, and set the attribute of the key value input cell corresponding to the cell location information to a key type;
[0107] Display module 420, used to display a key value selection control corresponding to the cell position information;
[0108] An input module 430, configured to input the target key value into the key value input cell in response to a target key value selected by a user in the key value selection control;
[0109] The second setting module 440 is used to set the attribute corresponding to the key value input cell to text type.
[0110] Optionally, the display module 420 is specifically used for:
[0111] Detecting a click operation of a mouse pointer operated by a user at the key value input cell;
[0112] The preset drop-down list display control is called, and the key value selection control is displayed at the position corresponding to the mouse pointer.
[0113] Optionally, the input module 430 is specifically used for:
[0114] Detecting a selection operation of a mouse pointer operated by a user at the key value selection control;
[0115] Determining the target key value selected by the selection operation;
[0116] Setting the cell type corresponding to the key value input cell to a blank type;
[0117] The target key value is assigned to the text attribute of the key value input cell.
[0118] Optionally, the key value selection control includes an input bar and a key value selection list, wherein the key value selection list displays a plurality of candidate key values, and the display module includes a candidate key value display unit, and the candidate key value display unit is used to:
[0119] Obtain the input content entered by the user in the input field;
[0120] Determine a preset key value database corresponding to the key field type according to the key field type corresponding to the key value input cell;
[0121] Determine, in the preset key value database, a plurality of candidate key values corresponding to the input content whose relevance is greater than a preset relevance threshold;
[0122] The plurality of candidate key values are displayed in the key value selection list.
[0123] Optionally, the key field input device 400 further includes a key value input cell display module, and the key value input cell display module is used to:
[0124] Obtain multiple key field types required by users;
[0125] A plurality of the key field types and a key value input cell corresponding to each of the key field types are displayed in the data collection plan interface.
[0126] For descriptions of the processing flow of each module in the device and the interaction flow between each module, reference may be made to the relevant descriptions in the above method embodiment, which will not be described in detail here.
[0127] The key field input device of the SPC system provided by the embodiment of the present disclosure responds to the data input instruction triggered by the user in the data collection plan interface of the SPC system, wherein the data input instruction includes the cell location information; the attribute of the key value input cell corresponding to the cell location information is set to the key type; the key value selection control corresponding to the cell location information is displayed; in response to the target key value selected by the user in the key value selection control, the target key value is input into the key value input cell; and the attribute corresponding to the key value input cell is set to the text type. In the process of configuring the key value of the key field in the SPC system, the configured key field key value combination can be displayed completely and orderly.
[0128] Corresponds to Figure 2 and Figure 3 The key field input method of the SPC system in the present disclosure also provides an electronic device 500, such as Figure 5 FIG. 5 is a schematic diagram of the structure of an electronic device 500 provided in an embodiment of the present disclosure, including:
[0129] Processor 51, memory 52, and bus 53; memory 52 is used to store execution instructions, including memory 521 and external memory 522; memory 521 here is also called internal memory, which is used to temporarily store operation data in processor 51 and data exchanged with external memory 522 such as hard disk. Processor 51 exchanges data with external memory 522 through memory 521. When the electronic device 500 is running, the processor 51 communicates with the memory 52 through bus 53, so that the processor 51 executes Figure 1 and Figure 3 Steps for entering key fields into the SPC system.
[0130] The present disclosure also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the key field input method of the SPC system described in the above method embodiment are executed. The storage medium can be a volatile or non-volatile computer-readable storage medium.
[0131] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is implemented as a computer storage medium. In another optional embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).
[0132] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the device or unit can be electrical, mechanical or other forms.
[0133] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0134] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0135] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0136] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims
1. A key field input method for an SPC system, characterized in that: The method comprises: Obtain multiple key field types required by users; Displaying a plurality of the key field types and a key value input cell corresponding to each of the key field types in a data collection plan interface; In response to a data input instruction triggered by a user in a data collection plan interface in the SPC system, wherein the data input instruction includes cell location information, setting the attribute of a key value input cell corresponding to the cell location information to a key type; and displaying a key value selection control corresponding to the cell location information; The key value selection control includes an input field and a key value selection list, wherein the key value selection list displays a plurality of candidate key values, and the candidate key values are displayed based on the following method: Obtain the input content entered by the user in the input field; Determine a preset key value database corresponding to the key field type according to the key field type corresponding to the key value input cell; Determine, in the preset key value database, a plurality of candidate key values corresponding to the input content whose relevance is greater than a preset relevance threshold; Displaying a plurality of the candidate key values in the key value selection list; In response to a target key value selected by a user in the key value selection control, inputting the target key value into the key value input cell; Set the attribute corresponding to the key value input cell to text type; The method for displaying a key value selection control corresponding to the cell position information specifically includes: Detecting a click operation of a mouse pointer operated by a user at the key value input cell; The preset drop-down list display control is called, and the key value selection control is displayed at the position corresponding to the mouse pointer.
2. The method according to claim 1, characterized in that The method of inputting the target key value into the key value input cell in response to the target key value selected by the user in the key value selection control specifically includes: Detecting a selection operation of a mouse pointer operated by a user at the key value selection control; Determining the target key value selected by the selection operation; Setting the cell type corresponding to the key value input cell to a blank type; The target key value is assigned to the text attribute of the key value input cell.
3. A key field input device for an SPC system, characterized in that: include: A first setting module is used to respond to a data input instruction triggered by a user in a data collection plan interface in the SPC system, wherein the data input instruction includes cell location information, and set the attribute of a key value input cell corresponding to the cell location information to a key type; A display module, used for displaying a key value selection control corresponding to the cell position information; An input module, configured to input the target key value into the key value input cell in response to a target key value selected by a user in the key value selection control; A second setting module is used to set the attribute corresponding to the key value input cell to text type; The display module is specifically used for: Detecting a click operation of a mouse pointer operated by a user at the key value input cell; Recalling a preset drop-down list display control, and displaying the key value selection control at the position corresponding to the mouse pointer; The device is also used to obtain multiple key field types required by the user; Displaying a plurality of the key field types and a key value input cell corresponding to each of the key field types in the data collection plan interface; The key value selection control includes an input field and a key value selection list, wherein the key value selection list displays a plurality of candidate key values, and the candidate key values are displayed based on the following method: Obtain the input content entered by the user in the input field; Determine a preset key value database corresponding to the key field type according to the key field type corresponding to the key value input cell; Determine, in the preset key value database, a plurality of candidate key values corresponding to the input content whose relevance is greater than a preset relevance threshold; The plurality of candidate key values are displayed in the key value selection list.
4. The device according to claim 3, characterized in that The input module is specifically used for: Detecting a selection operation of a mouse pointer operated by a user at the key value selection control; Determining the target key value selected by the selection operation; Setting the cell type corresponding to the key value input cell to a blank type; The target key value is assigned to the text attribute of the key value input cell.
5. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the key field input method of the SPC system as described in any one of claims 1 to 2 are performed.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the key field input method of the SPC system as described in any one of claims 1 to 2 are executed.
