CN112035110B - Parameter adjusting method, device, client and storage medium - Google Patents

Parameter adjusting method, device, client and storage medium Download PDF

Info

Publication number
CN112035110B
CN112035110B CN202010901374.6A CN202010901374A CN112035110B CN 112035110 B CN112035110 B CN 112035110B CN 202010901374 A CN202010901374 A CN 202010901374A CN 112035110 B CN112035110 B CN 112035110B
Authority
CN
China
Prior art keywords
component
resource
interface
parameter
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010901374.6A
Other languages
Chinese (zh)
Other versions
CN112035110A (en
Inventor
王子一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010901374.6A priority Critical patent/CN112035110B/en
Publication of CN112035110A publication Critical patent/CN112035110A/en
Application granted granted Critical
Publication of CN112035110B publication Critical patent/CN112035110B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a parameter adjusting method, a parameter adjusting device, a client and a storage medium, wherein the method comprises the following steps: displaying a component arrangement interface, wherein the component arrangement interface comprises a component selection area and a component arrangement area, the component selection area comprises at least one resource component to be selected, and the component arrangement area is used for displaying the selected at least one resource component; displaying a parameter configuration interface of a target resource component in the at least one selected resource component according to a selection operation detected in the component arrangement area; according to the parameter adjustment operation for the target resource component detected on the parameter configuration interface, the target resource component with the adjusted parameters is displayed in the component layout area, so that the efficiency of adjusting the parameters of the resource component can be improved.

Description

Parameter adjusting method, device, client and storage medium
Technical Field
The present application relates to the field of computer cloud technologies, and in particular, to a parameter adjusting method, apparatus, client, and storage medium.
Background
In the arrangement of resource assemblies involved in a data development process, different data processing logics are realized by combining different resource assemblies, and a currently commonly adopted method for arranging resource assemblies is that a technical developer writes program codes corresponding to call relations among the resource assemblies, so that a client determines the call relations among the resource assemblies through the execution of the program codes. Therefore, similarly, if the parameters of the resource component need to be adjusted, the adjustment of the program code is also implemented, and the parameter adjustment of the resource component implemented based on the program code has a larger problem of parameter modification error and a problem of lower parameter modification efficiency.
Disclosure of Invention
The invention provides a parameter adjusting method, a parameter adjusting device, a client and a storage medium, which can improve the efficiency of adjusting parameters of a resource component.
In one aspect, an embodiment of the present invention provides a parameter adjusting method, including:
displaying a component arrangement interface, wherein the component arrangement interface comprises a component selection area and a component arrangement area, the component selection area comprises at least one resource component to be selected, and the component arrangement area is used for displaying the selected at least one resource component;
displaying a parameter configuration interface of a target resource component in the at least one selected resource component according to the detected selection operation of the component arrangement area for the target resource component;
and displaying the target resource assembly after the parameters are adjusted in the assembly layout area according to the parameter adjustment operation aiming at the target resource assembly, which is detected in the parameter configuration interface.
In another aspect, an embodiment of the present invention provides a parameter adjusting apparatus, including:
the display unit is used for displaying a component arrangement interface, the component arrangement interface comprises a component selection area and a component arrangement area, the component selection area comprises at least one resource component to be selected, and the component arrangement area is used for displaying the selected at least one resource component;
the display unit is further configured to display a parameter configuration interface of a target resource component in the at least one selected resource component according to a selection operation detected in the component arrangement area for the target resource component;
the display unit is further configured to display the target resource component after the parameters are adjusted in the component layout area according to the parameter adjustment operation for the target resource component detected in the parameter configuration interface.
In another aspect, an embodiment of the present invention provides a client, including a processor, an input device, an output device, and a memory, where the processor, the input device, the output device, and the memory are connected to each other, where the memory is used to store a computer program that supports a terminal to execute the foregoing method, where the computer program includes program instructions, and the processor is configured to call the program instructions, and perform the following steps:
displaying a component arrangement interface, wherein the component arrangement interface comprises a component selection area and a component arrangement area, the component selection area comprises at least one resource component to be selected, and the component arrangement area is used for displaying the selected at least one resource component;
displaying a parameter configuration interface of a target resource component in the at least one selected resource component according to the detected selection operation of the component arrangement area for the target resource component;
and displaying the target resource assembly after the parameters are adjusted in the assembly layout area according to the parameter adjustment operation aiming at the target resource assembly, which is detected in the parameter configuration interface.
In still another aspect, an embodiment of the present invention provides a computer-readable storage medium, where program instructions are stored, and when the program instructions are executed by a processor, the computer-readable storage medium is configured to perform the parameter adjustment method according to the first aspect.
In the embodiment of the invention, after a user starts a component arrangement interface, the client can display the component arrangement interface in the user interface, the user can select a required resource component from a component selection area of the component arrangement interface and add and display the resource component in a component arrangement area of the component arrangement interface, so that the client can realize visual loading display of the resource component, thereby realizing arrangement efficiency of the resource component, in addition, based on at least one selected resource component displayed in the component arrangement area, if the client detects selection operation aiming at a target resource component in the at least one selected resource component, a parameter configuration interface of the target resource component is displayed, and the user can realize direct adjustment of parameters of the target resource component without adjusting codes of the target resource component based on the displayed parameter configuration interface, therefore, the adjustment speed of the parameters of the resource assembly can be realized, the threshold for adjusting the parameters of the resource assembly is reduced, the efficiency of parameter configuration of the resource assembly can be improved, and the accuracy of adjusting the parameters of the resource assembly can be effectively improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a diagram illustrating adjustment of parameters of a resource component according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a parameter adjusting method according to an embodiment of the present invention;
FIG. 3a is a schematic diagram of a component orchestration interface according to an embodiment of the present invention;
FIG. 3b is a diagram illustrating organization of a resource component according to an embodiment of the present invention;
FIG. 3c is a diagram illustrating a display parameter configuration interface according to an embodiment of the present invention;
FIG. 3d is a diagram illustrating saving a parameter configuration according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart of a parameter adjusting method according to an embodiment of the present invention;
FIG. 5a is a diagram of a create component orchestration interface according to an embodiment of the present invention;
FIG. 5b is a diagram of a validation creation component orchestration interface according to an embodiment of the invention;
fig. 5c is a schematic diagram of adding new parameter information to be configured according to an embodiment of the present invention;
fig. 5d is a schematic diagram of deleting information of a parameter to be configured according to an embodiment of the present invention;
fig. 5e is a schematic diagram of deleting information of a parameter to be configured according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a resource component with completed storage configurations according to an embodiment of the present invention;
FIG. 7a is a code invoked when a server performs parameter checking according to an embodiment of the present invention;
FIG. 7b is code invoked by a server when building computational graph data according to an embodiment of the present invention;
FIG. 7c is code invoked by a server to construct computational graph data according to an embodiment of the present invention;
FIG. 8 is a schematic block diagram of a parameter adjustment apparatus provided in an embodiment of the present invention;
fig. 9 is a schematic block diagram of a client according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a parameter adjusting method, which can realize direct adjustment of parameters of a resource component, and when the parameters of the resource component are adjusted, the parameters of the resource component can be directly adjusted through a parameter configuration interface output and displayed by a client, and the parameters of the resource component are not required to be adjusted based on codes of the resource component, so that the parameter adjusting process of the resource component is effectively simplified, and the parameter adjusting efficiency of the resource component can be improved. In an embodiment, a user may trigger a client to display a component layout interface when needing to perform resource component layout, and the client may display the component layout interface in a user interface after receiving a display trigger operation of the user for the component layout interface, as shown in fig. 1, the client may confirm that the display trigger operation for the component layout interface is detected after detecting that the user starts a layout program corresponding to the component layout interface, or the client may also confirm that the display trigger operation for the component layout interface is detected after detecting a creation operation for the component layout interface, and the client may display the component layout interface in the user interface based on the detected display trigger operation for the component layout interface, where the layout program may be, for example, an Artificial Intelligence (AI) component layout program, the service platform can be specifically an Advance cloud intelligence pivot AI service platform. In one embodiment, the client, before detecting the display trigger operation for the component orchestration interface and before displaying the component orchestration interface, needs to request the server to load the relevant data of the component resource, where the relevant data of the resource component requested to be loaded by the client includes: requesting to render and display the resource component arrangement interface, requesting to display at least one resource component to be selected in a component selection area in the component arrangement interface, and requesting to display the component arrangement area. In one embodiment, the server may be an independent physical server, may also be a server cluster or a distributed system formed by a plurality of physical servers, and may also be a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a network service, cloud communication, a middleware service, a domain name service, a security service, a CDN, and a big data and artificial intelligence platform. The terminal may be, but is not limited to, a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and the like. The client and the server may be directly or indirectly connected through wired or wireless communication, and the application is not limited herein.
In one embodiment, the resource component includes various service components, interface components, and the like, and the base-on-resource-component-orchestration includes combining the service components and the interface components. In one embodiment, after the client displays the component arrangement interface, a user may arrange a resource component in a component arrangement region included in the component arrangement interface, and in a specific implementation, when the user arranges the resource component in the component arrangement region, the user may select any resource component from a plurality of resource components to be selected included in a component selection region, and add the selected resource component to the component arrangement region for display, where the client may determine that a selection operation of the user for any resource component is detected after detecting a drag operation, a click operation, a double click operation, and the like of the user for any resource component in the component selection region. When a user arranges a resource assembly in an assembly arrangement area, a client visually displays the effect of arranging the resource assembly by the user, and the visual display of the arrangement effect of the assembly resource comprises the visual display of the adjustment of the user on the display position of the resource assembly and the visual display of the adjustment of the user on the calling relationship between different resource assemblies, wherein the calling relationship between different resource assemblies is determined based on the connection relationship between any two resource assemblies displayed in the assembly arrangement area.
In an embodiment, based on the visual display of the client on the arrangement effect of the resource component, the user may also perform visual adjustment on the parameters of the resource component displayed in the component arrangement region, and the client may correspondingly display, in real time, the resource component after the adjustment of the parameters of the resource component by the user in the component arrangement region, where the client may display a parameter configuration interface of the target resource component after detecting a selection operation for a target resource component in at least one resource component that has been selected in the component arrangement region, so that the user may directly adjust the parameters of the resource component in the parameter configuration interface, and the client may display the resource component after the parameter adjustment in the component arrangement region based on the adjustment of the parameters of the resource component by the user. In one embodiment, when a user adjusts parameters of resource components displayed in a component arrangement area, the user may respectively adjust the parameters of one or more displayed resource components, and when it is determined that the parameter adjustment of the resource components is completed, a configuration storage request is sent to a client, where a component arrangement interface includes a configuration storage component, and the client may determine to store relevant configurations, which are displayed in the component arrangement area and are directed to the resource components, after detecting a selection operation of the user on the configuration storage component.
In one embodiment, when the client stores the configuration for the resource component in the component arrangement interface, the client may store the configuration for the resource component in the component arrangement interface locally, or the client may also send a storage request for the configuration data for the resource component to the server, so as to store the configuration data for the resource component in the component arrangement interface into the server, so as to relieve the storage pressure of the client. After the server stores the configuration data of the resource assembly component, the storage feedback information can be sent to the client and displayed in the user interface so as to inform the user whether the storage of the configuration data of the resource assembly component in the resource arrangement interface is completed or not, thereby effectively improving the user experience of arranging the resource assembly component by the user, facilitating the process of modifying the parameters of the resource assembly component and reducing the cost of modifying the parameters of the resource assembly component. In one embodiment, the one or more resource components to be selected displayed in the component selection area may be, for example, AI-type components, or general-purpose components such as gateway components, interface components, and the like, or the resource components may also be, for example, device-type components, or data components, and the like.
Referring to fig. 2, a schematic flow chart of a parameter adjustment method according to an embodiment of the present invention is shown in fig. 2, where the method includes:
s201, displaying a component arrangement interface, wherein the component arrangement interface comprises a component selection area and a component arrangement area, the component selection area comprises at least one resource component to be selected, and the component arrangement area is used for displaying the selected at least one resource component.
In one embodiment, the client may display the component layout interface in the user interface after detecting a triggering display operation for the component layout interface, where the component layout interface displayed at the client may include a component selection area and a component layout area, the component selection area is used for displaying at least one resource component to be selected, and the component layout area is used for displaying at least one resource component that has been selected, where the component layout interface includes a component selection area and a component layout area that have a positional relationship as shown in fig. 3a, specifically, the component layout interface may be shown as an interface marked by 30 in fig. 3a, the component selection area 301 included in the component layout interface 30 is displayed on the left side of the component layout interface 30, and the component layout area 302 is displayed on the right side of the component layout interface 30; alternatively, the component layout interface can also be shown as the interface marked by 31 in fig. 3a, where the component layout interface 31 includes a component selection area 301 displayed on the right side of the component layout interface 31 and a component layout area 302 displayed on the left side of the component layout interface 31; alternatively, the component layout interface can be shown as the interface marked by 32 in fig. 3a, the component selection area 301 is displayed on the top of the component layout interface 32, and the component layout area 302 is displayed on the bottom of the component layout interface 32; alternatively, the component layout interface can be shown as the interface marked by 33 in FIG. 3a, the component layout area 302 is displayed above the component layout interface 33, and the component selection area 301 is displayed below the component layout interface 33; alternatively, the component layout interface may also be shown as the interface marked by 34 in fig. 3a, and the component selection area 301 is displayed as a floating window of the component layout area 302, where the component selection area 301 may be floating displayed at any position of the component layout area 302, and as the interface marked by 34 in fig. 3a is only an exemplary illustration of a floating display manner, the component selection area 301 may also be floating displayed at other positions of the component layout area 302.
In the embodiment of the present invention, the component layout interface displayed on the client is an interface as labeled by 30 in fig. 3a, and when the component layout interface is another interface, reference may be made to the embodiment of the present invention. In one embodiment, when the client displays the component layout interface, the client may first request to load the relevant data of each component from the server, so as to complete the loading work on the resource components in the component layout interface, further, the user may select one or more resource components from the resource components loaded and displayed in the component selection area, and correspondingly, the client may display the resource components selected by the user in the component layout area of the component layout interface, as shown in fig. 3b, where the component layout interface displaying one or more resource components that have been selected in the component layout area may be shown as an interface labeled 35 in fig. 3 b. In one embodiment, after the client displays the component layout interface and displays one or more selected resource components in the component layout area of the component layout interface, the user may adjust the parameters of the resource components displayed in the component layout area, that is, the user may proceed to step S202.
S202, according to the selection operation of the target resource assembly in the at least one selected resource assembly detected in the assembly arrangement area, displaying a parameter configuration interface of the target resource assembly.
In one embodiment, after the client displays at least one resource component selected by the user in the component arrangement area of the component arrangement interface, the user may adjust the parameters of the resource component displayed in the component arrangement area, in a specific implementation, the client may display a parameter configuration interface of a target resource component in at least one resource component included in the component arrangement area after detecting a selection operation on the target resource component, as shown in fig. 3c, and if the target resource component is a normal camera component, the user interface after the client detects a selection operation on the normal camera and outputs a parameter configuration interface for the normal camera in the component arrangement interface may be shown as an interface labeled 36 in fig. 3c, where the parameter configuration interface is an interface labeled 303 in fig. 3c, and the parameter configuration interface includes types of parameters to be configured, parameter name, parameter information before adjustment, parameter information after adjustment, and the like. The parameter type may be, for example, a string type (string), an integer type (int), a floating point type (float), or the like, the parameter name may be, for example, a parameter name corresponding to a certain execution logic in a resource component, and if the execution logic is a total resource occupancy amount >3, the parameter name may be the total resource occupancy amount, and the parameter information refers to parameter information corresponding to the execution logic, and if the parameter information before adjustment may be 3, a user may adjust the parameter information 3 before adjustment to 5, or 8, and the like, so that a client obtains the adjusted parameter information corresponding to the resource component under the execution logic.
In one embodiment, the client, after detecting that the user adjusts the parameter of the target resource component in the parameter configuration interface as labeled 303 in fig. 3c, further may detect an adjustment confirmation operation performed by the user for the parameter of the target resource component, wherein the client may determine that the adjustment confirmation operation is detected after detecting the selection operation of the user for the configuration confirmation component in the parameter configuration interface, so as to apply the adjusted parameter information to the target resource component, and display the adjusted target resource component in the component layout area, i.e., execute step S203 instead. The configuration confirmation component displayed in the parameter configuration interface may be, for example, a component as labeled by 304 in fig. 3 c. In one embodiment, a user can modify parameters of resource components displayed in the component arrangement area in sequence based on own requirements, so that the resources subjected to parameter modification are resource components meeting the use requirements, and in addition, the user can select a plurality of resource components from the component arrangement area at the same time to serve as target resource components, so that batch modification of parameters of the selected resource components is realized, and the efficiency of modifying the parameters of the resource components is improved.
S203, according to the parameter adjustment operation aiming at the target resource assembly detected in the parameter configuration interface, displaying the target resource assembly after the parameters are adjusted in the assembly layout area.
In an embodiment, based on the adjustment of the parameter detected for the target resource component in the parameter configuration interface, the client may display the resource component after the parameter adjustment of the resource component by the user is completed in the component arrangement area, and the user may also adjust a display position of the resource component displayed in the component arrangement area or adjust a connection relationship between different resource components, which may be understood as an adjustment of a connection relationship between different resource components, that is, an adjustment of a call relationship between the different resource components. In an embodiment, after detecting that the user has finished adjusting the parameters of the resource components in the parameter configuration area included in the parameter configuration interface, the client may output parameter information of each resource component, as shown in fig. 3d, where the parameter information of each resource component output by the client may be, for example, as shown in the interface marked by 37 in fig. 3d, based on the parameter information of each resource component output by the client, the user may visually determine whether each resource component is a resource component currently meeting the requirement, so that the user may conveniently manage the resource components.
In the embodiment of the present invention, after a user starts a component arrangement interface, the client may display the component arrangement interface in the user interface, and the user may select a desired resource component from a component selection area of the component arrangement interface and add and display the resource component in a component arrangement area of the component arrangement interface, so that the client achieves visual loading and display of the resource component, thereby achieving arrangement efficiency of the resource component, and in addition, based on at least one selected resource component displayed in the component arrangement area, if the client detects a selection operation for a target resource component in the at least one selected resource component, the client displays a parameter configuration interface of the target resource component, and the user configures the interface based on the displayed parameters, so as to achieve direct adjustment of parameters of the target resource component without adjusting codes of the target resource component, therefore, the adjustment speed of the parameters of the resource assembly can be realized, the threshold for adjusting the parameters of the resource assembly is reduced, the efficiency of parameter configuration of the resource assembly can be improved, and the accuracy of adjusting the parameters of the resource assembly can be effectively improved.
Referring to fig. 4, a schematic flow chart of a parameter adjustment method according to an embodiment of the present invention is shown in fig. 4, where the method includes:
s401, responding to a creation triggering operation aiming at the component arrangement interface, and displaying a creation guiding interface, wherein the creation guiding interface comprises a creation component aiming at the component arrangement interface.
S402, receiving the confirmation operation aiming at the created component, creating the component layout interface, and executing the step of displaying the component layout interface.
S403, displaying a component arrangement interface, wherein the component arrangement interface comprises a component selection area and a component arrangement area, the component selection area comprises at least one resource component to be selected, and the component arrangement area is used for displaying the selected at least one resource component.
In steps S401 to S403, the client may display the creation guidance interface after detecting the creation triggering operation for the component layout interface, so as to create the component layout interface, in one embodiment, the client may display a creation guidance component for performing the creation of the component orchestration interface upon detecting a user selection operation of the orchestration program, as shown in figure 5a, the create guide component may be, for example, as shown by the component labeled 50 in fig. 5a, the client may then, upon detecting a user selection operation for the create guide component, determining that a creation trigger operation for the component orchestration interface is detected, further, after detecting the creation trigger operation for the component orchestration interface, a create guide interface may be displayed, which may be as shown in fig. 5a by the interface labeled 51. In one embodiment, the client displays the creation guidance component upon detecting a user initiation operation for an orchestration program for component orchestration, and the creation guidance component can be displayed in an initial interface of the orchestration program after initiation, where the initial interface can be, for example, an interface as shown in FIG. 5a by 501, which records orchestration information for historical orchestration of resource components, such as orchestration information for resource component 1.
In one embodiment, the creation guidance interface displayed by the client based on the creation triggering operation includes an interface name of the component arrangement interface to be created and interface description information for the component arrangement interface to be created, the interface name of the component arrangement interface to be created and corresponding description information can be input by the user in the creation guidance interface, the interface name can be, for example, the arrangement interface 1 or the resource component 1, and the like, and the creation guidance interface further includes a creation component for guiding the creation of the component arrangement interface, the creation component can be, for example, a component as labeled 52 in fig. 5a, and the client can perform creation of the component arrangement interface based on the interface name and description information input by the user in the creation guidance interface after detecting the confirmation operation of the user for the creation component 52. In one embodiment, when the client creates the component layout interface, the client needs to first send a load request of the resource component to the server, and after the resource component is requested to be loaded from the server, the component layout interface is displayed in the user interface, and when the client displays the component layout interface, the one or more resource components requested to be loaded from the server can be displayed in the component selection area. In one embodiment, as shown in FIG. 5b, the client displays the component orchestration interface upon detecting a selection operation for a validation component in the create guideline set interface.
In one embodiment, after the client displays the component layout interface, the client can perform layout of the resource component based on the component layout interface, i.e., instead, perform step S404. In addition, after the client displays the component arrangement interface, a component adjustment operation for any resource component (e.g., a target resource component) in the component arrangement area may be further received, so as to adjust the display position of the resource component in the component arrangement interface based on the component adjustment operation, where the component adjustment operation includes one or more of a moving operation, a deleting operation, and a zooming operation, and it is understood that the moving operation is used to move the display position of the resource component in the component arrangement area, the deleting operation is used to delete one or more resource components in the component arrangement area, and the zooming operation is used to enlarge or reduce the display size of the resource component in the component arrangement area.
S404, displaying a parameter configuration interface of the target resource component according to the selection operation of the target resource component in the selected at least one resource component detected in the component arrangement area.
S405, according to the parameter adjustment operation aiming at the target resource component detected in the parameter configuration interface, displaying the target resource component after the parameters are adjusted in the component layout area.
In steps S404 and S405, when the client performs resource component layout on the component layout interface, the client may display a parameter configuration interface of the target resource component according to a selection operation for the target resource component detected in a component layout region of the component layout interface, where the selection operation for the target resource component may be, for example, a single-click operation, a double-click operation, a long-press operation, or a touch operation, and the parameter configuration interface for the resource component displayed by the client based on the selection operation includes: the parameter information configuration area comprises parameter information to be configured of the target resource component; the parameter information to be configured comprises one or more of the following: the type of the parameter to be configured, the name of the parameter to be configured, the parameter information before adjustment, and the parameter information after adjustment, and the displayed parameter configuration interface may be as shown in the interface marked by 303 in fig. 3 c. In one embodiment, the parameter configuration area further includes: adding components aiming at the parameter information to be configured; when the client detects a first selection operation for the add component, new parameter information to be configured may be added to the parameter configuration area, where the client may add one or more new parameter information to be configured to the parameter configuration area when detecting the first selection operation for the add component, as shown in fig. 5c, the first selection operation may be, for example, a click operation, and the like, the parameter configuration area may be, for example, an area marked by 53 in fig. 5c, and the parameter configuration interface after adding the new parameter information to be configured to the new parameter configuration area may be, for example, an interface marked by 54 in fig. 5c based on the first selection operation for the add component.
In an embodiment, the parameter configuration area further includes a deletion component for the to-be-configured parameter information, and when the client detects a second selection operation for the deletion component, the to-be-configured parameter information that is indicated to be deleted by the second selection operation in the parameter configuration area may be deleted, in a specific implementation, when the client deletes the to-be-configured parameter information that is indicated to be deleted by the parameter configuration area, as shown in fig. 5d, only the to-be-configured parameter information corresponding to the second selection operation may be cleared, or, as shown in fig. 5e, when the to-be-configured parameter information that is indicated to be deleted by the second selection operation is deleted, the client may correspondingly delete the input frame used for adjusting the to-be-configured parameter information. In one embodiment, the parameter configuration interface further comprises: the type configuration area also comprises information of the type to be configured of the target resource component; the type information to be configured includes a node type of the target resource component, where the node type may be, for example, a ring (loop) type or a single (single) node type, where the type information to be configured further includes a loop type, the loop type is used to indicate whether to loop, the type information to be configured further includes a self-merge rule, the self-merge rule is used to indicate whether to self-merge data, and the like.
In one embodiment, the client may implement parameter adjustment on the resource component displayed in the component arrangement area based on a parameter configuration interface displayed on the user interface, so that the resource component after parameter adjustment may be displayed in the component arrangement area, and further, the client may detect whether the user completes arrangement of the resource component, where the client may not detect a parameter adjustment operation for the resource component within a preset time period, or when the component adjustment operation is performed, determine that the user completes arrangement of the resource component, and after the client determines that the user completes arrangement of the resource component, the resource component after arrangement may be stored. In a specific implementation, a client may first send a configuration storage request to a server, where the configuration storage request includes: the server can perform parameter check on each selected resource component after receiving a configuration storage request sent by a client, and store the selected resource components and the corresponding connection relations after the check is completed; after storing the selected resource components and the corresponding connection relationships, the server may send storage feedback information to the client, and correspondingly, the client may obtain the storage feedback information from the server, so that whether the server successfully stores the selected resource components and the corresponding connection relationships may be determined based on the storage feedback information.
In an embodiment, the flow of the client when determining that the user completes the arrangement of the resource component and requests the server to store may be as shown in fig. 6, after determining that the user completes the arrangement (configuration) of the resource component displayed in the component arrangement region, the client may initiate a configuration storage request for storing the resource component displayed in the component arrangement region and the connection relationship between the resource components to the server, and after receiving the configuration storage request, the server may check the component parameter of the resource component determined to be requested to store first, so that corresponding computation graph data may be constructed based on the component parameter, it may be understood that the computation graph data constructed by the server is based on the resource component displayed by the client in the component arrangement region and the call relationship between different resource components, and when the server checks the component parameter of the resource component, the code shown in fig. 7a may be invoked, and the server may sequentially execute the following steps when building corresponding computation graph data based on the component parameters: analyzing a request, analyzing a task node, analyzing a transfer node, analyzing a parallel node, analyzing a cycle node, analyzing a selection node, and creating a node to realize creation of data of a calculation graph, wherein a server can call a code shown in figure 7b to perform request analysis, and can call a code shown in figure 7c to realize analysis of the task node, analysis of the transfer node, analysis of the parallel node, analysis of the cycle node, analysis of the selection node, and creation of the node.
In an embodiment, after the server determines corresponding computation graph data, a storage request for the computation graph data may be initiated, where the server may directly store the computation graph data locally, or the server may also store the computation graph data in a database, after the server determines that the storage of the computation graph data is completed, storage feedback information may be generated and sent to a client, and the client may determine whether to complete the storage of a resource component in a component scheduling area based on the storage feedback information, where when the client determines that the resource component is successfully stored based on the storage feedback information, the client may output prompt information of a storage error in a user interface, so that a user re-initiates the storage of the resource component based on a prompt of the prompt information; or, if the client determines that the resource component in the component arrangement region has been successfully stored based on the storage feedback information, the client may end after outputting the prompt information indicating that the storage is successful. In one embodiment, based on the storage of the resource component programmed by the user by the server, the subsequent user can directly obtain the stored resource component programmed by the client from the server and call the resource component for data processing.
In the embodiment of the present invention, the client may create and display the component arrangement interface after detecting the creation triggering operation for the component arrangement interface, and the user may perform arrangement of the resource component based on the component arrangement interface displayed on the user interface, and at the same time, the client may further display a parameter configuration interface for the target resource component based on the detected selection operation for the target resource component, thereby implementing configuration adjustment of parameters of the target resource component. After the client determines that the arrangement of the resource component is finished, the configured resource component and the corresponding calling relation can be stored in the server, so that the configured resource component can be called from the server in the following process, the time for rearranging the resource component can be saved, the arrangement efficiency can be improved, and the arrangement cost of the resource component can be saved.
Based on the description of the foregoing parameter adjustment method embodiment, an embodiment of the present invention further provides a parameter adjustment apparatus, which may be a computer program (including a program code) running in the foregoing client. The parameter adjusting apparatus may be used to perform the parameter adjusting method as shown in fig. 2 and fig. 4, please refer to fig. 8, and the parameter adjusting apparatus includes: and a display unit 801.
A display unit 801, configured to display a component arrangement interface, where the component arrangement interface includes a component selection area and a component arrangement area, where the component selection area includes at least one resource component to be selected, and the component arrangement area is configured to display the selected at least one resource component;
the display unit 801 is further configured to display a parameter configuration interface of a target resource component in the at least one selected resource component according to a selection operation detected in the component arrangement area for the target resource component;
the display unit 801 is further configured to display the parameter-adjusted target resource component in the component layout area according to the parameter adjustment operation for the target resource component detected in the parameter configuration interface.
In one embodiment, the parameter configuration interface comprises: the parameter information configuration area comprises parameter information to be configured of the target resource component;
the parameter information to be configured comprises one or more of the following: the parameter type to be configured, the parameter name to be configured, the parameter information before adjustment and the parameter information after adjustment.
In one embodiment, the parameter configuration area further includes: adding components and deleting components aiming at the parameter information to be configured; the device further comprises: an adding unit 802 and a deleting unit 803.
An adding unit 802, configured to add new parameter information to be configured in the parameter configuration area in response to a first selection operation for the adding component; alternatively, the first and second electrodes may be,
a deleting unit 803, configured to delete, in response to a second selection operation for the deletion component, the to-be-configured parameter information in the parameter configuration area, where the second selection operation indicates deletion.
In one embodiment, the parameter configuration interface further comprises: the type configuration area comprises information of types to be configured of the target resource assembly;
the information of the type to be configured comprises one or two of the following: a node type and a cycle type of the target resource component.
In one embodiment, the apparatus further comprises: a receiving unit 804 and an adjusting unit 805.
A receiving unit 804, configured to receive a component adjustment operation for the target resource component, where the component adjustment operation includes: one or more of a move operation, a delete operation, and a zoom operation;
an adjusting unit 805, configured to adjust a display position of the target resource component in the component layout interface according to the component adjusting operation.
In one embodiment, the display unit 801 is further configured to display a creation guidance interface in response to a creation triggering operation for the component orchestration interface, where the creation guidance interface includes a creation component for the component orchestration interface;
the receiving unit 804 is further configured to receive a confirmation operation for the created component, create the component layout interface, and execute the step of displaying the component layout interface.
In one embodiment, the component layout area comprises a plurality of selected resource components, and the connection relationship between any two selected resource components represents the call relationship between any two selected resource components; the device further comprises: a sending unit 806.
A sending unit 806, configured to send a configuration storage request to a server, where the configuration storage request includes: the server is used for displaying a plurality of selected resource components and a connection relation between any two selected resource components on the component arrangement interface, so that the selected resource components and the corresponding connection relation are stored after the server performs parameter check on each selected resource component;
the receiving unit 804 is further configured to obtain storage feedback information from the server, where the storage feedback information is used to indicate whether the server successfully stores the selected resource component and a corresponding connection relationship.
In the embodiment of the present invention, after a user starts a component arrangement interface, the display unit 801 may display the component arrangement interface in the user interface, and the user may select a desired resource component from a component selection area of the component arrangement interface and add and display the resource component in a component arrangement area of the component arrangement interface, thereby implementing a visual loading display of the resource component, thereby implementing an arrangement efficiency of the resource component, and further, based on at least one selected resource component displayed in the component arrangement area, if a selection operation for a target resource component in the at least one selected resource component is detected, the display unit 801 may display a parameter configuration interface of the target resource component, and the user may implement a direct adjustment of parameters of the target resource component based on the displayed parameter configuration interface without adjusting codes of the target resource component, therefore, the adjustment speed of the parameters of the resource assembly can be realized, the threshold for adjusting the parameters of the resource assembly is reduced, the efficiency of parameter configuration of the resource assembly can be improved, and the accuracy of adjusting the parameters of the resource assembly can be effectively improved.
Please refer to fig. 9, which is a block diagram schematically illustrating a structure of a client according to an embodiment of the present invention, where the client in the embodiment shown in fig. 9 may include: one or more processors 901; one or more input devices 902, one or more output devices 903, and memory 904. The processor 901, the input device 902, the output device 903, and the memory 904 are connected by a bus 905. The memory 904 is used to store a computer program comprising program instructions, and the processor 901 is used to execute the program instructions stored by the memory 904.
The memory 904 may include volatile memory (volatile memory), such as random-access memory (RAM); the memory 904 may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a solid-state drive (SSD), etc.; the memory 904 may also comprise a combination of the above-described types of memory.
The processor 901 may be a Central Processing Unit (CPU). The processor 901 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or the like. The PLD may be a field-programmable gate array (FPGA), a General Array Logic (GAL), or the like. The processor 901 may also be a combination of the above structures.
In the embodiment of the present invention, the memory 904 is used for storing a computer program, the computer program includes program instructions, and the processor 901 is used for executing the program instructions stored in the memory 904 to implement the steps of the corresponding methods as described above in fig. 2 and fig. 4.
In one embodiment, the processor 901 is configured to call the program instructions for executing:
displaying a component arrangement interface, wherein the component arrangement interface comprises a component selection area and a component arrangement area, the component selection area comprises at least one resource component to be selected, and the component arrangement area is used for displaying the selected at least one resource component;
displaying a parameter configuration interface of a target resource component in the at least one selected resource component according to the detected selection operation of the component arrangement area for the target resource component;
and displaying the target resource assembly after the parameters are adjusted in the assembly layout area according to the parameter adjustment operation aiming at the target resource assembly, which is detected in the parameter configuration interface.
In one embodiment, the parameter configuration interface comprises: a parameter configuration area, wherein the parameter information configuration area comprises parameter information to be configured of the target resource assembly;
the parameter information to be configured comprises one or more of the following: the parameter type to be configured, the parameter name to be configured, the parameter information before adjustment and the parameter information after adjustment.
In one embodiment, the parameter configuration region further includes: adding components and deleting components aiming at the parameter information to be configured; the processor 901 is configured to call the program instructions for performing:
responding to a first selection operation aiming at the adding component, and adding new parameter information to be configured in the parameter configuration area;
or, in response to a second selection operation for the deletion component, deleting the parameter information to be configured, which is indicated to be deleted by the second selection operation, in the parameter configuration area.
In one embodiment, the parameter configuration interface further comprises: the type configuration area comprises information of types to be configured of the target resource assembly;
the information of the type to be configured comprises one or two of the following: a node type and a cycle type of the target resource component.
In one embodiment, the processor 901 is configured to call the program instructions to perform:
receiving a component adjustment operation for the target resource component, the component adjustment operation comprising: one or more of a move operation, a delete operation, and a zoom operation;
and adjusting the display position of the target resource component on the component arrangement interface according to the component adjusting operation.
In one embodiment, the processor 901 is configured to call the program instructions to perform:
in response to a creation trigger operation for the component orchestration interface, displaying a creation guidance interface that includes a creation component for the component orchestration interface;
receiving a confirmation operation aiming at the created component, creating the component arrangement interface, and executing the step of displaying the component arrangement interface.
In one embodiment, the component layout area comprises a plurality of selected resource components, and the connection relationship between any two selected resource components represents the call relationship between any two selected resource components; the processor 901 is configured to call the program instructions for performing:
sending a configuration storage request to a server, the configuration storage request comprising: the selected resource components and the connection relation between any two selected resource components are displayed on the component arrangement interface, so that the selected resource components and the corresponding connection relation are stored after the server performs parameter check on each selected resource component;
and obtaining storage feedback information from the server, wherein the storage feedback information is used for indicating whether the server successfully stores the selected resource components and the corresponding connection relation.
Embodiments of the present invention provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the method embodiments as shown in fig. 2 or fig. 4. The computer-readable storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the invention has been described with reference to a particular embodiment, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (8)

1. A method of parameter adjustment, comprising:
in response to a creation trigger operation for a component orchestration interface, displaying a creation guidance interface comprising a creation component for the component orchestration interface;
receiving a confirmation operation aiming at the created component, creating the component arrangement interface, and displaying the component arrangement interface, wherein the component arrangement interface comprises a component selection area and a component arrangement area, the component selection area comprises at least one resource component to be selected, and the component arrangement area is used for displaying the selected at least one resource component;
displaying a parameter configuration interface of a target resource component in the at least one selected resource component according to the detected selection operation of the component arrangement area for the target resource component; the parameter configuration interface comprises: a parameter configuration area, wherein the parameter configuration area comprises parameter information to be configured of the target resource component; the parameter information to be configured comprises one or more of the following: the method comprises the steps of configuring the type of a parameter to be configured, the name of the parameter to be configured, parameter information before adjustment and parameter information after adjustment;
according to the parameter adjustment operation aiming at the target resource component, which is detected in the parameter configuration interface, displaying the parameter-adjusted target resource component in the component arrangement area; after the parameter adjustment is completed, adjusting the displayed connection relation of different resource components, thereby realizing the adjustment of the call relation between the different resource components;
and sending a configuration storage request for storing the resource assemblies displayed in the assembly arrangement area and the connection relation between the resource assemblies to a server, determining calculation graph data according to the resource assemblies to be stored and the corresponding call relation by the server, and storing the calculation graph data so as to store the corresponding resource assemblies.
2. The method of claim 1, wherein the parameter configuration region further comprises: adding components and deleting components aiming at the parameter information to be configured; the method further comprises the following steps:
responding to a first selection operation aiming at the adding component, and adding new parameter information to be configured in the parameter configuration area;
or, in response to a second selection operation for the deletion component, deleting the parameter information to be configured, which is indicated to be deleted by the second selection operation, in the parameter configuration area.
3. The method of claim 1, wherein the parameter configuration interface further comprises: a type configuration area, wherein the type configuration area comprises information of types to be configured of the target resource assembly;
the information of the type to be configured comprises one or two of the following: a node type and a cycle type of the target resource component.
4. The method of claim 1, wherein after displaying the component orchestration interface, the method further comprises:
receiving a component adjustment operation for the target resource component, the component adjustment operation comprising: one or more of a move operation, a delete operation, and a zoom operation;
and adjusting the display position of the target resource component on the component arrangement interface according to the component adjusting operation.
5. The method of claim 1, wherein the component layout area comprises a plurality of selected resource components, and the connection relationship between any two selected resource components represents the call relationship between any two selected resource components; the method further comprises the following steps:
sending a configuration storage request to a server, the configuration storage request comprising: the server is used for displaying a plurality of selected resource components and a connection relation between any two selected resource components on the component arrangement interface, so that the selected resource components and the corresponding connection relation are stored after the server performs parameter check on each selected resource component;
and obtaining storage feedback information from the server, wherein the storage feedback information is used for indicating whether the server successfully stores the selected resource components and the corresponding connection relation.
6. A parameter adjustment device, comprising:
the display unit is used for responding to a creation triggering operation aiming at the component arrangement interface and displaying a creation guide interface, and the creation guide interface comprises a creation component aiming at the component arrangement interface;
a receiving unit, configured to receive a confirmation operation for the created component, create the component layout interface, and perform a step of displaying the component layout interface;
the display unit is further used for displaying a component arrangement interface, the component arrangement interface comprises a component selection area and a component arrangement area, the component selection area comprises at least one resource component to be selected, and the component arrangement area is used for displaying the selected at least one resource component;
the display unit is further configured to display a parameter configuration interface of a target resource component in the at least one selected resource component according to a selection operation detected in the component arrangement area for the target resource component; the parameter configuration interface comprises: a parameter configuration area, wherein the parameter configuration area comprises parameter information to be configured of the target resource component; the parameter information to be configured comprises one or more of the following: the method comprises the steps of configuring the type of a parameter to be configured, the name of the parameter to be configured, parameter information before adjustment and parameter information after adjustment;
the display unit is further configured to display the target resource component after the parameters are adjusted in the component layout area according to the parameter adjustment operation for the target resource component detected in the parameter configuration interface; after the parameter adjustment is completed, adjusting the displayed connection relation of different resource components, thereby realizing the adjustment of the call relation between the different resource components;
and the server determines calculation graph data according to the resource components to be stored and the corresponding calling relation, and stores the calculation graph data so as to store the corresponding resource components.
7. A parameter adjusted client, comprising a processor, an input device, an output device and a memory, the processor, the input device, the output device and the memory being interconnected, wherein the memory is configured to store a computer program comprising program instructions, and wherein the processor is configured to invoke the program instructions to perform the method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that it stores a computer program comprising program instructions which, when executed by a processor, cause the processor to carry out the method according to any one of claims 1 to 5.
CN202010901374.6A 2020-08-28 2020-08-28 Parameter adjusting method, device, client and storage medium Active CN112035110B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010901374.6A CN112035110B (en) 2020-08-28 2020-08-28 Parameter adjusting method, device, client and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010901374.6A CN112035110B (en) 2020-08-28 2020-08-28 Parameter adjusting method, device, client and storage medium

Publications (2)

Publication Number Publication Date
CN112035110A CN112035110A (en) 2020-12-04
CN112035110B true CN112035110B (en) 2022-06-21

Family

ID=73587254

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010901374.6A Active CN112035110B (en) 2020-08-28 2020-08-28 Parameter adjusting method, device, client and storage medium

Country Status (1)

Country Link
CN (1) CN112035110B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113094282B (en) * 2021-04-28 2023-08-01 腾讯科技(深圳)有限公司 Program block running method, device, equipment and storage medium
CN114936019B (en) * 2021-12-09 2024-01-30 腾讯科技(深圳)有限公司 Component and strategy linkage method, device, equipment, system and storage medium
CN114968223B (en) * 2021-12-14 2024-05-17 中国联合网络通信集团有限公司 Pipeline arrangement method, device, equipment and storage medium
CN116132513B (en) * 2023-02-24 2024-04-19 重庆长安汽车股份有限公司 Method, device, equipment and storage medium for updating parameters of service arrangement

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111522552A (en) * 2020-07-06 2020-08-11 腾讯科技(深圳)有限公司 Sub-application generation method and device, computer equipment and storage medium
CN111538498A (en) * 2020-04-14 2020-08-14 北京宝兰德软件股份有限公司 Application creation method and device, electronic equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100175060A1 (en) * 2009-01-06 2010-07-08 International Business Machines Corporation Simplifying Selection of Targets for Installation of Composite Applications
US10848379B2 (en) * 2019-01-30 2020-11-24 Hewlett Packard Enterprise Development Lp Configuration options for cloud environments
CN110413276B (en) * 2019-07-31 2024-04-09 网易(杭州)网络有限公司 Parameter editing method and device, electronic equipment and storage medium
CN111522543A (en) * 2020-04-16 2020-08-11 科大国创云网科技有限公司 Visual application component arrangement method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111538498A (en) * 2020-04-14 2020-08-14 北京宝兰德软件股份有限公司 Application creation method and device, electronic equipment and storage medium
CN111522552A (en) * 2020-07-06 2020-08-11 腾讯科技(深圳)有限公司 Sub-application generation method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN112035110A (en) 2020-12-04

Similar Documents

Publication Publication Date Title
CN112035110B (en) Parameter adjusting method, device, client and storage medium
US11531715B2 (en) Systems and methods for single page application server-side renderer
CN111782304B (en) Paging loading data logic control method, device, computer equipment and medium
US10642585B1 (en) Enhancing API service schemes
CN114091672B (en) Distributed model reasoning method and device, electronic equipment and medium
CN111294377B (en) Dependency network request sending method, terminal device and storage medium
EP3923155A2 (en) Method and apparatus for processing snapshot, device, medium and product
US20130110798A1 (en) Intercepting and processing database commands
CN112732312A (en) Method and device for updating application program, electronic equipment and medium
CN112860247A (en) Custom generation method, device, equipment and medium for model component
CN112235132A (en) Method, device, medium and server for dynamically configuring service
CN110399131B (en) Method, device and computer equipment for improving stability of application program
CN116112457A (en) Method, device, computer equipment and storage medium for notifying message
US20220276901A1 (en) Batch processing management
CN113032118A (en) Asynchronous operation processing method for computer application program and corresponding system
CN113110846A (en) Method and device for acquiring environment variable
CN113126928A (en) File moving method and device, electronic equipment and medium
CN113138772A (en) Method and device for constructing data processing platform, electronic equipment and storage medium
CN112860419A (en) Multi-instance task execution method and device, terminal equipment and computer storage medium
CN112764828B (en) Business logic management method and device, computer equipment and medium
CN114996557B (en) Service stability determination method, device, equipment and storage medium
CN112394962B (en) Service execution method, service logic updating method and device
US20240176610A1 (en) Configurable deployment of data science environments
CN113961189A (en) Webpage editing method and device
CN117785164A (en) Method for generating service interface for low-code platform and related device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant