Information processing method and device, computer equipment, storage medium and program product
By building a comprehensive user information database and using token technology, the accuracy of information transmission under complex regional and departmental management structures is solved, and the accurate information transmission and efficient resource utilization are achieved.
Patent Information
- Application Number
- CN202411444846.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-16
- Publication Date
- 2025-02-14
AI Technical Summary
When facing complex regional and department management structures, existing message systems cannot accurately match the receiving object of the message, resulting in the same information being repeatedly sent to personnel in multiple departments or regions, resulting in information overload and resource waste.
By obtaining the user account information and third-party account information of the application platform, a comprehensive user information database is built, and the user identity and department/region are accurately identified using tokens, and when the logical resource status of the target device meets the preset conditions, Send the alarm information to the corresponding user.
It realizes accurate information transmission, avoids repeated information transmission to unnecessary departments or regions, and reduces information overload and resource waste.
Smart Images

Figure CN119449751A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to information processing methods, devices, computer equipment, storage media and program products. Background Art
[0002] In modern enterprises or organizations, the efficiency and accuracy of information transmission are crucial to maintaining daily operations, promoting team collaboration, and achieving strategic goals. With the expansion of enterprise scale and the complexity of departmental structure, the effective transmission and management of information has become a very challenging task.
[0003] Although current messaging systems, such as e-mail and instant messaging tools, have met basic communication needs to a certain extent, their limitations are becoming increasingly prominent when faced with large corporate organizations with multi-level, multi-regional, and multi-departmental characteristics.
[0004] Currently, many companies and organizations rely on messaging systems that mainly include: Email systems: sending messages through mailing lists or manually selecting recipients. Instant messaging tools: such as Slack, Microsoft Teams, etc., which provide group chat and private messaging functions.
[0005] However, when faced with complex regional and departmental management structures, the same message may be sent repeatedly to personnel in multiple departments or regions due to the inability to accurately match the recipients of the message, resulting in information overload and waste of resources. Summary of the invention
[0006] In view of this, the present invention provides an information processing method, apparatus, computer equipment, storage medium and program product to solve the problem that when faced with complex regional and departmental management structures, the same message may be repeatedly sent to personnel in multiple departments or regions due to the inability to accurately match the recipients of the message, resulting in information overload and waste of resources.
[0007] In a first aspect, the present invention provides an information processing method, the method comprising: obtaining user account information and third-party account information of an application platform; determining a token and user information of the third-party account based on the user account information and the third-party account information; wherein the token instructs the application platform to send information to the user according to the user information of the third-party account; when the state of a logical resource corresponding to a target device satisfies a first preset state, using the token to send an alarm message to a user in a first target area corresponding to the target device in a virtual container.
[0008] In an optional embodiment, when the current state of the logical resource corresponding to the target device satisfies the first preset state, using the token to send an alarm message to the user in the first target area corresponding to the target device in the virtual container, including: when the state of the logical resource corresponding to the target device satisfies the first preset state, detecting whether the number of times the state of the logical resource corresponding to the target device satisfies the first preset state is less than a preset number within a plurality of preset time periods; if the number of times the state of the logical resource corresponding to the target device satisfies the first preset state is not less than a preset number, using the token to send an alarm message to the user in the first target area corresponding to the target device in the virtual container.
[0009] In an optional embodiment, after using a token to send an alarm message to a user in a target area corresponding to the target device in a virtual container when the state of the logical resources corresponding to the target device satisfies a first preset state, the method further includes: when the state of the logical resources corresponding to the target device satisfies a second preset state, using the token to send an alarm message to a user in a second target area corresponding to the target device in the virtual container; wherein the second preset state is higher than the first preset state, and the second target area is larger than the first target area.
[0010] In an optional embodiment, when the state of the logical resources corresponding to the target device meets the first preset state, using the token to send an alarm message to the user in the first target area corresponding to the target device in the virtual container, including: when the state of the logical resources corresponding to the target device meets the first preset state, detecting whether the user account information of the user in the first target area corresponding to the target device in the virtual container and the third-party account information are bound; if the user account information of the user in the first target area corresponding to the target device in the virtual container and the third-party account information are bound, using the token to send an alarm message to the user in the first target area corresponding to the target device in the virtual container; if the user account information of the user in the first target area corresponding to the target device in the virtual container and the third-party account information are not bound, sending an in-site message of the application platform to the user through the user account information.
[0011] In an optional embodiment, when the current state of the logical resource corresponding to the target device satisfies the first preset state, a token is used to send an alarm message to a user in a first target area corresponding to the target device in the virtual container, including: when the current state of the logical resource corresponding to the target device satisfies the first preset state, detecting whether the duration for which the current state of the logical resource corresponding to the target device satisfies the first preset state is less than the preset duration; if the duration for which the current state of the logical resource corresponding to the target device satisfies the first preset state is not less than the preset duration, using the token to send an alarm message to the user in the first target area corresponding to the target device in the virtual container.
[0012] In an optional embodiment, when the state of the logical resource indicates whether there is a fire, the corresponding first preset state indicates the existence of a fire; wherein determining the state of the logical resource includes: detecting whether the smoke concentration in the first target area corresponding to the target device in the virtual container is lower than a preset concentration; if the smoke concentration in the first target area corresponding to the target device in the virtual container is not lower than the preset concentration, then the state of the logical resource indicates the existence of a fire; if the smoke concentration in the first target area corresponding to the target device in the virtual container is lower than the preset concentration, then the state of the logical resource indicates that there is no fire.
[0013] In a second aspect, the present invention provides an information processing device, which includes: an acquisition module for acquiring user account information and third-party account information of an application platform; a determination module for determining a token and user information of a third-party account based on the user account information and the third-party account information; wherein the token instructs the application platform to send information to the user according to the user information of the third-party account; and a sending module for using the token to send an alarm message to a user in a first target area corresponding to the target device in a virtual container when the state of a logical resource corresponding to the target device meets a first preset state.
[0014] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the information processing method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0015] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the information processing method of the first aspect or any corresponding embodiment thereof.
[0016] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the information processing method of the first aspect or any corresponding embodiment thereof.
[0017] Beneficial effects of the present invention:
[0018] By obtaining the user account information and third-party account information of the application platform, a comprehensive user information database can be built to accurately identify the user identity and the capabilities of the department / region to which they belong. And when the logical resource status of the target device meets the preset conditions, the alarm information is accurately sent to the corresponding user based on the information in the token. Because the token contains the user's precise information, it can avoid sending the same information to multiple unnecessary departments or regions. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1 is a flowchart of an information processing method according to an embodiment of the present invention;
[0021] Figure 2 is a structural block diagram of an information processing device according to an embodiment of the present invention;
[0022] Figure 3 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0024] Based on relevant technologies, it can be seen that although the current message systems, such as e-mail and instant messaging tools, have met the basic communication needs to a certain extent, their limitations are becoming increasingly prominent when facing large-scale corporate organizations with multi-level, multi-regional and multi-departmental characteristics.
[0025] Currently, many companies and organizations rely on messaging systems that mainly include: Email systems: sending messages through mailing lists or manually selecting recipients. Instant messaging tools: such as Slack, Microsoft Teams, etc., which provide group chat and private messaging functions.
[0026] However, when faced with complex regional and departmental management structures, the same message may be sent repeatedly to personnel in multiple departments or regions due to the inability to accurately match the recipients of the message, resulting in information overload and waste of resources.
[0027] Based on this, the present invention provides an information processing method, which can build a comprehensive user information library by acquiring the user account information and third-party account information of the application platform, so as to accurately identify the user identity and the capabilities of the department / region to which they belong. And when the logical resource state of the target device meets the preset conditions, the alarm information is accurately sent to the corresponding user according to the information in the token. Since the token contains the user's accurate information, it can avoid sending the same information to multiple unnecessary departments or regions.
[0028] According to an embodiment of the present invention, an information processing method embodiment is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0029] In this embodiment, an information processing method is provided, which can be used in computer devices, such as computers, servers, etc. Figure 1 is a flow chart of an information processing method according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:
[0030] Step S101, obtaining user account information and third-party account information of the application platform.
[0031] The application platform can be a software platform provided internally or externally by the enterprise for business operations, information management or collaborative communication. The third-party account information can be the account information registered and used by the user on a third-party platform that is not directly managed by the enterprise. Specifically, the user's account information is obtained from the application platform (such as the enterprise's internal OA system, CRM system, ERP system, etc.), which may include the user's ID, name, department, position and other basic information. At the same time, the user's account information on the third-party platform (such as WeChat, DingTalk, WeChat for Enterprise, QQ, etc.) is also obtained, which may include the user's third-party ID, nickname, avatar, department affiliation (if supported by the third-party platform), etc. For example: the enterprise OA system connects to the WeChat Enterprise account through the API interface to obtain the employee's account information on the WeChat Enterprise account.
[0032] In one possible implementation, the application platform and the third-party platform can be connected through the API interface to obtain user information in real time or at a fixed time. The third-party account can also be bound to the application platform account through active authorization by the user to obtain relevant information. Data synchronization tools or services can also be used to import data from the third-party platform into the application platform.
[0033] Step S102, based on the user account information and the third-party account information, determine the token and the user information of the third-party account; wherein the token instructs the application platform to send information to the user according to the user information of the third-party account.
[0034] A token can represent a digital credential used for identity authentication and permission control, which may include: user identity information, validity period, signature, etc. Specifically, the user account information and third-party account information are integrated to generate a unique token, which is used to identify the user's identity and permissions. The token also contains user information associated with the third-party account, which is used for subsequent information sending and permission control.
[0035] Step S103: When the state of the logical resource corresponding to the target device satisfies the first preset state, a token is used to send an alarm message to a user in a first target area corresponding to the target device in the virtual container.
[0036] A region is also called a group. It is a virtual container that often plays the role of a management / use unit. Physically, it can often correspond to a real regional space, such as a conference room, an office area, a tea room, a floor, a building, etc. But at the same time, it can also be a virtual space. For example, all switches can form a virtual switch group, and all air conditioners can form a virtual air conditioner group. Therefore, it is very flexible in management and can meet various practical needs. As a container, a region can contain sub-logical resources and sub-regions (groups). Since regions have multiple layers of inclusion, the region can be displayed as a tree in the definition of the data structure. However, note that since a region can have multiple upper nodes, a region may appear multiple times in the tree. Specifically, the change in the state value of the logical resources in the region is automatically calculated in real time by the region. The level of the alarm is determined by the type of alarm. The region can configure the corresponding alarm type to enable whether to generate the corresponding type of alarm.
[0037] Logical resources are abstract mappings of real physical resources. A physical resource is mapped to only one logical resource object. Generally, logical resources are mapped from physical resources. When creating logical resources, corresponding capabilities can be generated for logical resources based on the attributes of physical resources. Logical resources can be included in the resources of a region. A logical resource does not limit the number of resources that can be added to a region. Logical resources are mainly the specific embodiment of intelligent devices. Describe the multiple capabilities that an intelligent device has. Define capabilities as the capability attributes of logical resources, which describe the abstract attributes of the logical resource. For example, a switch device has the attribute of switch, whose value can be 1 / 0, indicating on / off respectively, and define the capability "O". A temperature sensor device has the attribute of temperature, whose value indicates the current degree Celsius, and define the capability "T". A human motion sensor device has the attribute of whether to capture motion, whose value can be 1 / 0, indicating whether motion is captured / not captured respectively, and define the capability "M". Alarm devices have the functional attribute of alarm, such as fire alarm devices, whose value can be 1 / 0, indicating whether an alarm is generated respectively, and define the capability "A". In this way, when a logical resource has the capability of "O", it is known that it has the ability to switch, and the on / off operation and status query can be performed on it.
[0038] Specifically, the logical resource status of the target device (such as central processing unit (CPU) usage, memory occupancy, disk space, etc.) is monitored. When the status of a logical resource reaches or exceeds the preset threshold (i.e., the first preset state), the system triggers the alarm mechanism. According to the user information and permissions in the token, determine which users need to receive the alarm information. Then, the alarm information is sent to the users in the first target area corresponding to the target device in the virtual container (such as through email, text message, instant messaging tool, etc.). For example: when the CPU usage of a server exceeds 80%, the alarm mechanism is triggered, and the alarm information is sent to the maintenance personnel of the server via email according to the token information; for another example: when the concentration in an office exceeds 30%, the alarm mechanism is triggered, and the alarm information is sent to the maintenance personnel of the server via email according to the token information.
[0039] In one possible implementation, different users have different roles (such as positions, etc.) in the area, and users with different roles can receive different types of alarms. For example, when the state of a certain logical resource reaches or exceeds a preset threshold (i.e., a first preset state), the system triggers an alarm mechanism. Based on the user information and permissions in the token, it is determined that user A needs to receive alarm information A and user B needs to receive alarm information B, and the alarm information A and alarm information B are sent to user A corresponding to the alarm information A and user B corresponding to the alarm information B in the first target area corresponding to the target device in the virtual container (such as through email, SMS, instant messaging tools, etc.).
[0040] In a possible implementation, the relationship between regions and users can be many-to-many, that is, one region can correspond to multiple users, and one user can correspond to multiple regions. Among them, one user can have multiple regions, and the number of alarm information a user can receive is determined by the region and role he is in.
[0041] The information processing method provided by the present invention can build a comprehensive user information library by acquiring the user account information and third-party account information of the application platform, thereby accurately identifying the user identity and the capabilities of the department / region to which they belong. And when the logical resource state of the target device meets the preset conditions, the alarm information is accurately sent to the corresponding user according to the information in the token. Since the token contains the user's accurate information, it can avoid sending the same information to multiple unnecessary departments or regions.
[0042] In an optional implementation, the above step S103 includes:
[0043] Step a1: when the state of the logic resource corresponding to the target device satisfies a first preset state, detecting in a plurality of preset time periods whether the number of times the state of the logic resource corresponding to the target device satisfies the first preset state is less than a preset number.
[0044] The time period can be a preset time interval, which is used to count the number of times the logical resource state meets the first preset state. The preset number of times can be the maximum number of times the logical resource state meets the first preset state within the specified time period. Specifically, the logical resource state of the target device (such as a server, a router, a switch, etc.) is continuously monitored, and these logical resources may include CPU usage, memory occupancy, disk space, network bandwidth, etc. When the state of the logical resource reaches or exceeds the preset first threshold (i.e., the first preset state), the detection mode is entered. In multiple preset time periods (such as every hour, every day, every week, etc.), the number of times the logical resource state of the target device meets the first preset state is counted respectively. If the number of times the logical resource state meets the first preset state in any time period is not less than the preset number threshold, the next step of processing is entered. For example: the CPU usage of the server is monitored, the first preset state is that the CPU usage exceeds 80%, the preset number of times is 3 times, and the preset time period is every hour. If the number of times the CPU usage of the server exceeds 80% reaches or exceeds 3 times within an hour, the next step of processing is entered.
[0045] Step a2: if the state of the logical resource corresponding to the target device satisfies the first preset state for not less than a preset number of times, send an alarm message to a user in the first target area corresponding to the target device in the virtual container by using the token.
[0046] If it is detected in step a1 that the number of times that the logical resource state of the target device meets the first preset state is not less than the preset number, it is considered that the target device may be abnormal or is about to reach a performance bottleneck. Determine the user group that needs to receive the alarm information based on the token (including user identity and permission information). Send the alarm information to users in the first target area corresponding to the target device in the virtual container. These users may be maintenance personnel, administrators or relevant stakeholders of the target device. The alarm information may include the name of the target device, the logical resource state, the time when the abnormality occurred, the possible cause and the recommended solution. For example: in step a1, it is detected that the CPU usage of a server exceeds 80% for 4 times within an hour, and it is considered that the server may have performance problems. According to the token information, an alarm message is sent to the maintenance personnel of the server by email, informing them that the CPU usage of the server is abnormal, and suggesting to check the application, optimize the configuration or increase the hardware resources. At the same time, the alarm notification can also be sent in the instant messaging tool so that the maintenance personnel can respond and handle it in time.
[0047] The information processing method provided in this embodiment can timely discover performance problems or anomalies that may exist in the target device by continuously monitoring the state of logical resources in multiple time periods. Therefore, when a problem is detected, a quick response can be made and relevant users can be notified through alarm information, thereby shortening the time for problem discovery and resolution. In addition, by setting a preset number of times, false alarms can be avoided.
[0048] In an optional embodiment, the above method also includes: when the state of the logical resources corresponding to the target device satisfies the second preset state, using the token to send an alarm message to a user in a second target area corresponding to the target device in the virtual container; wherein the second preset state is higher than the first preset state, and the second target area is larger than the first target area.
[0049] Second preset state: another specific state that the logical resource may reach, which is more severe than the first preset state, indicating a more serious abnormality or emergency. Second target area: a group or collection of users in the virtual container that is related to the target device and has a range larger than the first target area. That is, more users will receive alarm information because the severity of the problem has been escalated. For example: the first preset state is that the concentration reaches 30%, the second preset state can be that the concentration reaches 50%, the first target area can be a certain office, and the second target area can be the entire floor containing this studio. Specifically, when the state of the logical resource corresponding to the target device reaches a second preset state that is more serious than the first preset state, the system will use a token to verify the identity and send an alarm message to users in the second target area with a larger range that is associated with the target device in the virtual container.
[0050] For example: A data center contains multiple servers. Each server has a CPU usage logical resource associated with it. First preset state: CPU usage exceeds 70%. Second preset state: CPU usage exceeds 90%. First target area: only includes the operation and maintenance team responsible for a specific server. Second target area: In addition to users in the first target area, it also includes senior management and other relevant team members in the data center. When the CPU usage of a server exceeds 70%, an alarm message may not be sent immediately, or only a low-level alarm message may be sent to users in the first target area. However, when the CPU usage further rises to 90%, the identity is first verified using a token, and an alarm message is sent to all users in the second target area. These messages can be sent simultaneously via SMS, email, and instant messaging tools to ensure that all relevant personnel can receive and respond in time. The content of the alarm message may include: "The CPU usage of server XXX in the data center has exceeded 90%, and there is a serious performance problem. Please take immediate measures to solve it."
[0051] The information processing method provided in this embodiment can quickly mobilize more relevant personnel for emergency response by sending alarm information to users in a larger second target area when the logical resource state reaches the second preset state, that is, a more serious abnormal or emergency situation, thereby speeding up problem solving and reducing potential business interruptions or losses.
[0052] In an optional implementation, the above step S103 includes:
[0053] Step b1: when the state of the logical resource corresponding to the target device satisfies the first preset state, detecting whether the user account information of the user in the first target area corresponding to the target device in the virtual container and the third-party account information are bound.
[0054] Continuously monitor the logical resource status of the target device, and when the status reaches or exceeds the preset first threshold (i.e., the first preset state), trigger the alarm process. Search for users in the first target area corresponding to the target device in the virtual container. These users may be maintenance personnel, administrators, or other relevant personnel associated with the target device. For these users, check whether their user account information (such as OA, CRM, etc. accounts within the enterprise) is bound to third-party account information (such as accounts of instant messaging tools such as WeChat, DingTalk, and Enterprise WeChat). For example: The CPU usage of the target device exceeds the preset 80% threshold. After detecting this state, start checking whether the account information of the maintenance personnel associated with the device is bound to WeChat.
[0055] Step b2: if the user account information of the user in the first target area corresponding to the target device in the virtual container is bound to the third-party account information, a token is used to send an alarm message to the user in the first target area corresponding to the target device in the virtual container.
[0056] If it is detected that the user's user account information is bound to a third-party account information, a token (containing user identity and permission information) will be used to determine the user group that needs to receive the alarm information. The alarm information is sent to these users through the API or software development kit (SDK) of the third-party platform (such as WeChat, DingTalk, etc.). The alarm information can include the name of the target device, the logical resource status, the time when the exception occurred, the possible cause and the recommended solution.
[0057] Step b3: If the user account information of the user in the first target area corresponding to the target device in the virtual container is not bound to the third-party account information, the in-site message of the application platform is sent to the user through the user account information.
[0058] If it is detected that the user's user account information is not bound to the third-party account information, the communication mechanism within the application platform, such as station mail or notification, will be used to send alarm information. According to the user account information, the corresponding user is found within the application platform, and the alarm information is sent to them in the form of a station mail. For example: if it is detected that the account information of a maintenance personnel is not bound to any third-party account, then a message containing the alarm information will be sent in the form of a station mail in the internal OA of the enterprise, with the maintenance personnel as the recipient. At the same time, a red alarm icon may be displayed in the user interface of the OA, prompting the user that there is new alarm information to be viewed.
[0059] The information processing method provided in this embodiment can quickly respond and detect the account binding status of the relevant user when the logical resource state of the target device reaches the preset threshold, so that the objects of sending the alarm information are those users who are actually associated with the target device. In addition, before sending the alarm information, the binding status of the user account and the third-party account is verified first, avoiding the mis-sending or missing of the information.
[0060] In addition, for users who have not bound a third-party account, warning information is sent through the application platform's in-site message function, ensuring comprehensive information coverage and avoiding information omissions due to users not using or binding a third-party account.
[0061] In an optional implementation, the above step S103 includes:
[0062] Step c1: when the current state of the logic resource corresponding to the target device satisfies the first preset state, detecting whether the duration for which the current state of the logic resource corresponding to the target device satisfies the first preset state is less than the preset duration.
[0063] The preset time can be a set time threshold, which is used to determine whether the time that the logical resource is in the first preset state is long enough to decide whether to send an alarm message. Specifically, it is determined whether the length of time that the logical resource corresponding to the target device is in the first preset state reaches a preset threshold (i.e., the preset duration). If the duration is less than the preset duration, it may mean that the current state is temporary or recoverable, and the system may choose to continue monitoring without sending an alarm message immediately. For example: there is a server whose CPU usage exceeds 80% (the first preset state), and we set a preset duration of 5 minutes. Step c1 will check whether the state of CPU usage exceeding 80% lasts for at least 5 minutes. If the duration is less than 5 minutes, no alarm message is sent; if the duration reaches or exceeds 5 minutes, proceed to the next step. For another example: the smoke concentration of an office in a certain office building reaches the alarm concentration, and the duration of the smoke concentration reaching the alarm concentration has reached the preset duration, then an alarm message is sent.
[0064] Step c2: if the current state of the logical resource corresponding to the target device satisfies the first preset state for a period not less than the preset period, send an alarm message to a user in the first target area corresponding to the target device in the virtual container using the token.
[0065] In one possible implementation, the system can send an alert message to the user via SMS or email, which may include detailed information such as the name of the target device, the status of the logical resource, and the duration. Instant messaging alert: The system can use instant messaging tools (such as WeChat, DingTalk, etc.) to send alert messages to users, which is usually more immediate and interactive. In-application alert: If the user is operating on a specific application platform, the system can directly display the alert message to the user in the application.
[0066] If the CPU usage exceeds 80% for 5 minutes or longer, the system may send an alarm message to the operation and maintenance team responsible for the server via SMS or email. The message may include: "The CPU usage of server XXX has exceeded 80% and has lasted for 5 minutes. Please check and handle it as soon as possible." At the same time, if the operation and maintenance team has a group on a specific instant messaging tool, the system can also send similar alarm messages to the group.
[0067] The information processing method provided in this embodiment can send an alarm message only when it is ensured that the problem persists and may have a significant impact by detecting the duration of the target device's logical resource state meeting the first preset state. This avoids excessive alarms caused by short-term fluctuations or false alarms, and improves the accuracy and effectiveness of alarms.
[0068] In an optional implementation, when the state of the logical resource indicates whether there is a fire, the corresponding first preset state indicates that there is a fire; wherein determining the state of the logical resource includes:
[0069] Step d1, detecting whether the smoke concentration in a first target area corresponding to the target device in the virtual container is lower than a preset concentration.
[0070] Smoke concentration can characterize the concentration of smoke particles in the air around the target device for fire monitoring. The preset concentration can be a pre-set threshold used to determine whether the smoke concentration has reached a level that may cause a fire. The logical resource can be a certain state or attribute related to the target device, and its state change can be indirectly reflected by monitoring the smoke concentration. Specifically, a sensor or monitoring device is used to detect the smoke concentration in the first target area and compare it with the preset concentration. Specifically, through the Internet of Things technology, the sensor is connected to the management system of the virtual container to transmit the smoke concentration data in real time. Using machine vision technology, the image of the first target area is captured by a camera, and an image processing algorithm is applied to estimate the smoke concentration. Combine manual inspections and sensor data to improve the accuracy and reliability of detection. For example: the preset concentration is 0.5mg / m 3 The smoke concentration in the first target area detected by the sensor is 0.4 mg / m 3 , so it is judged that the smoke concentration is lower than the preset concentration.
[0071] Step d2: If the smoke concentration in the first target area corresponding to the target device in the virtual container is not lower than a preset concentration, the state of the characterizing logical resource indicates that a fire exists.
[0072] If the detected smoke concentration is not lower than the preset concentration, it is considered that there may be a fire risk and the corresponding alarm or response mechanism is triggered.
[0073] Step d3: If the smoke concentration in the first target area corresponding to the target device in the virtual container is lower than a preset concentration, the state indication of the characterization logical resource indicates that there is no fire.
[0074] If the detected smoke concentration is lower than the preset concentration, it is considered that there is no current fire risk.
[0075] The information processing method provided in this embodiment can obtain fire risk information in real time by continuously monitoring the smoke concentration in the first target area, providing data support for timely taking preventive measures. In addition, the monitoring process is automated and does not require manual intervention, which reduces errors caused by human factors and improves work efficiency.
[0076] In the present embodiment, an information processing device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0077] This embodiment provides an information processing device, such as Figure 2 As shown, it includes: an acquisition module 201, which is used to obtain user account information and third-party account information of the application platform; a determination module 202, which is used to determine the token and the user information of the third-party account based on the user account information and the third-party account information; wherein the token indicates that the application platform sends information to the user according to the user information of the third-party account; a sending module 203, which is used to use the token to send an alarm message to the user in the first target area corresponding to the target device in the virtual container when the state of the logical resource corresponding to the target device meets the first preset state.
[0078] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0079] The information processing device in this embodiment is presented in the form of a functional unit, where the functional unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0080] The embodiment of the present invention also provides a computer device having the above Figure 2 The information processing device shown.
[0081] See also Figure 3 , Figure 3 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 3As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 3 A processor 10 is taken as an example.
[0082] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0083] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.
[0084] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0085] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0086] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.
[0087] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0088] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0089] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. An information processing method, characterized in that: The method comprises: Obtain user account information and third-party account information of the application platform; Based on the user account information and the third-party account information, determining a token and user information of the third-party account; wherein the token instructs the application platform to send information to the user according to the user information of the third-party account; When the state of the logical resource corresponding to the target device satisfies the first preset state, the token is used to send an alarm message to a user in a first target area corresponding to the target device in the virtual container.
2. The information processing method according to claim 1, characterized in that: When the current state of the logical resource corresponding to the target device satisfies the first preset state, using the token to send an alarm message to a user in the first target area corresponding to the target device in the virtual container includes: When the state of the logical resource corresponding to the target device satisfies the first preset state, detecting whether the number of times the state of the logical resource corresponding to the target device satisfies the first preset state is less than a preset number in a plurality of preset time periods; If the state of the logical resource corresponding to the target device satisfies the first preset state for a number of times not less than a preset number, the token is used to send an alarm message to a user in a first target area corresponding to the target device in the virtual container.
3. The information processing method according to claim 1, characterized in that: When the state of the logical resource corresponding to the target device satisfies the first preset state, after sending an alarm message to a user in a target area corresponding to the target device in the virtual container by using the token, the method further includes: When the state of the logical resources corresponding to the target device meets the second preset state, the token is used to send an alarm message to the user in the second target area corresponding to the target device in the virtual container; wherein the second preset state is higher than the first preset state, and the second target area is larger than the first target area.
4. The information processing method according to claim 1, characterized in that: When the state of the logical resource corresponding to the target device satisfies the first preset state, using the token to send an alarm message to a user in a first target area corresponding to the target device in the virtual container includes: When the state of the logical resource corresponding to the target device satisfies the first preset state, detecting whether the user account information of the user in the first target area corresponding to the target device in the virtual container and the third-party account information are bound; If the user account information of the user in the first target area corresponding to the target device in the virtual container is bound to the third-party account information, using the token to send an alarm message to the user in the first target area corresponding to the target device in the virtual container; If the user account information of the user in the first target area corresponding to the target device in the virtual container and the third-party account information are not bound, the in-site message of the application platform is sent to the user through the user account information.
5. The information processing method according to claim 1, characterized in that: When the current state of the logical resource corresponding to the target device satisfies the first preset state, using the token to send an alarm message to a user in the first target area corresponding to the target device in the virtual container includes: When the current state of the logic resource corresponding to the target device satisfies the first preset state, detecting whether the duration for which the current state of the logic resource corresponding to the target device satisfies the first preset state is less than a preset duration; If the duration of the current state of the logical resource corresponding to the target device satisfying the first preset state is not less than the preset duration, the token is used to send an alarm message to a user in a first target area corresponding to the target device in the virtual container.
6. The information processing method according to claim 1, characterized in that: When the state of the logical resource indicates whether there is a fire, the corresponding first preset state indicates that there is a fire; wherein determining the state of the logical resource includes: Detecting whether the smoke concentration in a first target area corresponding to the target device in the virtual container is lower than a preset concentration; If the smoke concentration in the first target area corresponding to the target device in the virtual container is not lower than a preset concentration, the state indication of the characterizing logical resource indicates that a fire exists; If the smoke concentration in the first target area corresponding to the target device in the virtual container is lower than a preset concentration, the state indication of the characterization logical resource indicates that there is no fire.
7. An information processing device, characterized in that: The device comprises: The acquisition module is used to obtain user account information and third-party account information of the application platform; A determination module, configured to determine a token and user information of a third-party account based on the user account information and the third-party account information; wherein the token instructs the application platform to send information to the user according to the user information of the third-party account; The sending module is used to send alarm information to a user in a first target area corresponding to the target device in the virtual container by using the token when the state of the logical resource corresponding to the target device meets the first preset state.
8. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the information processing method according to any one of claims 1 to 6 by executing the computer instructions.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the information processing method according to any one of claims 1 to 6.
10. A computer program product, characterized in that The method comprises computer instructions for causing a computer to execute the information processing method according to any one of claims 1 to 6.