CN111833024A - Method, apparatus, device and storage medium for outputting information - Google Patents

Method, apparatus, device and storage medium for outputting information Download PDF

Info

Publication number
CN111833024A
CN111833024A CN202010697716.7A CN202010697716A CN111833024A CN 111833024 A CN111833024 A CN 111833024A CN 202010697716 A CN202010697716 A CN 202010697716A CN 111833024 A CN111833024 A CN 111833024A
Authority
CN
China
Prior art keywords
state
identifier
user identifier
destination
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010697716.7A
Other languages
Chinese (zh)
Inventor
孙诗瑶
郭雪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing 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 CN202010697716.7A priority Critical patent/CN111833024A/en
Publication of CN111833024A publication Critical patent/CN111833024A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management

Abstract

The application discloses a method, a device, equipment and a storage medium for outputting information, and relates to the fields of cloud computing, enterprise resource planning, equipment management and cost management. The specific implementation scheme is as follows: acquiring an original state of target equipment and a corresponding user identifier; receiving a state updating request aiming at target equipment, wherein the state updating request comprises a requester identifier and a destination state; updating the original state of the target equipment and the corresponding user identifier according to the requester identifier and the target state; and outputting the updated information. The realization mode refines the affiliation relationship between the equipment and the product and improves the accuracy of cost calculation.

Description

Method, apparatus, device and storage medium for outputting information
Technical Field
The present application relates to the field of computer technologies, and in particular, to the fields of cloud computing, enterprise resource planning, device management, and cost management, and in particular, to a method, an apparatus, a device, and a storage medium for outputting information.
Background
Each enterprise needs to calculate the operation cost in the operation process. For example, a business produces a product on order, and the business calculates the cost of producing the product.
In practical applications, the cost is incurred from the time the enterprise purchases the equipment to the time of shipment. Enterprises need to calculate the cost of which products these devices belong to. The existing cost calculation method cannot refine the attribution relationship between each device and the product well, and the problem of cost calculation error is caused.
Disclosure of Invention
A method, apparatus, device, and storage medium for outputting information are provided.
According to a first aspect, there is provided a method for outputting information, comprising: acquiring an original state of target equipment and a corresponding user identifier; receiving a state updating request aiming at target equipment, wherein the state updating request comprises a requester identifier and a destination state; updating the original state of the target equipment and the corresponding user identifier according to the requester identifier and the target state; and outputting the updated information.
According to a second aspect, there is provided an apparatus for outputting information, comprising: an acquisition unit configured to acquire an original state of a target device and a corresponding user identifier; a receiving unit configured to receive a status update request for a target device, wherein the status update request includes a requester identifier and a destination status; the updating unit is configured to update the original state of the target equipment and the corresponding user identifier according to the requester identifier and the destination state; an output unit configured to output the updated information.
According to a third aspect, there is provided an electronic device for outputting information, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method as described in the first aspect.
According to a fourth aspect, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method as described in the first aspect.
According to the technology of the application, the problem that the existing cost calculation has deviation is solved, the affiliation relation between equipment and products is refined, and the accuracy of the cost calculation is improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
FIG. 1 is an exemplary system architecture diagram in which one embodiment of the present application may be applied;
FIG. 2 is a flow diagram for one embodiment of a method for outputting information, in accordance with the present application;
FIG. 3 is a schematic diagram of an application scenario of a method for outputting information according to the present application;
FIG. 4 is a flow diagram of another embodiment of a method for outputting information according to the present application;
FIG. 5 is a schematic block diagram illustrating one embodiment of an apparatus for outputting information according to the present application;
fig. 6 is a block diagram of an electronic device for implementing a method for outputting information according to an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 shows an exemplary system architecture 100 to which embodiments of the present method for outputting information or apparatus for outputting information may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. 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 browsing application, a text input application, etc., may be installed on the terminal devices 101, 102, 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 including, but not limited to, smart phones, tablet computers, e-book readers, car 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 multiple pieces of software or software modules (e.g., to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 105 may be a server that provides various services, such as a background server that processes management information for electronic devices input by the terminal devices 101, 102, 103. The background server may process the management information and feed back the processing result to the terminal devices 101, 102, and 103.
The server 105 may be hardware or software. When the server 105 is hardware, it may be implemented as a distributed server cluster composed of a plurality of servers, or may be implemented as a single server. When the server 105 is software, it may be implemented as multiple pieces of software or software modules (e.g., to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
It should be noted that the method for outputting information provided in the embodiment of the present application is generally performed by the server 105. Accordingly, a device for outputting information is generally provided in the server 105.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of a method for outputting information in accordance with the present application is shown. The method for outputting information of the embodiment comprises the following steps:
step 201, acquiring an original state of the target device and a corresponding user identifier.
In this embodiment, an execution subject of the method for outputting information (e.g., the server 105 shown in fig. 1) may acquire the original state of the target device and the corresponding user identifier in various ways. For example, the executing agent may obtain the information from a database storing information for the device. Here, the target device may be various purchased devices for producing products. The target device may be a machine tool, a server, a computer, etc.
The target device may include a plurality of states for indicating the presence of the target device. In this embodiment, the states of the target device may include a standby state, a use state, and a reserved state. Wherein the standby state indicates that the target device is currently available for use, the use state indicates that the target device is currently available for use by a product or service object, and the reservation state indicates that the target device is currently reserved by a product or service object but is not available for use. The state of the target device can be switched among three, for example, the target device can be switched from a standby state to an active state, or can be switched from a reserved state to an active state, and the like. Here, the original state of the target device may be understood as a state before the state update is performed on the target device. The user identifier may be used to indicate the product or business object identifier of the currently used target device. It should be noted that any state of the target device corresponds to the user identifier. For example, although the device in the standby state may be used by other products, the cost of the device is still consumed when the device is not used, and the cost of the device is added to the cost of the corresponding user.
In some specific applications, the standby state and the reserved state devices may be located in a standby pool. The enforcement agent may mark the devices in the reserved state to distinguish the devices in the standby state from the devices in the reserved state in the standby pool.
At step 202, a status update request for a target device is received.
The execution principal may also receive a status update request for the target device. The status update request may include a requester id and a destination status. The requestor identifies an identification of a product or business object that represents a request to update the state of the target device. The requestor identification may or may not be the same as the user identification. The destination state is the state of the target device after the update is requested, and the destination state is different from the original state.
And step 203, updating the original state of the target device and the corresponding user identifier according to the requester identifier and the destination state.
The execution body can update the original state of the target device and the corresponding user identifier according to the requester identifier and the destination state. Specifically, the executing agent may check the requestor identifier and the destination state, and determine that the requestor identifier and the destination state are legal, so that the original state of the target device and the corresponding user identifier may be updated. For example, if the requester identifier includes a number of corresponding devices greater than a preset number, the requester identifier is considered to be illegal, and the original state of the target device and the corresponding user identifier are not updated.
And step 204, outputting the updated information.
The execution subject may output the updated information for viewing by the user corresponding to the user identifier and the user corresponding to the requester identifier.
With continued reference to fig. 3, a schematic illustration of one application scenario of the method for outputting information according to the present application is shown. In the application scenario of fig. 3, the target devices are a plurality of servers, namely servers 1, 2, 3, 4, and 5. The state of the servers 1, 2 and 3 is a standby state and is located in the standby machine pool. The server 4 is in use, and the user is product C. The server 5 is in a reserved state, and the user is a product D. The user corresponding to the servers 1 and 2 is product a, and the user corresponding to the server 3 is product B. If the product C applies for changing the state of the servers 1 and 2 to the use state, the changed state of the servers 1 and 2 is the use state, and the use is the product C. And the product D applies for changing the state of the server 3 into a reserved state, the changed state of the server 3 is the reserved state, and the user is the product B.
The method for outputting the information, provided by the embodiment of the application, details the affiliation relationship between the equipment and the product, and improves the accuracy of cost calculation.
With continued reference to FIG. 4, a flow 400 of another embodiment of a method for outputting information in accordance with the present application is shown. As shown in fig. 4, the method of this embodiment may include the following steps:
step 401, obtaining an original state of a target device and a corresponding user identifier.
At step 402, a status update request is received for a target device.
The principle of steps 401 to 402 is similar to that of steps 201 to 202, and is not described herein again.
And 403, determining whether a preset state change condition is met according to the user identifier, the requester identifier, the original state and the destination state.
In this embodiment, the execution subject may determine whether a preset state transition condition is satisfied according to the user identifier, the requester identifier, the original state, and the destination state. Specifically, the executing agent may determine whether the update from the user identifier to the requester identifier and the update from the original state to the destination state satisfy a preset state transition condition. Here, the preset state transition condition is intended to prevent a malfunction of the use state of the apparatus. For example, the product a is using the server 1, and the state transition condition described above can prevent the product B from changing the state of the server 1 to the standby state.
In response to determining that the state transition condition is satisfied, the original state and the user identifier are updated according to the requestor identifier and the destination state, step 404.
If so, the execution subject can update the original state of the target device and the corresponding user identifier according to the requester identifier and the destination state.
In some optional implementations of this embodiment, the step 404 may be specifically implemented by the following steps not shown in fig. 4: determining a purchase applicant identifier of the target device in response to determining that the state transition condition is satisfied and that the requester identifier is the same as the user identifier; the user identification is updated to the purchase applicant identification and the original state is updated to the destination state.
In this implementation, if the state transition condition is satisfied, the execution subject may further determine whether the requestor id is the same as the user id. If so, the identification of the purchase applicant of the target device may be used. The implementer may determine the purchase applicant identification for the target device in various ways, such as from a database storing information for the device. The executing agent may then update the usage party identification to the purchase applicant identification and the original state to the destination state.
In some optional implementations of this embodiment, the state of the device may include a standby state, a use state, and a reserved state. The execution main body may determine whether the state transition condition is satisfied by the following steps not shown in fig. 4: and in response to determining that the requester identifier is different from the user identifier and the original state is the use state and the destination state is the reserved state or the standby state, determining that the update from the user identifier to the requester identifier and the update from the original state to the destination state do not satisfy a preset state transition condition.
In this implementation, if the requestor identifier is different from the user identifier, the original state is the use state, and the destination state is the reserved state or the standby state, the execution subject may determine that the preset state transition condition is not currently satisfied.
Step 405, in response to determining that the state transition condition is not satisfied, outputting a prompt message to the terminal indicated by the requester identifier.
If not, the execution subject can output prompt information to the terminal indicated by the requester identifier so as to prompt the requester not to update the state of the target device.
Step 406, determining the time of updating; and outputting the updated time and the updated information.
In this embodiment, the execution main body may further output the updated time and the updated information. This makes the cost calculation more accurate.
Step 407, in response to receiving the off-shelf request for the target device, deleting the state information of the target device and the corresponding user identifier.
In this embodiment, the execution main body may further receive a request sent by the terminal to receive a drop request for the target device. The off-shelf request is used to indicate that the target device has been unavailable or is not under warranty. The execution subject may delete the state information of the target device and the corresponding user identifier after receiving the shelf-off request. That is, the target device is off-shelf and its cost is not calculated. In this way, the accuracy of the cost calculation is improved.
The method for outputting the information provided by the embodiment of the application can refine the attribution problem of the cost of the electronic equipment, realize the accurate calculation of the cost of the target equipment and improve the rationality of equipment management.
With further reference to fig. 5, as an implementation of the methods shown in the above-mentioned figures, the present application provides an embodiment of an apparatus for outputting 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 outputting information of the present embodiment includes: an acquisition unit 501, a reception unit 502, an update unit 503, and an output unit 504.
An obtaining unit 501 is configured to obtain an original state of a target device and a corresponding user identifier.
A receiving unit 502 configured to receive a status update request for a target device, wherein the status update request includes a requester identity and a destination status.
An updating unit 503 configured to update the original state of the target device and the corresponding user identifier according to the requester identifier and the destination state.
An output unit 504 configured to output the updated information.
In some optional implementations of this embodiment, the updating unit 503 may be further configured to: determining whether a preset state transformation condition is met or not according to the user identifier, the requester identifier, the original state and the target state; and in response to determining that the state transition condition is satisfied, updating the original state of the target device and the corresponding user identifier according to the requester identifier and the destination state.
In some optional implementations of this embodiment, the updating unit 503 is further configured to: determining a purchase applicant identifier of the target device in response to determining that the state transition condition is satisfied and that the requester identifier is the same as the user identifier; the user identification is updated to the purchase applicant identification and the original state is updated to the destination state.
In some optional implementations of this embodiment, the states include a standby state, a loan state, and a reservation state. The updating unit 503 may be further configured to: and in response to determining that the requester identifier is different from the user identifier and the original state is the use state and the destination state is the reserved state or the standby state, determining that the update from the user identifier to the requester identifier and the update from the original state to the destination state do not satisfy a preset state transition condition.
In some optional implementations of this embodiment, the updating unit 503 may be further configured to: and in response to determining that the state transition condition is not satisfied, outputting prompt information to the terminal indicated by the requester identifier.
In some optional implementations of the present embodiment, the output unit 505 may be further configured to: determining a time of the update; and outputting the updated time and the updated information.
In some optional implementations of this embodiment, the apparatus 500 may further include a deletion unit, not shown in fig. 5, configured to delete the status information of the target device and the corresponding user identifier in response to receiving an off-shelf request for the target device.
It should be understood that the units 501 to 504, which are described in the apparatus 500 for outputting information, correspond to the respective steps in the method described with reference to fig. 2, respectively. Thus, the operations and features described above for the method for outputting information are equally applicable to the apparatus 500 and the units included therein and will not be described again here.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
As shown in fig. 6, is a block diagram of an electronic device executing a method for outputting information according to an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 6, the electronic apparatus includes: one or more processors 601, memory 602, and interfaces for connecting the various components, including a high-speed interface and a low-speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 6, one processor 601 is taken as an example.
The memory 602 is a non-transitory computer readable storage medium as provided herein. Wherein the memory stores instructions executable by at least one processor to cause the at least one processor to perform the methods provided herein for outputting information. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to perform the methods provided herein for outputting information.
The memory 602, as a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the execution of the method for outputting information in the embodiments of the present application (for example, the obtaining unit 501, the receiving unit 502, the updating unit 503, and the outputting unit 504 shown in fig. 5). The processor 601 executes various functional applications of the server and data processing by executing non-transitory software programs, instructions and modules stored in the memory 602, that is, implements the method for outputting information performed in the above method embodiment.
The memory 602 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of an electronic device performed to output information, and the like. Further, the memory 602 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 602 optionally includes memory located remotely from the processor 601, which may be connected via a network to an electronic device executing instructions for outputting information. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device performing the method for outputting information may further include: an input device 603 and an output device 604. The processor 601, the memory 602, the input device 603 and the output device 604 may be connected by a bus or other means, and fig. 6 illustrates the connection by a bus as an example.
The input device 603 may receive input numeric or character information and generate key signal inputs related to performing user settings and function control of an electronic apparatus for outputting information, such as an input device like a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointing stick, one or more mouse buttons, a track ball, a joystick, etc. The output devices 604 may include a display device, auxiliary lighting devices (e.g., LEDs), and tactile feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
According to the technical scheme of the embodiment of the application, the affiliation relation between the equipment and the product is refined, and the accuracy of cost calculation is improved.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (16)

1. A method for outputting information, comprising:
acquiring an original state of target equipment and a corresponding user identifier;
receiving a status update request aiming at the target equipment, wherein the status update request comprises a requester identifier and a destination status;
updating the original state of the target equipment and the corresponding user identifier according to the requester identifier and the target state;
and outputting the updated information.
2. The method of claim 1, wherein the updating the original state of the target device and the corresponding user identifier according to the requester identifier and the destination state comprises:
determining whether a preset state change condition is met or not according to the user identifier, the requester identifier, the original state and the target state;
and in response to determining that the state transition condition is satisfied, updating the original state and the user identifier according to the requester identifier and the destination state.
3. The method of claim 2, wherein said updating the original state and the consumer state in accordance with the requestor state and the destination state in response to determining that the state transition condition is satisfied comprises:
in response to determining that the state transition condition is satisfied and that the requestor identification is the same as the consumer identification, determining a purchase requestor identification of the target device;
updating the user identifier to the purchase applicant identifier and the original state to the destination state.
4. The method of claim 2, wherein the states include a standby state, a loan state, and a reservation state; and
the determining whether a preset state change condition is met according to the user identifier, the requester identifier, the original state and the destination state includes:
and in response to determining that the requester identifier is different from the user identifier and the original state is a use state and the destination state is a reserved state or a standby state, determining that the update from the user identifier to the requester identifier and the update from the original state to the destination state do not satisfy a preset state transition condition.
5. The method of claim 4, wherein the updating the original state of the target device and the corresponding user identifier according to the requester identifier and the destination state comprises:
and responding to the determination that the state change condition is not met, and outputting prompt information to the terminal indicated by the requester identifier.
6. The method of claim 1, wherein the outputting updated information comprises:
determining a time of the update;
and outputting the updated time and the updated information.
7. The method of claim 1, wherein the method further comprises:
in response to receiving an off-shelf request for the target device, deleting the state information of the target device and the corresponding user identifier.
8. An apparatus for outputting information, comprising:
an acquisition unit configured to acquire an original state of a target device and a corresponding user identifier;
a receiving unit configured to receive a status update request for the target device, wherein the status update request includes a requester identifier and a destination status;
the updating unit is configured to update the original state of the target equipment and the corresponding user identifier according to the requester identifier and the destination state;
an output unit configured to output the updated information.
9. The apparatus of claim 8, wherein the update unit is further configured to:
determining whether a preset state change condition is met or not according to the user identifier, the requester identifier, the original state and the target state;
and in response to determining that the state transition condition is satisfied, updating the original state of the target device and the corresponding user identifier according to the requester identifier and the destination state.
10. The apparatus of claim 9, wherein the update unit is further configured to:
in response to determining that the state transition condition is satisfied and that the requestor identification is the same as the consumer identification, determining a purchase requestor identification of the target device;
updating the user identifier to the purchase applicant identifier and the original state to the destination state.
11. The apparatus of claim 9, wherein the states include a standby state, a loan state, and a reservation state; and
the update unit is further configured to:
and in response to determining that the requester identifier is different from the user identifier and the original state is a use state and the destination state is a reserved state or a standby state, determining that the update from the user identifier to the requester identifier and the update from the original state to the destination state do not satisfy a preset state transition condition.
12. The apparatus of claim 11, wherein the update unit is further configured to:
and responding to the determination that the state change condition is not met, and outputting prompt information to the terminal indicated by the requester identifier.
13. The apparatus of claim 8, wherein the output unit is further configured to:
determining a time of the update;
and outputting the updated time and the updated information.
14. The apparatus of claim 8, wherein the apparatus further comprises:
a deleting unit configured to delete the state information of the target device and the corresponding user identifier in response to receiving a drop request for the target device.
15. An electronic device for outputting information, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
16. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-7.
CN202010697716.7A 2020-07-20 2020-07-20 Method, apparatus, device and storage medium for outputting information Pending CN111833024A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010697716.7A CN111833024A (en) 2020-07-20 2020-07-20 Method, apparatus, device and storage medium for outputting information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010697716.7A CN111833024A (en) 2020-07-20 2020-07-20 Method, apparatus, device and storage medium for outputting information

Publications (1)

Publication Number Publication Date
CN111833024A true CN111833024A (en) 2020-10-27

Family

ID=72923102

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010697716.7A Pending CN111833024A (en) 2020-07-20 2020-07-20 Method, apparatus, device and storage medium for outputting information

Country Status (1)

Country Link
CN (1) CN111833024A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104246703A (en) * 2012-03-01 2014-12-24 西里克斯系统公司 Assigning states to cloud resources
CN106921617A (en) * 2015-12-25 2017-07-04 腾讯科技(深圳)有限公司 Common equipment reservation control method and device
CN108062611A (en) * 2016-11-09 2018-05-22 百度在线网络技术(北京)有限公司 Method for managing resource and device
CN109344981A (en) * 2018-10-08 2019-02-15 山东鼎安检测技术有限公司 A kind of detection device management system based on Internet of Things
CN109614190A (en) * 2018-12-06 2019-04-12 成都载信智能科技有限公司 Resources configuration management method and platform
CN109739890A (en) * 2018-12-29 2019-05-10 浙江口碑网络技术有限公司 Data processing method, device and equipment
CN110065910A (en) * 2019-03-15 2019-07-30 北京旷视机器人技术有限公司 Dispatch the method, apparatus and warehousing system of transporting equipment in warehouse
CN110175822A (en) * 2019-06-03 2019-08-27 京东方科技集团股份有限公司 A kind of equipment account management method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104246703A (en) * 2012-03-01 2014-12-24 西里克斯系统公司 Assigning states to cloud resources
CN106921617A (en) * 2015-12-25 2017-07-04 腾讯科技(深圳)有限公司 Common equipment reservation control method and device
CN108062611A (en) * 2016-11-09 2018-05-22 百度在线网络技术(北京)有限公司 Method for managing resource and device
CN109344981A (en) * 2018-10-08 2019-02-15 山东鼎安检测技术有限公司 A kind of detection device management system based on Internet of Things
CN109614190A (en) * 2018-12-06 2019-04-12 成都载信智能科技有限公司 Resources configuration management method and platform
CN109739890A (en) * 2018-12-29 2019-05-10 浙江口碑网络技术有限公司 Data processing method, device and equipment
CN110065910A (en) * 2019-03-15 2019-07-30 北京旷视机器人技术有限公司 Dispatch the method, apparatus and warehousing system of transporting equipment in warehouse
CN110175822A (en) * 2019-06-03 2019-08-27 京东方科技集团股份有限公司 A kind of equipment account management method and system

Similar Documents

Publication Publication Date Title
CN111831420B (en) Method for task scheduling, related device and computer program product
CN111581216A (en) Data processing method, device, equipment and storage medium
CN111694646A (en) Resource scheduling method and device, electronic equipment and computer readable storage medium
CN111782365B (en) Timed task processing method, device, equipment and storage medium
CN110619002A (en) Data processing method, device and storage medium
CN111880914A (en) Resource scheduling method, resource scheduling apparatus, electronic device, and storage medium
CN112559522A (en) Data storage method and device, query method, electronic device and readable medium
CN112491617B (en) Link tracking method, device, electronic equipment and medium
US8903871B2 (en) Dynamic management of log persistence
CN111698326B (en) Method and device for determining cost attribution of cloud service resources
CN112565356B (en) Data storage method and device and electronic equipment
CN111770176B (en) Traffic scheduling method and device
CN110517079B (en) Data processing method and device, electronic equipment and storage medium
CN111831752A (en) Distributed database space arrangement method, device, equipment and storage medium
CN111782357A (en) Label control method and device, electronic equipment and readable storage medium
CN115905322A (en) Service processing method and device, electronic equipment and storage medium
CN111581049B (en) Distributed system running state monitoring method, device, equipment and storage medium
EP4224384A1 (en) Method and apparatus for determining reservation information
CN114661274A (en) Method and device for generating intelligent contract
CN111833024A (en) Method, apparatus, device and storage medium for outputting information
CN111680508B (en) Text processing method and device
CN112486644A (en) Method, apparatus, device and storage medium for generating information
CN111582480A (en) Method and device for pruning a model
CN111985760A (en) Data content evaluation method and device, electronic equipment and storage medium
CN111597026A (en) Method and device for acquiring 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