Method and apparatus for determining credibility of data, and electronic device
By acquiring data waiting time, interval time, and reception interval time, and combining this with thresholds to assess and display the data credibility level, the problem of unreliable data transmission in BMC is solved, thereby improving users' trust in and security of BMC web page data.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-10
- Publication Date
- 2026-04-14
AI Technical Summary
In existing technologies, the response time for BMC data to be transmitted to the web page is relatively long, making it difficult for users to determine the credibility of the data and thus reducing security trust.
The credibility of the data is determined by acquiring the data waiting time, data interval time, and data reception interval time. The credibility level is determined based on the credibility level. Multiple progressively decreasing thresholds are used to evaluate the data credibility. The credibility level of the data is displayed by different colors or flashing patterns.
This improves users' trust in BMC web page data, prevents misjudgments of server status, and maintains users' high level of trust in relevant security information.
Smart Images

Figure CN116070003B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computers, and more specifically, to a method, apparatus, computer-readable storage medium, and electronic device for determining the reliability of data. Background Technology
[0002] Server Monitoring and Control Center (BMC) is a device used to monitor servers and ensure their normal operation. The BMC web page needs to monitor the server's current operating status in real time and provide timely alerts and notifications. Because it is security-related, users need to maintain a high level of trust in this information.
[0003] Each time BMC completes its data calculations and sends them to the web page, the RESTful API it calls needs to transfer a large amount of data, resulting in a longer response time compared to a regular webpage. Users cannot verify the reliability of this information, leading to a decrease in their trust in BMC's security. Summary of the Invention
[0004] This application provides a method, apparatus, computer-readable storage medium, and electronic device for determining the reliability of data, so as to at least solve the problem that existing solutions cannot determine whether data is reliable.
[0005] According to one embodiment of this application, a method for determining the credibility of data is provided. The method includes: acquiring a data waiting time, a data interval time, and a data receiving interval time, wherein the data waiting time is a preset interval time between two data receptions, the data interval time is a preset interval time between two data credibility determinations, and the data receiving interval time is the actual interval time between two data receptions; determining the credibility of the data based at least on the data waiting time, the data interval time, and the data receiving interval time, and determining the credibility level of the data based on the data credibility.
[0006] In one exemplary embodiment, determining the credibility of data based at least on the data waiting time, the data interval time, and the data receiving interval time, and determining the credibility level of the data based on the data credibility, includes: obtaining a plurality of sequentially decreasing thresholds; determining the credibility of the data based on all the thresholds, the data waiting time, the data interval time, and the data receiving interval time, and determining the credibility level of the data as a corresponding credibility level based on the data credibility, wherein the credibility of the data corresponding to the maximum value among the credibility levels is greater than the maximum value among the thresholds, and the credibility of the data corresponding to the credibility levels other than the maximum value among the credibility levels is between two adjacent thresholds.
[0007] In one exemplary embodiment, the thresholds include a first threshold, a second threshold, a third threshold, and a fourth threshold that decrease sequentially. Determining the credibility level of the data based on all the thresholds, the data waiting time, the data interval time, and the data receiving interval time includes: determining the credibility of the data based on the first threshold, the second threshold, the third threshold, the fourth threshold, the data waiting time, the data interval time, and the data receiving interval time; determining the credibility level of the data as a first credibility level if the credibility level is greater than or equal to the first threshold; determining the credibility level of the data as a second credibility level if the credibility level is greater than or equal to the second threshold and less than the first threshold; determining the credibility level of the data as a third credibility level if the credibility level is greater than or equal to the third threshold and less than the second threshold; and determining the credibility level of the data as a fourth credibility level if the credibility level is greater than or equal to the fourth threshold and less than the third threshold.
[0008] In an exemplary embodiment, the data waiting time includes data waiting time for a first credibility level, data waiting time for a second credibility level, data waiting time for a third credibility level, and data waiting time for a fourth credibility level; determining the credibility of the data based on the first threshold, the second threshold, the third threshold, the fourth threshold, the data waiting time, the data interval duration, and the data reception interval time includes: based on The credibility of the data, wherein believe is the credibility of the data, believe[1] is the first threshold, believe[2] is the second threshold, believe[3] is the third threshold, believe[4] is the fourth threshold, parm[1] is the data waiting time for the first credibility level, parm[2] is the data waiting time for the second credibility level, parm[3] is the data waiting time for the third credibility level, parm[4] is the data waiting time for the fourth credibility level, space is the data interval duration, and time is the data receiving interval time.
[0009] In an exemplary embodiment, after determining the credibility of the data based at least on the data waiting time, the data interval time, and the data receiving interval time, and determining the credibility level of the data based on the data credibility, the method further includes: displaying the credibility level of the data on a display device.
[0010] In one exemplary embodiment, displaying the credibility level of the data on a display device includes: displaying different credibility levels of the data in different colors on the display device; and displaying different credibility levels of the data in different display areas on the display device.
[0011] In one exemplary embodiment, displaying the credibility of the data on a display device includes controlling the display device to repeatedly flash a predetermined number of times to display the credibility of the data.
[0012] In one exemplary embodiment, the data waiting time is longer than the data interval time.
[0013] According to another embodiment of this application, a device for determining the credibility of data is provided. The device includes an acquisition module and a determination module. The acquisition module is used to acquire a data waiting time, a data interval time, and a data receiving interval time. The data waiting time is a preset interval time between two data receptions. The data interval time is a preset interval time between two data credibility determinations. The data receiving interval time is the actual interval time between two data receptions. The determination module is used to determine the credibility of the data based at least on the data waiting time, the data interval time, and the data receiving interval time, and to determine the credibility level of the data based on the data credibility.
[0014] According to another embodiment of this application, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, wherein the computer program, when executed by a processor, implements any of the methods for determining the credibility of the data.
[0015] According to another embodiment of this application, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement any of the methods for determining the credibility of the data.
[0016] This application improves users' trust in BMC web page data by determining the credibility of data based at least on the data waiting time, the data interval time, and the data receiving interval time, and by determining the credibility level of the data based on the data credibility. This prevents users from misjudging the server status and effectively maintains users' high trust in relevant security information, thereby solving the problem of not being able to determine whether the data is credible in existing solutions. Attached Figure Description
[0017] Figure 1This is a hardware structure block diagram of a mobile terminal for a method of determining the credibility of data according to an embodiment of this application.
[0018] Figure 2 This is a flowchart of a method for determining the reliability of data according to an embodiment of this application;
[0019] Figure 3 This is a structural block diagram of a data reliability determination device according to an embodiment of this application. Detailed Implementation
[0020] The embodiments of this application will be described in detail below with reference to the accompanying drawings and examples.
[0021] It should be noted that the terms "first," "second," etc., in the specification, claims, and drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0022] like Figure 1 As shown, the BMC (Battery Management System) is part of the server. It can acquire the server's operational data, such as current power consumption and fan speed, thereby enabling server monitoring and management. The BMC can send the acquired server operational data to the user's computer via the network, and the user's computer will display the data in a web-based manner.
[0023] During this process, BMC sends a large amount of data over the network, resulting in a long transmission time and a long data reception interval. In order to ensure the monitoring effect, this time is difficult to reduce.
[0024] Figure 1 In this embodiment, the application will run on the user's computer host, making full use of the user's computer host's resources and improving data reliability without changing the amount of data sent by the BMC and the data reception interval.
[0025] This embodiment provides a method for determining the reliability of data running on a mobile terminal. Figure 2 This is a flowchart of a method for determining the reliability of data according to an embodiment of this application, such as... Figure 2 As shown, the process includes the following steps:
[0026] Step S102: Obtain the data waiting time, data interval time, and data receiving interval time. The data waiting time is the preset interval between two data receptions, the data interval time is the preset interval between two data reliability determinations, and the data receiving interval time is the actual interval between two data receptions.
[0027] Step S104: Determine the reliability of the data based at least on the above data waiting time, the above data interval time, and the above data receiving interval time, and determine the reliability level of the above data based on the reliability of the above data.
[0028] In the above steps, by determining the credibility of the data based at least on the data waiting time, the data interval time, and the data receiving interval time, and by determining the credibility level of the data based on the credibility of the data, the user's credibility of the BMC web page data is improved, preventing the user from misjudging the server status, effectively maintaining the user's high trust in relevant security information, and thus solving the problem of not being able to determine whether the data is credible in the existing solution.
[0029] BMC: Baseboard Management Controller.
[0030] Web page: generally refers to a visual webpage.
[0031] RESTful APIs are used for communication between web pages and backend data processing.
[0032] In one exemplary embodiment, determining the reliability of data based at least on the data waiting time, the data interval time, and the data receiving interval time, and determining the reliability level of the data based on the reliability of the data, includes: acquiring a plurality of successively decreasing thresholds; determining the reliability of the data based on all the thresholds, the data waiting time, the data interval time, and the data receiving interval time, and determining the reliability level of the data as the corresponding reliability level based on the reliability of the data, wherein the reliability of the data corresponding to the maximum value among the reliability levels is greater than the maximum value among the thresholds, and the reliability of the data corresponding to the reliability levels other than the maximum value among the reliability levels is between two adjacent thresholds.
[0033] Since the highest level requires separate calculation of credibility, the lowest level needs to represent an untrustworthy state with a wide range, and retaining only one state in the middle makes it inconvenient to observe changes in credibility, this embodiment adopts four levels as an exemplary model.
[0034] However, the implementation examples for three and five levels are similar to those for four levels. The formula for three levels can be expressed as:
[0035]
[0036] This means only the lowest level is reduced. For every five levels, an additional lowest level is added. The formula is as follows:
[0037]
[0038] believe[5] is the fifth threshold, and parm[5] is the data waiting time for the fourth confidence level.
[0039] In one exemplary embodiment, the thresholds include a first threshold, a second threshold, a third threshold, and a fourth threshold that decrease sequentially. Determining the credibility level of the data as a corresponding credibility level based on all the thresholds, the data waiting time, the data interval time, and the data receiving interval time includes: determining the credibility of the data based on the first threshold, the second threshold, the third threshold, the fourth threshold, the data waiting time, the data interval time, and the data receiving interval time; determining the credibility level of the data as a first credibility level when the credibility level is greater than or equal to the first threshold; determining the credibility level of the data as a second credibility level when the credibility level is greater than or equal to the second threshold and less than the first threshold; determining the credibility level of the data as a third credibility level when the credibility level is greater than or equal to the third threshold and less than the second threshold; and determining the credibility level of the data as a fourth credibility level when the credibility level is greater than or equal to the fourth threshold and less than the third threshold.
[0040] Specifically, for example, if the credibility of the above data is 92, and the first threshold is 90, the second threshold is 70, the third threshold is 60, and the fourth threshold is 0, then the credibility level of the above data is the first credibility level; as another example, if the credibility of the above data is 80, and the first threshold is 90, the second threshold is 70, the third threshold is 60, and the fourth threshold is 0, then the credibility level of the above data is the second credibility level; as yet another example, if the credibility of the above data is 65, and the first threshold is 90, the second threshold is 70, the third threshold is 60, and the fourth threshold is 0, then the credibility level of the above data is the third credibility level; as yet another example, if the credibility of the above data is 92, and the first threshold is 90, the second threshold is 70, the third threshold is 60, and the fourth threshold is 0, then the credibility level of the above data is the fourth credibility level.
[0041] In an exemplary embodiment, the data waiting time includes data waiting time for a first confidence level, data waiting time for a second confidence level, data waiting time for a third confidence level, and data waiting time for a fourth confidence level; determining the confidence level of the data based on the first threshold, the second threshold, the third threshold, the fourth threshold, the data waiting time, the data interval duration, and the data reception interval includes: based on Determine the credibility of the above data, where believe is the credibility of the above data, believe[1] is the first threshold, believe[2] is the second threshold, believe[3] is the third threshold, believe[4] is the fourth threshold, parm[1] is the data waiting time for the first credibility level, parm[2] is the data waiting time for the second credibility level, parm[3] is the data waiting time for the third credibility level, parm[4] is the data waiting time for the fourth credibility level, space is the data interval duration, and time is the data receiving interval time.
[0042] In one exemplary embodiment, after determining the reliability of the data based at least on the data waiting time, the data interval time, and the data receiving interval, and determining the reliability level of the data based on the data reliability, the method further includes: displaying the reliability level of the data on a display device so that the user can observe the current data reliability level.
[0043] In one exemplary embodiment, displaying the credibility level of the aforementioned data on a display device includes: displaying different credibility levels of the aforementioned data in different colors on the display device; and displaying different credibility levels of the aforementioned data in different display areas on the display device.
[0044] Specifically, for example, if the credibility level of the above data is the first credibility level, the credibility level of the above data is displayed in green; if the credibility level of the above data is the second credibility level, the credibility level of the above data is displayed in yellow-green; if the credibility level of the above data is the third credibility level, the credibility level of the above data is displayed in yellow; if the credibility level of the above data is the fourth credibility level, the credibility level of the above data is displayed in red, but not limited to these colors.
[0045] In one exemplary embodiment, displaying the credibility of the aforementioned data on a display device includes controlling the display device to repeatedly flash a predetermined number of times to display the credibility of the aforementioned data.
[0046] Specifically, for example, if the credibility level of the above data is the first credibility level, the credibility level of the above data will be displayed by flashing 5 times; if the credibility level of the above data is the second credibility level, the credibility level of the above data will be displayed by flashing 2 times; if the credibility level of the above data is the third credibility level, the credibility level of the above data will be displayed by flashing 2 times; if the credibility level of the above data is the fourth credibility level, the credibility level of the above data will be displayed by flashing 2 times.
[0047] In one exemplary embodiment, the data waiting time is longer than the data interval time.
[0048] For example, if the data waiting time is 5, 7, 9, or 15 seconds, and the data interval is 0.1 seconds, this means that the data is calculated using a formula every 0.1 seconds. If the data interval exceeds 5 seconds, then the data reliability cannot be represented in real time, and this method becomes ineffective. Generally, the higher the ratio of the data waiting time to the data receiving interval, the more reliable the system. Conversely, the lower the ratio, the less reliable the system. Ideally, this ratio should be above 10; otherwise, the system can be considered unreliable.
[0049] This application uses the BMC web main page as an example, and its application value is universal to other web pages that receive large amounts of data. The design of the web interface improves data credibility. The web interface performs data credibility calculations in the background and displays the data clearly and accurately through various methods. Since the BMC is limited by hardware and cannot perform better data optimization, this method of improving data credibility does not require BMC cooperation and can be implemented solely by consuming the computing resources of the web interface.
[0050] From the user's perspective:
[0051] Users log in to the BMC web page using their username and password.
[0052] The homepage displays the server's operational status, such as power supply status, heat dissipation status, and log status. (This type of information requires high reliability; for example, information about unstable voltage or abnormal heat dissipation needs to be addressed urgently.)
[0053] Users can determine the credibility and reliability of information by viewing the indicator area next to the corresponding information. This indicator area can be configured with gradient colors, credibility values, special warnings, etc.
[0054] From the administrator's perspective:
[0055] Administrators log in to the BMC web management interface using their administrator account and password.
[0056] The management interface allows configuration of expected parameters, gradient colors, trust values, and special warnings for the four basic trust levels.
[0057] Basic states: Normally trustworthy (first level of trustworthiness), basically trustworthy (second level of trustworthiness), doubtfully trustworthy (third level of trustworthiness), basically untrustworthy (fourth level of trustworthiness), with trustworthiness decreasing in that order (there is no completely untrustworthy state).
[0058] Expected parameter configuration: The BMC acquires data every 3 seconds. The administrator can configure the data waiting time based on the "basic status". The longer the time, the less reliable the data. The data update time interval of the indicator signal area can also be set.
[0059] Gradient color configuration: To facilitate the display of data credibility, the indicator signal area can display gradient colors based on the four states in the "basic state". Colors can be set for the four states. The system calculates the difference between the time and the preset color RGB color values (RGB corresponds to the changes of red, green and blue colors and their superposition to obtain various colors) and displays the credibility of the data through color gradient.
[0060] Trust value configuration: Color display is sometimes not intuitive enough. Based on the four states in "basic state", the indicator signal area can display the signal value. Trust values can be set for the four states respectively. The system can intuitively display the data trustworthiness by calculating the time and the preset trust value. For data with higher trust requirements, the number of decimal places can be set.
[0061] Special warning: A separate alert will be issued when a piece of data is in a state of basic untrustworthiness.
[0062] The user interface is shown in Table 1 below:
[0063] Table 1 User Interface Table
[0064] Indicator signal area Server Status Running status 100, Green Power status normal 80, yellowish-green Fan status normal February 26th, Red Log status 52 articles
[0065] The user interface is shown in Table 2 below:
[0066] Table 2 Administrator Interface
[0067]
[0068] When users use it, they will see that the confidence value of the indicator signal area is updated every set time interval, and the color changes at the same time. When users see that the confidence value is normal and will continue to update, the goal of improving data confidence has been achieved.
[0069] Recommended setting: If the data is updated every 3 seconds, set the normal and reliable data credibility standard to 2 seconds. This way, there will be one second every 3 seconds for updating the data credibility value and color gradient. After the data is successfully acquired, it will be updated to the normal and reliable state.
[0070] The formula in this application can also be transformed into:
[0071] Determine the credibility of the above data, where general is general data, general[1] is the first threshold, general[2] is the second threshold, general[3] is the third threshold, general[4] is the fourth threshold, parm[1] is the data waiting time for the first credibility level, parm[2] is the data waiting time for the second credibility level, parm[3] is the data waiting time for the third credibility level, parm[4] is the data waiting time for the fourth credibility level, space is the data interval time, time is the data receiving interval time, and general can also be replaced by R, G, B, which are red, green, and blue respectively. That is, RGB is the industry standard color, and the change of credibility can be shown by the change of this color value.
[0072] Specifically, the credibility comparison information is shown in the table below:
[0073] Table 3 Reliability Comparison Table
[0074]
[0075] The entities that perform the above steps can be servers, terminals, etc., but are not limited to these.
[0076] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0077] This embodiment also provides a data reliability determination device, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0078] Figure 3 This is a structural block diagram of a data reliability determination device according to an embodiment of this application, such as... Figure 3 As shown, the device includes an acquisition module 31 and a determination module 32. The acquisition module 31 is used to acquire the data waiting time, the data interval time, and the data receiving interval time. The data waiting time is a preset interval between two data receptions, the data interval time is a preset interval between two data reliability determinations, and the data receiving interval time is the actual interval between two data receptions. The determination module 32 is used to determine the reliability of the data based at least on the data waiting time, the data interval time, and the data receiving interval time, and to determine the reliability level of the data based on the reliability of the data.
[0079] In the aforementioned device, the reliability of the data is determined based on at least the data waiting time, the data interval time, and the data receiving interval time. Based on the reliability of the data, the reliability level of the data is determined, which improves the user's trust in the data of the BMC web page, prevents the user from misjudging the server status, effectively maintains the user's high trust in relevant security information, and thus solves the problem of not being able to determine whether the data is reliable in the existing solution.
[0080] In an exemplary embodiment, the determining module includes an acquisition submodule and a first determining submodule. The acquisition submodule is used to acquire a plurality of successively decreasing thresholds. The first determining submodule is used to determine the credibility of the data based on all the aforementioned thresholds, the aforementioned data waiting time, the aforementioned data interval time, and the aforementioned data receiving interval time, and to determine the credibility level of the data as a corresponding credibility level based on the credibility of the data. The credibility of the data corresponding to the maximum value among the aforementioned credibility levels is greater than the maximum value among the aforementioned thresholds, and the credibility of the data corresponding to the aforementioned credibility levels other than the maximum value among the aforementioned credibility levels is between two adjacent thresholds.
[0081] In an exemplary embodiment, the thresholds include a first threshold, a second threshold, a third threshold, and a fourth threshold that decrease sequentially. The first determining submodule includes a second determining submodule, a third determining submodule, a fourth determining submodule, a fifth determining submodule, and a sixth determining submodule. The second determining submodule is used to determine the reliability of the data based on the first threshold, the second threshold, the third threshold, the fourth threshold, the data waiting time, the data interval time, and the data receiving interval time. The third determining submodule is used to determine the reliability level of the data as a first reliability level if the reliability of the data is greater than or equal to the first threshold. The fourth determining submodule is used to determine the credibility level of the data as the second credibility level when the credibility of the data is greater than or equal to the second threshold and less than the first threshold; the fifth determining submodule is used to determine the credibility level of the data as the third credibility level when the credibility of the data is greater than or equal to the third threshold and less than the second threshold; the sixth determining submodule is used to determine the credibility level of the data as the fourth credibility level when the credibility of the data is greater than or equal to the fourth threshold and less than the third threshold.
[0082] Specifically, for example, if the credibility of the above data is 92, and the first threshold is 90, the second threshold is 70, the third threshold is 60, and the fourth threshold is 0, then the credibility level of the above data is the first credibility level; as another example, if the credibility of the above data is 80, and the first threshold is 90, the second threshold is 70, the third threshold is 60, and the fourth threshold is 0, then the credibility level of the above data is the second credibility level; as yet another example, if the credibility of the above data is 65, and the first threshold is 90, the second threshold is 70, the third threshold is 60, and the fourth threshold is 0, then the credibility level of the above data is the third credibility level; as yet another example, if the credibility of the above data is 92, and the first threshold is 90, the second threshold is 70, the third threshold is 60, and the fourth threshold is 0, then the credibility level of the above data is the fourth credibility level.
[0083] In an exemplary embodiment, the aforementioned data waiting time includes data waiting time for a first confidence level, data waiting time for a second confidence level, data waiting time for a third confidence level, and data waiting time for a fourth confidence level; the second determining submodule includes a seventh determining submodule, which is used to determine based on Determine the credibility of the above data, where believe is the credibility of the above data, believe[1] is the first threshold, believe[2] is the second threshold, believe[3] is the third threshold, believe[4] is the fourth threshold, parm[1] is the data waiting time for the first credibility level, parm[2] is the data waiting time for the second credibility level, parm[3] is the data waiting time for the third credibility level, parm[4] is the data waiting time for the fourth credibility level, space is the data interval duration, and time is the data receiving interval time.
[0084] In one exemplary embodiment, the apparatus further includes a processing module that, after determining the reliability of the data based at least on the data waiting time, the data interval time, and the data receiving interval, and determining the reliability level of the data based on the data reliability, displays the data reliability level on a display device so that the user can observe the current data reliability level.
[0085] In an exemplary embodiment, the processing module includes a first display submodule and a second display submodule. The first display submodule is used to display different confidence levels of the aforementioned data in different colors on a display device. The second display submodule is used to display different confidence levels of the aforementioned data in different display areas on the display device.
[0086] Specifically, for example, if the credibility level of the above data is the first credibility level, the credibility level of the above data is displayed in green; if the credibility level of the above data is the second credibility level, the credibility level of the above data is displayed in yellow-green; if the credibility level of the above data is the third credibility level, the credibility level of the above data is displayed in yellow; and if the credibility level of the above data is the fourth credibility level, the credibility level of the above data is displayed in red.
[0087] In one exemplary embodiment, displaying the credibility of the aforementioned data on a display device includes controlling the display device to repeatedly flash a predetermined number of times to display the credibility of the aforementioned data.
[0088] Specifically, for example, if the credibility level of the above data is the first credibility level, the credibility level of the above data will be displayed by flashing 5 times; if the credibility level of the above data is the second credibility level, the credibility level of the above data will be displayed by flashing 2 times; if the credibility level of the above data is the third credibility level, the credibility level of the above data will be displayed by flashing 2 times; if the credibility level of the above data is the fourth credibility level, the credibility level of the above data will be displayed by flashing 2 times.
[0089] In one exemplary embodiment, the data waiting time is longer than the data interval time.
[0090] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.
[0091] Embodiments of this application also provide a computer-readable storage medium storing a computer program configured to execute the steps in any of the above method embodiments at runtime. By determining the reliability of data based at least on the data waiting time, the data interval time, and the data reception interval, and determining the reliability level of the data based on the reliability of the data, the user's trust in the data of the BMCweb page is improved, preventing the user from misjudging the server status, effectively maintaining the user's high trust in relevant security information, thereby solving the problem in existing solutions that cannot determine whether the data is reliable.
[0092] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.
[0093] Embodiments of this application also provide an electronic device, including a memory and a processor. The memory stores a computer program, and the processor is configured to run the computer program to perform the steps in any of the above method embodiments. By determining the reliability of data based at least on the data waiting time, the data interval time, and the data reception interval time, and determining the reliability level of the data based on the reliability of the data, the user's trust in the data of the BMCweb page is improved, preventing the user from misjudging the server status, effectively maintaining the user's high trust in relevant security information, thereby solving the problem in existing solutions of not being able to determine whether the data is reliable.
[0094] In one exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.
[0095] Specific examples in this embodiment can be found in the examples described in the above embodiments and exemplary implementations, and will not be repeated here.
[0096] Obviously, those skilled in the art should understand that the modules or steps of this application described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented here, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, this application is not limited to any particular combination of hardware and software.
[0097] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this application should be included within the protection scope of this application.
Claims
1. A method for determining the reliability of data, characterized in that, include: The data waiting time, data interval time, and data receiving interval time are obtained. The data waiting time is a preset interval between two data receptions, the data interval time is a preset interval between two data reliability determinations, and the data receiving interval time is the actual interval between two data receptions. The reliability of the data is determined based at least on the data waiting time, the data interval time, and the data receiving interval time, and the reliability level of the data is determined based on the reliability of the data. The reliability of the data is determined based at least on the data waiting time, the data interval time, and the data reception interval time, and the reliability level of the data is determined based on the reliability of the data, including: Obtain multiple thresholds that decrease sequentially; The credibility of the data is determined based on all the thresholds, the data waiting time, the data interval time, and the data receiving interval time. The credibility level of the data is determined based on the credibility of the data. The credibility of the data corresponding to the maximum value of the credibility level is greater than the maximum value of the threshold. The credibility of the data corresponding to the credibility level other than the maximum value of the credibility level is between two adjacent thresholds. The data waiting time includes the data waiting time for the first credibility level, the data waiting time for the second credibility level, the data waiting time for the third credibility level, and the data waiting time for the fourth credibility level; the thresholds include a first threshold, a second threshold, a third threshold, and a fourth threshold that decrease sequentially. Based on all the thresholds, the data waiting time, the data interval duration, and the data reception interval, the credibility level of the data is determined as the corresponding credibility level, including: according to The credibility of the data is determined, where believe is the credibility of the data, believe[1] is the first threshold, believe[2] is the second threshold, believe[3] is the third threshold, believe[4] is the fourth threshold, parm[1] is the data waiting time for the first credibility level, parm[2] is the data waiting time for the second credibility level, parm[3] is the data waiting time for the third credibility level, parm[4] is the data waiting time for the fourth credibility level, space is the data interval duration, and time is the data receiving interval time.
2. The method according to claim 1, characterized in that, The thresholds include a first threshold, a second threshold, a third threshold, and a fourth threshold that decrease sequentially. Based on all the thresholds, the data waiting time, the data interval time, and the data reception interval, the credibility level of the data is determined as a corresponding credibility level, including: If the credibility of the data is greater than or equal to the first threshold, the credibility level of the data is determined to be the first credibility level; If the credibility of the data is greater than or equal to the second threshold and the credibility of the data is less than the first threshold, the credibility level of the data is determined to be the second credibility level. If the credibility of the data is greater than or equal to the third threshold and the credibility of the data is less than the second threshold, the credibility level of the data is determined to be the third credibility level. If the credibility of the data is greater than or equal to the fourth threshold and the credibility of the data is less than the third threshold, the credibility level of the data is determined to be the fourth credibility level.
3. The method according to claim 1, characterized in that, After determining the reliability of the data based at least on the data waiting time, the data interval time, and the data receiving interval time, and determining the reliability level of the data based on the data reliability, the method further includes: The credibility level of the data is displayed on a display device.
4. The method according to claim 3, characterized in that, Displaying the credibility level of the data on a display device includes: Different credibility levels of the data are displayed in different colors on the display device; The different credibility levels of the data are displayed in different display areas on the display device.
5. The method according to claim 3, characterized in that, Displaying the credibility of the data on a display device includes: The display device is controlled to flash repeatedly a predetermined number of times to demonstrate the credibility of the data.
6. The method according to any one of claims 1 to 5, characterized in that, The data waiting time is longer than the data interval time.
7. A device for determining the reliability of data, characterized in that, include: The acquisition module is used to acquire the data waiting time, the data interval time, and the data receiving interval time. The data waiting time is a preset interval between two data receptions, the data interval time is a preset interval between two data reliability determinations, and the data receiving interval time is the actual interval between two data receptions. The determination module is used to determine the reliability of the data based at least on the data waiting time, the data interval time, and the data receiving interval time, and to determine the reliability level of the data based on the reliability of the data. The data credibility determination device is also used to perform the following steps: Obtain multiple thresholds that decrease sequentially; The credibility of the data is determined based on all the thresholds, the data waiting time, the data interval time, and the data receiving interval time. The credibility level of the data is determined based on the credibility of the data. The credibility of the data corresponding to the maximum value of the credibility level is greater than the maximum value of the threshold. The credibility of the data corresponding to the credibility level other than the maximum value of the credibility level is between two adjacent thresholds. The data waiting time includes the data waiting time for the first confidence level, the second confidence level, the third confidence level, and the fourth confidence level; the thresholds include a first threshold, a second threshold, a third threshold, and a fourth threshold that decrease sequentially. according to The credibility of the data is determined, where believe is the credibility of the data, believe[1] is the first threshold, believe[2] is the second threshold, believe[3] is the third threshold, believe[4] is the fourth threshold, parm[1] is the data waiting time for the first credibility level, parm[2] is the data waiting time for the second credibility level, parm[3] is the data waiting time for the third credibility level, parm[4] is the data waiting time for the fourth credibility level, space is the data interval duration, and time is the data receiving interval time.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the method for determining the credibility of data as described in any one of claims 1 to 6.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method for determining the credibility of data as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Method and related equipment for determining whether page is hijacked or not
CN103051722A
Method and device for determining credible contact information of client, computer equipment and storage medium
CN110413654A