CN112883410B - Method and device for displaying information - Google Patents

Method and device for displaying information Download PDF

Info

Publication number
CN112883410B
CN112883410B CN201911204256.3A CN201911204256A CN112883410B CN 112883410 B CN112883410 B CN 112883410B CN 201911204256 A CN201911204256 A CN 201911204256A CN 112883410 B CN112883410 B CN 112883410B
Authority
CN
China
Prior art keywords
cloud resource
information
option
state information
options
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
CN201911204256.3A
Other languages
Chinese (zh)
Other versions
CN112883410A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201911204256.3A priority Critical patent/CN112883410B/en
Publication of CN112883410A publication Critical patent/CN112883410A/en
Application granted granted Critical
Publication of CN112883410B publication Critical patent/CN112883410B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6209Protecting access to data via a platform, e.g. using keys or access control rules to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/306User profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the disclosure discloses a method and a device for displaying information, and relates to the field of cloud computing. One embodiment of the method comprises the following steps: responding to the detection of a cloud resource access request, and acquiring user information corresponding to the cloud resource access request; inquiring a configuration file of the user information, wherein the configuration file is used for representing cloud resource option state information corresponding to the user information; and displaying cloud resource option state information contained in the configuration file. According to the embodiment, the real-time performance and the accuracy of the cloud resource option state information in the configuration file are improved.

Description

Method and device for displaying information
Technical Field
The embodiment of the disclosure relates to the technical field of cloud computing, in particular to a method and a device for displaying information.
Background
Cloud resources contain a huge amount of information. When a user operates the cloud resource, a plurality of rights related to the cloud resource are involved. Typically, information about rights is managed by a cloud server. When a certain authority is changed, the authority may be changed (for example, time-lapse) or the like.
Disclosure of Invention
The embodiment of the disclosure provides a method and a device for displaying information.
In a first aspect, embodiments of the present disclosure provide a method for displaying information, the method comprising: responding to the detection of a cloud resource access request, and acquiring user information corresponding to the cloud resource access request; inquiring a configuration file of the user information, wherein the configuration file is used for representing cloud resource option state information corresponding to the user information; and displaying cloud resource option state information contained in the configuration file.
In some embodiments, the above configuration file is constructed by: acquiring cloud resource options of target user information and cloud resource option state information corresponding to the cloud resource options, wherein the cloud resource options comprise at least one of the following: instance operation rights, batch operation rights, cloud resource status, sub-account operation rights, order status, custom rights; and constructing a configuration file through the cloud resource options and the cloud resource option state information.
In some embodiments, the acquiring the cloud resource option of the target user information and the cloud resource option status information corresponding to the cloud resource option include: inquiring cloud resource options of the target user information in response to the acquisition of the target user information; constructing an information inquiry instruction through the cloud resource options, wherein the information inquiry instruction is used for indicating to inquire the cloud resource option state information of the corresponding cloud resource options; and sending the information inquiry instruction and receiving cloud resource option state information corresponding to the information inquiry instruction.
In some embodiments, the constructing the information query instruction through the cloud resource option includes: acquiring authority information of the cloud resource option, wherein the authority information is used for representing the operation state of the cloud resource option, and the authority information comprises at least one of the following: true, false, array, empty array; and constructing an information inquiry instruction according to the authority information.
In some embodiments, the acquiring the cloud resource option of the target user information and the cloud resource option status information corresponding to the cloud resource option include: and in response to detecting that the cloud resource options change, updating the cloud resource options after the change and cloud resource option state information corresponding to the cloud resource options.
In some embodiments, the displaying the cloud resource option status information included in the configuration file includes: acquiring terminal state information for sending the cloud resource access request, wherein the terminal state information comprises at least one of the following items: hardware information, software information and authority information; and matching the terminal state information with the cloud resource option state information, and displaying the matched cloud resource option state information.
In a second aspect, embodiments of the present disclosure provide an apparatus for displaying information, the apparatus comprising: a user information acquisition unit configured to acquire user information corresponding to a cloud resource access request in response to detection of the cloud resource access request; a configuration file querying unit configured to query a configuration file of the user information, where the configuration file is used to characterize cloud resource option status information corresponding to the user information; and the information display unit is configured to display cloud resource option state information contained in the configuration file.
In some embodiments, the apparatus includes a profile construction unit configured to construct a profile, the profile construction unit including: a cloud resource option status information obtaining subunit configured to obtain a cloud resource option of the target user information and cloud resource option status information corresponding to the cloud resource option, where the cloud resource option includes at least one of the following: instance operation rights, batch operation rights, cloud resource status, sub-account operation rights, order status, custom rights; and the configuration file construction subunit is configured to construct a configuration file through the cloud resource options and the cloud resource option state information.
In some embodiments, the cloud resource option status information obtaining subunit includes: the cloud resource option inquiry module is used for inquiring cloud resource options of the target user information in response to the acquisition of the target user information; the information inquiry instruction construction module is configured to construct an information inquiry instruction through the cloud resource options, wherein the information inquiry instruction is used for indicating to inquire the cloud resource option state information corresponding to the cloud resource options; and the information interaction module is configured to send the information inquiry instruction and receive cloud resource option state information corresponding to the information inquiry instruction.
In some embodiments, the information inquiry instruction building module includes: the permission information acquisition sub-module is configured to acquire permission information of the cloud resource options, wherein the permission information is used for representing the operation states of the cloud resource options, and the permission information comprises at least one of the following: true, false, array, empty array; and the information inquiry instruction construction sub-module is configured to construct an information inquiry instruction according to the authority information.
In some embodiments, the cloud resource option status information obtaining subunit includes: the updating module is used for responding to the detection of the change of the cloud resource options and is configured for updating the cloud resource options after the change and the cloud resource option state information corresponding to the cloud resource options.
In some embodiments, the information display unit includes: a terminal state information obtaining subunit configured to obtain terminal state information for sending the cloud resource access request, where the terminal state information includes at least one of the following: hardware information, software information and authority information; and the information display subunit is configured to match the terminal state information with the cloud resource option state information and display the matched cloud resource option state information.
In a third aspect, embodiments of the present disclosure provide an electronic device, comprising: one or more processors; and a memory having one or more programs stored thereon, which when executed by the one or more processors, cause the one or more processors to perform the method for displaying information of the first aspect.
In a fourth aspect, embodiments of the present disclosure provide a computer readable medium having a computer program stored thereon, characterized in that the program, when executed by a processor, implements the method for displaying information of the first aspect described above.
The method and the device for displaying information provided by the embodiment of the disclosure firstly acquire user information corresponding to a cloud resource access request when the cloud resource access request is detected; then inquiring a configuration file of the user information, wherein the configuration file is used for representing cloud resource option state information corresponding to the user information; and finally displaying the cloud resource option state information contained in the configuration file. The method and the device improve the instantaneity and the accuracy of the cloud resource option state information in the configuration file.
Drawings
Other features, objects and advantages of the present disclosure will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the following drawings:
FIG. 1 is an exemplary system architecture diagram in which an embodiment of the present disclosure may be applied;
FIG. 2 is a flow chart of one embodiment of a method for displaying information according to the present disclosure;
FIG. 3 is a schematic illustration of one application scenario of a method for displaying information according to the present disclosure;
FIG. 4 is a flow chart of yet another embodiment of a method for displaying information according to the present disclosure;
FIG. 5 is a schematic structural view of one embodiment of an apparatus for displaying information according to the present disclosure;
fig. 6 is a schematic diagram of an electronic device suitable for use in implementing embodiments of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
It should be noted that, without conflict, the embodiments of the present disclosure and features of the embodiments may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates an exemplary system architecture 100 of a method for displaying information or an apparatus for displaying information to which embodiments of the present disclosure may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, a server 105, and a cloud resource server 106. The network 104 is a medium used to provide communication links between the terminal devices 101, 102, 103, the server 105, and the cloud resource server 106. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. Various communication client applications, such as a web browser application, a cloud resource access application, a search class application, an instant messaging tool, a mailbox client, social platform software, and the like, may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices having a display screen and supporting cloud resource access, including but not limited to smartphones, tablets, laptop and desktop computers, and the like. When the terminal devices 101, 102, 103 are software, they can be installed in the above-listed electronic devices. Which may be implemented as multiple software or software modules (e.g., to provide distributed services), or as a single software or software module, without limitation.
The server 105 may be a server that provides various services, for example, a server that processes cloud resource access requests sent from the terminal devices 101, 102, 103. The server may analyze and process the received data such as the cloud resource access request, and feed back the processing result (for example, cloud resource option status information) to the terminal devices 101, 102, and 103 for display.
It should be noted that, the method for displaying information provided by the embodiments of the present disclosure is generally performed by the server 105, and accordingly, the apparatus for displaying information is generally disposed in the server 105.
The server 105 and the cloud resource server 106 may be hardware or software. When the server is hardware, the server may be implemented as a distributed server cluster formed by a plurality of servers, or may be implemented as a single server. When the server is software, it may be implemented as a plurality of software or software modules (for example, to provide a distributed service), or may be implemented as a single software or software module, which is not specifically limited herein.
It should be understood that the number of terminal devices, networks, servers, and cloud resource servers in fig. 1 are merely illustrative. There may be any number of terminal devices, networks, servers, and cloud resource servers, as desired for implementation.
With continued reference to fig. 2, a flow 200 of one embodiment of a method for displaying information according to the present disclosure is shown. The method for displaying information includes the steps of:
in step 201, user information corresponding to the cloud resource access request is obtained in response to detecting the cloud resource access request.
In the present embodiment, an execution subject of the method for displaying information (e.g., the server 105 shown in fig. 1) may receive a cloud resource access request from the terminal apparatuses 101, 102, 103 through a wired connection or a wireless connection. The cloud resource access request may be a request sent to the execution body when the user accesses the cloud resource through the terminal device 101, 102, 103. It should be noted that the wireless connection may include, but is not limited to, 3G/4G connection, wiFi connection, bluetooth connection, wiMAX connection, zigbee connection, UWB (UltraWideband) connection, and other now known or later developed wireless connection.
In the prior art, when a user interacts with an execution subject on a terminal, corresponding operations cannot be executed or corresponding resources cannot be acquired due to reasons such as permission change. The user is able to perform operations on the cloud resources or acquire the cloud resources in relation to various factors, and the user generally cannot accurately know the exact reason that the corresponding operations cannot be performed or the corresponding resources cannot be acquired. In the prior art, in order to find out the reason that the user cannot execute the corresponding operation or cannot acquire the corresponding resource, a technician is required to perform a large amount of data inquiry, so that a large amount of manpower resources are consumed, and a large amount of time is consumed. Therefore, efficiency of the user to operate the cloud resource is reduced.
When detecting a cloud resource access request, an execution subject of the application acquires user information corresponding to the cloud resource access request. The user information may be a user name, registration information for accessing the cloud resource, and the like. The user information can also be other information, which is specific to the actual need.
Step 202, inquiring the configuration file of the user information.
After the user information is obtained, the execution body can obtain the configuration file of the user according to the user information. The configuration file may be used to characterize cloud resource option status information corresponding to the user information. That is, the cloud resource option state information may characterize the current state of various rights of the user.
In some optional implementations of this embodiment, the configuration file is constructed by:
the method comprises the steps of firstly, acquiring cloud resource options of target user information and cloud resource option state information corresponding to the cloud resource options.
Typically, cloud resource server 106 will have a large number of users in use. In order to solve the technical problems in the prior art, when a user registers in the cloud resource server 106, the execution subject of the present application may acquire cloud resource options of target user information and cloud resource option status information corresponding to the cloud resource options. The target user is a registered user newly received by the cloud resource server 106. After the registered user is successfully registered, cloud resources can be selected according to personal preference or the belonging working field and the like, so that cloud resource options are determined. The cloud resource options include at least one of: instance operation rights, bulk operation rights, cloud resource status, sub-account operation rights, order status, custom rights, and the like. Some cloud resource options may be free and some may require payment. These are cloud resource option state information. That is, the target user information includes cloud resource options and corresponding cloud resource option status information.
And secondly, constructing a configuration file through the cloud resource options and the cloud resource option state information.
After the cloud resource options and the cloud resource option state information are acquired, the execution body can centralize the cloud resource options and the cloud resource option state information to construct a configuration file. That is, the configuration file contains cloud resource options and cloud resource option state information of the user.
In some optional implementations of this embodiment, the acquiring the cloud resource option of the target user information and the cloud resource option status information corresponding to the cloud resource option may include the following steps:
and firstly, inquiring cloud resource options of the target user information in response to the acquisition of the target user information.
As can be seen from the above description, when a user registers with the cloud resource server 106, a cloud resource needs to be selected, and thus a cloud resource option is generated. Therefore, after the execution body acquires the target user information, the cloud resource option of the target user information can be queried.
And secondly, constructing an information inquiry instruction through the cloud resource options.
Cloud resources contain various types of information, which may be in different data formats or data types. In order to acquire the cloud resource option state information, the execution body needs to construct an information query instruction through the cloud resource option. The information query instruction may be used to instruct to query cloud resource option status information of a corresponding cloud resource option. The manner in which the information query instruction is constructed may vary for a particular cloud resource option, depending on the particular situation.
And thirdly, sending the information inquiry command and receiving cloud resource option state information corresponding to the information inquiry command.
The execution body may send information query instructions to the cloud resource server 106. After receiving the information inquiry command, the cloud resource server can inquire the cloud resource option state information of the corresponding user according to the information inquiry command, and returns the cloud resource option state information to the execution main body.
In some optional implementations of this embodiment, the constructing the information query instruction through the cloud resource option includes the following steps:
and first, acquiring authority information of cloud resource options.
Different cloud resources, data types and rights can be different. Therefore, for the cloud resource option of the user, the executing body can firstly acquire the rights information of the cloud resource option, and then construct the information query instruction according to the rights information. The authority information may be used to characterize an operation state of the cloud resource option. The authority information may include at least one of: true, false, array, null array, etc.
And secondly, constructing an information inquiry instruction according to the authority information.
After obtaining the authority information, the executing body can construct an information inquiry instruction according to the format corresponding to the authority information. For example, if the authority information of a certain cloud resource option is "true" or "false", the constructed information may be: query the user whether the rights to the cloud resource option are "true". Then, the execution body can convert the information into a corresponding information inquiry instruction.
In some optional implementations of this embodiment, the acquiring the cloud resource option of the target user information and the cloud resource option status information corresponding to the cloud resource option may further include: and in response to detecting that the cloud resource options change, updating the cloud resource options after the change and cloud resource option state information corresponding to the cloud resource options.
The time when the user uses the cloud resource is variable, but the cloud resource option selected by the user may be changed due to reasons such as change, etc., so that the cloud resource option state information of the cloud resource option is changed. For example, some cloud resource options are counted by the number of operations, but will fail after the number of operations exceeds a set number. At this time, the execution body can timely detect that the cloud resource option changes, and update the cloud resource option after the change and the cloud resource option state information corresponding to the cloud resource option. Therefore, the configuration file of the user is in a state of real-time update, and the real-time performance and accuracy of the cloud resource option state information in the configuration file are improved.
Step 203, displaying cloud resource option status information contained in the configuration file.
When a user obtains a cloud resource on cloud resource server 106, the execution body may display cloud resource option status information contained in the configuration file. Therefore, the user can know the current cloud resource option state information in time, and the efficiency of operating the cloud resource by the user is improved.
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the method for displaying information according to the present embodiment. In the application scenario of fig. 3, after receiving the cloud resource access request sent by the terminal device 103 to the cloud resource server 106, the server 105 may acquire user information from the cloud resource server 106. Server 105 may then query a profile of the user information that characterizes cloud resource option status information corresponding to the user information. Finally, server 105 may display cloud resource option status information contained in the configuration file. Thus, the user can see the cloud resource option state information of the user on the terminal device 103.
The method provided by the embodiment of the disclosure includes that firstly, when a cloud resource access request is detected, user information corresponding to the cloud resource access request is obtained; then inquiring a configuration file of the user information, wherein the configuration file is used for representing cloud resource option state information corresponding to the user information; and finally displaying the cloud resource option state information contained in the configuration file. The method and the device improve the instantaneity and the accuracy of the cloud resource option state information in the configuration file.
With further reference to fig. 4, a flow 400 of yet another embodiment of a method for displaying information is shown. The flow 400 of the method for displaying information includes the steps of:
step 401, in response to detecting the cloud resource access request, obtaining user information corresponding to the cloud resource access request.
The content of step 401 is the same as that of step 201, and will not be described in detail here.
Step 402, inquiring the configuration file of the user information.
The content of step 402 is the same as that of step 202 and will not be described in detail here.
Step 403, displaying cloud resource option status information contained in the configuration file.
The content of step 403 is the same as that of step 203, and will not be described in detail here.
Step 404, obtaining terminal state information for sending the cloud resource access request.
Some cloud resource accesses or uses require that the terminal being used by the user meet certain conditions to operate. For this purpose, the execution body may acquire terminal state information (i.e., a terminal where the user is located) that transmits the above-described cloud resource access request. Wherein the terminal status information includes at least one of: hardware information, software information and authority information. The hardware information may be processor information, hard disk information, memory information. The software information may be the name, version of the software installed on the terminal. The rights information may be which operations of the cloud resource the terminal is capable of performing. For example, the rights information may be a modification password right, a system reload right, etc.
Step 405, the terminal status information is matched with the cloud resource option status information, and the matched cloud resource option status information is displayed.
Some cloud resources have requirements on hardware and/or software of the terminal, and operations of the cloud resources may not be performed normally when the hardware and/or software is not satisfied. Therefore, the cloud resource option status information in the configuration file cannot be directly displayed to the user. For this reason, the execution body may match the terminal status information with the cloud resource option status information, determine which cloud resource options may be executed on the terminal where the user is currently located, and which cloud resource options may not be executed on the terminal where the user is currently located, and mark the cloud resource options that can be executed and cannot be executed, respectively. And then displaying the matched cloud resource option state information. Therefore, the user can know the cloud resource option state information of the user, and the executable state of the cloud resource option state information based on the current terminal is determined. Therefore, the efficiency of operating the cloud resources by the user is further improved.
With further reference to fig. 5, as an implementation of the method shown in the foregoing figures, the present disclosure provides an embodiment of an apparatus for displaying information, which corresponds to the method embodiment shown in fig. 2, and which is particularly applicable to various electronic devices.
As shown in fig. 5, the apparatus 500 for displaying information of the present embodiment may include: a user information acquisition unit 501, a profile query unit 502, and an information display unit 503. Wherein, the user information obtaining unit 501 is configured to obtain user information corresponding to the cloud resource access request in response to detecting the cloud resource access request; a configuration file querying unit 502 configured to query a configuration file of the user information, where the configuration file is used to characterize cloud resource option status information corresponding to the user information; and an information display unit 503 configured to display cloud resource option status information contained in the configuration file.
In some optional implementations of this embodiment, the apparatus 500 for displaying information may include a profile construction unit (not shown in the drawing) configured to construct a profile, where the profile construction unit may include: a cloud resource option status information acquisition subunit (not shown) and a profile construction subunit (not shown). The cloud resource option state information obtaining subunit is configured to obtain a cloud resource option of the target user information and cloud resource option state information corresponding to the cloud resource option, where the cloud resource option includes at least one of the following: instance operation rights, batch operation rights, cloud resource status, sub-account operation rights, order status, custom rights; and the configuration file construction subunit is configured to construct a configuration file through the cloud resource options and the cloud resource option state information.
In some optional implementations of this embodiment, the cloud resource option status information obtaining subunit may include: a cloud resource option query module (not shown), an information query instruction construction module (not shown) and an information interaction module (not shown). The cloud resource option inquiry module is used for inquiring cloud resource options of the target user information in response to the acquisition of the target user information; the information inquiry instruction construction module is configured to construct an information inquiry instruction through the cloud resource options, wherein the information inquiry instruction is used for indicating to inquire the cloud resource option state information corresponding to the cloud resource options; and the information interaction module is configured to send the information inquiry instruction and receive cloud resource option state information corresponding to the information inquiry instruction.
In some optional implementations of this embodiment, the information query instruction building module may include: a rights information acquisition sub-module (not shown) and a information query instruction construction sub-module (not shown). The permission information acquisition sub-module is configured to acquire permission information of the cloud resource options, wherein the permission information is used for representing the operation states of the cloud resource options, and the permission information comprises at least one of the following: true, false, array, empty array; and the information inquiry instruction construction sub-module is configured to construct an information inquiry instruction according to the authority information.
In some optional implementations of this embodiment, the cloud resource option status information obtaining subunit may include: an updating module (not shown in the figure) is configured to update the cloud resource options after the change and cloud resource option state information corresponding to the cloud resource options in response to detecting the change of the cloud resource options.
In some optional implementations of this embodiment, the information display unit 503 may include: a terminal status information acquisition subunit (not shown in the figure) and an information display subunit (not shown in the figure). The terminal state information obtaining subunit is configured to obtain terminal state information for sending the cloud resource access request, where the terminal state information includes at least one of the following: hardware information, software information and authority information; and the information display subunit is configured to match the terminal state information with the cloud resource option state information and display the matched cloud resource option state information.
The embodiment also provides an electronic device, including: one or more processors; and a memory having one or more programs stored thereon, which when executed by the one or more processors, cause the one or more processors to perform the method for displaying information described above.
The present embodiment also provides a computer-readable medium having stored thereon a computer program which, when executed by a processor, implements the above-described method for displaying information.
Referring now to FIG. 6, there is illustrated a schematic diagram of a computer system 600 suitable for use with an electronic device (e.g., server 105 of FIG. 1) implementing embodiments of the present disclosure. The electronic device shown in fig. 6 is merely an example and should not impose any limitations on the functionality and scope of use of embodiments of the present disclosure.
As shown in fig. 6, the electronic device 600 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 601, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data required for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM603 are connected to each other through a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
In general, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, and the like; an output device 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, magnetic tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 shows an electronic device 600 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead. Each block shown in fig. 6 may represent one device or a plurality of devices as needed.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via communication means 609, or from storage means 608, or from ROM 602. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing means 601.
It should be noted that, the above-mentioned computer readable medium according to the embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the above-mentioned two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In an embodiment of the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. Whereas in embodiments of the present disclosure, the computer-readable signal medium may comprise a data signal propagated in baseband or as part of a carrier wave, with computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: responding to the detection of a cloud resource access request, and acquiring user information corresponding to the cloud resource access request; inquiring a configuration file of the user information, wherein the configuration file is used for representing cloud resource option state information corresponding to the user information; and displaying cloud resource option state information contained in the configuration file.
Computer program code for carrying out operations of embodiments of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments described in the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The described units may also be provided in a processor, for example, described as: a processor includes a user information acquisition unit, a profile query unit, and an information display unit. The names of these units do not constitute a limitation on the unit itself in some cases, and for example, the information display unit may also be described as "a unit for displaying a configuration file".
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by those skilled in the art that the scope of the invention referred to in this disclosure is not limited to the specific combination of features described above, but encompasses other embodiments in which features described above or their equivalents may be combined in any way without departing from the spirit of the invention. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).

Claims (8)

1. A method for displaying information, comprising:
responding to a cloud resource access request, and acquiring user information corresponding to the cloud resource access request;
Inquiring a configuration file of the user information, wherein the configuration file is used for representing cloud resource option state information corresponding to the user information;
Displaying cloud resource option state information contained in the configuration file;
The configuration file is constructed through the following steps:
in response to obtaining the target user information, querying cloud resource options of the target user information, wherein the cloud resource options comprise at least one of the following: instance operation rights, batch operation rights, cloud resource status, sub-account operation rights, order status, custom rights;
Acquiring authority information of cloud resource options, and constructing an information query instruction through the authority information, wherein the authority information is used for representing the operation state of the cloud resource options and comprises at least one of the following: true, false, array, empty array; the information inquiry instruction is used for indicating to inquire cloud resource option state information corresponding to the cloud resource option;
Sending the information inquiry instruction and receiving cloud resource option state information corresponding to the information inquiry instruction;
and constructing a configuration file through the cloud resource options and the cloud resource option state information.
2. The method of claim 1, wherein obtaining cloud resource options of target user information and cloud resource option status information corresponding to the cloud resource options comprises:
And in response to detecting that the cloud resource options change, updating the cloud resource options after the change and cloud resource option state information corresponding to the cloud resource options.
3. The method of claim 1, wherein the displaying cloud resource option status information contained in the configuration file comprises:
acquiring terminal state information for sending the cloud resource access request, wherein the terminal state information comprises at least one of the following: hardware information, software information and authority information;
And matching the terminal state information with the cloud resource option state information, and displaying the matched cloud resource option state information.
4. An apparatus for displaying information, comprising:
A user information acquisition unit configured to acquire user information corresponding to a cloud resource access request in response to detection of the cloud resource access request;
the configuration file inquiring unit is configured to inquire a configuration file of the user information, wherein the configuration file is used for representing cloud resource option state information corresponding to the user information;
The information display unit is configured to display cloud resource option state information contained in the configuration file;
Wherein the apparatus comprises a profile construction unit configured to construct a profile, the profile construction unit comprising:
A cloud resource option status information obtaining subunit configured to obtain a cloud resource option of the target user information and cloud resource option status information corresponding to the cloud resource option, where the cloud resource option includes at least one of the following: instance operation rights, batch operation rights, cloud resource status, sub-account operation rights, order status, custom rights;
A configuration file construction subunit configured to construct a configuration file through the cloud resource options and cloud resource option state information;
The cloud resource option state information acquisition subunit includes:
the cloud resource option inquiry module is used for inquiring cloud resource options of the target user information in response to the acquisition of the target user information;
the information inquiry instruction construction module is configured to acquire authority information of the cloud resource options, construct an information inquiry instruction through the authority information, and the authority information is used for representing the operation state of the cloud resource options and comprises at least one of the following: true, false, array, empty array; the information inquiry instruction is used for indicating to inquire cloud resource option state information corresponding to the cloud resource option;
And the information interaction module is configured to send the information inquiry instruction and receive cloud resource option state information corresponding to the information inquiry instruction.
5. The apparatus of claim 4, wherein the cloud resource option status information acquisition subunit comprises:
The updating module is used for responding to the detection of the change of the cloud resource options and is configured for updating the cloud resource options after the change and the cloud resource option state information corresponding to the cloud resource options.
6. The apparatus of claim 4, wherein the information display unit comprises:
A terminal state information obtaining subunit configured to obtain terminal state information for sending the cloud resource access request, where the terminal state information includes at least one of the following: hardware information, software information and authority information;
and the information display subunit is configured to match the terminal state information with the cloud resource option state information and display the matched cloud resource option state information.
7. An electronic device, comprising:
One or more processors;
a memory having one or more programs stored thereon,
The one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of any of claims 1-3.
8. A computer readable medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any one of claims 1 to 3.
CN201911204256.3A 2019-11-29 2019-11-29 Method and device for displaying information Active CN112883410B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911204256.3A CN112883410B (en) 2019-11-29 2019-11-29 Method and device for displaying information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911204256.3A CN112883410B (en) 2019-11-29 2019-11-29 Method and device for displaying information

Publications (2)

Publication Number Publication Date
CN112883410A CN112883410A (en) 2021-06-01
CN112883410B true CN112883410B (en) 2024-05-07

Family

ID=76039242

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911204256.3A Active CN112883410B (en) 2019-11-29 2019-11-29 Method and device for displaying information

Country Status (1)

Country Link
CN (1) CN112883410B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404381A (en) * 2011-09-02 2012-04-04 西安交通大学 Software deployment system and deployment method based on workflow in cloud computing environment
GB201318608D0 (en) * 2013-10-22 2013-12-04 Ibm Managing virtual appliances supporting multiple profiles
CN104850450A (en) * 2015-05-14 2015-08-19 华中科技大学 Load balancing method and system facing mixed cloud application
KR101826498B1 (en) * 2017-05-02 2018-02-07 나무기술 주식회사 Cloud platform system
CN107810639A (en) * 2015-06-26 2018-03-16 乐威指南公司 The system and method for image based on user profiles automatically formatting media asset
CN109471574A (en) * 2018-11-21 2019-03-15 北京百度网讯科技有限公司 For configuring the method and device of resource

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9246839B2 (en) * 2013-01-02 2016-01-26 International Business Machines Corporation Extending organizational boundaries throughout a cloud architecture
US11075979B2 (en) * 2016-02-29 2021-07-27 International Business Machines Corporation Optimized resource provisioning

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404381A (en) * 2011-09-02 2012-04-04 西安交通大学 Software deployment system and deployment method based on workflow in cloud computing environment
GB201318608D0 (en) * 2013-10-22 2013-12-04 Ibm Managing virtual appliances supporting multiple profiles
CN104850450A (en) * 2015-05-14 2015-08-19 华中科技大学 Load balancing method and system facing mixed cloud application
CN107810639A (en) * 2015-06-26 2018-03-16 乐威指南公司 The system and method for image based on user profiles automatically formatting media asset
KR101826498B1 (en) * 2017-05-02 2018-02-07 나무기술 주식회사 Cloud platform system
CN109471574A (en) * 2018-11-21 2019-03-15 北京百度网讯科技有限公司 For configuring the method and device of resource

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
A hybird approach for secure authorized deduplication;Jin Li ET AL;《IIEEE Transaction on Parallel and Distributed Systems》;20140418;第26卷(第5期);全文 *
云平台下服务资源用户查询提取仿真研究;孟令玺;李洪亮;孟令威;;计算机仿真;20170915(09);全文 *

Also Published As

Publication number Publication date
CN112883410A (en) 2021-06-01

Similar Documents

Publication Publication Date Title
CN111291103B (en) Interface data analysis method and device, electronic equipment and storage medium
CN110619100B (en) Method and apparatus for acquiring data
US20140337815A1 (en) Entity-based cross-application navigation
KR102543838B1 (en) Method and appartus for obtaining information
CN109933508B (en) Method and apparatus for transmitting information
CN109828830B (en) Method and apparatus for managing containers
KR102545045B1 (en) Method and apparatus for generating information
CN111787041B (en) Method and device for processing data
CN112954056A (en) Monitoring data processing method and device, electronic equipment and storage medium
CN110888773B (en) Method, device, medium and electronic equipment for acquiring thread identification
CN109144864B (en) Method and device for testing window
CN112883410B (en) Method and device for displaying information
CN108848122B (en) Method and equipment for pushing information and showing information
US11048853B2 (en) System and method for resource presentation
CN110727692B (en) Method and device for setting linkage chart
CN111460020B (en) Method, device, electronic equipment and medium for resolving message
CN106656940B (en) Method and apparatus for processing service access requests
CN110633182B (en) System, method and device for monitoring server stability
CN110086880B (en) Method and apparatus for creating instances of network requests
CN110084298B (en) Method and device for detecting image similarity
CN112887162B (en) Method and apparatus for detecting anomalies
CN110099122B (en) Method and apparatus for sending network request
CN111314457B (en) Method and device for setting virtual private cloud
CN111404824B (en) Method, apparatus, electronic device, and computer-readable medium for forwarding request
CN114285743B (en) Method, device, electronic equipment and storage medium for updating configuration information

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