CN112883410A - Method and device for displaying information - Google Patents

Method and device for displaying information Download PDF

Info

Publication number
CN112883410A
CN112883410A CN201911204256.3A CN201911204256A CN112883410A CN 112883410 A CN112883410 A CN 112883410A CN 201911204256 A CN201911204256 A CN 201911204256A CN 112883410 A CN112883410 A CN 112883410A
Authority
CN
China
Prior art keywords
cloud resource
information
option
resource option
configuration file
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.)
Granted
Application number
CN201911204256.3A
Other languages
Chinese (zh)
Other versions
CN112883410B (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

Images

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

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: in response to the detection of the cloud resource access request, 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 the cloud resource option state information contained in the configuration file. The method and the device improve the real-time performance and accuracy of the cloud resource option state information in the configuration file.

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 vast amount of information. When the user operates the cloud resources, a plurality of authorities related to the cloud resources are involved. Typically, information related to the rights is managed by a cloud server. When a certain authority is changed, the authority may be changed (for example, it may be time-efficient), and the like.
Disclosure of Invention
The embodiment of the disclosure provides a method and a device for displaying information.
In a first aspect, an embodiment of the present disclosure provides a method for displaying information, the method including: in response to the detection of the cloud resource access request, 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 the cloud resource option state information contained in the configuration file.
In some embodiments, the configuration file is constructed by: the method comprises the steps of obtaining 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 items: example operation authority, batch operation authority items, cloud resource states, sub-account operation authority items, order states and user-defined authority items; and constructing a configuration file according to the cloud resource options and the cloud resource option state information.
In some embodiments, the obtaining of the cloud resource option of the target user information and the cloud resource option state information corresponding to the cloud resource option include: in response to the acquisition of the target user information, inquiring a cloud resource option of the target user information; constructing an information query instruction through the cloud resource options, wherein the information query instruction is used for indicating to query the cloud resource option state information of the corresponding cloud resource options; and sending the information query instruction, and receiving cloud resource option state information corresponding to the information query instruction.
In some embodiments, the constructing the information query instruction through the cloud resource option includes: acquiring authority information of a cloud resource option, wherein the authority information is used for representing an operation state of the cloud resource option and comprises at least one of the following items: true, false, array, null array; and constructing an information query instruction according to the authority information.
In some embodiments, the obtaining of the cloud resource option of the target user information and the cloud resource option state information corresponding to the cloud resource option include: and in response to the detection that the cloud resource option is changed, updating the changed cloud resource option and the cloud resource option state information corresponding to the cloud resource option.
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 permission 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: the user information acquisition unit is used for responding to the detection of the cloud resource access request and is configured to acquire user information corresponding to the cloud resource access request; a configuration file query unit configured to query a configuration file of the user information, where the configuration file is used to represent cloud resource option state information corresponding to the user information; and the information display unit is configured to display the cloud resource option state information contained in the configuration file.
In some embodiments, the apparatus includes a configuration file construction unit configured to construct a configuration file, the configuration file construction unit including: the cloud resource option state information acquiring subunit is configured to acquire a cloud resource option of 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: example operation authority, batch operation authority items, cloud resource states, sub-account operation authority items, order states and user-defined authority items; and the configuration file constructing subunit is configured to construct the 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 query module is used for responding to the acquisition of the target user information and is configured to query the cloud resource options of the target user information; the information query instruction construction module is configured to construct an information query instruction through the cloud resource options, and the information query instruction is used for indicating cloud resource option state information of a corresponding cloud resource option to be queried; and the information interaction module is configured to send the information query instruction and receive cloud resource option state information corresponding to the information query instruction.
In some embodiments, the information query instruction constructing module includes: the authority information acquisition sub-module is configured to acquire authority information of the cloud resource option, the authority information is used for representing an operation state of the cloud resource option, and the authority information includes at least one of the following items: true, false, array, null array; and the information query instruction construction sub-module is configured to construct an information query instruction according to the authority information.
In some embodiments, the cloud resource option status information obtaining subunit includes: and the updating module is used for responding to the detection that the cloud resource options are changed and updating the changed cloud resource options and the cloud resource option state information corresponding to the cloud resource options.
In some embodiments, the information display unit includes: a terminal status information obtaining subunit configured to obtain terminal status information for sending the cloud resource access request, where the terminal status information includes at least one of: hardware information, software information, and permission 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, an embodiment of the present disclosure provides an electronic device, including: one or more processors; 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, an embodiment of the present disclosure provides a computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method for displaying information of the first aspect described above.
According to the method and the device for displaying information, 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. According to the method and the device, the instantaneity and the accuracy of the cloud resource option state information in the configuration file are improved.
Drawings
Other features, objects and advantages of the disclosure will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which one embodiment of the present disclosure may be applied;
FIG. 2 is a flow diagram of one embodiment of a method for displaying information in accordance with the present disclosure;
FIG. 3 is a schematic diagram of one application scenario of a method for displaying information according to the present disclosure;
FIG. 4 is a flow diagram of yet another embodiment of a method for displaying information according to the present disclosure;
FIG. 5 is a schematic block diagram illustrating 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 accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that, in the present disclosure, the embodiments and features of the embodiments may be combined with each other without conflict. 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, system architecture 100 may include terminal devices 101, 102, 103, network 104, server 105, and cloud resource server 106. Network 104 is the medium used to provide communication links between terminal devices 101, 102, 103, server 105 and cloud resource server 106. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 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 application, an instant messaging tool, a mailbox client, social platform software, and the like, may be installed on the terminal devices 101, 102, and 103.
The terminal apparatuses 101, 102, and 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 access to cloud resources, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like. When the terminal apparatuses 101, 102, 103 are software, they can be installed in the electronic apparatuses listed above. It may be implemented as a plurality of software or software modules (for example, for providing distributed services), or as a single software or software module, which is not specifically limited herein.
The server 105 may be a server that provides various services, for example, a server that processes a cloud resource access request sent from the terminal apparatuses 101, 102, and 103. The server may analyze and perform other processing on the received data such as the cloud resource access request, and feed back a processing result (e.g., 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 embodiment 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, it may be implemented as a distributed server cluster formed by multiple 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 distributed services), or may be implemented as a single software or software module, and is not limited specifically 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 in accordance with the present disclosure is shown. The method for displaying information comprises the following steps:
step 201, in response to detecting a cloud resource access request, obtaining user information corresponding to the cloud resource access request.
In the present embodiment, an execution subject (for example, the server 105 shown in fig. 1) of the method for displaying information may receive a cloud resource access request from the terminal device 101, 102, 103 by a wired connection manner or a wireless connection manner. The cloud resource access request may be a request sent to the execution subject when the user accesses the cloud resource through the terminal devices 101, 102, and 103. It should be noted that the wireless connection means may include, but is not limited to, a 3G/4G connection, a WiFi connection, a bluetooth connection, a WiMAX connection, a Zigbee connection, a uwb (ultra wide band) connection, and other wireless connection means now known or developed in the future.
In the prior art, when a user interacts with an execution main body on a terminal, corresponding operations may not be executed or corresponding resources may not be acquired due to reasons such as permission change. The user can perform operations on the cloud resources or acquire the cloud resources related to various factors, and the user generally cannot accurately know the accurate reason why 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 large amount of data query needs to be performed by technical personnel, so that a large amount of human resources are consumed, and a large amount of time is also consumed. Therefore, the efficiency of the user operating 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 cloud resources, and the like. The user information can also be other information, which is determined according to actual needs.
Step 202, querying the configuration file of the user information.
After the user information is acquired, the execution main body may acquire the configuration file of the user according to the user information. The configuration file may be used to represent cloud resource option state information corresponding to the user information. That is, the cloud resource option status information may characterize the current status of the user's various rights items.
In some optional implementations of this embodiment, the configuration file is constructed by the following steps:
the method comprises the steps of firstly, obtaining 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 be used by a large number of users. In order to solve 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 a cloud resource option of target user information and cloud resource option state information corresponding to the cloud resource option. 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 preferences or the working field to which the registered user belongs, and cloud resource options are further determined. The cloud resource options include at least one of: example operation authority, batch operation authority, cloud resource status, sub-account operation authority, order status, custom authority, and the like. Some cloud resource options may be free, and some may require payment. These are cloud resource option status information. That is, the target user information includes cloud resource options and corresponding cloud resource option status information.
And secondly, constructing a configuration file according to the cloud resource options and the cloud resource option state information.
After the cloud resource options and the cloud resource option state information are obtained, the execution subject can integrate the cloud resource options and the cloud resource option state information to construct a configuration file. That is, the profile contains the user's cloud resource options and cloud resource option status information.
In some optional implementation manners of this embodiment, the obtaining of the cloud resource option of the target user information and the cloud resource option state information corresponding to the cloud resource option may include the following steps:
the method comprises the first step of inquiring cloud resource options of target user information in response to the fact that the target user information is obtained.
As can be seen from the above description, when a user registers in the cloud resource server 106, the cloud resource needs to be selected, and then a cloud resource option is generated. Therefore, after the execution main body acquires the target user information, the cloud resource option of the target user information can be inquired.
And secondly, constructing an information query 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 obtain the cloud resource option state information, the executing agent 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 state information of a corresponding cloud resource option. For specific cloud resource options, the manner of constructing the information query instruction may be different, and is specifically determined according to the actual situation.
And thirdly, sending the information query instruction and receiving cloud resource option state information corresponding to the information query instruction.
The execution agent may send an information query instruction to cloud resource server 106. After receiving the information query instruction, the cloud resource server can query the cloud resource option state information of the corresponding user according to the information query instruction, and return the cloud resource option state information to the execution main body.
In some optional implementation manners of this embodiment, the constructing the information query instruction by using the cloud resource option includes the following steps:
firstly, acquiring authority information of cloud resource options.
Different cloud resources, data types may be different, and permissions may also be different. Therefore, for the cloud resource option of the user, the executing subject may first obtain the right information of the cloud resource option, and then construct the information query instruction according to the right information. The authority information can be used for representing the 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 query instruction according to the authority information.
After the authority information is obtained, the execution main body can construct an information query instruction according to a 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: querying whether the user's rights to the cloud resource option is "true". After that, the execution subject may convert the information into a corresponding information query instruction.
In some optional implementation manners of this embodiment, the obtaining of the cloud resource option of the target user information and the cloud resource option state information corresponding to the cloud resource option may further include: and in response to the detection that the cloud resource option is changed, updating the changed cloud resource option and the cloud resource option state information corresponding to the cloud resource option.
The time for the user to use the cloud resource is not fixed, but the cloud resource option selected by the user may be changed due to a change or the like, so that the cloud resource option state information of the cloud resource option changes. For example, a certain cloud resource option is counted according to the number of operations, but the number of operations exceeds a set number and then the cloud resource option is invalidated. At this time, the execution subject can detect that the cloud resource option changes in time, and update the changed cloud resource option and the cloud resource option state information corresponding to the cloud resource option. Therefore, the configuration file of the user is in a real-time updating state, and the real-time performance and the accuracy of the cloud resource option state information in the configuration file are improved.
Step 203, displaying the cloud resource option status information contained in the configuration file.
When the user acquires the cloud resource on the cloud resource server 106, the executing agent may display the 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 resources 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 a cloud resource access request sent by the terminal device 103 to the cloud resource server 106, the server 105 may obtain user information from the cloud resource server 106. Then, the server 105 may query a configuration file of the user information, where the configuration file is used to characterize the cloud resource option status information corresponding to the user information. Finally, server 105 may display the cloud resource option status information contained in the configuration file. In this way, the user can see the user's own cloud resource option status information on the terminal device 103.
The method provided by the embodiment of the disclosure includes the steps 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. According to the method and the device, the instantaneity and the accuracy of the cloud resource option state information in the configuration file are improved.
With further reference to fig. 4, a flow 400 of yet another embodiment of a method for displaying information is shown. The process 400 of the method for displaying information includes the steps of:
step 401, in response to detecting a 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 is not 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 is not described in detail here.
Step 403, displaying the cloud resource option status information contained in the configuration file.
The content of step 403 is the same as that of step 203, and is not described in detail here.
And step 404, acquiring the terminal state information of the cloud resource access request.
Some access or use of cloud resources require that a terminal being used by a user satisfies a certain condition before operation. For this, the execution subject may obtain the state information of the terminal (i.e., the terminal where the user is located) that sent the cloud resource access request. Wherein the terminal state information includes at least one of: hardware information, software information, and rights information. The hardware information may be processor information, hard disk information, and memory information. The software information may be the name, version of the software installed on the terminal. The authority information may be which operations of the cloud resource the terminal can perform. For example, the rights information may be a modification password rights, a system reload rights, etc.
And 405, matching the terminal state information with the cloud resource option state information, and displaying the matched cloud resource option state information.
Some cloud resources have requirements on hardware and/or software of the terminal, and the cloud resources may not be normally operated when the requirements do not meet the requirements on the hardware and/or software. Therefore, the cloud resource option status information in the configuration file cannot be directly displayed to the user. Therefore, the executing body can match the terminal state information with the cloud resource option state information, determine which cloud resource options can be executed on the terminal where the user is currently located, determine which cloud resource options cannot be executed on the terminal where the user is currently located, and mark the cloud resource options which can be executed and can not 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 determine the executable state of the cloud resource option state information based on the current terminal. Therefore, the efficiency of the user in operating the cloud resources is further improved.
With further reference to fig. 5, as an implementation of the methods shown in the above 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 in 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. The user information obtaining unit 501, in response to detecting a cloud resource access request, is configured to obtain user information corresponding to the cloud resource access request; a configuration file query unit 502 configured to query a configuration file of the user information, where the configuration file is used to represent cloud resource option state information corresponding to the user information; an information display unit 503 configured to display the cloud resource option status information included in the configuration file.
In some optional implementations of this embodiment, the apparatus 500 for displaying information may include a configuration file constructing unit (not shown in the figure) configured to construct a configuration file, where the configuration file constructing unit may include: a cloud resource option status information obtaining subunit (not shown in the figure) and a configuration file constructing subunit (not shown in the figure). The cloud resource option state information acquiring subunit is configured to acquire 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: example operation authority, batch operation authority items, cloud resource states, sub-account operation authority items, order states and user-defined authority items; and the configuration file constructing subunit is configured to construct the configuration file through the cloud resource options and the cloud resource option state information.
In some optional implementation manners of this embodiment, the cloud resource option status information obtaining subunit may include: the system comprises a cloud resource option query module (not shown in the figure), an information query instruction construction module (not shown in the figure) and an information interaction module (not shown in the figure). The cloud resource option query module is used for responding to the acquisition of the target user information and is configured to query the cloud resource options of the target user information; the information query instruction construction module is configured to construct an information query instruction through the cloud resource options, and the information query instruction is used for indicating cloud resource option state information of a corresponding cloud resource option to be queried; and the information interaction module is configured to send the information query instruction and receive cloud resource option state information corresponding to the information query instruction.
In some optional implementation manners of this embodiment, the information query instruction constructing module may include: a permission information obtaining sub-module (not shown in the figure) and an information query instruction constructing sub-module (not shown in the figure). The authority information acquisition submodule is configured to acquire authority information of a cloud resource option, the authority information is used for representing an operation state of the cloud resource option, and the authority information includes at least one of the following items: true, false, array, null array; and the information query instruction construction sub-module is configured to construct an information query instruction according to the authority information.
In some optional implementation manners of this embodiment, the cloud resource option status information obtaining subunit may include: an update module (not shown in the figures), in response to detecting that the cloud resource option changes, configured to update the changed cloud resource option and the cloud resource option status information of the corresponding cloud resource option.
In some optional implementations of this embodiment, the information display unit 503 may include: a terminal status information acquisition sub-unit (not shown in the figure) and an information display sub-unit (not shown in the figure). Wherein the terminal state information acquiring subunit is configured to acquire terminal state information for sending the cloud resource access request, and the terminal state information includes at least one of the following: hardware information, software information, and permission 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 present embodiment also provides an electronic device, including: one or more processors; 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 above-described method for displaying information.
The present embodiment also provides a computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the above-mentioned method for displaying information.
Referring now to FIG. 6, shown is a block diagram of a computer system 600 suitable for use with an electronic device (e.g., server 105 of FIG. 1) to implement an embodiment of the present disclosure. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with 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 necessary 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 via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, 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 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 6 may represent one device or may represent multiple devices as desired.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the 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 illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of embodiments of the present disclosure.
It should be noted that the computer readable medium mentioned above in the embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination 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 embodiments of the 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. In embodiments of the present disclosure, however, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. 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, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled 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: in response to the detection of the cloud resource access request, 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 the cloud resource option state information contained in the configuration file.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of 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 type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart 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 described in the embodiments of the present disclosure may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a user information acquisition unit, a profile query unit, and an information display unit. Where the names of these elements do not in some cases constitute a limitation of the elements themselves, for example, an information display element may also be described as a "element for displaying a profile".
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is possible without departing from the inventive concept as defined above. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (14)

1. A method for displaying information, comprising:
in response to the detection of a cloud resource access request, 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 the cloud resource option state information contained in the configuration file.
2. The method of claim 1, wherein the configuration file is constructed by:
the method comprises the steps of obtaining 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 items: example operation authority, batch operation authority items, cloud resource states, sub-account operation authority items, order states and user-defined authority items;
and constructing a configuration file through the cloud resource options and the cloud resource option state information.
3. The method of claim 2, wherein the obtaining of the cloud resource option of the target user information and the cloud resource option status information corresponding to the cloud resource option comprises:
in response to the acquisition of the target user information, inquiring a cloud resource option of the target user information;
constructing an information query instruction through the cloud resource options, wherein the information query instruction is used for indicating to query the cloud resource option state information of the corresponding cloud resource options;
and sending the information query instruction, and receiving cloud resource option state information corresponding to the information query instruction.
4. The method of claim 3, wherein the building information query instructions through the cloud resource options comprises:
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 comprises at least one of the following items: true, false, array, null array;
and constructing an information query instruction according to the authority information.
5. The method of claim 2, wherein the obtaining of the cloud resource option of the target user information and the cloud resource option status information corresponding to the cloud resource option comprises:
and in response to the detection that the cloud resource option is changed, updating the changed cloud resource option and the cloud resource option state information corresponding to the cloud resource option.
6. The method of claim 2, wherein the displaying the cloud resource option status information contained by 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 items: hardware information, software information, and permission information;
and matching the terminal state information with the cloud resource option state information, and displaying the matched cloud resource option state information.
7. An apparatus for displaying information, comprising:
the user information acquisition unit is used for responding to the detection of a cloud resource access request and is configured to acquire user information corresponding to the cloud resource access request;
a configuration file query unit configured to query a configuration file of the user information, where the configuration file is used to represent cloud resource option state information corresponding to the user information;
and the information display unit is configured to display the cloud resource option state information contained in the configuration file.
8. The apparatus of claim 7, wherein the apparatus comprises a configuration file construction unit configured to construct a configuration file, the configuration file construction unit comprising:
the cloud resource option state information acquiring subunit is configured to acquire a cloud resource option of 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: example operation authority, batch operation authority items, cloud resource states, sub-account operation authority items, order states and user-defined authority items;
and the configuration file constructing subunit is configured to construct a configuration file through the cloud resource options and the cloud resource option state information.
9. The apparatus of claim 8, wherein the cloud resource option status information obtaining subunit comprises:
a cloud resource option query module configured to query a cloud resource option of target user information in response to obtaining the target user information;
an information query instruction construction module configured to construct an information query instruction through the cloud resource option, wherein the information query instruction is used for indicating cloud resource option status information of a corresponding cloud resource option to be queried;
and the information interaction module is configured to send the information query instruction and receive cloud resource option state information corresponding to the information query instruction.
10. The apparatus of claim 9, wherein the information query instruction construction module comprises:
the authority information acquisition sub-module is configured to acquire authority information of the cloud resource option, 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 items: true, false, array, null array;
and the information query instruction construction sub-module is configured to construct an information query instruction according to the authority information.
11. The apparatus of claim 8, wherein the cloud resource option status information obtaining subunit comprises:
and the updating module is used for responding to the detection that the cloud resource options are changed and updating the changed cloud resource options and the cloud resource option state information corresponding to the cloud resource options.
12. The apparatus of claim 8, wherein the information display unit comprises:
a terminal status information obtaining subunit configured to obtain terminal status information for sending the cloud resource access request, where the terminal status information includes at least one of: hardware information, software information, and permission 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.
13. 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-6.
14. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 6.
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 true CN112883410A (en) 2021-06-01
CN112883410B 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 (8)

* 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
US20140189124A1 (en) * 2013-01-02 2014-07-03 International Business Machines Corporation Extending organizational boundaries throughout a cloud architecture
CN104850450A (en) * 2015-05-14 2015-08-19 华中科技大学 Load balancing method and system facing mixed cloud application
US20170250918A1 (en) * 2016-02-29 2017-08-31 International Business Machines Corporation Optimized resource provisioning
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

Patent Citations (8)

* 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
US20140189124A1 (en) * 2013-01-02 2014-07-03 International Business Machines Corporation Extending organizational boundaries throughout a cloud architecture
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
US20170250918A1 (en) * 2016-02-29 2017-08-31 International Business Machines Corporation Optimized resource provisioning
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
JIN LI ET AL: "A hybird approach for secure authorized deduplication", 《IIEEE TRANSACTION ON PARALLEL AND DISTRIBUTED SYSTEMS》, vol. 26, no. 5, 18 April 2014 (2014-04-18) *
孟令玺;李洪亮;孟令威;: "云平台下服务资源用户查询提取仿真研究", 计算机仿真, no. 09, 15 September 2017 (2017-09-15) *

Also Published As

Publication number Publication date
CN112883410B (en) 2024-05-07

Similar Documents

Publication Publication Date Title
US11128633B2 (en) Microservice deployment
US11057282B2 (en) Microservice generation system
CN110619100B (en) Method and apparatus for acquiring data
CN113886336A (en) Flow detection method, device, equipment and medium
KR102543838B1 (en) Method and appartus for obtaining information
KR102545045B1 (en) Method and apparatus for generating information
CN111787041B (en) Method and device for processing data
CN109933508B (en) Method and apparatus for transmitting information
CN112954056A (en) Monitoring data processing method and device, electronic equipment and storage medium
CN109144864B (en) Method and device for testing window
CN110827037A (en) Data interaction method and device based on block chain
CN110727692B (en) Method and device for setting linkage chart
CN112883410B (en) Method and device for displaying information
CN112887162B (en) Method and apparatus for detecting anomalies
CN112507676B (en) Method and device for generating energy report, electronic equipment and computer readable medium
CN106656940B (en) Method and apparatus for processing service access requests
CN114817409A (en) Label generation method, device, equipment and medium
CN110084298B (en) Method and device for detecting image similarity
CN111222067B (en) Information generation method and device
CN111581246A (en) Method, device, electronic equipment and computer readable medium for generating data
CN112464039A (en) Data display method and device of tree structure, electronic equipment and medium
CN110633182A (en) System, method and apparatus for monitoring server stability
CN111625692B (en) Feature extraction method, device, electronic equipment and computer readable medium
CN114253520B (en) Interface code generation method and device
CN110099122B (en) Method and apparatus for sending network request

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