CN116302249A - Interface display method and device, electronic equipment and computer readable storage medium - Google Patents

Interface display method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN116302249A
CN116302249A CN202310086478.XA CN202310086478A CN116302249A CN 116302249 A CN116302249 A CN 116302249A CN 202310086478 A CN202310086478 A CN 202310086478A CN 116302249 A CN116302249 A CN 116302249A
Authority
CN
China
Prior art keywords
target
account
execution instruction
cluster
execution
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.)
Pending
Application number
CN202310086478.XA
Other languages
Chinese (zh)
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.)
Beijing Taoyoutianxia Technology Co ltd
Original Assignee
Beijing Taoyoutianxia Technology 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 Beijing Taoyoutianxia Technology Co ltd filed Critical Beijing Taoyoutianxia Technology Co ltd
Priority to CN202310086478.XA priority Critical patent/CN116302249A/en
Publication of CN116302249A publication Critical patent/CN116302249A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application provides an interface display method, an interface display device, electronic equipment and a computer readable storage medium, and relates to the technical field of interface display. The method comprises the following steps: responding to account login operation, displaying an interactive interface corresponding to a logged-in target account, wherein the interactive interface comprises an interactive area, and the interactive area comprises at least one display control; responsive to a selection operation of a target presentation control of the at least one presentation control, presenting a corresponding text input box in the interaction region; each text input box is used for inputting an execution instruction of a corresponding target storage cluster, wherein the target storage cluster is a storage cluster with access rights of the target account. According to the embodiment of the application, the code sentences irrelevant to the execution instruction are not required to be manually written by staff, time and labor are saved, and the working efficiency of the staff and the operation efficiency of the whole company are improved.

Description

Interface display method and device, electronic equipment and computer readable storage medium
Technical Field
The present application relates to the field of interface display technologies, and in particular, to an interface display method, an apparatus, an electronic device, and a computer readable storage medium.
Background
Currently, as company services increase, multiple storage clusters are often required to store different service data. During the working process of the staff, the corresponding clusters need to be accessed to acquire or upload related data, but as the number and types of the storage clusters which can be accessed and operated by different staff are different and the calling modes of different storage clusters are different, the staff consumes a great amount of time in determining own storage cluster authority and writing sentences for calling the storage clusters, so that the operation efficiency is affected.
Disclosure of Invention
The embodiment of the application provides an interface display method, an interface display device, electronic equipment and a computer readable storage medium, which can solve the problem that staff consumes a great deal of time and energy in determining own storage cluster authority and writing sentences for calling the storage clusters. The technical scheme is as follows:
according to one aspect of the embodiment of the application, there is provided an interface display method, applied to a terminal, including:
responding to account login operation, displaying an interactive interface corresponding to a logged-in target account, wherein the interactive interface comprises an interactive area, and the interactive area comprises at least one display control;
Responsive to a selection operation of a target presentation control of the at least one presentation control, presenting a corresponding text input box in the interaction region;
each text input box is used for inputting an execution instruction of a corresponding target storage cluster, wherein the target storage cluster is a storage cluster with access rights of the target account.
As an alternative embodiment, the interactive interface further comprises a display area, the display area comprising a text display box;
the text display box is used for displaying all execution instructions input in the history and execution results correspondingly obtained after the server responds to each execution instruction.
As an optional embodiment, the displaying the corresponding text input box in the interaction area further includes:
and responding to the editing completion operation of the editing execution instruction in the text input box, and displaying the execution instruction with the editing completion and an execution result obtained after the server responds to the execution instruction in the text display box.
As an alternative embodiment, the execution instruction includes a plurality of character strings, and the editing completion operation in response to editing the execution instruction in the text input box further includes, before the operation of editing the character strings in the text input box, wherein the interface presentation method includes, for each character string:
Responsive to an operation of inputting a candidate character in the text input box, displaying prompt information, wherein at least one character string comprising the candidate character is displayed in the prompt information;
and responding to the selection operation of a target character string in the at least one character string, displaying the target character string in the text input box, and clearing the input candidate characters in the text input box.
As an optional embodiment, the responding to the account login operation, displaying an interactive interface corresponding to the logged-in target account, includes:
an account login request is sent to a server in response to an account login operation, wherein the account login request comprises account information of a target account, so that after the account information is successfully verified, the server determines all storage clusters of the target account with access rights according to a corresponding relation between a pre-established account and access rights of all storage clusters, and returns cluster identifiers of all storage clusters of the target account with access rights to a terminal;
and receiving cluster identifiers of all storage clusters of the target account number with access rights, and configuring display controls corresponding to each storage cluster in all storage clusters one by one.
As an optional embodiment, the editing completion operation in response to the editing execution instruction in the text input box, displaying, in the text display box, the execution instruction that completes the editing and an execution result obtained after the server responds to the execution instruction, includes:
responding to the editing completion operation of editing an execution instruction in the text input box, and sending an execution request to a server, wherein the execution request comprises a cluster identifier of a target storage cluster and the edited execution instruction, so that the server sends the execution instruction to the target storage cluster after obtaining the execution request, and returns an execution result after the execution instruction is executed by the target storage cluster to a terminal;
and receiving the execution result, and displaying the execution instruction and the execution result in the text display box.
According to another aspect of the embodiments of the present application, there is provided an interface display method, applied to a server, including:
obtaining an account login request sent by a terminal, wherein the account login request comprises account information of a target account;
determining all storage clusters with access rights of the target account according to the corresponding relation between the pre-created account and each storage cluster access right, and returning cluster identifications of all storage clusters with access rights of the target account to a terminal, so that the terminal displays an interactive interface corresponding to the logged-in target account according to the cluster identifications of all storage clusters with access rights of the target account, wherein the interactive interface comprises an interactive area, and the interactive area comprises at least one display control; when a target presentation control in the at least one presentation control is selected, the interaction area also presents a corresponding text input box;
Each text input box is used for inputting an execution instruction of a corresponding target storage cluster, wherein the target storage cluster is a storage cluster with access rights of the target account.
As an optional embodiment, the returning the cluster identifier of all the storage clusters with the access rights to the target account number to the terminal further includes:
receiving an execution request, wherein the execution request comprises a cluster identifier of a target storage cluster and an execution instruction edited in a corresponding text input box;
and sending the execution request to the target storage cluster, and returning an execution result after the target storage cluster executes the execution instruction to a terminal.
As an optional embodiment, the account login request further includes a terminal IP;
determining all storage clusters of the target account with access rights according to the corresponding relation between the pre-created account and the access rights of each storage cluster, wherein the method further comprises the following steps:
judging whether the terminal IP and the account information accord with a preset rule or not;
if yes, the terminal IP and the account information are successfully verified.
According to another aspect of an embodiment of the present application, there is provided an interface display apparatus, including:
The first display module is used for responding to account login operation, displaying an interactive interface corresponding to a logged-in target account, wherein the interactive interface comprises an interactive area, and the interactive area comprises at least one display control;
a second display module, configured to display a corresponding text input box in the interaction area in response to a selection operation of a target display control in the at least one display control;
each text input box is used for inputting an execution instruction of a corresponding target storage cluster, wherein the target storage cluster is a storage cluster with access rights of the target account.
According to another aspect of an embodiment of the present application, there is provided an interface display apparatus, including:
the acquisition module is used for acquiring an account login request sent by the terminal, wherein the account login request comprises account information of a target account;
the execution module is used for determining all storage clusters with access rights of the target account according to the corresponding relation between the pre-created account and each storage cluster access right, and returning cluster identifiers of all storage clusters with access rights of the target account to the terminal so that the terminal displays an interactive interface corresponding to the logged-in target account according to the cluster identifiers of all storage clusters with access rights of the target account, wherein the interactive interface comprises an interactive area, and the interactive area comprises at least one display control; when a target presentation control in the at least one presentation control is selected, the interaction area also presents a corresponding text input box;
Each text input box is used for inputting an execution instruction of a corresponding target storage cluster, wherein the target storage cluster is a storage cluster with access rights of the target account.
According to another aspect of the embodiments of the present application, there is provided an electronic device including a memory, a processor, and a computer program stored on the memory, the processor executing the computer program to implement the steps of the interface presentation method described above.
According to still another aspect of the embodiments of the present application, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the interface presentation method described above.
The beneficial effects that technical scheme that this application embodiment provided brought are: the embodiment of the application provides an interface display method, device, electronic equipment and computer readable storage medium, when an employee performs account login operation, an interactive interface corresponding to the employee is displayed to the employee, and because the interactive area comprises at least one display control, the employee can quickly determine all storage clusters with access rights, when the employee selects a target display control, the corresponding text input box is displayed in the interactive area, so that the employee can conveniently input an execution instruction of the corresponding target storage cluster, and therefore the employee does not need to manually write code sentences irrelevant to the execution instruction, time and labor are saved, and the working efficiency of the employee and the operation efficiency of the whole company are improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that are required to be used in the description of the embodiments of the present application will be briefly described below.
Fig. 1 is a schematic diagram of a system architecture for implementing an interface display method according to an embodiment of the present application;
fig. 2 is a flow chart of an interface display method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an interactive interface according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of an interactive interface according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of an interactive interface according to an embodiment of the present disclosure;
fig. 6 is a flow chart of an interface display method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an interface display device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an interface display device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device for implementing an interface display method according to an embodiment of the present application.
Detailed Description
Embodiments of the present application are described below with reference to the drawings in the present application. It should be understood that the embodiments described below with reference to the drawings are exemplary descriptions for explaining the technical solutions of the embodiments of the present application, and the technical solutions of the embodiments of the present application are not limited.
As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless expressly stated otherwise, as understood by those skilled in the art. It will be further understood that the terms "comprises" and "comprising," when used in this application, specify the presence of stated features, information, data, steps, operations, elements, and/or components, but do not preclude the presence or addition of other features, information, data, steps, operations, elements, components, and/or groups thereof, all of which may be included in the present application. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. The term "and/or" as used herein indicates that at least one of the items defined by the term, e.g., "a and/or B" may be implemented as "a", or as "B", or as "a and B".
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The present application provides an interface display method, apparatus, electronic device, computer readable storage medium and computer program product, which aim to solve the above technical problems in the prior art.
The technical solutions of the embodiments of the present application and technical effects produced by the technical solutions of the present application are described below by describing several exemplary embodiments. It should be noted that the following embodiments may be referred to, or combined with each other, and the description will not be repeated for the same terms, similar features, similar implementation steps, and the like in different embodiments.
Fig. 1 is a schematic diagram of a system architecture for implementing an interface display method according to an embodiment of the present application, where the system includes a terminal 110 and a server 120.
The terminal 110 installs and runs the application 111, or the terminal 110 opens a web page having the same function as the application 111, and when the terminal 110 runs the application 111, a user interface of the application 111 is displayed on a screen of the terminal 110. The application 111 may be a shopping program, a take-away service program, a multimedia entertainment program, a social communication program, and so forth. In this embodiment, the application 111 is office software.
The terminal 110 is a terminal used by the employee 112, and the application 111, in response to the account login operation of the employee 112, triggers the terminal 110 to obtain the cluster identifier of the storage cluster having the access right of the employee from the server 120, and the server 120 returns the information to the terminal 110, so that the terminal 110 displays a corresponding interactive interface to the user 112, so that the employee 112 performs various operations on the interactive interface.
Alternatively, the terminal 110 may refer broadly to one of a plurality of terminals, the present embodiment being illustrated only by the terminal 110. The device types of the terminal 110 include: at least one of a smart phone, a tablet computer, an electronic book reader, a dynamic video expert compression standard audio layer 3 (Moving Picture Experts Group Audio Layer III, MP 3) player, a dynamic video expert compression standard audio layer 4 (Moving Picture Experts Group Audio Layer IV, MP 4) player, a laptop portable computer, and a desktop computer.
Only one terminal is shown in fig. 1, but in different embodiments there are a plurality of other terminals that can access the server 120. Optionally, there is one or more terminals corresponding to the developer, on which the development and editing platform of the application program is installed, the developer may edit and update the application program on the terminal, and transmit the updated application program installation package to the server 120 through a wired or wireless network, and the terminal 110 may download the application program installation package from the server 120 to implement the update of the application program.
Wherein the terminal 110 and other terminals are connected to the server 120 through a wireless network or a wired network.
The server 120 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or may be a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, a content delivery network (Content Delivery Network, CDN), basic cloud computing services such as big data and an artificial intelligence platform.
The embodiment of the application provides a method for displaying an interface of a platform, which is shown in fig. 2 and applied to a terminal, and the method comprises the following steps:
s100, responding to account login operation, displaying an interactive interface corresponding to a logged-in target account, wherein the interactive interface comprises an interactive area, and the interactive area comprises at least one display control;
it can be understood that the account login operation refers to that an employee inputs a user name and a static password on a login interface displayed by the terminal, so that the terminal sends the input user name and static password to the server for verification, and after receiving a message that the server passes the verification, the terminal replaces the login interface displayed originally with a corresponding interactive interface. The user name can be the work number of the staff, and the static password can be set by the staff.
Each display control can display the name of the corresponding storage cluster, so that an employee can conveniently and quickly determine the storage cluster with the access right, and the employee can trigger the display control in a clicking mode and the like.
S101, responding to the selection operation of a target display control in at least one display control, and displaying a corresponding text input box in an interaction area; each text input box is used for inputting an execution instruction of a corresponding target storage cluster, and the target storage cluster is a storage cluster with access rights for a target account.
The cluster storage is to aggregate storage spaces in a plurality of storage devices into a storage pool capable of providing a unified access interface and a management interface for an application server, and the server can transparently access and utilize the disks on all the storage devices through the access interface, so that the performance and the disk utilization rate of the storage devices are fully exerted, and higher concurrent access performance is obtained.
Optionally, the presentation control is disposed at a position above the text input box to conform to the operating habits of the employee.
For example, in conjunction with fig. 3, a schematic diagram of an interactive interface is shown, where the interactive area has four presentation controls and one text input box, which are pika-enterprise, pika-jobrcmd, redis-entry and redis-members, respectively, corresponding to four storage clusters that the employee has access to, the selected target presentation control pika-entry, so that the corresponding text input box presented by the interactive interface is the text input box 1, and the employee can send the execution instruction to the target storage cluster pika-entry by inputting the execution instruction in the text input box 1.
It can be understood that after the staff performs the account login operation, the corresponding interactive interface is displayed to the staff, and because the interactive area comprises at least one display control, the staff can quickly determine all storage clusters with access rights, when the staff selects the target display control, the corresponding text input box is displayed in the interactive area, so that the staff can conveniently input the execution instruction of the corresponding target storage cluster, and therefore, the staff does not need to manually write code sentences irrelevant to the execution instruction, time and labor are saved, and the work efficiency of the staff and the operation efficiency of the whole company are improved.
On the basis of the above embodiments, as an optional embodiment, the interactive interface further includes a display area, where the display area includes a text display frame;
the text display box is used for displaying all execution instructions input in the history and execution results correspondingly obtained after the server responds to each execution instruction.
Optionally, considering that the content of the execution instruction and the execution result input by the history is more, a text display box is arranged between the display control and the text input box so as to accord with the operation and browsing habit of staff.
It can be understood that in this embodiment, the execution instruction input in history refers to an execution instruction that has been input by the employee and obtained by the terminal before the employee performs the account login operation at this time. For example, the account login operation performed by the employee at this time is 1 st 2023, and the execution instruction input in history may be the execution instruction input by the employee in the number 2022 and 12 st 31 (i.e. after the employee performs the account login operation last time) and the corresponding execution result, or may be the execution instruction input by the employee in the whole period of 12 th 2022.
For example, in connection with fig. 4, a schematic diagram of an interactive interface is exemplarily shown, where the interactive area has four presentation controls and one text input box, which are pika-enterprise, pika-jobrcmd, redis-entry and redis-members, respectively, and correspond to four storage clusters that the employee has access to, the selected target presentation control redis-member, so that the corresponding text input box presented by the interactive interface is the text input box 4, and the employee can send the execution instruction to the target storage cluster redis-member by inputting the execution instruction in the text input box 4, where the text display box is disposed between the presentation control and the text input box.
On the basis of the above embodiments, as an optional embodiment, displaying the corresponding text input box in the interaction area further includes:
and responding to the editing completion operation of the editing execution instruction in the text input box, and displaying the execution instruction with the editing completion and an execution result obtained after the server responds to the execution instruction in the text display box.
It can be understood that after confirming the execution instruction in the text input box, the staff performs editing completion operation by pressing a carriage return button or clicking a confirmation control and the like, so that the terminal can obtain the execution instruction and send the execution instruction to the server, the server receives the execution instruction and sends the execution instruction to the corresponding storage cluster, and returns the execution result after the storage cluster has executed the execution instruction to the terminal, thereby enabling the staff to browse the execution instruction and the corresponding execution result which are just input in the text display box, and facilitating subsequent work. For example, in connection with fig. 5, a schematic diagram of an interactive interface is exemplarily shown, where, as can be seen from the text display box, there are two execution instructions in total, [ dis-member ] $set test, and [ dis-member ] $get test, [ dis-member ] is used to indicate that the corresponding storage cluster is dis-member, $represents the input start position identifier, set test is to create a variable test, get test is to obtain the value of the variable test, and OK and 1 are the execution results of the corresponding execution instructions, respectively.
On the basis of the above embodiments, as an alternative embodiment, the execution instruction includes a plurality of character strings, and the editing completion operation in response to editing the execution instruction in the text input box further includes, before, an operation in response to editing the character strings in the text input box, wherein, for each character string, the interface presentation method includes:
in response to an operation of inputting the candidate characters in the text input box, displaying prompt information, wherein at least one character string comprising the candidate characters is displayed in the prompt information;
in response to a selection operation of a target character string of the at least one character string, the target character string is presented in the text entry box and the entered candidate characters are emptied in the text entry box.
Optionally, the character string is a word or phrase. Illustratively, set is a word and set test is a phrase.
It can be understood that the efficiency of inputting the execution instruction by the staff can be improved through the prompt information, the possibility of grammar and semantic errors in the execution instruction can be reduced as much as possible, and the office efficiency is improved.
Illustratively, when the candidate character entered by the employee in the text entry box is se, the character string presented in the hint package includes, but is not limited to set, setbit, setex, setnx, setrange and select. When the employee selects the set in the prompt, the character string set is presented in the text entry box and the candidate character se previously entered in the text entry box is emptied.
Based on the above embodiments, as an optional embodiment, in response to an account login operation, displaying an interaction interface corresponding to a logged-in target account includes:
responding to an account login operation, sending an account login request to a server, wherein the account login request comprises account information of a target account, so that after the account information is successfully verified by the server, determining all storage clusters of the target account with access rights according to a corresponding relation between a pre-established account and access rights of all storage clusters, and returning cluster identifiers of all storage clusters of the target account with access rights to a terminal;
and receiving cluster identifiers of all storage clusters of which the target account numbers have access rights, and configuring display controls corresponding to each storage cluster in all storage clusters one by one.
Optionally, the account information includes, but is not limited to, user name, department role, static password, etc. identifying employee identity information.
Optionally, the cluster identification of the storage cluster is the name of the storage cluster.
It can be understood that if the storage clusters of the access rights corresponding to the account information of the staff a have the pick-job, the pick-enterprise, redis-company and the redis-entry-feed, the storage clusters of the access rights corresponding to the account information of the staff b have the pick-job, the pick-job-framework, pika-company, redis-enterprise, pika-membrane and the redis-membrane, and when the account of the staff b is the target account, the names pick-job, the pick-job-m d, the pick-job-framework, pika-company, redis-enterprise, pika-membrane and the redis-membrane of the storage clusters with the access rights are returned to the terminal, so that the interactive interface displayed to the staff by the terminal comprises the controls pi-job, the pick-job-m d, the pick-job-69-9735-95-35-membrane and the dis-6535-43-35-membrane respectively.
On the basis of the above embodiments, as an alternative embodiment, in response to an edit completion operation of editing an execution instruction in a text input box, displaying the execution instruction of the edit completion and an execution result obtained after the server responds to the execution instruction in a text display box, including:
responding to the edit completion operation of editing the execution instruction in the text input box, sending an execution request to a server, wherein the execution request comprises a cluster identifier of a target storage cluster and the edited execution instruction, so that the server sends the execution instruction to the target storage cluster after obtaining the execution request, and returns an execution result after the execution instruction is executed by the target storage cluster to the terminal;
and receiving the execution result, and displaying the execution instruction and the execution result in the text display box.
Optionally, the target storage cluster performs grammar and semantic inspection on the execution instruction before executing the execution instruction, if the inspection is passed, the execution instruction is executed, and an execution result is returned to the server, if the inspection is not passed, the execution instruction is not executed, a result of failure in the inspection is returned to the server, and the server returns a result of failure in the inspection to the terminal so as to prompt staff to inspect and correct the execution instruction.
It can be understood that the server sends the execution instruction to the target storage cluster according to the cluster identifier of the target storage cluster, so that other codes irrelevant to the execution instruction are prevented from being written by staff, time and labor are saved, and meanwhile flexibility and efficiency are improved.
The embodiment of the application provides an interface display method, which is applied to a server, as shown in fig. 6, and includes:
s200, obtaining an account login request sent by a terminal, wherein the account login request comprises account information of a target account;
s201, determining all storage clusters with access rights of a target account according to a corresponding relation between a pre-created account and access rights of each storage cluster, and returning cluster identifications of all storage clusters with access rights of the target account to a terminal, so that the terminal displays an interactive interface corresponding to the logged-in target account according to the cluster identifications of all storage clusters with access rights of the target account, wherein the interactive interface comprises an interactive area, and the interactive area comprises at least one display control; when a target presentation control in at least one presentation control is selected, the interaction area also presents a corresponding text input box;
each text input box is used for inputting an execution instruction of a corresponding target storage cluster, and the target storage cluster is a storage cluster with access rights for a target account.
It will be appreciated that, since the specific method for determining the interactive interface by the terminal according to the target account number has been described above, the detailed description will not be provided herein.
It should be understood that after the employee performs the account login operation, an interactive interface corresponding to the employee is displayed to the employee, and because the interactive area includes at least one display control, the employee can quickly determine all storage clusters with access rights, when the employee selects the target display control, a corresponding text input box is displayed in the interactive area, so that the employee can conveniently input an execution instruction of the corresponding target storage cluster, and therefore, code sentences irrelevant to the execution instruction are not required to be manually written by the employee, time and labor are saved, and the working efficiency of the employee and the operation efficiency of the whole company are improved.
On the basis of the above embodiments, as an optional embodiment, the method returns the cluster identifier of all the storage clusters with the access rights of the target account to the terminal, and further includes:
receiving an execution request, wherein the execution request comprises a cluster identifier of a target storage cluster and an execution instruction edited in a corresponding text input box;
and sending the execution request to the target storage cluster, and returning the execution result of the target storage cluster after the execution instruction is executed to the terminal.
Optionally, the target storage cluster performs grammar and semantic inspection on the execution instruction before executing the execution instruction, if the inspection is passed, the execution instruction is executed, and an execution result is returned to the server, if the inspection is not passed, the execution instruction is not executed, a result of failure in the inspection is returned to the server, and the server returns a result of failure in the inspection to the terminal so as to prompt staff to inspect and correct the execution instruction.
It can be understood that the server sends the execution instruction to the target storage cluster according to the cluster identifier of the target storage cluster, so that other codes irrelevant to the execution instruction are prevented from being written by staff, time and labor are saved, and meanwhile flexibility and efficiency are improved.
On the basis of the above embodiments, as an alternative embodiment,
the account login request also comprises a terminal IP;
according to the corresponding relation between the pre-created account and the access rights of each storage cluster, determining all the storage clusters of the target account with the access rights further comprises:
judging whether the terminal IP and account information accord with preset rules or not;
if yes, the terminal IP and account information are successfully verified.
Specifically, the server creates a first white list and a second white list in advance, the first white list comprises at least one candidate IP address capable of receiving an execution result, the second white list comprises at least one candidate account with access to a target storage cluster, the preset rule is that the terminal IP is in the first white list, and the target account is in the second white list.
The privacy and the safety of access to the storage cluster and data reading and editing are ensured by verifying the terminal IP and account information.
An embodiment of the present application provides an interface display device, as shown in fig. 7, where the interface display device may include: a first display module 601 and a second display module 602, wherein,
the first display module 601 is configured to respond to an account login operation, and display an interactive interface corresponding to a logged-in target account, where the interactive interface includes an interactive area, and the interactive area includes at least one display control;
the second presentation module 602 is configured to present, in response to a selection operation of a target presentation control of the at least one presentation control, a corresponding text input box in the interaction region;
each text input box is used for inputting an execution instruction of a corresponding target storage cluster, and the target storage cluster is a storage cluster with access rights for a target account.
On the basis of the above embodiments, as an optional embodiment, the interactive interface further includes a display area, where the display area includes a text display frame;
the text display box is used for displaying all execution instructions input in the history and execution results correspondingly obtained after the server responds to each execution instruction.
On the basis of the above embodiments, as an optional embodiment, the second display module is configured to display a corresponding text input box in the interaction area, and then is further configured to:
and responding to the editing completion operation of the editing execution instruction in the text input box, and displaying the execution instruction with the editing completion and an execution result obtained after the server responds to the execution instruction in the text display box.
On the basis of the foregoing embodiments, as an optional embodiment, the execution instruction includes a plurality of character strings, and the second presentation module is configured to perform an editing completion operation in response to editing the execution instruction in the text input box, and further includes, before the operation of editing the character strings in the text input box, wherein, for each character string, the interface presentation method includes:
in response to an operation of inputting the candidate characters in the text input box, displaying prompt information, wherein at least one character string comprising the candidate characters is displayed in the prompt information;
in response to a selection operation of a target character string of the at least one character string, the target character string is presented in the text entry box and the entered candidate characters are emptied in the text entry box.
According to the above embodiments, as an optional embodiment, the first display module is configured to respond to an account login operation, and display an interactive interface corresponding to a logged-in target account, where the interactive interface includes the following specific steps:
Responding to an account login operation, sending an account login request to a server, wherein the account login request comprises account information of a target account, so that after the account information is successfully verified by the server, determining all storage clusters of the target account with access rights according to a corresponding relation between a pre-established account and access rights of all storage clusters, and returning cluster identifiers of all storage clusters of the target account with access rights to a terminal;
and receiving cluster identifiers of all storage clusters of which the target account numbers have access rights, and configuring display controls corresponding to each storage cluster in all storage clusters one by one.
On the basis of the foregoing embodiments, as an optional embodiment, the second displaying module is configured to respond to an editing completion operation of editing an execution instruction in the text input box, and display, in the text display box, the execution instruction that is completed by the editing and an execution result obtained after the server responds to the execution instruction, where the second displaying module includes:
responding to the edit completion operation of editing the execution instruction in the text input box, sending an execution request to a server, wherein the execution request comprises a cluster identifier of a target storage cluster and the edited execution instruction, so that the server sends the execution instruction to the target storage cluster after obtaining the execution request, and returns an execution result after the execution instruction is executed by the target storage cluster to the terminal;
And receiving the execution result, and displaying the execution instruction and the execution result in the text display box.
The embodiment of the application provides an interface display device, as shown in fig. 8, the interface display device may include an obtaining module 701 and an executing module 702, where:
the obtaining module 701 is configured to obtain an account login request sent by a terminal, where the account login request includes account information of a target account;
the execution module 702 is configured to determine all storage clusters of the target account having access rights according to a corresponding relationship between the pre-created account and each storage cluster access right, and return cluster identifiers of all storage clusters of the target account having access rights to the terminal, so that the terminal displays an interaction interface corresponding to the logged-in target account according to the cluster identifiers of all storage clusters of the target account having access rights, where the interaction interface includes an interaction area, and the interaction area includes at least one presentation control; when a target presentation control in at least one presentation control is selected, the interaction area also presents a corresponding text input box;
each text input box is used for inputting an execution instruction of a corresponding target storage cluster, and the target storage cluster is a storage cluster with access rights for a target account.
On the basis of the above embodiments, as an alternative embodiment, the execution module is further configured to:
receiving an execution request, wherein the execution request comprises a cluster identifier of a target storage cluster and an execution instruction edited in a corresponding text input box;
and sending the execution request to the target storage cluster, and returning the execution result of the target storage cluster after the execution instruction is executed to the terminal.
On the basis of the above embodiments, as an optional embodiment, the account login request further includes a terminal IP;
the execution module is further configured to, before determining, according to a correspondence between the account number created in advance and access rights of each storage cluster, all storage clusters of the target account number having access rights:
judging whether the terminal IP and account information accord with preset rules or not;
if yes, the terminal IP and account information are successfully verified.
The apparatus of the embodiments of the present application may perform the method provided by the embodiments of the present application, and implementation principles of the method are similar, and actions performed by each module in the apparatus of each embodiment of the present application correspond to steps in the method of each embodiment of the present application, and detailed functional descriptions of each module of the apparatus may be referred to in the corresponding method shown in the foregoing, which is not repeated herein.
The embodiment of the application provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory, wherein the processor executes the computer program to realize the steps of an interface display method, and compared with the related art, the method can realize the steps of the interface display method: after the employee performs account login operation, an interactive interface corresponding to the employee is displayed to the employee, and because the interactive area comprises at least one display control, the employee can quickly determine all storage clusters with access rights, when the employee selects the target display control, the corresponding text input box is displayed in the interactive area, so that the employee can conveniently input an execution instruction of the corresponding target storage cluster, and therefore the employee does not need to manually write code sentences irrelevant to the execution instruction, time and labor are saved, and the working efficiency of the employee and the operation efficiency of the whole company are improved.
In an alternative embodiment, there is provided an electronic device, as shown in fig. 9, the electronic device 4000 shown in fig. 9 includes: a processor 4001 and a memory 4003. Wherein the processor 4001 is coupled to the memory 4003, such as via a bus 4002. Optionally, the electronic device 4000 may further comprise a transceiver 4004, the transceiver 4004 may be used for data interaction between the electronic device and other electronic devices, such as transmission of data and/or reception of data, etc. It should be noted that, in practical applications, the transceiver 4004 is not limited to one, and the structure of the electronic device 4000 is not limited to the embodiment of the present application.
The processor 4001 may be a CPU (Central Processing Unit ), general purpose processor, DSP (Digital Signal Processor, data signal processor), ASIC (Application Specific Integrated Circuit ), FPGA (Field Programmable Gate Array, field programmable gate array) or other programmable logic device, transistor logic device, hardware components, or any combination thereof. Which may implement or perform the various exemplary logic blocks, modules, and circuits described in connection with this disclosure. The processor 4001 may also be a combination that implements computing functionality, e.g., comprising one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.
Bus 4002 may include a path to transfer information between the aforementioned components. Bus 4002 may be a PCI (PerIPheral Component Interconnect, peripheral component interconnect standard) bus or an EISA (Extended Industry Standard Architecture ) bus, or the like. The bus 4002 can be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 9, but not only one bus or one type of bus.
Memory 4003 may be, but is not limited to, ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, RAM (Random Access Memory ) or other type of dynamic storage device that can store information and instructions, EEPROM (Electrically Erasable Programmable Read Only Memory ), CD-ROM (Compact Disc Read Only Memory, compact disc Read Only Memory) or other optical disk storage, optical disk storage (including compact discs, laser discs, optical discs, digital versatile discs, blu-ray discs, etc.), magnetic disk storage media, other magnetic storage devices, or any other medium that can be used to carry or store a computer program and that can be Read by a computer.
The memory 4003 is used for storing a computer program that executes an embodiment of the present application, and is controlled to be executed by the processor 4001. The processor 4001 is configured to execute a computer program stored in the memory 4003 to realize the steps shown in the foregoing method embodiment.
Embodiments of the present application provide a computer readable storage medium having a computer program stored thereon, where the computer program, when executed by a processor, may implement the steps and corresponding content of the foregoing method embodiments.
The embodiments of the present application also provide a computer program product, which includes a computer program, where the computer program can implement the steps of the foregoing method embodiments and corresponding content when executed by a processor.
The terms "first," "second," "third," "fourth," "1," "2," and the like in the description and in the claims of this application and in the above-described figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the present application described herein may be implemented in other sequences than those illustrated or otherwise described.
It should be understood that, although the flowcharts of the embodiments of the present application indicate the respective operation steps by arrows, the order of implementation of these steps is not limited to the order indicated by the arrows. In some implementations of embodiments of the present application, the implementation steps in the flowcharts may be performed in other orders as desired, unless explicitly stated herein. Furthermore, some or all of the steps in the flowcharts may include multiple sub-steps or multiple stages based on the actual implementation scenario. Some or all of these sub-steps or phases may be performed at the same time, or each of these sub-steps or phases may be performed at different times, respectively. In the case of different execution time, the execution sequence of the sub-steps or stages may be flexibly configured according to the requirement, which is not limited in the embodiment of the present application.
The foregoing is merely an optional implementation manner of the implementation scenario of the application, and it should be noted that, for those skilled in the art, other similar implementation manners based on the technical ideas of the application are adopted without departing from the technical ideas of the application, and also belong to the protection scope of the embodiments of the application.

Claims (13)

1. The interface display method is characterized by being applied to a terminal and comprising the following steps:
responding to account login operation, displaying an interactive interface corresponding to a logged-in target account, wherein the interactive interface comprises an interactive area, and the interactive area comprises at least one display control;
responsive to a selection operation of a target presentation control of the at least one presentation control, presenting a corresponding text input box in the interaction region;
each text input box is used for inputting an execution instruction of a corresponding target storage cluster, wherein the target storage cluster is a storage cluster with access rights of the target account.
2. The interface presentation method of claim 1, wherein the interactive interface further comprises a presentation area, the presentation area comprising a text presentation box;
The text display box is used for displaying all execution instructions input in the history and execution results correspondingly obtained after the server responds to each execution instruction.
3. The interface presentation method according to claim 2, wherein presenting the corresponding text input box in the interaction area further comprises:
and responding to the editing completion operation of the editing execution instruction in the text input box, and displaying the execution instruction with the editing completion and an execution result obtained after the server responds to the execution instruction in the text display box.
4. The interface presentation method as claimed in claim 3, wherein the execution instruction includes a plurality of character strings, and the editing completion operation in response to editing the execution instruction in the text input box is preceded by an operation in response to editing a character string in the text input box, wherein the interface presentation method includes, for each character string:
responsive to an operation of inputting a candidate character in the text input box, displaying prompt information, wherein at least one character string comprising the candidate character is displayed in the prompt information;
and responding to the selection operation of a target character string in the at least one character string, displaying the target character string in the text input box, and clearing the input candidate characters in the text input box.
5. The interface display method according to claim 1, wherein the displaying, in response to the account login operation, an interactive interface corresponding to the logged-in target account includes:
an account login request is sent to a server in response to an account login operation, wherein the account login request comprises account information of a target account, so that after the account information is successfully verified, the server determines all storage clusters of the target account with access rights according to a corresponding relation between a pre-established account and access rights of all storage clusters, and returns cluster identifiers of all storage clusters of the target account with access rights to a terminal;
and receiving cluster identifiers of all storage clusters of the target account number with access rights, and configuring display controls corresponding to each storage cluster in all storage clusters one by one.
6. The interface presentation method as claimed in claim 3, wherein the editing completion operation in response to editing the execution instruction in the text input box, presenting the execution instruction for which editing is completed and the execution result obtained by the server in response to the execution instruction in the text presentation box, comprises:
Responding to the editing completion operation of editing an execution instruction in the text input box, and sending an execution request to a server, wherein the execution request comprises a cluster identifier of a target storage cluster and the edited execution instruction, so that the server sends the execution instruction to the target storage cluster after obtaining the execution request, and returns an execution result after the execution instruction is executed by the target storage cluster to a terminal;
and receiving the execution result, and displaying the execution instruction and the execution result in the text display box.
7. The interface display method is characterized by being applied to a server and comprising the following steps:
obtaining an account login request sent by a terminal, wherein the account login request comprises account information of a target account;
determining all storage clusters with access rights of the target account according to the corresponding relation between the pre-created account and each storage cluster access right, and returning cluster identifications of all storage clusters with access rights of the target account to a terminal, so that the terminal displays an interactive interface corresponding to the logged-in target account according to the cluster identifications of all storage clusters with access rights of the target account, wherein the interactive interface comprises an interactive area, and the interactive area comprises at least one display control; when a target presentation control in the at least one presentation control is selected, the interaction area also presents a corresponding text input box;
Each text input box is used for inputting an execution instruction of a corresponding target storage cluster, wherein the target storage cluster is a storage cluster with access rights of the target account.
8. The interface display method according to claim 7, wherein the returning the cluster identifier of all the storage clusters having the access rights to the target account number to the terminal further comprises:
receiving an execution request, wherein the execution request comprises a cluster identifier of a target storage cluster and an execution instruction edited in a corresponding text input box;
and sending the execution request to the target storage cluster, and returning an execution result after the target storage cluster executes the execution instruction to a terminal.
9. The interface display method according to claim 7, wherein the account login request further includes a terminal IP;
determining all storage clusters of the target account with access rights according to the corresponding relation between the pre-created account and the access rights of each storage cluster, wherein the method further comprises the following steps:
judging whether the terminal IP and the account information accord with a preset rule or not;
if yes, the terminal IP and the account information are successfully verified.
10. An interface display device is characterized in that,
the first display module is used for responding to account login operation, displaying an interactive interface corresponding to a logged-in target account, wherein the interactive interface comprises an interactive area, and the interactive area comprises at least one display control;
a second display module, configured to display a corresponding text input box in the interaction area in response to a selection operation of a target display control in the at least one display control;
each text input box is used for inputting an execution instruction of a corresponding target storage cluster, wherein the target storage cluster is a storage cluster with access rights of the target account.
11. An interface display device, comprising:
the acquisition module is used for acquiring an account login request sent by the terminal, wherein the account login request comprises account information of a target account;
the execution module is used for determining all storage clusters with access rights of the target account according to the corresponding relation between the pre-created account and each storage cluster access right, and returning cluster identifiers of all storage clusters with access rights of the target account to the terminal so that the terminal displays an interactive interface corresponding to the logged-in target account according to the cluster identifiers of all storage clusters with access rights of the target account, wherein the interactive interface comprises an interactive area, and the interactive area comprises at least one display control; when a target presentation control in the at least one presentation control is selected, the interaction area also presents a corresponding text input box;
Each text input box is used for inputting an execution instruction of a corresponding target storage cluster, wherein the target storage cluster is a storage cluster with access rights of the target account.
12. An electronic device comprising a memory, a processor and a computer program stored on the memory, characterized in that the processor executes the computer program to carry out the steps of the interface presentation method of any of claims 1-6.
13. A computer readable storage medium having stored thereon a computer program, characterized in that the computer program when executed by a processor implements the steps of the interface presentation method of any of claims 1-6.
CN202310086478.XA 2023-01-18 2023-01-18 Interface display method and device, electronic equipment and computer readable storage medium Pending CN116302249A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310086478.XA CN116302249A (en) 2023-01-18 2023-01-18 Interface display method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310086478.XA CN116302249A (en) 2023-01-18 2023-01-18 Interface display method and device, electronic equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN116302249A true CN116302249A (en) 2023-06-23

Family

ID=86814004

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310086478.XA Pending CN116302249A (en) 2023-01-18 2023-01-18 Interface display method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN116302249A (en)

Similar Documents

Publication Publication Date Title
US20200387550A1 (en) System and method for generation of chat bot system with integration elements augmenting natural language processing and native business rules
CN108292231B (en) Method and system for generating applications from data
CN102135895B (en) System upgrading method and system
CN111414739B (en) Excel data entry component, entry method and device
CN110244963B (en) Data updating method and device and terminal equipment
CN104011698A (en) Access to supplemental data based on identifier derived from corresponding primary application data
EP3374858B1 (en) Creating and modifying applications from a mobile device
CN112631924A (en) Automatic testing method and device, computer equipment and storage medium
CN108520401A (en) User list management method, device, platform and storage medium
CN117033249A (en) Test case generation method and device, computer equipment and storage medium
CN112711640A (en) Method and device for configuring business handling process
CN114626352B (en) Report automatic generation method, device, computer equipment and storage medium
CN114003421B (en) Virtual machine timeout mechanism testing method, system, terminal and storage medium
CN116302249A (en) Interface display method and device, electronic equipment and computer readable storage medium
CN115185625A (en) Self-recommendation type interface updating method based on configurable card and related equipment thereof
CN102193623A (en) Information input assistance device and method
CN114637672A (en) Automatic data testing method and device, computer equipment and storage medium
CN112181407A (en) Service implementation processing method, device, system, electronic equipment and storage medium
CN111679862A (en) Cloud host shutdown method and device, electronic equipment and medium
CN112540747A (en) Platform development method, device and computer readable storage medium
CN117131009A (en) Confluence data migration method and related equipment
CN117407082A (en) Engine configuration method, engine configuration device, electronic equipment and computer storage medium
CN115063156A (en) Risk processing method, device and equipment
CN116701488A (en) Data processing method, device, computer equipment and storage medium
KR20170111104A (en) Method and system for managing business card using hash tag

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