Information processing method, device, computer equipment and storage medium
By using wireless networks to communicate with target sensors in the energy storage system, the problem of cumbersome communication between sensors and controllers in the energy storage system is solved, costs and security risks are reduced, and the flexibility and intelligence of information transmission are improved.
Patent Information
- Application Number
- CN202410750067.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-06-12
AI Technical Summary
The communication method between sensors and controllers in energy storage systems is cumbersome, involves difficult wiring, high costs and safety risks, and the sending and processing of sensor status information lacks intelligence and flexibility.
Wireless networks are used for communication between sensors and controllers. By selecting target sensors with routing functions and high performance, and using them to collect and transmit status information, the power consumption of sensors is reduced and the flexibility and intelligence of information transmission are improved. sex.
It avoids high communication wiring costs and security risks, improves the flexibility and intelligence of sending and processing sensor status information, reduces sensor power consumption, and achieves stable and safe operation of the energy storage environment.
Smart Images

Figure CN118338261B
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to information processing methods, devices, computer equipment and storage media. Background Art
[0002] The explosive growth of the energy storage market has also promoted the development of energy storage technology. Energy storage refers to the process of storing energy through a medium or device and releasing it when needed. It effectively solves the intermittent and unstable nature of renewable energy.
[0003] In order to achieve safe and stable operation of the energy storage system, many safety detection sensors need to be deployed in the energy storage system, such as smoke detection, combustible gas detection, temperature and humidity detection, emergency stop, access control, water immersion and other sensors. At present, the communication method between sensors and controllers in the energy storage system is very cumbersome during on-site deployment, with the defects of difficult wiring, high cost, and safety risks. In addition, after collecting status information, each sensor needs to send status information to the controller separately. This information transmission method consumes more power, and the transmission and processing of sensor status information lacks intelligence and flexibility. Summary of the invention
[0004] The purpose of the embodiments of the present application is to propose an information processing method, device, computer equipment and storage medium to solve the problem that the existing communication method between sensors and controllers is very cumbersome during field deployment, has the defects of difficult wiring, high cost and security risks. In addition, the information transmission method in which each sensor needs to send the status information to the controller separately after collecting the status information consumes more power, and the sending and processing of the sensor status information lacks intelligence and flexibility.
[0005] In order to solve the above technical problems, the present application provides an information processing method, which adopts the following technical solutions:
[0006] Acquire sensor data of each sensor included in the target environment;
[0007] Based on the sensor data, a target sensor is determined from all the sensors according to a preset screening rule; wherein the screening rule is used to screen the target sensor from all the sensors according to the function, distance, performance data, usage time data and failure rate data of all the sensors;
[0008] When each of the sensors completes the collection and transmission of status information within a preset working time, receiving the target status information reported by the target sensor via the wireless network; wherein the target status information includes the status information of each of the sensors;
[0009] The target state information is sent to a controller in the target environment.
[0010] Furthermore, the step of determining a target sensor from all the sensors based on the sensor data according to a preset screening rule specifically includes:
[0011] Filtering out a first sensor having a routing function from all the sensors;
[0012] Filter out a second sensor that meets a preset distance range condition from all the first sensors;
[0013] Respectively acquiring performance data, usage time data, and failure rate data of each of the second sensors from the sensor data;
[0014] generating a processing score corresponding to each of the second sensors based on the performance data, the usage time data, and the failure rate data;
[0015] Filtering a third sensor with the highest processing score from all the second sensors;
[0016] The third sensor is used as the target sensor.
[0017] Furthermore, the step of generating a processing score corresponding to each of the second sensors based on the performance data, the usage time data, and the failure rate data specifically includes:
[0018] Call the preset data mapping table;
[0019] Based on the data mapping table, data mapping is performed on the performance data of each of the second sensors to obtain mapping data corresponding to each of the performance data;
[0020] Acquire a first preset weight corresponding to the mapping data, acquire a second preset weight corresponding to the usage duration data, and acquire a third preset weight corresponding to the failure rate data;
[0021] Based on the first preset weight, the second preset weight and the third preset weight, a preset score calculation formula is called to calculate and process the mapping data of each second sensor, the usage time data of each second sensor and the failure rate data of each second sensor to generate a processing score corresponding to each second sensor.
[0022] Furthermore, before acquiring the sensor data of each sensor included in the target environment, the method further includes:
[0023] Get the current time and determine whether the current time is within the preset detection time period;
[0024] If so, obtaining a detection scheme corresponding to a designated sensor; wherein the designated sensor is any one of all the sensors;
[0025] generating a test instruction corresponding to the detection scheme;
[0026] Controlling the function module corresponding to the designated sensor to operate based on the test instruction;
[0027] Receiving operation data uploaded by the designated sensor;
[0028] Performing matching analysis on the operation data to generate a detection result corresponding to the designated sensor;
[0029] A processing strategy corresponding to the detection result is obtained, and corresponding processing is performed on the designated sensor based on the processing strategy.
[0030] Furthermore, before acquiring the sensor data of each sensor included in the target environment, the method further includes:
[0031] Obtaining role information of each of the sensors;
[0032] Based on the role information, a fourth sensor whose role is a terminal device is selected from all the sensors;
[0033] Call the preset battery power supply strategy;
[0034] A power supply process is performed on the fourth sensor based on the battery power supply strategy.
[0035] Further, after the step of sending the target state information to the controller in the target environment, the method further includes:
[0036] Get the current device access information;
[0037] Performing an abnormality analysis on the device access information, and screening out designated device access information that meets a preset abnormal access condition from the device access information;
[0038] Determining a designated device corresponding to the designated device access information;
[0039] An access disconnection process is performed on the designated device.
[0040] Further, after the step of sending the target state information to the controller in the target environment, the method further includes:
[0041] Determine the target connection method;
[0042] Establishing a connection relationship with a preset cloud platform based on the target connection mode;
[0043] Get the preset encryption algorithm;
[0044] Using the preset encryption algorithm to encrypt the target state information to obtain processed target state information;
[0045] The processed target status information is uploaded to the cloud platform.
[0046] In order to solve the above technical problems, the embodiment of the present application further provides an information processing device, which adopts the following technical solution:
[0047] A first acquisition module, used to acquire sensor data of each sensor included in the target environment;
[0048] A first determination module, configured to determine a target sensor from all the sensors based on the sensor data and according to a preset screening rule;
[0049] A first receiving module, configured to receive target state information reported by the target sensor via a wireless network after each of the sensors completes the collection and transmission of state information within a preset working time; wherein the target state information includes state information of each of the sensors;
[0050] A sending module is used to send the target state information to a controller in the target environment.
[0051] In order to solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the following technical solution:
[0052] Acquire sensor data of each sensor included in the target environment;
[0053] Based on the sensor data, determining a target sensor from all the sensors according to a preset screening rule;
[0054] When each of the sensors completes the collection and transmission of status information within a preset working time, receiving the target status information reported by the target sensor via the wireless network; wherein the target status information includes the status information of each of the sensors;
[0055] The target state information is sent to a controller in the target environment.
[0056] In order to solve the above technical problems, the embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solution:
[0057] Acquire sensor data of each sensor included in the target environment;
[0058] Based on the sensor data, a target sensor is determined from all the sensors according to a preset screening rule; wherein the screening rule is used to screen the target sensor from all the sensors according to the function, distance, performance data, usage time data and failure rate data of all the sensors;
[0059] When each of the sensors completes the collection and transmission of status information within a preset working time, receiving the target status information reported by the target sensor via the wireless network; wherein the target status information includes the status information of each of the sensors;
[0060] The target state information is sent to a controller in the target environment.
[0061] Compared with the prior art, this application has the following beneficial effects:
[0062] In the present application, the sensor data of each sensor included in the target environment is obtained; based on the sensor data, the target sensor is determined from all the sensors according to the preset screening rules; when each sensor completes the collection and transmission of the status information within the preset working time, the target status information reported by the target sensor through the wireless network is received; wherein the target status information includes the status information of each sensor; the target status information is sent to the controller in the target environment. The present application improves the communication method between the sensor and the controller of the energy storage system, and avoids the communication wiring by adopting a wireless communication method between the sensor and the controller, solves the problem of high cost caused by the difficulty of wiring in some specific locations, and also solves the possible safety risk of cross contact between the data line and the high-voltage line. In addition, by determining the target sensor from all sensors based on the sensor data of each sensor included in the acquired target environment and the use of the screening rules, and then using the target sensor and reporting the sensor data of each sensor to the gateway server based on the wireless network, it can effectively avoid the need for each sensor to send status information to the controller of the energy storage system separately, reduce the processing power consumption of the sensor, and thus improve the flexibility and intelligence of the sending and processing of the status information of the sensor in the energy storage environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0064] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;
[0065] Figure 2 is a flow chart of an embodiment of an information processing method according to the present application;
[0066] Figure 3 yes Figure 2 A flowchart of a specific implementation of step S202;
[0067] Figure 4 yes Figure 3 A flowchart of a specific implementation method of step S2023;
[0068] Figure 5 yes Figure 2 A flowchart of a specific implementation method before step S201;
[0069] Figure 6 is a schematic structural diagram of an embodiment of an information processing device according to the present application;
[0070] Figure 7 It is a structural diagram of an embodiment of a computer device according to the present application. DETAILED DESCRIPTION
[0071] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.
[0072] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0073] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.
[0074] like Figure 1As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0075] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.
[0076] Terminal devices 101, 102, 103 can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III), MP4 (Moving Picture Experts Group Audio Layer IV) players, laptop computers, desktop computers, etc.
[0077] The server 105 may be a server that provides various services, such as a background server that provides support for web pages displayed on the terminal devices 101 , 102 , and 103 .
[0078] It should be noted that the information processing method provided in the embodiments of the present application is generally executed by a server, and accordingly, the information processing device is generally arranged in the server.
[0079] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0080] Continue to refer Figure 2 , shows a flow chart of an embodiment of the information processing method according to the present application. According to different requirements, the order of the steps in the flow chart can be changed, and some steps can be omitted.
[0081] Step S201: acquiring sensor data of each sensor included in the target environment.
[0082] In this embodiment, the electronic device (eg, Figure 1The server / terminal device shown), specifically, the information processing method of the present invention can be applied to the business scenario of status information reporting of sensors in the energy storage system. The above-mentioned target environment may refer to the working environment of the energy storage system. The executor of the present invention may specifically be a gateway server in the energy storage system, or simply referred to as a gateway. In order to achieve safe and stable operation of the energy storage system, a lot of safety detection sensors need to be arranged in the energy storage system. The above-mentioned sensors may include, for example, smoke detection, combustible gas detection, temperature and humidity detection, emergency stop, access control, water immersion and other sensors. The above-mentioned sensor data may include at least description data of the sensor, and the sensor data may include at least performance data, usage time data and failure rate data.
[0083] Step S202: Based on the sensor data, determine the target sensor from all the sensors according to a preset screening rule, wherein the screening rule is used to screen the target sensor from all the sensors according to the function, distance, performance data, usage time data and failure rate data of all the sensors.
[0084] In this embodiment, all sensors can be preliminarily screened using the routing function and the distance condition range to obtain the preliminarily screened sensors, and then the sensor data can be analyzed to determine the target sensor from all the sensors. The specific process of determining the target sensor will be further described in detail in subsequent specific embodiments of this application and will not be elaborated on here.
[0085] Step S203, after each of the sensors completes the collection and transmission of status information within a preset working time, receiving the target status information reported by the target sensor via the wireless network; wherein the target status information includes the status information of each of the sensors.
[0086] In this embodiment, for all sensors in the energy storage environment, a working time corresponding to the state data collection of all sensors is pre-set. When the working time is reached, each sensor in the energy storage environment will collect and process the state information respectively, and after completing the collection and processing of the state information, the other sensors except the target sensor will transmit their collected state information to the target sensor respectively, and then the target sensor will report the state information of all sensors to the gateway server through the wireless network. Among them, there is no limitation on the selection of the above working time, which can be configured in advance according to the actual business needs of the sensor information collection. In addition. The above wireless network is specifically a ZigBee wireless network. At present, the sensors in the energy storage system and the controller of the energy storage system (also known as the battery management system, BMS) mostly adopt wired communication methods, such as RS485, CAN, two buses, etc. Different from the wired communication method used between the sensor and the controller in the existing energy storage system, the present invention adopts a combination of wired network and wireless network to improve the connection method of the sensor of the energy storage system. The sensors in the energy storage system are connected to the gateway server, namely the ZigBee gateway, through the ZigBee wireless network. The gateway server is responsible for sensor management, configuration, data collection, data processing, and data reporting. The data processed by the gateway server is reported to the controller and the host computer management system through the wired Ethernet. By using wireless communication between the sensor and the controller, communication wiring is avoided, solving the problem of difficult and high-cost wiring in certain locations, and also solving the possible safety risks of cross-contact between data lines and high-voltage lines. In addition, all sensors communicate through the ZigBee network, which can solve the problem of inconsistent interfaces in traditional communication methods.
[0087] By establishing a ZigBee local wireless network between the sensors in the energy storage system and the gateway server, the gateway server of the energy storage system can collect sensor data and realize data communication between devices. ZigBee network has the advantages of self-organizing network without configuration, low cost, and a large number of network nodes. Specifically, after the ZigBee wireless network is formed between the sensors in the energy storage system and the gateway server, each sensor can directly or indirectly realize two-way communication with the gateway server, such as the access control sensor checks whether the cabinet door is open in real time, and regularly reports the status to the gateway server through the wireless network; the smoke sensor monitors the smoke concentration in the air in real time, and reports the alarm information when the smoke concentration is abnormal to the gateway server; water immersion sensors, combustible gas sensors and other devices can also report the status through the wireless network, and in order to ensure that the gateway server can understand the status of each sensor in real time, even sensors without alarms will report the status information. In addition, the devices in the ZigBee network communicate with each other in a two-way manner, and the gateway server can send parameter settings to the sensor.
[0088] In addition, in the ZigBee wireless network, the gateway server plays the role of Coordinator and is responsible for the establishment and management of the ZigBee wireless network. The gateway server selects a specific channel and a specific network PANID (ZigBee local area network ID) to establish a wireless network. The role of the sensor in the ZigBee wireless network is Router (router) and End Device (end device). After the device is started, it selects the agreed channel and agreed network PANID to request access to the network. Device access requests and data interactions are encrypted; the gateway server and the sensor use the same secret key, and for data security, it also excludes the access of unrelated devices. Among them, in the ZigBee wireless network, the target sensor and the gateway server communicate directly through the mesh network, and the target sensor and other sensors in the target environment can communicate through the mesh network or the tree network. Specifically, if other sensors are in the role of Router, the target sensor communicates with other sensors through the mesh network, and if other sensors are in the role of End Device, the target sensor communicates with other sensors through the veins of the tree network.
[0089] ZigBee networking has the following characteristics: ① Automatic networking and large network capacity. It can automatically network; Zigbee network can accommodate up to 65,000 nodes; the network has star, sheet and mesh network structures. When charging piles join and withdraw, the network has automatic repair function. ② Low cost. Zigbee module works in the 2.4G global free frequency band, so only the initial module fee is required, and there is no need to pay for continuous use. ③ Good reliability and high security. Zigbee has a reliable sending and receiving handshake mechanism, which reliably guarantees the sending and receiving of data. Zigbee uses AES128-bit key to ensure the security of data transmission.
[0090] Step S204: sending the target state information to a controller in the target environment.
[0091] In this embodiment, after receiving the target state information reported by the target sensor through the wireless network, the gateway server can report the target state information to the controller in the energy storage system through the wired Ethernet. Specifically, the improved energy storage system of this application is composed of sensors, gateway servers, controllers, and host computer management systems; the sensors are responsible for sensing the state and reporting the state information to the gateway server in real time; the gateway server is responsible for data collection, processing, and storage of the sensors, and sends the received state information to the controller; the controller makes a control strategy corresponding to the sensor based on the received state information, such as power-off processing for smoke alarms, etc.; the host computer management software is responsible for the configuration of the gateway server, the display of sensor data, etc.
[0092] In addition, in the ZigBee wireless network, each sensor has a globally unique MAC address, and the MAC address is used as the unique identifier of the sensor, thereby realizing automatic numbering, thereby avoiding the tedious sensor numbering process. The controller realizes data collection and corresponding instruction issuance of all sensors through the wireless network. Among them, based on the fact that each sensor has a unique ID identifier, the host computer management software can configure the properties of each sensor through the gateway server; define the sensor type, such as the device is an access control sensor; the meaning of the reported information, such as access control 1 represents the door is open, 0 represents the door is closed; and the data collection interval can also be configured. The host computer management software can intuitively view the sensor status, such as whether it is online, whether there is an abnormal alarm; at the same time, the normal value range of the data can also be set, and an abnormal alarm will be issued when the collected value exceeds the access.
[0093] The present application first obtains the sensor data of each sensor included in the target environment; then, based on the sensor data, the target sensor is determined from all the sensors according to the preset screening rules; subsequently, when each of the sensors completes the collection and transmission of status information within the preset working time, the target status information reported by the target sensor through the wireless network is received; wherein the target status information includes the status information of each of the sensors; finally, the target status information is sent to the controller in the target environment. Different from the wired communication method between sensors and controllers in the existing energy storage system, the present application improves the communication method between sensors and controllers of the energy storage system, and avoids communication wiring by adopting wireless communication between sensors and controllers, thereby solving the problem of high cost caused by wiring difficulties in some specific locations, and also solving the possible safety risks of cross-contact between data lines and high-voltage lines. In addition, by determining the target sensor from all sensors based on the acquired sensor data of each sensor included in the target environment and the use of screening rules, and then using the target sensor to report the sensor data of each sensor to the gateway server based on the wireless network, it is possible to effectively avoid the need for each sensor to send status information to the controller of the energy storage system separately, thereby reducing the processing power consumption of the sensor, and thereby improving the flexibility and intelligence of the sending and processing of the status information of the sensor in the energy storage environment.
[0094] Continue to refer Figure 3 , showing that in Figure 2 Flow chart of a specific implementation of step S202 in FIG. 1 . In some optional implementations, step S202 includes the following steps:
[0095] Step S2020: Filter out a first sensor having a routing function from all the sensors.
[0096] In this embodiment, the first sensor with the above-mentioned routing function refers to the sensor with the role of Router among all sensors. The role information of all sensors can be obtained, and then the role information of all sensors can be analyzed to screen out the sensor with the role information of Router, so as to obtain the above-mentioned first sensor. The sensor with the role of Router has a routing function. In addition to completing its own data interaction, it can also realize the transparent transmission of data from other sensors. Sensors far away from the gateway server can realize data jump through it, thereby realizing communication with the gateway server, which can greatly increase the coverage of the wireless network.
[0097] Step S2021: Filter out second sensors that meet a preset distance range condition from all the first sensors.
[0098] In the present embodiment, the above-mentioned distance range condition refers to the condition that the range between the first sensor and the gateway sensor is less than the preset distance threshold. Among them, the distance threshold refers to the communication limit distance of the ZigBee wireless network. There is no specific limitation on the value of the distance threshold, and it can be set according to the actual business usage requirements. Specifically, if the distance between sensor A in the energy storage environment and the gateway server is greater than the above-mentioned communication limit distance, sensor A cannot communicate directly with the gateway server. At this time, the data of sensor A can be transparently transmitted through other sensors in the energy storage environment whose distance from the gateway server is less than the above-mentioned communication limit distance. Exemplarily, the other sensor is sensor B, then sensor A first sends the collected status information to sensor B, and then reports the status information collected by sensor A to the gateway server through sensor B. It can be understood that if the sensor is farther away from the gateway server, the sensor will need more power consumption to report the status information to the gateway server.
[0099] Step S2022: Acquire the performance data, usage time data, and failure rate data of each of the second sensors from the sensor data.
[0100] In this embodiment, the sensor data is the description data of each second sensor collected in advance, and the sensor data at least includes performance data, usage time data and failure rate data. The sensor data can be parsed to obtain the performance data, usage time data and failure rate data of each second sensor from the sensor data. Among them, the performance data includes high performance, medium performance and low performance. The usage time data refers to the length of time the sensor has been put into use, and the unit can be days or months. The failure rate data refers to the probability value of the sensor failing during operation. Among them, the process of calculating the probability value of the sensor failing during operation, that is, calculating the failure rate data of the sensor specifically includes: for each sensor, by obtaining the operation data of the sensor in a specified time period, then counting the total number of times the sensor operates in the specified time period, and counting the number of times the sensor has an operation failure in the specified time period, and then calculating the quotient between the number of times the sensor has an operation failure in the specified time period and the total number of times the sensor operates in the specified time period, and using the quotient as the probability value of the sensor failing during operation. There is no specific limitation on the time selection for the above-mentioned specified time period, and it can be set according to actual business usage requirements, for example, it can be set to within the recent 1 month.
[0101] Step S2023: Generate a processing score corresponding to each of the second sensors based on the performance data, the usage time data, and the failure rate data.
[0102] In this embodiment, the performance data, usage time data and failure rate data of each second sensor can be calculated and processed by calling the score calculation formula corresponding to the performance data, the usage time data and the failure rate data to generate a processing score corresponding to each second sensor. The specific implementation process of generating the processing score corresponding to each second sensor will be further described in detail in subsequent specific embodiments of the present application and will not be elaborated on here.
[0103] Step S2024, selecting a third sensor with the highest processing score from all the second sensors;
[0104] In this embodiment, after the processing scores of the second sensors are generated, the values of all the processing scores may be compared, thereby selecting a sensor with the highest processing score from all the second sensors and using it as the third sensor.
[0105] Step S2025: using the third sensor as the target sensor.
[0106] This application uses the routing function and the distance condition range to preliminarily screen all sensors to obtain the second sensor, so that only the obtained second sensor needs to be processed for data calculation to determine the final target sensor, without the need to process data calculation for all sensors, which effectively reduces the workload of the target sensor determination process and improves the processing efficiency of the target sensor determination process. In addition, by further analyzing the performance data, usage time data, and failure rate data of each of the second sensors, and then determining the final target sensor from all sensors based on the obtained data analysis results, that is, the processing scores of each of the second sensors, the intelligence and accuracy of the target sensor determination are effectively improved.
[0107] Continue to refer Figure 4 , showing that in Figure 3 In some optional implementations of this embodiment, generating a processing score corresponding to each second sensor based on the performance data, the usage time data, and the failure rate data includes the following steps:
[0108] Step S20230, calling a preset data mapping table.
[0109] In this embodiment, the above-mentioned data mapping table is a data table of the mapping relationship between performance data and scores pre-constructed according to actual business needs. Exemplarily, the mapping rules of the data mapping table include: the performance data includes high performance, medium performance, and low performance, and the corresponding mapping value of the performance data with high performance is 3, the corresponding mapping value of the performance data with medium performance is 2, and the corresponding mapping value of the performance data with low performance is 1. Alternatively, the above-mentioned performance data may refer to the response time of the sensor, and the response time refers to the time required for the sensor to respond to the input signal to a stable value. The mapping rules of the data mapping table include: different response time intervals correspond to different mapping values. Among them, the unit of the response time is pre-specified to ensure the uniformity and standardization of data conversion.
[0110] Step S20231: Map the performance data of each of the second sensors based on the data mapping table to obtain mapping data corresponding to each of the performance data.
[0111] In this embodiment, for each second sensor, the specified performance data having a matching relationship with the performance data of the second sensor can be determined from the data mapping table, and then the specified score matching the specified performance data can be found from the data mapping table, and the specified score can be used as the mapping data corresponding to the performance data of the second sensor. Exemplarily, the above performance data refers to the response time. For each second sensor, the response time of each second sensor is obtained by querying the sensor data of each second sensor, and the response time of each second sensor is adjusted according to the unit of the response time pre-specified in the mapping data table to ensure that the response time of each second sensor is a time value that meets the specified time value, and then the response time of each second sensor is matched with the different response time intervals in the data mapping table to determine the time intervals that match the response time of each second sensor, and then the mapping value corresponding to the matching time interval is found from the data mapping table, and the mapping data corresponding to each performance data can be obtained. By pre-adjusting the unit of the performance data of the second sensor and subsequently using the data mapping table to match the adjusted performance data, the data accuracy of the mapping data corresponding to each performance data can be effectively guaranteed, and the processing standardization of data mapping of the performance data can be improved.
[0112] Step S20232, obtaining a first preset weight corresponding to the mapping data, obtaining a second preset weight corresponding to the usage time data, and obtaining a third preset weight corresponding to the failure rate data.
[0113] In this embodiment, there is no specific limitation on the values of the first preset weight, the second preset weight, and the third preset weight, and they can be set according to actual usage requirements, for example, according to the importance of various sensor data. Preferably, the first preset weight is greater than the third preset weight, the third preset weight is greater than the second preset weight, and the sum of the first preset weight, the second preset weight, and the third preset weight is 1.
[0114] Step S20233, based on the first preset weight, the second preset weight and the third preset weight, call the preset score calculation formula to calculate and process the mapping data of each second sensor, the usage time data of each second sensor and the failure rate data of each second sensor, and generate a processing score corresponding to each second sensor.
[0115] In this embodiment, the formula content of the above score calculation formula may specifically include: , where Score is the processing score, x is the mapping data, a is the first preset weight corresponding to the mapping data, y is the usage time data, b is the second preset weight corresponding to the usage time data, z is the failure rate data, and c is the third preset weight corresponding to the failure rate data. The processing score of each second sensor can be calculated by substituting the values of the first preset weight, the second preset weight, and the third preset weight, as well as the mapping data, usage time data, and failure rate data of each second sensor into the corresponding positions in the above score calculation formula and performing calculations.
[0116] The present application uses a data mapping table to map the performance data of each second sensor, obtains mapping data corresponding to each performance data, and then obtains the second preset weight corresponding to the usage time data according to the first preset weight corresponding to the mapping data, and obtains the third preset weight corresponding to the failure rate data, and uses the score calculation formula to calculate and process the mapping data of each second sensor, the usage time data of each second sensor, and the failure rate data of each second sensor, so as to generate the processing score corresponding to each second sensor, so that the third sensor with the highest processing score can be selected from all the second sensors as the final target sensor. Since the target sensor is determined based on the performance data, usage time data, and failure rate data of each second sensor, the intelligence and accuracy of the determination of the target sensor are effectively guaranteed. In addition, by using the target sensor to report the sensor data of each sensor to the gateway server, it can effectively avoid the need for each sensor to send status information to the controller of the energy storage system separately, thereby reducing the processing power consumption of the sensor, and thus improving the flexibility and intelligence of the sending and processing of the status information of the sensor in the energy storage environment.
[0117] Continue to refer Figure 5 , showing that in Figure 2 In some optional implementations, the information processing method of the present application may also include the following embodiment A. Specifically, before step S201, the electronic device may also perform the following steps:
[0118] Step S2010, obtaining the current time, and determining whether the current time is within a preset detection time period.
[0119] In this embodiment, the above-mentioned detection time period is a pre-set time period for performing functional detection on sensors in the energy storage system. There is no specific limitation on the specific value of the detection time period, and it can be set according to actual business usage requirements, for example, it can be set to the business idle time period of the energy storage system.
[0120] Step S2011: If yes, obtain a detection solution corresponding to a designated sensor; wherein the designated sensor is any one of all the sensors.
[0121] In this embodiment, for each type of sensor, a detection scheme for performing functional detection on each type of sensor is pre-stored. Exemplarily, the detection scheme corresponding to the smoke detection sensor is to detect whether the functional module for detecting smoke in the smoke detection sensor can normally and accurately detect the smoke data of the environment. The detection scheme corresponding to the temperature and humidity detection sensor is to detect whether the functional module for detecting temperature and humidity in the temperature and humidity detection sensor can normally and accurately detect the temperature and humidity data of the environment.
[0122] Step S2012, generating a test instruction corresponding to the detection scheme.
[0123] In this embodiment, after obtaining the detection scheme corresponding to the specified sensor, a test instruction can be further generated according to the detection scheme. The test instruction includes information of the specified sensor, and the content of the test instruction is to control the function module corresponding to the main function of the sensor to operate.
[0124] Step S2013, controlling the function module corresponding to the designated sensor to operate based on the test instruction.
[0125] In this embodiment, the above-mentioned functional module refers to the module corresponding to the main function of the sensor. For example, if the designated sensor is a smoke detection sensor, the corresponding functional module is a smoke detection module; if the designated sensor is a temperature and humidity detection sensor, the corresponding functional module is a temperature and humidity detection module. By executing the test instruction and finding the functional module corresponding to the designated sensor, the functional module corresponding to the designated sensor can be scheduled to operate.
[0126] Step S2014, receiving the operation data uploaded by the designated sensor.
[0127] In this embodiment, the function module corresponding to the designated sensor will generate and record corresponding operation data after operation, and will upload the operation data to the gateway server via the wireless network.
[0128] Step S2015, performing matching analysis on the operation data to generate a detection result corresponding to the designated sensor.
[0129] In this embodiment, by acquiring standardized detection data of the current environment collected in advance, the received operation data uploaded by the designated sensor is compared with the above-mentioned standardized detection data. If the received operation data uploaded by the designated sensor matches the above-mentioned standardized detection data, it indicates that the function of the designated sensor is normal, and a detection result that the designated sensor passes the functional test is generated. If the received operation data uploaded by the designated sensor does not match the above-mentioned standardized detection data, it indicates that the function of the designated sensor is abnormal, and a detection result that the designated sensor fails the functional test is generated.
[0130] Step S2016: Obtain a processing strategy corresponding to the detection result, and perform corresponding processing on the designated sensor based on the processing strategy.
[0131] In this embodiment, the above-mentioned detection results include passing the detection or failing the detection. If the designated sensor passes the detection, the designated sensor is determined to be a sensor with normal function, and if the designated sensor fails the detection, the designated sensor is determined to be a sensor with abnormal function. Among them, processing strategies corresponding to two detection results with different contents are pre-generated and stored. Specifically, for the detection result with the content of passing the detection, the corresponding processing strategy is that no processing is required. For the detection result with the content of failing the detection, the corresponding processing strategy is to generate abnormal function warning information based on the sensor identification of the designated sensor obtained, and send the warning information to the operation and maintenance personnel of the energy storage system, so that the operation and maintenance personnel can promptly perform maintenance processing on the sensor with abnormal function after consulting the warning information, thereby ensuring the normal and stable operation of the sensor.
[0132] When the present application detects that the current time is in the detection time period, it will intelligently obtain the detection scheme corresponding to the designated sensor and generate a test instruction corresponding to the detection scheme, and then control the function module corresponding to the designated sensor to operate based on the test instruction, and after receiving the operation data uploaded by the designated sensor, the operation data is analyzed to generate the detection result corresponding to the designated sensor. When the present application determines that the current time is in the detection time period, the function detection of each sensor in the energy storage environment can be completed quickly and intelligently, and the process automation of the function detection of the sensor is realized, which effectively improves the processing efficiency of the function detection of the sensor. In addition, by further obtaining the processing strategy corresponding to the detection result and performing corresponding processing on the designated sensor based on the processing strategy, it is helpful to ensure the normal and stable operation of the sensor.
[0133] In some optional implementations, the information processing method of the present application may further include the following embodiment B. Specifically, before step S201, the electronic device may further perform the following steps:
[0134] Obtain role information of each of the sensors.
[0135] In this embodiment, the roles of sensors in the ZigBee wireless network include Router and EndDevice. After the sensor is started, it can select the agreed channel and the agreed network PANID (ZigBee local area network ID) to request access to the network. Among them, the sensor data of each sensor included in the target environment can be queried, and then the role information of each sensor can be extracted from the sensor data.
[0136] Based on the role information, a fourth sensor whose role is a terminal device is screened out from all the sensors.
[0137] In this embodiment, data analysis can be performed on the acquired role information of each sensor to find out the sensor whose role content is End Device from all the role information, so as to obtain the fourth sensor whose role is Terminal Device.
[0138] Invoke the preset battery power strategy.
[0139] In this embodiment, the battery power supply strategy refers to using dry batteries to power the sensor, so that the power supply and communication of the sensor do not require line connection.
[0140] A power supply process is performed on the fourth sensor based on the battery power supply strategy.
[0141] In this embodiment, by using a battery power supply strategy to perform power supply processing on the fourth sensor, wiring can be effectively avoided, thereby achieving low energy consumption of the sensor.
[0142] The present application obtains the role information of each of the sensors and then, based on the role information, selects a fourth sensor whose role is a terminal device from all the sensors; and then calls a preset battery power supply strategy to perform power supply processing on the fourth sensor, so that the power supply and communication of the sensor do not require line connection, thereby effectively avoiding wiring and achieving low energy consumption of the sensor.
[0143] It is understandable that both the above-mentioned embodiment A and embodiment B are steps that the electronic device needs to perform before the above-mentioned step S201, that is, the step of obtaining the sensor data of each sensor included in the target environment, and there is no strict order restriction for the execution of the steps in embodiment A and embodiment B. Specifically, before executing step S201, the above-mentioned electronic device may first execute the steps in embodiment A and then execute the steps in embodiment B; or may first execute the steps in embodiment B and then execute the steps in embodiment A; or may also execute the steps in embodiment A and the steps in embodiment B in parallel.
[0144] In some optional implementations of this embodiment, the information processing method of the present application may further include the following embodiment C. Specifically, after step S204, the electronic device may further perform the following steps:
[0145] Get the current device access information.
[0146] In this embodiment, the above-mentioned device access information refers to the device information accessing the gateway server, and the device access information may include the device name or device identifier corresponding to the device accessing the gateway server.
[0147] An abnormality analysis is performed on the device access information, and designated device access information that meets a preset abnormal access condition is screened out from the device access information.
[0148] In this embodiment, the above abnormal access condition refers to the condition of the device not related to the energy storage environment. A device information table storing the device information of all devices related to the energy storage environment is pre-configured. If the current device access information has a record in the device information table, the device access information is determined to be device access information that does not meet the abnormal access condition. If the current device access information does not have a record in the device information table, that is, the device information table does not store the same information as the current device access information, the device access information is determined to be device access information that meets the abnormal access condition.
[0149] A designated device corresponding to the designated device access information is determined.
[0150] In this embodiment, each piece of device access information corresponds to a device, that is, the devices corresponding to the device access information have an associated relationship.
[0151] An access disconnection process is performed on the designated device.
[0152] In this embodiment, a disconnection instruction may be generated and executed to control the gateway server to disconnect from the designated device.
[0153] After obtaining the current device access information, the present application will intelligently analyze the device access information to determine the currently existing designated devices that meet the abnormal access conditions, and then perform access disconnection processing on the designated devices. By disconnecting the connection with the designated devices that meet the abnormal access conditions, the standardization and intelligence of the device connection of the gateway server are achieved, and the leakage of important data after establishing a connection with the designated devices that meet the abnormal access conditions can be avoided, thereby effectively ensuring the data security of the gateway server.
[0154] In some optional implementations of this embodiment, the information processing method of the present application may further include the following embodiment D. Specifically, after step S204, the electronic device may further perform the following steps:
[0155] Determine the target connection method.
[0156] In this embodiment, there is no specific limitation on the selection of the above target connection mode, which can be determined according to actual business needs. For example, the target connection mode may include 4G, wifi, etc.
[0157] A connection relationship is established with a preset cloud platform based on the target connection mode.
[0158] In this embodiment, the cloud platform is a pre-built platform for remotely monitoring the energy storage system and understanding the operating status of the energy storage system in real time.
[0159] Get the preset encryption algorithm.
[0160] In this embodiment, the selection of the above-mentioned preset encryption algorithm is not specifically limited and can be determined according to actual business needs. Exemplarily, the encryption algorithm may include AES128, DES, 3DES algorithms, etc.
[0161] The target state information is encrypted using the preset encryption algorithm to obtain processed target state information.
[0162] In this embodiment, after the preset encryption algorithm is determined, the encryption algorithm will be used in all data interactions between the gateway server and the cloud platform, and the same secret key will be used between the gateway server and the cloud platform.
[0163] The processed target status information is uploaded to the cloud platform.
[0164] In this embodiment, after the gateway server establishes a connection relationship with the cloud platform through the target connection mode, the processing of uploading the processed target status information to the cloud platform can be successfully completed.
[0165] This application determines the target connection mode, and establishes a connection relationship with a preset cloud platform based on the target connection mode; then obtains a preset encryption algorithm; then uses the encryption algorithm to encrypt the target state information to obtain the processed target state information; and then uploads the processed target state information to the cloud platform, so as to realize the use of a secure encryption method to report the sensor state information to the cloud platform, effectively ensuring the data security of the sensor state information. It is also convenient to use the cloud platform to understand the operating status of the energy storage system in real time, and realize intelligent monitoring of the energy storage system.
[0166] It is understandable that both the above-mentioned embodiment C and embodiment D are steps that the electronic device needs to execute after the above-mentioned step S204, i.e., the step of sending the target state information to the controller in the target environment, and there is no strict order restriction for the execution of the steps in embodiment C and embodiment D. Specifically, after executing step S204, the above-mentioned electronic device may first execute the steps in embodiment C and then execute the steps in embodiment D; or may first execute the steps in embodiment D and then execute the steps in embodiment C; or may also execute the steps in embodiment C and the steps in embodiment D in parallel.
[0167] In some optional implementations of this embodiment, after each sensor included in the target environment completes the data collection of status information and the processing of data transmission, the gateway server can generate a sleep instruction and send the sleep instruction to each sensor, so that all sensors go into sleep mode and enter a low-power mode. When the next wake-up collection working time is reached, each sensor will be re-awakened and perform corresponding data collection processing, thereby effectively improving the intelligence of sensor use and reducing the power consumption of the sensor. There is no limitation on the selection of the above working time, and it can be configured in advance according to the actual business needs of sensor information collection.
[0168] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0169] It should be emphasized that in order to further ensure the privacy and security of the above status information, the above status information can also be stored in a node of a blockchain.
[0170] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through computer-readable instructions, and the computer-readable instructions can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[0171] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0172] Further references Figure 6 , as a response to the above Figure 2 The present application provides an embodiment of an information processing device, and the device embodiment is Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0173] like Figure 6 As shown, the information processing device 600 described in this embodiment includes: a first acquisition module 601, a first determination module 602, a first receiving module 603, and a sending module 604. Among them:
[0174] A first acquisition module 601 is used to acquire sensor data of each sensor included in the target environment;
[0175] A first determination module 602 is used to determine a target sensor from all the sensors based on the sensor data according to a preset screening rule; wherein the screening rule is used to screen the target sensor from all the sensors according to the function, distance, performance data, usage time data and failure rate data of all the sensors;
[0176] The first receiving module 603 is used to receive the target state information reported by the target sensor through the wireless network after each of the sensors completes the collection and transmission of the state information within a preset working time; wherein the target state information includes the state information of each of the sensors;
[0177] The sending module 604 is used to send the target state information to the controller in the target environment.
[0178] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the information processing method in the aforementioned implementation mode, and are not described in detail here.
[0179] In some optional implementations of this embodiment, the first determining module 602 includes:
[0180] A first screening submodule, used for screening out a first sensor having a routing function from all the sensors;
[0181] A second screening submodule, used to screen out second sensors that meet a preset distance range condition from all the first sensors;
[0182] An acquisition submodule, used to respectively acquire performance data, usage time data and failure rate data of each second sensor from the sensor data;
[0183] a generating submodule, configured to generate a processing score corresponding to each of the second sensors based on the performance data, the usage time data, and the failure rate data;
[0184] A third screening submodule, used for screening out a third sensor with the highest processing score from all the second sensors;
[0185] The determination submodule is configured to use the third sensor as the target sensor.
[0186] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the information processing method in the aforementioned implementation mode, and are not described in detail here.
[0187] In some optional implementations of this embodiment, the generating submodule includes:
[0188] A calling unit, used for calling a preset data mapping table;
[0189] a mapping unit, configured to perform data mapping on the performance data of each of the second sensors based on the data mapping table to obtain mapping data corresponding to each of the performance data;
[0190] an acquisition unit, configured to acquire a first preset weight corresponding to the mapping data, acquire a second preset weight corresponding to the usage duration data, and acquire a third preset weight corresponding to the failure rate data;
[0191] a calculation unit, for calling a preset score calculation formula to calculate and process the mapping data of each second sensor, the usage time data of each second sensor, and the failure rate data of each second sensor based on the first preset weight, the second preset weight, and the third preset weight, and generate a processing score corresponding to each second sensor.
[0192] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the information processing method in the aforementioned implementation mode, and will not be repeated here.
[0193] In some optional implementations of this embodiment, the information processing device further includes:
[0194] The second acquisition module is used to obtain the current time and determine whether the current time is within a preset detection time period;
[0195] A third acquisition module is used to acquire a detection scheme corresponding to a specified sensor, wherein the specified sensor is any one of all the sensors;
[0196] A first generating module, used to generate a test instruction corresponding to the detection scheme;
[0197] A control module, used for controlling the function module corresponding to the designated sensor to operate based on the test instruction;
[0198] A second receiving module, used for receiving the operation data uploaded by the designated sensor;
[0199] A second generating module, configured to perform matching analysis on the operation data and generate a detection result corresponding to the designated sensor;
[0200] The first processing module is used to obtain a processing strategy corresponding to the detection result, and perform corresponding processing on the designated sensor based on the processing strategy.
[0201] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the information processing method in the aforementioned implementation mode, and are not described in detail here.
[0202] In some optional implementations of this embodiment, the information processing device further includes:
[0203] A fourth acquisition module, used to acquire role information of each of the sensors;
[0204] A first screening module, configured to screen out a fourth sensor whose role is a terminal device from all the sensors based on the role information;
[0205] A calling module, used to call a preset dry cell battery power supply strategy;
[0206] The second processing module is used to perform power supply processing on the fourth sensor based on the dry cell power supply strategy.
[0207] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the information processing method in the aforementioned implementation mode, and are not described in detail here.
[0208] In some optional implementations of this embodiment, the information processing device further includes:
[0209] The fifth acquisition module is used to obtain the current device access information;
[0210] A second screening module is used to perform abnormal analysis on the device access information, and screen out designated device access information that meets a preset abnormal access condition from the device access information;
[0211] A second determining module, used to determine a designated device corresponding to the designated device access information;
[0212] The third processing module is used to perform access and disconnection processing on the designated device.
[0213] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the information processing method in the aforementioned implementation mode, and are not described in detail here.
[0214] In some optional implementations of this embodiment, the information processing device further includes:
[0215] A third determination module is used to determine the target connection mode;
[0216] An establishing module, used to establish a connection relationship with a preset cloud platform based on the target connection mode;
[0217] A sixth acquisition module, used to acquire a preset encryption algorithm;
[0218] An encryption module, used to encrypt the target state information using the encryption algorithm to obtain processed target state information;
[0219] The uploading module is used to upload the processed target status information to the cloud platform.
[0220] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the information processing method in the aforementioned implementation mode, and are not described in detail here.
[0221] To solve the above technical problems, the present application also provides a computer device. Figure 7 , Figure 7 This is a basic structural block diagram of the computer device in this embodiment.
[0222] The computer device 7 includes a memory 71, a processor 72, and a network interface 73 that are interconnected through a system bus. It should be noted that the figure only shows a computer device 7 with components 71-73, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.
[0223] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.
[0224] The memory 71 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 71 can be an internal storage unit of the computer device 7, such as a hard disk or memory of the computer device 7. In other embodiments, the memory 71 can also be an external storage device of the computer device 7, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), etc. equipped on the computer device 7. Of course, the memory 71 can also include both the internal storage unit of the computer device 7 and its external storage device. In this embodiment, the memory 71 is generally used to store the operating system and various application software installed on the computer device 7, such as computer-readable instructions of the information processing method, etc. In addition, the memory 71 can also be used to temporarily store various types of data that have been output or are to be output.
[0225] The processor 72 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 72 is generally used to control the overall operation of the computer device 7. In this embodiment, the processor 72 is used to run the computer-readable instructions stored in the memory 71 or process data, such as computer-readable instructions for running the information processing method.
[0226] The network interface 73 may include a wireless network interface or a wired network interface. The network interface 73 is generally used to establish a communication connection between the computer device 7 and other electronic devices.
[0227] The present application also provides another embodiment, namely, providing a computer-readable storage medium, wherein the computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions can be executed by at least one processor to enable the at least one processor to perform the steps of the information processing method as described above.
[0228] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0229] Obviously, the embodiments described above are only some embodiments of the present application, rather than all embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to perform equivalent replacement of some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of this application, directly or indirectly used in other related technical fields, is similarly within the scope of patent protection of this application.
Claims
1. An information processing method, characterized in that: The steps include: Acquire sensor data of each sensor included in the target environment; Based on the sensor data, a target sensor is determined from all the sensors according to a preset screening rule; wherein the screening rule is used to screen the target sensor from all the sensors according to the function, distance, performance data, usage time data and failure rate data of all the sensors; When each of the sensors completes the collection and transmission of status information within a preset working time, receiving the target status information reported by the target sensor via the wireless network; wherein the target status information includes the status information of each of the sensors; sending the target state information to a controller in the target environment; Wherein, the step of determining the target sensor from all the sensors based on the sensor data according to a preset screening rule specifically includes: Filtering out a first sensor with a routing function from all the sensors; wherein the first sensor with a routing function refers to a sensor with a Router role among all the sensors; Filtering out a second sensor that meets a preset distance range condition from all the first sensors; the distance range condition refers to a condition that the range between the first sensor and the gateway server is less than a preset distance threshold, wherein the distance threshold refers to a communication limit distance of the ZigBee wireless network; Acquire performance data, usage time data and failure rate data of each second sensor from the sensor data; wherein the usage time data refers to the time the sensor has been put into use, and the failure rate data refers to the probability value of failure of the sensor during operation; generating a processing score corresponding to each of the second sensors based on the performance data, the usage time data, and the failure rate data; Filtering a third sensor with the highest processing score from all the second sensors; Using the third sensor as the target sensor; The step of generating a processing score corresponding to each of the second sensors based on the performance data, the usage time data, and the failure rate data specifically includes: Call the preset data mapping table; Based on the data mapping table, data mapping is performed on the performance data of each of the second sensors to obtain mapping data corresponding to each of the performance data; Acquire a first preset weight corresponding to the mapping data, acquire a second preset weight corresponding to the usage duration data, and acquire a third preset weight corresponding to the failure rate data; Based on the first preset weight, the second preset weight and the third preset weight, a preset score calculation formula is called to calculate and process the mapping data of each second sensor, the usage time data of each second sensor and the failure rate data of each second sensor to generate a processing score corresponding to each second sensor.
2. The information processing method according to claim 1, characterized in that: Before acquiring sensor data of each sensor included in the target environment, the method further includes: Get the current time and determine whether the current time is within the preset detection time period; If so, obtaining a detection scheme corresponding to a designated sensor; wherein the designated sensor is any one of all the sensors; generating a test instruction corresponding to the detection scheme; Controlling the function module corresponding to the designated sensor to operate based on the test instruction; Receiving operation data uploaded by the designated sensor; Performing matching analysis on the operation data to generate a detection result corresponding to the designated sensor; A processing strategy corresponding to the detection result is obtained, and corresponding processing is performed on the designated sensor based on the processing strategy.
3. The information processing method according to claim 1, characterized in that: Before acquiring sensor data of each sensor included in the target environment, the method further includes: Obtaining role information of each of the sensors; Based on the role information, a fourth sensor whose role is a terminal device is selected from all the sensors; Call the preset battery power supply strategy; A power supply process is performed on the fourth sensor based on the battery power supply strategy.
4. The information processing method according to claim 1, characterized in that: After the step of sending the target state information to the controller in the target environment, the method further includes: Get the current device access information; Performing an abnormality analysis on the device access information, and screening out designated device access information that meets a preset abnormal access condition from the device access information; Determining a designated device corresponding to the designated device access information; An access disconnection process is performed on the designated device.
5. The information processing method according to claim 1, characterized in that: After the step of sending the target state information to the controller in the target environment, the method further includes: Determine the target connection method; Establishing a connection relationship with a preset cloud platform based on the target connection mode; Get the preset encryption algorithm; Using the preset encryption algorithm to encrypt the target state information to obtain processed target state information; The processed target status information is uploaded to the cloud platform.
6. An information processing device, characterized in that: include: A first acquisition module, used to acquire sensor data of each sensor included in the target environment; A first determination module is used to determine a target sensor from all the sensors based on the sensor data according to a preset screening rule; wherein the screening rule is used to screen the target sensor from all the sensors according to the function, distance, performance data, usage time data and failure rate data of all the sensors; A first receiving module, configured to receive target state information reported by the target sensor via a wireless network after each of the sensors completes the collection and transmission of state information within a preset working time; wherein the target state information includes state information of each of the sensors; A sending module, used for sending the target state information to a controller in the target environment; Wherein, the first determination module includes: A first screening submodule is used to screen out a first sensor with a routing function from all the sensors; wherein the first sensor with a routing function refers to a sensor with a Router role among all the sensors; A second screening submodule, used to screen out a second sensor that meets a preset distance range condition from all the first sensors; the distance range condition refers to a condition that the range between the first sensor and the gateway server is less than a preset distance threshold, wherein the distance threshold refers to a communication limit distance of the ZigBee wireless network; An acquisition submodule, used to respectively acquire performance data, usage time data and failure rate data of each second sensor from the sensor data; wherein the usage time data refers to the time the sensor has been put into use, and the failure rate data refers to the probability value of a failure of the sensor during operation; a generating submodule, configured to generate a processing score corresponding to each of the second sensors based on the performance data, the usage time data, and the failure rate data; A third screening submodule, used for screening out a third sensor with the highest processing score from all the second sensors; A determination submodule, configured to use the third sensor as the target sensor; Among them, the generation submodules include: A calling unit, used for calling a preset data mapping table; a mapping unit, configured to perform data mapping on the performance data of each of the second sensors based on the data mapping table to obtain mapping data corresponding to each of the performance data; an acquisition unit, configured to acquire a first preset weight corresponding to the mapping data, acquire a second preset weight corresponding to the usage duration data, and acquire a third preset weight corresponding to the failure rate data; a calculation unit, for calling a preset score calculation formula to calculate and process the mapping data of each second sensor, the usage time data of each second sensor, and the failure rate data of each second sensor based on the first preset weight, the second preset weight, and the third preset weight, and generate a processing score corresponding to each second sensor.
7. A computer device, comprising a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps of the information processing method according to any one of claims 1 to 5 when executing the computer-readable instructions.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the information processing method according to any one of claims 1 to 5 are implemented.
