Selector processing method and device, storage medium and electronic equipment
By dynamically configuring and displaying the selector option list and supporting table and tree display, it solves the problem of the selector control in the existing technology being unable to adapt to multiple usage scenarios and improves the configuration effect.
Patent Information
- Application Number
- CN202410815179.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-10-01
AI Technical Summary
The selector control in the existing form designer cannot dynamically set drop-down options, and the drop-down option interface can only be presented as a list and cannot be configured into other display forms, making it difficult to adapt to multiple usage scenarios and causing poor configuration effects.
By obtaining the option data of the target selector and multiple pre-configured display forms, dynamically configure and display the option list of the selector, support table and tree display forms, and realize the variable display form of the selector option interface.
Improved the configuration effect of the selector control in the form designer, allowing it to adapt to a variety of usage scenarios and enhance the user experience.
Smart Images

Figure CN118732906A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a selector processing method and device, a storage medium and an electronic device. Background Art
[0002] The form designer is a tool that allows you to design forms in a "what you see is what you get" style. Users only need to drag and drop the required components onto the page. In addition, a selector is a control that includes an input box and drop-down options, and displays all options in a centralized manner.
[0003] For example, Figure 1 is a schematic diagram of options of a selector in a form designer provided according to the prior art, and Figure 2 is a schematic diagram of a drop-down option interface of a selector in a form designer provided according to the prior art, such as Figure 1 and Figure 2 As shown, the selector in the form designer in the related art generally configures the number of drop-down options and the option names, and can add or remove an option, change the order of options, and edit the option content.
[0004] However, the selector control in the form designer in the related art can generally only configure fixed options, and cannot support dynamic setting of drop-down options. In addition, the drop-down option interface can only be presented in a list form and cannot be configured in other display forms. That is, the display form of the drop-down option interface can only be fixed as a list of multiple options, and cannot be presented in other display forms, which makes it difficult for the selector control in the form designer in the related art to adapt to a variety of usage scenarios. Therefore, the effect of configuring the selector control in the form designer in the related art is poor.
[0005] With respect to the problem that the effect of configuring the selector control in the form designer in the related art is poor, no effective solution has been proposed yet. Summary of the invention
[0006] The main purpose of the present application is to provide a method and device for processing a selector, a storage medium and an electronic device to solve the problem of poor effect of configuring a selector control in a form designer in the related art.
[0007] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a method for processing a selector is provided. The method comprises: obtaining a target request for configuring option data of a target selector, wherein the target selector is a selector to be configured in a target form, the target selector is used to provide a selection operation for a target object, and the target form is used to process data information in a management information system; according to the target request, determining the option data that the target selector needs to display; obtaining multiple pre-configured display forms, wherein the multiple display forms are used to display the option data in the target selector; and configuring the target selector according to the multiple display forms and the option data that the target selector needs to display.
[0008] Furthermore, based on the target request, determining the option data that the target selector needs to display includes: obtaining a target parameter name based on the target request, wherein the target parameter name is a parameter name required to configure the target selector; obtaining a target parameter value corresponding to the target parameter name, and determining the option data that the target selector needs to display based on the target parameter name and the target parameter value.
[0009] Further, according to the target request, obtaining the target parameter name includes: according to the target request, determining address information and method information for obtaining the target parameter name; and obtaining the target parameter name based on the address information and method information for obtaining the target parameter name.
[0010] Furthermore, obtaining the target parameter value corresponding to the target parameter name includes: obtaining multiple source information of the target parameter value; determining target source information from the multiple source information, and obtaining the target parameter value corresponding to the target parameter name based on the target source information.
[0011] Furthermore, configuring the target selector according to the multiple display forms and the option data that the target selector needs to display includes: selecting a target display form from the multiple display forms, wherein the multiple display forms include at least: a table display form and a tree display form; configuring the target selector according to the target display form and the option data that the target selector needs to display.
[0012] Furthermore, if the target display form is a table display form, configuring the target selector according to the target display form and the option data that the target selector needs to display includes: based on the target display form, obtaining the target table, and setting the target table to obtain the set target table; configuring the target selector according to the set target table and the option data that the target selector needs to display.
[0013] Furthermore, after configuring the target selector according to the multiple display forms and the option data that the target selector needs to display, the method also includes: determining whether it is necessary to configure the selectors other than the target selector in the target form; if it is not necessary to configure the selectors other than the target selector in the target form, prohibiting the configuration of the selectors other than the target selector in the target form; if it is necessary to configure the selectors other than the target selector in the target form, configuring the selectors other than the target selector in the target form according to the option data that the target selector needs to display.
[0014] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a selector processing device is provided. The device comprises: a first acquisition unit, used to acquire a target request for configuring option data of a target selector, wherein the target selector is a selector to be configured in a target form, the target selector is used to provide a selection operation for a target object, and the target form is used to process data information in a management information system; a first determination unit, used to determine the option data that the target selector needs to display according to the target request; a second acquisition unit, used to acquire a plurality of pre-configured display forms, wherein the plurality of display forms are used to display the option data in the target selector; a first configuration unit, used to configure the target selector according to the plurality of display forms and the option data that the target selector needs to display.
[0015] Furthermore, the first determination unit includes: a first acquisition module, used to obtain a target parameter name based on the target request, wherein the target parameter name is a parameter name required to configure the target selector; a first processing module, used to obtain a target parameter value corresponding to the target parameter name, and determine the option data that the target selector needs to display based on the target parameter name and the target parameter value.
[0016] Furthermore, the first acquisition module includes: a first determination submodule, used to determine the address information and method information for obtaining the target parameter name according to the target request; and a first acquisition submodule, used to obtain the target parameter name based on the address information and method information for obtaining the target parameter name.
[0017] Furthermore, the first processing module includes: a second acquisition submodule, used to obtain multiple source information of the target parameter value; a first processing submodule, used to determine the target source information from the multiple source information, and obtain the target parameter value corresponding to the target parameter name based on the target source information.
[0018] Furthermore, the first configuration unit includes: a second processing module, used to select a target display form from the multiple display forms, wherein the multiple display forms include at least: a table display form and a tree display form; a first configuration module, used to configure the target selector according to the target display form and the option data that the target selector needs to display.
[0019] Furthermore, if the target display form is a table display form, the first configuration module includes: a second processing sub-module, used to obtain the target table based on the target display form, and set the target table to obtain the set target table; a first configuration sub-module, used to configure the target selector according to the set target table and the option data that the target selector needs to display.
[0020] Furthermore, the device also includes: a first judgment unit, used to judge whether it is necessary to configure the selectors other than the target selector in the target form after configuring the target selector according to the multiple display forms and the option data that the target selector needs to display; a first processing unit, used to prohibit the configuration of the selectors other than the target selector in the target form if it is not necessary to configure the selectors other than the target selector in the target form; and a second configuration unit, used to configure the selectors other than the target selector in the target form according to the option data that the target selector needs to display if it is necessary to configure the selectors other than the target selector in the target form.
[0021] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a computer-readable storage medium is provided, wherein the storage medium stores a program, wherein the program executes any one of the above-mentioned selector processing methods.
[0022] In order to achieve the above-mentioned purpose, according to another aspect of the present application, an electronic device is provided, which includes one or more processors and a memory, and the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement any one of the above-mentioned selector processing methods.
[0023] Through this application, the following steps are adopted: obtaining a target request for configuring option data of a target selector, wherein the target selector is a selector to be configured in a target form, the target selector is used to provide a selection operation for a target object, and the target form is used to process data information in a management information system; according to the target request, determining the option data that the target selector needs to display; obtaining a plurality of pre-configured display forms, wherein the plurality of display forms are used to display the option data in the target selector; configuring the target selector according to the plurality of display forms and the option data that the target selector needs to display, thereby solving the problem of poor effect of the selector control in the configuration form designer in the related art. By constructing an option list of the target selector to be configured in the target form through a back-end request, the option list of the selector in the form can be dynamically configured, and the option list of the target selector in the target form can be displayed according to the pre-configured plurality of display forms, so that when configuring the selector in the form, the display form of the option interface of the selector in the form can be variable, and the selector in the form can be adapted to the effect of a plurality of usage scenarios, thereby improving the effect of the selector control in the configuration form designer. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0025] Figure 1 is a schematic diagram of options of a selector in a form designer provided according to the prior art;
[0026] Figure 2 It is a schematic diagram of a drop-down option interface of a selector in a form designer provided according to the prior art;
[0027] Figure 3 This is the process of the selector processing method provided in the embodiment of the present application Figure 1 ;
[0028] Figure 4 This is the process of the selector processing method provided in the embodiment of the present application Figure 2 ;
[0029] Figure 5 This is the process of the selector processing method provided in the embodiment of the present application Figure 3 ;
[0030] Figure 6 is a schematic diagram of a processing device of a selector provided according to an embodiment of the present application;
[0031] Figure 7 is a schematic diagram of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0032] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0033] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0034] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0035] It should be noted that the relevant information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties. For example, an interface is set between this system and the relevant user or organization. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or organization.
[0036] For the convenience of description, some nouns or terms involved in the embodiments of the present application are explained below:
[0037] Management information system: PDM system (Product Data Management System), PLM system (Product Lifecycle Management System), graphic and document management system and process data management system, etc. The above management information systems can be referred to as systems.
[0038] Form: A screen interface for users to communicate with computers, used for displaying, inputting and modifying data. This interface is a container class that can contain multiple controls.
[0039] Selector: A control that pops up a drop-down menu for the user to select an operation.
[0040] Metamodel: A specification that describes a model, specifically the elements that make up the model and the relationships between them.
[0041] The present invention is described below in conjunction with preferred implementation steps. Figure 3 This is the process of the selector processing method provided in the embodiment of the present application Figure 1 ,like Figure 3 As shown, the method comprises the following steps:
[0042] Step S301, obtaining a target request for configuring option data of a target selector, wherein the target selector is a selector to be configured in a target form, the target selector is used to provide a selection operation for a target object, and the target form is used to process data information in a management information system.
[0043] For example, the above-mentioned management information system can be a PDM system, a PLM system, a graphic document management system, a process data management system, etc., and the above-mentioned target form can be a screen interface for displaying, inputting, modifying and other processing (corresponding to the above-mentioned data information) in the PDM system or PLM system or graphic document management system or process data management system (corresponding to the above-mentioned management information system) (corresponding to the above-mentioned processing of the data information in the management information system).
[0044] In addition, the form designer (corresponding to the above-mentioned target form) may include multiple controls for providing selection operations to the user (corresponding to the above-mentioned target object), and these controls in the form designer (corresponding to the above-mentioned target form) may be called selectors, and each selector in the form designer (corresponding to the above-mentioned target form) may correspond to multiple drop-down options, so before using the form designer (corresponding to the above-mentioned target form), each drop-down option corresponding to each selector in the form designer (corresponding to the above-mentioned target form) may be configured. For example, the above-mentioned target selector may be the selector to be configured in the form designer (corresponding to the above-mentioned target form).
[0045] For example, when configuring the drop-down options (corresponding to the above-mentioned option data) of the selector (corresponding to the above-mentioned target selector) to be configured in the form designer (corresponding to the above-mentioned target form), a back-end request (corresponding to the above-mentioned target request) for constructing a drop-down option list (corresponding to the above-mentioned option data) of the selector (corresponding to the above-mentioned target selector) can be obtained first, and the back-end request (corresponding to the above-mentioned target request) can include the data that needs to be displayed in the drop-down options (corresponding to the above-mentioned option data) of the selector (corresponding to the above-mentioned target selector) and the display format of the data in the drop-down options, etc.
[0046] Step S302: Determine the option data that the target selector needs to display according to the target request.
[0047] For example, based on the obtained backend request (corresponding to the above-mentioned target request), the data (corresponding to the above-mentioned option data) that needs to be displayed in the drop-down option (corresponding to the above-mentioned option data) of the selector to be configured (corresponding to the above-mentioned target selector) in the form designer (corresponding to the above-mentioned target form) can be determined.
[0048] Step S303: obtaining a plurality of pre-configured display forms, wherein the plurality of display forms are used to display the option data in the target selector.
[0049] For example, the above-mentioned multiple display forms can be a pre-configured table display form or a tree display form, that is, the table display form can be used to display the data (corresponding to the above-mentioned option data) that needs to be displayed by the drop-down options (corresponding to the above-mentioned option data) of the selector (corresponding to the above-mentioned target selector), and the tree display form can be used to display the data (corresponding to the above-mentioned option data) that needs to be displayed by the drop-down options (corresponding to the above-mentioned option data) of the selector (corresponding to the above-mentioned target selector). And the appropriate display form can be selected according to actual needs or different usage scenarios.
[0050] Step S304: configuring the target selector according to the various display forms and the option data that the target selector needs to display.
[0051] For example, if it is determined according to actual needs or different usage scenarios that a tree-like display format is needed to display the data (corresponding to the above-mentioned option data) that needs to be displayed for the drop-down options (corresponding to the above-mentioned option data) of the selector (corresponding to the above-mentioned target selector), then when configuring the drop-down options (corresponding to the above-mentioned option data) of the selector (corresponding to the above-mentioned target selector) to be configured in the form designer (corresponding to the above-mentioned target form), a tree-like display format can be used to display the data (corresponding to the above-mentioned option data) that needs to be displayed for the drop-down options (corresponding to the above-mentioned option data) of the selector (corresponding to the above-mentioned target selector), so as to complete the configuration of the selector (corresponding to the above-mentioned target selector) to be configured in the form designer (corresponding to the above-mentioned target form). Configuration; if it is determined according to actual needs or different usage scenarios that the data (corresponding to the above-mentioned option data) to be displayed in the form of a table is required to be displayed for the drop-down options (corresponding to the above-mentioned option data) of the selector (corresponding to the above-mentioned target selector), then when configuring the drop-down options (corresponding to the above-mentioned option data) of the selector (corresponding to the above-mentioned target selector) to be configured in the form designer (corresponding to the above-mentioned target form), the data (corresponding to the above-mentioned option data) to be displayed in the drop-down options (corresponding to the above-mentioned option data) of the selector (corresponding to the above-mentioned target selector) can be displayed in the form of a table to complete the configuration of the selector (corresponding to the above-mentioned target selector) to be configured in the form designer (corresponding to the above-mentioned target form).
[0052] Through the above steps S301 to S304, the option list of the target selector to be configured in the target form is constructed through the back-end request, the option list of the selector in the form can be dynamically configured, and the option list of the target selector in the target form can be displayed according to the pre-configured multiple display forms, so that when the selector in the form is configured, the display form of the option interface of the selector in the form can be variable, and the selector in the form can be adapted to the effects of multiple usage scenarios, thereby improving the effect of configuring the selector control in the form designer.
[0053] Optionally, in the selector processing method provided in the embodiment of the present application, determining the option data that the target selector needs to display based on the target request includes: obtaining the target parameter name based on the target request, wherein the target parameter name is the parameter name required to configure the target selector; obtaining the target parameter value corresponding to the target parameter name, and determining the option data that the target selector needs to display based on the target parameter name and the target parameter value.
[0054] For example, the target parameter name may be the name information corresponding to the drop-down option (corresponding to the option data) of the selector to be configured (corresponding to the target selector) in the form designer (corresponding to the target form). For example, the parameter name corresponding to the drop-down option (corresponding to the option data) of the selector to be configured (corresponding to the target selector) may be the height information of someone, and the target parameter value may be the parameter value corresponding to the parameter name of the drop-down option (corresponding to the option data) of the selector to be configured (corresponding to the target selector) in the form designer (corresponding to the target form). For example, when the parameter name corresponding to the drop-down option (corresponding to the option data) of the selector to be configured (corresponding to the target selector) may be the height information of someone, then the parameter value corresponding to the parameter name of the drop-down option (corresponding to the option data) of the selector to be configured (corresponding to the target selector) may be 170cm.
[0055] For example, according to the obtained backend request (corresponding to the above target request), it can be determined that the name information (corresponding to the above target parameter name) corresponding to the drop-down option (corresponding to the above option data) of the selector to be configured (corresponding to the above target selector) in the form designer (corresponding to the above target form) is the height information of someone; then the height information of someone is obtained as 170cm, and according to the obtained height of someone as 170cm, it can be determined that the parameter value corresponding to the parameter name (corresponding to the above target parameter name) of the drop-down option (corresponding to the above option data) of the selector to be configured (corresponding to the above target selector) in the form designer (corresponding to the above target form) is 170cm (corresponding to the above target parameter value); then according to the table The name information (corresponding to the target parameter name) corresponding to the drop-down option (corresponding to the option data) of the selector to be configured (corresponding to the target selector) in the single designer (corresponding to the target form) is the height information of someone, and the parameter value corresponding to the parameter name (corresponding to the target parameter name) of the drop-down option (corresponding to the option data) of the selector to be configured (corresponding to the target selector) in the form designer (corresponding to the target form) is 170cm (corresponding to the target parameter value). It is determined that the drop-down option (corresponding to the option data) that needs to be displayed in the selector to be configured (corresponding to the target selector) in the form designer (corresponding to the target form) is that someone's height is 170cm.
[0056] Through the above solution, according to the backend request, the data to be displayed in the drop-down option list of the selector to be configured can be quickly and accurately determined.
[0057] Optionally, in the processing method of the selector provided in the embodiment of the present application, obtaining the target parameter name according to the target request includes: determining the address information and method information for obtaining the target parameter name according to the target request; and obtaining the target parameter name based on the address information and method information for obtaining the target parameter name.
[0058] For example, when determining the data (corresponding to the above-mentioned option data) that needs to be displayed for the drop-down options of the selector (corresponding to the above-mentioned target selector) to be configured in the form designer (corresponding to the above-mentioned target form) based on the obtained backend request (corresponding to the above-mentioned target request), the request address (corresponding to the above-mentioned address information) and the request method (corresponding to the above-mentioned method information) can be determined first based on the obtained backend request (corresponding to the above-mentioned target request). That is, it can be determined from which server or database to obtain the name information (corresponding to the above-mentioned target parameter name) of the drop-down options (corresponding to the above-mentioned option data) of the selector (corresponding to the above-mentioned target selector) to be configured in the form designer (corresponding to the above-mentioned target form) and how to obtain the name information (corresponding to the above-mentioned target parameter name) of the drop-down options (corresponding to the above-mentioned option data) of the selector (corresponding to the above-mentioned target selector) to be configured in the form designer (corresponding to the above-mentioned target form) from the server or database.
[0059] For example, the request method (corresponding to the above-mentioned method information) may include a get method or a post method, and the get method is suitable for situations where there is relatively little data, that is, the name information (corresponding to the above-mentioned target parameter name) of the drop-down option (corresponding to the above-mentioned option data) of the selector to be configured (corresponding to the above-mentioned target selector) in the form designer (corresponding to the above-mentioned target form) can be directly obtained from the server or database; while the post method is suitable for situations where there is a large amount of data, that is, it is necessary to first tell the server or database what data needs to be obtained, and then the name information (corresponding to the above-mentioned target parameter name) of the drop-down option (corresponding to the above-mentioned option data) of the selector to be configured (corresponding to the above-mentioned target selector) in the form designer (corresponding to the above-mentioned target form) can be obtained from the server or database.
[0060] Through the above solution, according to the request address and request method, the parameter name information corresponding to the drop-down option of the selector to be configured can be quickly and accurately obtained.
[0061] Optionally, in the processing method of the selector provided in the embodiment of the present application, obtaining the target parameter value corresponding to the target parameter name includes: obtaining multiple source information of the target parameter value; determining the target source information from the multiple source information, and obtaining the target parameter value corresponding to the target parameter name based on the target source information.
[0062] For example, the multiple source information of the target parameter value mentioned above may be a fixed value source, a form data source, a parent node data source, and the like.
[0063] For example, if it is determined that the parameter value source of the drop-down option (corresponding to the above-mentioned option data) that needs to be displayed by the selector to be configured (corresponding to the above-mentioned target selector) in the form designer (corresponding to the above-mentioned target form) is a fixed value source (corresponding to the above-mentioned target source information), then the height of a certain person can be directly entered as 170cm (corresponding to the above-mentioned target parameter value); if it is determined that the parameter value source of the drop-down option (corresponding to the above-mentioned option data) that needs to be displayed by the selector to be configured (corresponding to the above-mentioned target selector) in the form designer (corresponding to the above-mentioned target form) is form data (corresponding to the above-mentioned target source information), then the corresponding meta model can be created according to the form and all its attributes can be obtained. Then select a certain attribute as the parameter value, and when requested, the attribute value currently stored in the database will be automatically taken as the parameter value; if it is determined that the parameter value source of the drop-down option (corresponding to the above-mentioned option data) that needs to be displayed by the selector to be configured (corresponding to the above-mentioned target selector) in the form designer (corresponding to the above-mentioned target form) is the parent node data (corresponding to the above-mentioned target source information), then you can first determine whether the display format is a tree and is asynchronously loaded. If it is not asynchronously loaded, the parameter value is fixed to an empty value. If it is asynchronously loaded, after obtaining the node data, match the value returned by the interface with the parameter name. If it matches, take the field value of the corresponding field name of the parent node. If it does not match, the parameter value is set to an empty value.
[0064] In summary, by using multiple parameter value sources, it is possible to quickly and accurately obtain the parameter values of the drop-down options that need to be displayed in the selector to be configured in the form designer.
[0065] Optionally, in the selector processing method provided in the embodiment of the present application, configuring the target selector according to a plurality of display forms and option data that the target selector needs to display includes: selecting a target display form from a plurality of display forms, wherein the plurality of display forms include at least: a table display form and a tree display form; configuring the target selector according to the target display form and the option data that the target selector needs to display.
[0066] For example, you can first configure the display form of the drop-down interface, and you can choose a tree or table display form. For example, if the selected display form is a table display form (corresponding to the above-mentioned target display form), you can use the table display form to display the data (corresponding to the above-mentioned option data) that needs to be displayed for the drop-down options (corresponding to the above-mentioned option data) of the selector (corresponding to the above-mentioned target selector) to complete the configuration of the selector (corresponding to the above-mentioned target selector) to be configured in the form designer (corresponding to the above-mentioned target form); if the selected display form is a tree display form (corresponding to the above-mentioned target display form), you can use the tree display form to display the data (corresponding to the above-mentioned option data) that needs to be displayed for the drop-down options (corresponding to the above-mentioned option data) of the selector (corresponding to the above-mentioned target selector) to complete the configuration of the selector (corresponding to the above-mentioned target selector) to be configured in the form designer (corresponding to the above-mentioned target form).
[0067] Through the above solution, when configuring the selector to be configured in the form designer, the style of the drop-down interface of the selector can be changed.
[0068] Optionally, in the selector processing method provided in the embodiment of the present application, if the target display form is a table display form, then configuring the target selector according to the target display form and the option data that the target selector needs to display includes: based on the target display form, obtaining the target table, and setting the target table to obtain the set target table; configuring the target selector according to the set target table and the option data that the target selector needs to display.
[0069] For example, if the selected display form is a table display form (corresponding to the above-mentioned target display form), you can make some settings for the table, such as hiding columns, column width, fixed columns, enabling column filtering function and enabling column sorting function, etc.; then you can use the set table to display the data (corresponding to the above-mentioned option data) that needs to be displayed in the drop-down options (corresponding to the above-mentioned option data) of the selector (corresponding to the above-mentioned target selector) to complete the configuration of the selector (corresponding to the above-mentioned target selector) to be configured in the form designer (corresponding to the above-mentioned target form).
[0070] Through the above solution, the table can be easily set up, and the set table can be used to display the data that needs to be displayed in the drop-down options of the selector.
[0071] Optionally, in the selector processing method provided in the embodiment of the present application, after configuring the target selector according to multiple display forms and option data that the target selector needs to display, the method also includes: determining whether it is necessary to configure selectors other than the target selector in the target form; if it is not necessary to configure selectors other than the target selector in the target form, prohibiting the configuration of selectors other than the target selector in the target form; if it is necessary to configure selectors other than the target selector in the target form, configuring selectors other than the target selector in the target form according to the option data that the target selector needs to display.
[0072] For example, after configuring the selector to be configured (corresponding to the target selector) in the form designer (corresponding to the target form), it can be determined whether to update the entire form (corresponding to the target form), that is, whether it is necessary to update the selectors other than the selector to be configured (corresponding to the target selector) in the form designer (corresponding to the target form); if it is determined that it is not necessary to update the entire form (corresponding to the target form), that is, it is not necessary to update the selectors other than the selector to be configured (corresponding to the target selector) in the form designer (corresponding to the target form), then the selectors other than the selector to be configured (corresponding to the target selector) in the form designer (corresponding to the target form) cannot be configured; if it is determined that it is necessary to update the entire form (corresponding to the above-mentioned target form), that is, it is necessary to update the selectors in the form designer (corresponding to the above-mentioned target form) except the selector to be configured (corresponding to the above-mentioned target selector), then the configured form item (corresponding to the above-mentioned target selector) can be compared with other form items (corresponding to the above-mentioned selectors except the selector to be configured) in the form designer (corresponding to the above-mentioned target form). If they match, the value corresponding to the field name to be displayed can be obtained from the configured form item (corresponding to the above-mentioned target selector), and the value can be filled back into the matching other form items (corresponding to the above-mentioned selectors except the selector to be configured), so as to complete the configuration of the selectors in the form designer (corresponding to the above-mentioned target form) except the selector to be configured (corresponding to the above-mentioned target selector).
[0073] Through the above solution, not only can the current selector in the form designer be configured, but other selectors in the form designer can also be configured, thereby achieving the effect of associating other controls in the same form designer.
[0074] For example, in this embodiment, based on the existing selector, a new type of advanced selector is implemented, which supports obtaining drop-down items through an interface, dynamic configuration of interface parameters, and the display format can be configured as a table or a tree, and can be associated with other form controls.
[0075] For example, the selector processing method provided in the embodiment of the present application includes two parts: selector configuration and selector display, and the selector configuration includes configuration acquisition data and configuration display form.
[0076] 1. Selector configuration
[0077] (1)Configure data acquisition
[0078] For example, Figure 4 This is the process of the selector processing method provided in the embodiment of the present application Figure 2 ,like Figure 4 As shown, users can configure request details according to the following logic:
[0079] S401: input the request address of the interface;
[0080] S402: Select the request method of the interface, get (a method for obtaining data) or post (another method for obtaining data);
[0081] S403: Create the first parameter and enter the request parameter name;
[0082] S404: Select parameter value source;
[0083] S405: If the parameter value source is selected as 'fixed value', you need to enter the specific parameter value;
[0084] S406: "Form data" is selected as the parameter value source. All its attributes are obtained according to the meta-model corresponding to the form when it is created, and a certain attribute is selected as the parameter value. When requested, the attribute value currently stored in the database is automatically obtained as the parameter value.
[0085] S407: The parameter value selects the parent node data and determines whether the display format is a tree format and is asynchronously loaded;
[0086] S408: non-asynchronous loading, parameter value is fixed to null;
[0087] S409: asynchronous loading, get the node data, match the value returned by the interface with the parameter name, if it matches, get the field value of the corresponding field name of the parent node; if it does not match, set the parameter value to a null value;
[0088] S410: The steps starting from S403 may be repeated to combine multiple parameter names and parameter values;
[0089] S411: The request path, request method, and request parameters are combined into one request.
[0090] (2)Configure display format
[0091] For example, Figure 5 This is the process of the selector processing method provided in the embodiment of the present application Figure 3 ,like Figure 5 As shown, users can configure the display effect according to the following logic:
[0092] S501: Configure the drop-down interface display format, which can be a tree or table;
[0093] S502: If the display format is a table, determine whether to display the table header;
[0094] S503: Configure the display name. If the display format is a table, it is the display name of the column header. If it is a tree, the configuration is invalid.
[0095] S504: configure the field name, obtain the value of the corresponding field name from the returned data, and display it;
[0096] S505: Determine the display format selected above;
[0097] S506: If it is a table, some table-oriented settings can be made, such as hiding columns, column width, fixed columns, enabling column filtering function and enabling column sorting function, etc.;
[0098] S507: Select an item from the form items configured in the form designer, and associate it with the currently displayed field;
[0099] S508: Determine whether it is asynchronous loading;
[0100] S509: It is asynchronous loading. When the lower-level node is expanded, the interface needs to be re-called according to the request data configuration;
[0101] S510: Determine whether to update the entire form;
[0102] S511: If yes, compare the form item selected in S507 with other form items in the form designer. If they match, get the value corresponding to the field name in S504 in the returned data and fill the value back into the matching form item.
[0103] For example, through the method provided in this embodiment, a selector drop-down option list can be constructed according to the backend request, and the request mode and content are configurable, the display form is also configurable, and the entire form can be updated.
[0104] Therefore, in this embodiment, by constructing an option list according to the backend request, flexible interaction with the backend can be achieved, and it is very easy to adapt to customized needs; and the drop-down interface style is changeable, which can adapt to a variety of usage scenarios to provide a better user experience; in addition, multiple form items can be associated, and the form designer can form a more interconnected whole.
[0105] In summary, the processing method of the selector provided in the embodiment of the present application obtains a target request for configuring option data of a target selector, wherein the target selector is a selector to be configured in a target form, the target selector is used to provide a selection operation for a target object, and the target form is used to process data information in a management information system; according to the target request, the option data that the target selector needs to display is determined; a plurality of pre-configured display forms are obtained, wherein the plurality of display forms are used to display the option data in the target selector; the target selector is configured according to the plurality of display forms and the option data that the target selector needs to display, thereby solving the problem that the effect of the selector control in the configuration form designer in the related art is poor. By constructing the option list of the target selector to be configured in the target form through a back-end request, the option list of the selector in the form can be dynamically configured, and the option list of the target selector in the target form can be displayed according to the pre-configured plurality of display forms, so that when configuring the selector in the form, the display form of the option interface of the selector in the form can be variable, and the selector in the form can be adapted to the effect of a plurality of usage scenarios, thereby improving the effect of the selector control in the configuration form designer.
[0106] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0107] The embodiment of the present application also provides a processing device for a selector. It should be noted that the processing device for a selector in the embodiment of the present application can be used to execute the processing method for a selector provided in the embodiment of the present application. The processing device for a selector provided in the embodiment of the present application is introduced below.
[0108] Figure 6 is a schematic diagram of a processing device of a selector provided in an embodiment of the present application. Figure 6 As shown, the device includes: a first acquisition unit 601, a first determination unit 602, a second acquisition unit 603 and a first configuration unit 604.
[0109] Specifically, the first acquisition unit 601 is used to acquire a target request for configuring option data of a target selector, wherein the target selector is a selector to be configured in a target form, the target selector is used to provide a selection operation for a target object, and the target form is used to process data information in a management information system;
[0110] A first determining unit 602 is used to determine option data that the target selector needs to display according to the target request;
[0111] A second acquisition unit 603 is used to acquire a plurality of pre-configured display forms, wherein the plurality of display forms are used to display the option data in the target selector;
[0112] The first configuration unit 604 is used to configure the target selector according to the multiple display forms and the option data that the target selector needs to display.
[0113] In summary, the selector processing device provided in the embodiment of the present application obtains a target request for configuring option data of a target selector through a first acquisition unit 601, wherein the target selector is a selector to be configured in a target form, the target selector is used to provide a selection operation for a target object, and the target form is used to process data information in a management information system; a first determination unit 602 determines the option data that the target selector needs to display based on the target request; a second acquisition unit 603 obtains a plurality of pre-configured display forms, wherein the plurality of display forms are used to display the option data in the target selector; a first configuration unit 604 configures the target selector based on the plurality of display forms and the option data that the target selector needs to display, thereby solving the problem of poor effect of configuring the selector control in the form designer in the related art. By constructing an option list of the target selector to be configured in the target form through a backend request, the option list of the selector in the form can be dynamically configured, and the option list of the target selector in the target form can be displayed according to a plurality of pre-configured display forms. Therefore, when configuring the selector in the form, the display form of the option interface of the selector in the form can be made variable, and the selector in the form can be adapted to the effects of a variety of usage scenarios, thereby improving the effect of configuring the selector control in the form designer.
[0114] Optionally, in the processing device of the selector provided in the embodiment of the present application, the first determination unit includes: a first acquisition module, used to obtain a target parameter name based on a target request, wherein the target parameter name is a parameter name required to configure the target selector; a first processing module, used to obtain a target parameter value corresponding to the target parameter name, and determine the option data that the target selector needs to display based on the target parameter name and the target parameter value.
[0115] Optionally, in the processing device of the selector provided in the embodiment of the present application, the first acquisition module includes: a first determination sub-module, used to determine the address information and method information for obtaining the target parameter name based on the target request; a first acquisition sub-module, used to obtain the target parameter name based on the address information and method information for obtaining the target parameter name.
[0116] Optionally, in the processing device of the selector provided in the embodiment of the present application, the first processing module includes: a second acquisition sub-module, used to obtain multiple source information of the target parameter value; a first processing sub-module, used to determine the target source information from the multiple source information, and obtain the target parameter value corresponding to the target parameter name based on the target source information.
[0117] Optionally, in the processing device of the selector provided in the embodiment of the present application, the first configuration unit includes: a second processing module, used to select a target display form from a plurality of display forms, wherein the plurality of display forms include at least: a table display form and a tree display form; a first configuration module, used to configure the target selector according to the target display form and the option data that the target selector needs to display.
[0118] Optionally, in the processing device of the selector provided in the embodiment of the present application, if the target display form is a table display form, the first configuration module includes: a second processing sub-module, used to obtain the target table based on the target display form, and set the target table to obtain the set target table; a first configuration sub-module, used to configure the target selector according to the set target table and the option data that the target selector needs to display.
[0119] Optionally, in the processing device of the selector provided in the embodiment of the present application, the device also includes: a first judgment unit, used to judge whether it is necessary to configure selectors other than the target selector in the target form after configuring the target selector according to multiple display forms and option data that the target selector needs to display; a first processing unit, used to prohibit configuring selectors other than the target selector in the target form if it is not necessary to configure selectors other than the target selector in the target form; and a second configuration unit, used to configure selectors other than the target selector in the target form according to option data that the target selector needs to display if it is necessary to configure selectors other than the target selector in the target form.
[0120] The processing device of the selector includes a processor and a memory. The above-mentioned first acquisition unit 601, first determination unit 602, second acquisition unit 603 and first configuration unit 604 are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.
[0121] The processor includes a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set, and the effect of the selector control in the configuration form designer can be improved by adjusting the kernel parameters.
[0122] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0123] An embodiment of the present invention provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the processing method of the selector is implemented.
[0124] An embodiment of the present invention provides a processor, which is used to run a program, wherein the processing method of the selector is executed when the program is running.
[0125] like Figure 7 As shown, an embodiment of the present invention provides an electronic device, the device includes a processor, a memory and a program stored in the memory and executable on the processor, and the processor implements the following steps when executing the program: obtaining a target request for configuring option data of a target selector, wherein the target selector is a selector to be configured in a target form, the target selector is used to provide a selection operation for a target object, and the target form is used to process data information in a management information system; determining option data that the target selector needs to display based on the target request; obtaining a plurality of pre-configured display forms, wherein the plurality of display forms are used to display option data in the target selector; and configuring the target selector based on the plurality of display forms and the option data that the target selector needs to display.
[0126] When the processor executes the program, the following steps are also implemented: based on the target request, determining the option data that the target selector needs to display includes: based on the target request, obtaining the target parameter name, wherein the target parameter name is the parameter name required to configure the target selector; obtaining the target parameter value corresponding to the target parameter name, and determining the option data that the target selector needs to display based on the target parameter name and the target parameter value.
[0127] When the processor executes the program, the following steps are also implemented: according to the target request, obtaining the target parameter name includes: according to the target request, determining the address information and method information for obtaining the target parameter name; based on the address information and method information for obtaining the target parameter name, obtaining the target parameter name.
[0128] When the processor executes the program, the following steps are also implemented: obtaining the target parameter value corresponding to the target parameter name includes: obtaining multiple source information of the target parameter value; determining the target source information from the multiple source information, and obtaining the target parameter value corresponding to the target parameter name based on the target source information.
[0129] When the processor executes the program, the following steps are also implemented: according to a plurality of display forms and option data that the target selector needs to display, the target selector is configured, including: selecting a target display form from a plurality of display forms, wherein the plurality of display forms at least include: a table display form and a tree display form; according to the target display form and the option data that the target selector needs to display, the target selector is configured.
[0130] When the processor executes the program, the following steps are also implemented: if the target display form is a table display form, then according to the target display form and the option data that the target selector needs to display, the target selector is configured, including: based on the target display form, obtaining the target table, and setting the target table to obtain the set target table; according to the set target table and the option data that the target selector needs to display, the target selector is configured.
[0131] When the processor executes the program, the following steps are also implemented: after configuring the target selector according to multiple display forms and the option data that the target selector needs to display, it also includes: judging whether it is necessary to configure the selectors other than the target selector in the target form; if it is not necessary to configure the selectors other than the target selector in the target form, it is prohibited to configure the selectors other than the target selector in the target form; if it is necessary to configure the selectors other than the target selector in the target form, the selectors other than the target selector in the target form are configured according to the option data that the target selector needs to display.
[0132] The devices in this article can be servers, PCs, PADs, mobile phones, etc.
[0133] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that initializes the following method steps: obtaining a target request for configuring option data of a target selector, wherein the target selector is a selector to be configured in a target form, the target selector is used to provide a selection operation for a target object, and the target form is used to process data information in a management information system; based on the target request, determining the option data that the target selector needs to display; obtaining a plurality of pre-configured display forms, wherein the plurality of display forms are used to display the option data in the target selector; and configuring the target selector based on the plurality of display forms and the option data that the target selector needs to display.
[0134] When executed on a data processing device, it is also suitable for executing an initialization program having the following method steps: determining, based on a target request, option data that a target selector needs to display, including: obtaining, based on the target request, a target parameter name, wherein the target parameter name is a parameter name that needs to be used to configure the target selector; obtaining a target parameter value corresponding to the target parameter name, and determining, based on the target parameter name and the target parameter value, the option data that the target selector needs to display.
[0135] When executed on a data processing device, it is also suitable for executing an initialization program having the following method steps: obtaining a target parameter name based on a target request includes: determining address information and method information for obtaining the target parameter name based on the target request; obtaining the target parameter name based on the address information and method information for obtaining the target parameter name.
[0136] When executed on a data processing device, it is also suitable for executing an initialized program having the following method steps: obtaining a target parameter value corresponding to a target parameter name, including: obtaining multiple source information of the target parameter value; determining the target source information from the multiple source information, and obtaining the target parameter value corresponding to the target parameter name based on the target source information.
[0137] When executed on a data processing device, it is also suitable for executing an initialization program having the following method steps: configuring a target selector according to a plurality of display forms and option data that a target selector needs to display, including: selecting a target display form from a plurality of display forms, wherein the plurality of display forms include at least: a table display form and a tree display form; configuring the target selector according to the target display form and the option data that a target selector needs to display.
[0138] When executed on a data processing device, it is also suitable for executing an initialization program having the following method steps: if the target display form is a table display form, then according to the target display form and the option data that the target selector needs to display, the target selector is configured, including: based on the target display form, obtaining the target table, and setting the target table to obtain the set target table; according to the set target table and the option data that the target selector needs to display, the target selector is configured.
[0139] When executed on a data processing device, it is also suitable for executing an initialization program having the following method steps: after configuring the target selector according to multiple display forms and option data that the target selector needs to display, it also includes: judging whether it is necessary to configure selectors other than the target selector in the target form; if it is not necessary to configure selectors other than the target selector in the target form, prohibiting the configuration of selectors other than the target selector in the target form; if it is necessary to configure selectors other than the target selector in the target form, configuring selectors other than the target selector in the target form according to the option data that the target selector needs to display.
[0140] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0141] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0142] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0143] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0144] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0145] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0146] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0147] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device 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, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0148] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0149] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A method for processing a selector, characterized in that: include: Obtaining a target request for configuring option data of a target selector, wherein the target selector is a selector to be configured in a target form, the target selector is used to provide a selection operation for a target object, and the target form is used to process data information in a management information system; Determining, according to the target request, option data that the target selector needs to display; Acquire multiple pre-configured display forms, wherein the multiple display forms are used to display the option data in the target selector; The target selector is configured according to the multiple display forms and the option data that the target selector needs to display.
2. The method according to claim 1, characterized in that Determining, based on the target request, the option data that the target selector needs to display includes: According to the target request, a target parameter name is obtained, wherein the target parameter name is a parameter name required to configure the target selector; The target parameter value corresponding to the target parameter name is obtained, and the option data that the target selector needs to display is determined according to the target parameter name and the target parameter value.
3. The method according to claim 2, characterized in that According to the target request, obtaining the target parameter name includes: Determine, according to the target request, address information and method information for obtaining the target parameter name; The target parameter name is acquired based on the address information and the method information for acquiring the target parameter name.
4. The method according to claim 2, characterized in that: Obtaining the target parameter value corresponding to the target parameter name includes: Acquire multiple source information of the target parameter value; The target source information is determined from the multiple source information, and the target parameter value corresponding to the target parameter name is obtained based on the target source information.
5. The method according to claim 1, characterized in that Configuring the target selector according to the multiple display forms and the option data that the target selector needs to display includes: Selecting a target presentation form from the multiple presentation forms, wherein the multiple presentation forms at least include: a table presentation form and a tree presentation form; The target selector is configured according to the target display form and the option data that the target selector needs to display.
6. The method according to claim 5, characterized in that If the target display form is a table display form, configuring the target selector according to the target display form and the option data that the target selector needs to display includes: Based on the target display form, a target table is obtained, and the target table is set to obtain a set target table; The target selector is configured according to the set target table and the option data that the target selector needs to display.
7. The method according to claim 1, characterized in that After configuring the target selector according to the multiple display forms and the option data that the target selector needs to display, the method further includes: Determine whether it is necessary to configure a selector other than the target selector in the target form; If it is not necessary to configure the selectors other than the target selector in the target form, it is prohibited to configure the selectors other than the target selector in the target form; If it is necessary to configure selectors other than the target selector in the target form, the selectors other than the target selector in the target form are configured according to the option data that the target selector needs to display.
8. A processing device for a selector, characterized in that: include: A first acquisition unit is used to acquire a target request for configuring option data of a target selector, wherein the target selector is a selector to be configured in a target form, the target selector is used to provide a selection operation for a target object, and the target form is used to process data information in a management information system; A first determining unit, configured to determine option data that the target selector needs to display according to the target request; A second acquisition unit, configured to acquire a plurality of pre-configured display forms, wherein the plurality of display forms are used to display the option data in the target selector; The first configuration unit is used to configure the target selector according to the multiple display forms and the option data that the target selector needs to display.
9. A computer-readable storage medium, characterized in that: The storage medium stores a program, wherein the program executes the selector processing method according to any one of claims 1 to 7.
10. An electronic device, characterized in that: It includes one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the selector processing method described in any one of claims 1 to 7.
