Volume testing method and device, electronic equipment and storage medium
The server-side control terminal adjusts the volume test data, which solves the problem of high labor and time consumption of existing volume testing methods, realizes automated testing, and improves efficiency and accuracy.
Patent Information
- Application Number
- CN202510036957.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-09
- Publication Date
- 2025-05-16
AI Technical Summary
The existing volume testing methods require a lot of manpower and time for the engineer to adjust, resulting in high testing costs, low efficiency, and possible manual errors.
The control command is sent through the server side, and the terminal determines the alarm volume according to the instructions and collects test data. The server side determines whether the data meets the preset standards. If it does not meet the standards, adjust the volume until it meets the standards.
Automatic volume testing is realized, reducing manual intervention and errors, reducing testing costs, improving testing efficiency and the accuracy and reliability of equipment alarms.
Smart Images

Figure CN120018043A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of volume testing, and in particular to a volume testing method and device, an electronic device, and a storage medium. Background Art
[0002] In the related art, the existing volume testing method requires R&D engineers to continuously adjust the volume of the high, medium and low alarm levels of the portable infusion pump to determine whether the alarm volume standard is met.
[0003] Therefore, in the actual application of the volume test method, a large amount of manpower and time of engineers will be consumed, the cost of the test will be increased, and the test efficiency will be reduced. At the same time, manual operation may also result in errors.
[0004] In summary, the technical problems existing in the relevant technologies need to be improved. Summary of the invention
[0005] The main purpose of the embodiments of the present application is to provide a volume testing method and device, an electronic device and a storage medium, aiming to realize automated volume testing.
[0006] To achieve the above object, an embodiment of the present application provides a volume test method, which includes the following steps:
[0007] Sending a control instruction through the server, wherein the control instruction includes an alarm level, and the alarm level includes at least one of a low-level alarm, a medium-level alarm, and a high-level alarm;
[0008] Determining, by the terminal, a first alarm volume according to the control instruction and an alarm volume setting of the terminal, wherein the alarm volume setting includes the alarm level and its corresponding terminal alarm volume;
[0009] Sending a first alarm sound through the terminal, the first alarm sound uses a first alarm volume;
[0010] Collecting alarm volume test data of the first alarm sound;
[0011] Obtaining the alarm volume preset standard through the server, and determining whether the alarm volume test data meets the alarm volume preset standard, wherein the alarm volume preset standard corresponds to the alarm level;
[0012] If the server side is in the calibration working mode and the alarm volume test data does not meet the alarm volume preset standard, the first alarm volume is adjusted to obtain the second alarm volume, the second alarm volume is used as the first alarm volume, and the process returns to the step of emitting the first alarm sound through the terminal until the server side is in the calibration working mode and the alarm volume test data meets the alarm volume preset standard.
[0013] In some embodiments, the method further comprises:
[0014] If the server side is in calibration working mode and the alarm volume test data meets the alarm volume preset standard, the volume calibration test software in the server side records the test pass data, and the test pass data includes the alarm level and the alarm volume test data.
[0015] In some embodiments, the method further comprises:
[0016] Sending the test pass data to the terminal via the server;
[0017] The alarm volume setting of the terminal is updated by the terminal according to the alarm level and the alarm volume test data.
[0018] In some embodiments, the method further comprises:
[0019] If the server is in the test working mode and the alarm volume test data meets the alarm volume preset standard, the alarm level, the alarm volume test data, the alarm volume preset standard and the test pass mark are displayed on the alarm volume test interface of the server.
[0020] In some embodiments, the method further comprises:
[0021] If the server is in the test working mode and the alarm volume test data does not meet the alarm volume preset standard, the alarm level, the alarm volume test data, the alarm volume preset standard and the test failure mark are displayed on the alarm volume test interface of the server.
[0022] In some embodiments, the method further comprises:
[0023] Receive environmental volume data through the server, where the environmental volume data represents the noise of the current environment;
[0024] If the ambient volume is greater than the data noise threshold, a third prompt is given.
[0025] In some embodiments, if the ambient volume is greater than the data noise threshold, a third prompt is performed, including:
[0026] If the environmental volume is greater than the data noise threshold, the environmental volume, the data noise threshold and a prohibition test mark are displayed on the alarm volume test interface of the server.
[0027] To achieve the above object, another aspect of an embodiment of the present application provides a volume test device, the device comprising:
[0028] An instruction issuing module, used for sending a control instruction through a server, wherein the control instruction includes an alarm level, and the alarm level includes at least one of a low-level alarm, a medium-level alarm, and a high-level alarm;
[0029] A volume determination module, configured to determine a first alarm volume through a terminal according to the control instruction and an alarm volume setting of the terminal, wherein the alarm volume setting includes the alarm level and its corresponding terminal alarm volume;
[0030] An alarm module, configured to send out a first alarm sound through the terminal, wherein the first alarm sound adopts a first alarm volume;
[0031] A volume collection module, used for collecting the alarm volume test data of the first alarm sound;
[0032] A judgment module, used for obtaining an alarm volume preset standard through a server, and judging whether the alarm volume test data meets the alarm volume preset standard, wherein the alarm volume preset standard corresponds to the alarm level;
[0033] The adjustment module is used to adjust the first alarm volume to obtain a second alarm volume if the server side is in a calibration working mode and the alarm volume test data does not meet the alarm volume preset standard, use the second alarm volume as the first alarm volume, and return to the step of emitting a first alarm sound through the terminal until the server side is in a calibration working mode and the alarm volume test data meets the alarm volume preset standard.
[0034] To achieve the above-mentioned purpose, another aspect of an embodiment of the present application provides an electronic device, the electronic device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the above-mentioned method when executing the computer program.
[0035] To achieve the above objective, another aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described above is implemented.
[0036] The embodiments of the present application include at least the following beneficial effects: the present application provides a volume testing method and device, an electronic device and a storage medium, the scheme sends a control instruction through a server; determines a first alarm volume through a terminal according to the control instruction and the alarm volume setting of the terminal; emits a first alarm sound through the terminal; collects alarm volume test data of the first alarm sound, and controls the terminal to alarm by the server, thereby reducing manual workload; obtains the alarm volume preset standard through the server, and determines whether the alarm volume test data meets the alarm volume preset standard, which is beneficial to improving the accuracy and reliability of the equipment alarm; if the server is in a calibration working mode and the alarm volume test data does not meet the alarm volume preset standard, the first alarm volume is adjusted to obtain a second alarm volume, and the second alarm volume is used as the first alarm volume, and the step of emitting the first alarm sound through the terminal is returned until the server is in a calibration working mode and the alarm volume test data meets the alarm volume preset standard, and the automatic testing process reduces manual intervention, reduces manual workload and human errors, reduces testing costs, and improves the intelligence level and testing efficiency of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 is a flow chart of a volume testing method provided in an embodiment of the present application;
[0038] Figure 2 is a flow chart of the calibration steps of the volume testing method provided in an embodiment of the present application;
[0039] Figure 3 is a flow chart of the steps of displaying test results of the volume test method provided in an embodiment of the present application;
[0040] Figure 4 is a flow chart of the noise testing steps of the volume testing method provided in an embodiment of the present application;
[0041] Figure 5 It is a structural schematic diagram of a portable infusion pump alarm volume automatic calibration and testing system provided in an embodiment of the present application;
[0042] Figure 6 It is a framework structure diagram of the volume calibration test software provided in the embodiment of the present application;
[0043] Figure 7 It is a functional display diagram of the volume calibration test software provided in the embodiment of the present application;
[0044] Figure 8 is a flow chart of the volume test method provided in an embodiment of the present application applied to a portable infusion pump;
[0045] Fig. 9 is a structural schematic diagram of a volume testing device provided in an embodiment of the present application;
[0046] Fig.10 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. They are only examples of devices and methods consistent with some aspects of the embodiments of the present application as detailed in the attached claims.
[0048] It is understood that the terms "first", "second", etc. used in this application can be used to describe various concepts in this article, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another concept. For example, without departing from the scope of the embodiment of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination".
[0049] The terms "at least one", "multiple", "each", "any", etc. used in this application, at least one includes one, two or more, multiple includes two or more, each refers to each of the corresponding multiple, and any refers to any one of the multiple.
[0050] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0051] Before describing the embodiments of the present application in detail, some nouns and terms involved in the embodiments of the present application are first described. The nouns and terms involved in the embodiments of the present application are subject to the following explanations.
[0052] 1) Cross-platform application framework: a development framework that helps developers build applications on multiple different platforms without having to write application code separately for each platform.
[0053] In the related art, there is a cross-end development method, that is, developing applications based on a cross-end application framework. The cross-end application framework can support building applications in a single code base and running them on multiple platform terminals at the same time. By sharing code and resources, it can improve the development efficiency and code reusability of applications. However, in actual applications, it is found that there are differences between the application programming interfaces used by some platform terminals and the application programming interface types supported by the cross-end application framework, which makes it difficult for applications developed based on the cross-end application framework to truly achieve cross-end use, affecting the development efficiency of the application.
[0054] For example, some platform terminals may only provide synchronous application programming interfaces and support synchronous calls to implement business data processing. However, some applications developed using cross-end application frameworks are difficult to use across terminals because the cross-end application frameworks implement business data processing based on asynchronous application programming interfaces. In related technologies, JSI (JavaScr ipt I nterface) is used to perform compatibility processing on the calling methods of applications developed using cross-end application frameworks, which can help achieve consistency of multi-end codes of applications and reduce the cost of application code development. However, this method is based on synchronous calls to read and write business data on disk, which is prone to serious blocking problems. In some platforms with poor performance or business scenarios with frequent data storage calls, application crashes or abnormal terminations often occur, resulting in poor stability of the application and affecting the user experience.
[0055] In view of this, a volume test method, device, equipment and medium are provided in an embodiment of the present application. The scheme detects the stage of the target application, and the target application is developed by using a cross-end application framework using an asynchronous application programming interface. When the target application is in the startup stage, the business data corresponding to the target application is queried from the persistent storage unit, and the business data is transferred to the temporary storage unit. When the target application is in the running stage, for both data read requests and data write requests, the request processing is implemented based on the temporary storage unit through synchronous calls, which can facilitate the cross-end development of the application. Moreover, since the request is processed by the temporary storage unit in this scheme, the blocking problem of the persistent storage unit can be alleviated, and the probability of application crash or abnormal termination can be reduced, which is conducive to improving the running stability of the application.
[0056] The volume test method provided in the embodiment of the present application relates to the field of volume test technology. The volume test method provided in the embodiment of the present application can be applied to a terminal, can also be applied to a server, and can also be software running in a terminal or a server. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and a car terminal, etc., but is not limited to this; the server side can be configured as an independent physical server, or it can be configured as a server cluster or a distributed system composed of multiple physical servers, and can also be configured to provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms and other basic cloud computing services. The cloud server, the server can also be a node server in the blockchain network; the software can be an application that implements the volume test method, etc., but is not limited to the above forms.
[0057] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0058] It should be noted that in each specific implementation of the present application, when it comes to the need to perform relevant processing based on data related to user identity or characteristics such as user information, user behavior data, user historical data, and user location information, the user's permission or consent will be obtained first, and the collection, use, and processing of these data will comply with relevant laws, regulations, and standards. In addition, when the embodiment of the present application needs to obtain the user's sensitive personal information, the user's separate permission or consent will be obtained through a pop-up window or by jumping to a confirmation page. After clearly obtaining the user's separate permission or consent, the necessary user-related data for the normal operation of the embodiment of the present application will be obtained.
[0059] Figure 1 is an optional flow chart of the volume test method provided in an embodiment of the present application. Figure 1The method may include but is not limited to steps S101 to S106.
[0060] Step S101, sending a control instruction through the server.
[0061] Specifically, the control instruction includes an alarm level, and the alarm level includes at least one of a low-level alarm, a medium-level alarm, and a high-level alarm. The server side includes a calibration working mode and a test working mode.
[0062] In some embodiments, the control instruction is sent to the terminal through the server.
[0063] It is understandable that the server may send the control instruction to a single terminal or to multiple terminals.
[0064] In this embodiment, the control instruction is sent by the server to prepare for the subsequent volume test.
[0065] Step S102: determining a first alarm volume by the terminal according to a control instruction and an alarm volume setting of the terminal.
[0066] Specifically, the alarm volume setting includes an alarm level and its corresponding terminal alarm volume.
[0067] It is understandable that the terminal device pre-configures a default alarm volume corresponding to each alarm level in the alarm volume setting.
[0068] Exemplarily, the low-level alarm volume is 60dB, the medium-level alarm volume is 75dB, and the high-level alarm volume is 90dB.
[0069] In some embodiments, according to the alarm level of the control instruction, the corresponding first alarm volume is determined from the alarm volume setting.
[0070] In this embodiment, the terminal determines the first alarm volume according to the control instruction and the alarm volume setting of the terminal, and automatically sets the volume according to the control instruction without manual adjustment, thereby reducing manual workload and manual errors and improving the accuracy and efficiency of volume testing.
[0071] Step S103: a first alarm sound is issued through the terminal.
[0072] Specifically, the first alarm sound uses a first alarm volume.
[0073] It is understandable that the control instruction also includes the alarm sound on and off control operation.
[0074] In some embodiments, the terminal emits the first alarm sound according to the first alarm volume.
[0075] In this embodiment, the first alarm sound is emitted by the terminal to prepare for the subsequent volume test.
[0076] Step S104, collecting alarm volume test data of the first alarm sound.
[0077] In some embodiments, the actual volume of the first alarm sound is tested by a volume meter or a built-in sensor to collect alarm volume test data.
[0078] The alarm volume test data includes one or a combination of high-level alarm volume test data, medium-level alarm volume test data and low-level alarm volume test data.
[0079] Furthermore, a plurality of test points may be arranged around the terminal, and the alarm volume test data of the first alarm sound may be collected through a plurality of volume meters.
[0080] Exemplarily, four volume meters are used, and the volume meters are respectively located at four test points in the east, south, west and north of the portable infusion pump body, wherein the distance between the volume meter and the terminal is adjusted by a slide.
[0081] In this embodiment, the alarm volume test data of the first alarm sound is collected. Real-time data collection is helpful for subsequent determination of whether the volume meets the standard, thereby improving the accuracy and real-time performance of the volume test.
[0082] Step S105, obtaining the alarm volume preset standard through the server, and determining whether the alarm volume test data meets the alarm volume preset standard.
[0083] Specifically, the alarm volume preset standard corresponds to the alarm level.
[0084] In some embodiments, the alarm volume preset standard corresponding to the alarm level is obtained through the server.
[0085] Among them, if the alarm volume test data is less than the alarm volume preset standard, it is determined that the alarm volume test data does not meet the alarm volume preset standard; if the alarm volume test data is greater than or equal to the alarm volume preset standard, it is determined that the alarm volume test data meets the alarm volume preset standard.
[0086] Further, the maximum volume value of the alarm volume test data and the minimum value of the alarm volume preset standard are determined. If the maximum volume value does not meet the minimum value of the alarm volume preset standard, it is determined that the alarm volume test data does not meet the alarm volume preset standard.
[0087] In this embodiment, the alarm volume preset standard is obtained through the server side, and it is determined whether the alarm volume test data meets the alarm volume preset standard. Through automated judgment, human errors are reduced, the accuracy and efficiency of the volume test are improved, and the reliability of the device alarm is improved.
[0088] Step S106, if the server side is in the calibration working mode and the alarm volume test data does not meet the alarm volume preset standard, the first alarm volume is adjusted to obtain the second alarm volume, and the second alarm volume is used as the first alarm volume, and the process returns to the step of emitting the first alarm sound through the terminal until the server side is in the calibration working mode and the alarm volume test data meets the alarm volume preset standard.
[0089] It is understandable that in the calibration working mode, the alarm volume can be adjusted according to the volume test result.
[0090] In some embodiments, if the server is in a calibration working mode and the alarm volume test data does not meet the alarm volume preset standard, the first alarm volume is adjusted to obtain the second alarm volume.
[0091] It is understandable that the first alarm volume can be adjusted by sending an instruction from the server or by manual operation of the user. The control instruction includes a volume adjustment operation.
[0092] Optionally, the volume adjustment range may be preset or determined dynamically.
[0093] For example, if the alarm volume test data is lower than the alarm volume preset standard, the server can send an instruction or the user can manually operate to let the terminal increase the volume, re-send the alarm sound and test.
[0094] In some embodiments, the server sends a volume adjustment instruction to the terminal, wherein the volume adjustment instruction includes the second alarm volume.
[0095] Further, the second alarm volume is used as the first alarm volume, and the process returns to the step of emitting the first alarm sound through the terminal until the server is in the calibration working mode and the alarm volume test data meets the alarm volume preset standard.
[0096] It is understandable that after each adjustment of the volume, the first alarm tone is re-sent through the terminal, and the volume test data is collected again. If the new volume still does not meet the standard, the adjustment is continued until the preset standard is met.
[0097] After each volume adjustment, the terminal may be caused to re-send the first alarm sound through a volume adjustment instruction, or through a manual operation of the user.
[0098] Furthermore, when the alarm volume meets the standard, the server can automatically exit the calibration working mode and return to the normal working mode.
[0099] It is understandable that if the standard is still not met after multiple adjustments, the server can notify the operator through an interface display or sound prompt.
[0100] Furthermore, if the server side is in calibration working mode, the volume of low-level alarm sounds can be calibrated; the volume of intermediate alarm sounds can be calibrated based on the volume of low-level alarm sounds; the volume of high-level alarm sounds can be calibrated based on the volume of intermediate alarm sounds, thereby completing the volume calibration of all levels.
[0101] In this embodiment, if the server side is in the calibration working mode and the alarm volume test data does not meet the alarm volume preset standard, the first alarm volume is adjusted to obtain the second alarm volume, and the second alarm volume is used as the first alarm volume, and the step of emitting the first alarm sound through the terminal is returned until the server side is in the calibration working mode and the alarm volume test data meets the alarm volume preset standard. This is beneficial to improving the accuracy and reliability of equipment alarms, reducing manual intervention through the automatic adjustment and optimization process, reducing manual workload and human errors, reducing testing costs, and improving the intelligence level and testing efficiency of the system.
[0102] In steps S101 to S106 shown in the embodiment of the present application, a control instruction is sent through the server; a first alarm volume is determined through the terminal according to the control instruction and the alarm volume setting of the terminal; a first alarm sound is emitted through the terminal; the alarm volume test data of the first alarm sound is collected, and the server controls the terminal to alarm, thereby reducing manual workload; the alarm volume preset standard is obtained through the server, and it is determined whether the alarm volume test data meets the alarm volume preset standard, which is beneficial to improving the accuracy and reliability of the equipment alarm; if the server is in the calibration working mode, and the alarm volume test data does not meet the alarm volume preset standard, the first alarm volume is adjusted to obtain the second alarm volume, and the second alarm volume is used as the first alarm volume, and the step of emitting the first alarm sound through the terminal is returned until the server is in the calibration working mode and the alarm volume test data meets the alarm volume preset standard. The automatic testing process reduces manual intervention, reduces manual workload and human errors, reduces testing costs, and improves the intelligence level and testing efficiency of the system.
[0103] See also Figure 2 In some embodiments, the volume test method provided in the embodiment of the present application further includes a calibration step, which may include but is not limited to steps S201 to S203:
[0104] Step S201, if the server is in calibration working mode and the alarm volume test data meets the alarm volume preset standard, the volume calibration test software in the server records the test pass data.
[0105] Specifically, the test pass data includes alarm level and alarm volume test data.
[0106] In step S201 of some embodiments, if the server is in calibration working mode and the alarm volume test data meets the alarm volume preset standard, the alarm level and the passed alarm volume test data are recorded by the volume calibration test software.
[0107] Step S202: Send the test pass data to the terminal through the server.
[0108] In step S202 of some embodiments, the test pass data is calibrated to the terminal through volume calibration test software.
[0109] Step S203, updating the alarm volume setting of the terminal according to the alarm level and the alarm volume test data through the terminal.
[0110] In step S203 of some embodiments, the terminal updates the alarm volume setting corresponding to the alarm level of the terminal according to the alarm level and the alarm volume test data.
[0111] In this embodiment, the terminal updates the alarm volume setting of the terminal according to the alarm level and the alarm volume test data to achieve automatic volume calibration, which is conducive to accurately adjusting the alarm volume, reducing manual intervention, and improving calibration efficiency and accuracy.
[0112] See also Figure 3 In some embodiments, the volume test method provided in the embodiment of the present application further includes a step of displaying the test results. The step of displaying the test results may include but is not limited to steps S301 to S302:
[0113] Step S301, if the server is in the test working mode and the alarm volume test data meets the alarm volume preset standard, the alarm level, alarm volume test data, alarm volume preset standard and test pass mark are displayed on the alarm volume test interface of the server.
[0114] In step S301 of some embodiments, if the server is in a test working mode and the alarm volume test data meets the alarm volume preset standard, the volume test is passed and the test result is displayed on the alarm volume test interface of the server.
[0115] Among them, if the alarm volume test data is greater than or equal to the alarm volume preset standard, it is determined that the alarm volume test data meets the alarm volume preset standard.
[0116] Furthermore, the user is prompted through a visual page that the volume test is successful, and the alarm level, alarm volume test data, alarm volume preset standard and test pass mark are displayed on the alarm volume test interface on the server side.
[0117] Step S302, if the server is in the test working mode and the alarm volume test data does not meet the alarm volume preset standard, the alarm level, alarm volume test data, alarm volume preset standard and test failure mark are displayed on the alarm volume test interface of the server.
[0118] In step S302 of some embodiments, if the server is in the test working mode and the alarm volume test data does not meet the alarm volume preset standard, the volume test fails.
[0119] Wherein, if the alarm volume test data is less than the alarm volume preset standard, it is determined that the alarm volume test data does not meet the alarm volume preset standard.
[0120] Furthermore, the user is prompted through a visual page that the volume test has failed, and the alarm level, alarm volume test data, alarm volume preset standard and test failure mark are displayed on the alarm volume test interface on the server side.
[0121] See also Figure 4 In some embodiments, the noise testing step of the volume testing method provided in the embodiment of the present application may include but is not limited to steps S401 to S402:
[0122] Step S401, receiving environmental volume data through the server.
[0123] Specifically, the environmental volume data represents the noise of the current environment.
[0124] In step S401 of some embodiments, before the test starts, ambient volume data of the current environment is collected through a volume meter, and volume test data of the current environment uploaded by the volume meter is obtained through the server.
[0125] Step S402: If the ambient volume is greater than the data noise threshold, a third prompt is given.
[0126] It is understandable that if the ambient noise is too loud, the volume test effect will be affected, so the volume test cannot be performed.
[0127] In step S402 of some embodiments, if the ambient volume is greater than the data noise threshold, the ambient volume, the data noise threshold and a prohibition test mark are displayed on the alarm volume test interface of the server.
[0128] In some embodiments, the volume test method provided in the embodiment of the present application is applied to an optional flow chart of a portable infusion pump alarm volume automatic calibration and testing system. The structural schematic diagram of the portable infusion pump alarm volume automatic calibration and testing system is as shown in FIG. Figure 5 shown.
[0129] Specifically, the portable infusion pump alarm volume automatic calibration and testing system includes: a number of volume meters 1, a portable infusion pump body 2 and a PC terminal 3, the PC terminal 3 is integrated with volume calibration test software, the number of volume meters 1 are respectively located at test points around the portable infusion pump body 2, and are respectively electrically connected to the input terminals of the PC terminal 3, and the PC terminal 3 is bidirectionally connected to the portable infusion pump body 2 for communication.
[0130] Among them, the volume meter 1 is used to obtain the alarm volume test data of the portable infusion pump body 2 and send it to the PC end 3. The alarm volume test data includes one or a combination of high-level alarm volume test data, intermediate alarm volume test data and low-level alarm volume test data.
[0131] Among them, the portable infusion pump body 2 is used to generate corresponding alarm sound control operations based on the control instructions sent by the PC terminal 3; the PC terminal 3 has a calibration working mode and a test working mode.
[0132] It should be noted that when the PC terminal 3 is in the calibration working mode, the portable infusion pump body 2 is remotely controlled to alarm with low, medium and high alarm volumes in turn; the test data of several volume meters 1 are obtained respectively and the volume test data of the current alarm level is used to determine whether it meets the preset standard; in response to the volume test data of the current alarm level not meeting the preset standard, the portable infusion pump body 2 is controlled to adjust the volume of the current alarm and retest until the high, medium and low alarm volumes all meet the preset standard.
[0133] Further, in response to the volume test data of the current alarm level meeting the preset standard, the volume calibration test software on the PC 3 records the volume values that have passed the test corresponding to different alarm volume levels, and calibrates them to the portable infusion pump body 2.
[0134] Optionally, when the PC terminal 3 is in the test working mode, the portable infusion pump body 2 is remotely controlled in turn to test the high-level, medium-level and low-level alarm volumes; the alarm volume test data for different volume alarm levels sent by N volume meters 1 are obtained; the volume calibration test software in the PC terminal 3 determines whether the preset standard is met based on the volume test data of the current alarm level; in response to the volume test data of the current alarm level meeting the preset standard, a first prompt is given; in response to the volume test data of the current alarm level not meeting the preset standard, a second prompt is given.
[0135] Among them, the first prompt may be to display on the PC end 3 interface that the test is passed, and the second prompt may be to display on the PC end 3 interface that the test is failed.
[0136] Preferably, the plurality (N) of volume meters 1 include four volume meters, which are respectively located at four test points in the southeast, northwest, and northeast directions centered on the portable infusion pump body 2 , and the distance between the volume meter 1 and the portable infusion pump body 2 is adjusted by a slide 4 .
[0137] Preferably, the volume calibration test software is a volume calibration test software developed based on the QT graphics framework using an object-oriented development method based on the QTCreator development tool. Exemplarily, the framework structure diagram of the volume calibration test software is as follows: Figure 6 As shown in the figure, the function display of the volume calibration test software is as follows Figure 7 It should be noted that the function display is for illustration only and is not restrictive. You can add or delete a function button or display function based on actual needs.
[0138] Preferably, the portable infusion pump body 2 is used to generate corresponding volume adjustment, alarm volume level switching and / or alarm sound on / off control operations based on the electrical signal sent by the PC terminal 3.
[0139] Specifically, the user can click the alarm sound on / off button of the PC terminal 3, and the portable infusion pump body 2 will turn on the alarm sound function based on the high level signal sent by the PC terminal 3, and the portable infusion pump body 2 will turn off the alarm sound function based on the low level signal sent by the PC terminal 3.
[0140] Furthermore, the user can control the portable infusion pump body 2 to switch to the corresponding low-level alarm sound mode, medium-level alarm sound mode or high-level alarm sound mode by clicking the alarm volume level switch button on the PC terminal 3 interface.
[0141] Exemplarily, if the user clicks the alarm volume level switch button on the interface of PC terminal 3 to switch to a low-level alarm sound, the PC terminal 3 sends a first electrical signal to the portable infusion pump body 2, and the portable infusion pump body 2 controls the switch to a low-level alarm sound for alarm prompts based on the received first electrical signal; if the user clicks the alarm volume level switch button on the interface of PC terminal 3 to switch to a medium-level alarm sound, the PC terminal 3 sends a second electrical signal to the portable infusion pump body 2, and the portable infusion pump body 2 controls the switch to a medium-level alarm sound for alarm prompts based on the received second electrical signal; if the user clicks the alarm volume level switch button on the interface of PC terminal 3 to switch to a high-level alarm sound, the PC terminal 3 sends a third electrical signal to the portable infusion pump body 2, and the portable infusion pump body 2 controls the switch to a high-level alarm sound for alarm prompts based on the received third electrical signal.
[0142] It is understandable that the user can also control the working mode of the system to switch to the calibration working mode or the test working mode by clicking the function switching button on the PC terminal 3 interface.
[0143] It should be noted that there is no restriction on the above-mentioned high-level signal, low-level signal, first electrical signal, second electrical signal and third electrical signal. Relevant technical personnel can set different control rules based on actual needs, such as controlling the portable infusion pump body 2 to turn off the alarm sound function by sending a high-level signal, and controlling the portable infusion pump body 2 to turn on the alarm sound function by sending a low-level signal.
[0144] Preferably, the PC terminal 3 is also used to obtain the volume test data of the current environment uploaded by the volume meter 1 before calibration and testing; the volume calibration test software determines the environmental noise based on the volume test data of the current environment. If the environmental noise does not meet the preset test requirements, a third prompt is generated. If the environmental noise meets the preset test requirements, calibration and testing are performed.
[0145] Specifically, after the volume meter 1 is connected to the calibration test software on the PC 3, it actively uploads the volume test data of the current environment. The PC 3 software determines the environmental noise through the current volume test data. If the environmental noise is too loud, it prompts that the calibration test cannot be performed normally. If the environmental noise meets the requirements, the following test work is performed. For example, if the environmental noise tested by the volume meter exceeds 40 decibels, the calibration test work cannot be performed.
[0146] Preferably, the PC terminal 3 is also used to calibrate the alarm sound when the PC terminal 3 is in the calibration working mode, including: calibrating the volume of the low-level alarm sound; calibrating the volume of the intermediate alarm sound based on the volume of the low-level alarm sound; calibrating the volume of the high-level alarm sound based on the volume of the intermediate alarm sound.
[0147] Preferably, the PC terminal 3 is also used to perform volume calibration of the low-level alarm sound, including: the PC terminal 3 controls the portable infusion pump main body 2 to implement the minimum volume gain and play the low-level alarm sound; obtains the alarm volume data collected by the volume meter; the PC-side volume calibration test software obtains the maximum volume value of the alarm volume data uploaded by N volume meters; based on the maximum volume value, it is determined whether it meets the minimum value of the preset alarm sound standard range; in response to the maximum volume value not meeting the minimum value of the preset alarm sound standard range, continues to control the portable infusion pump main body to increase the volume gain and then tests again until the low-level alarm sound meets the minimum value of the alarm sound standard range, and records the current low-level alarm sound volume gain value as the calibration data of the low-level alarm sound.
[0148] Specifically, the preset alarm sound standard range is 45-70 decibels, and the standard volume interval between high, medium and low alarm sounds is 5 decibels. After the portable infusion pump body 2 is connected to the PC end 3 calibration test software, the portable infusion pump body 2 actively uploads the adjustable range of volume gain to the PC end 3 software. For example: the volume gain adjustment range is 1-50. More specifically, the volume calibration of the low-level alarm sound is first performed, the PC end 3 software controls the portable infusion pump body 2 to take effect the minimum volume gain (such as the volume gain of 1) and play the low-level alarm sound, the volume meter 1 uploads the collected alarm volume data to the PC end 3 software, and the PC end 3 software filters out the maximum volume value of each volume meter 1 uploaded data to determine whether it meets the minimum value of the alarm sound standard range (such as 45 decibels). If it does not meet the minimum value, continue to control the portable infusion pump body 2 to increase the volume gain, and then test again until the low-level alarm sound meets the minimum value of the standard, and record the current low-level alarm sound volume gain value (such as the low-level alarm sound volume gain meets the standard when it is 15).
[0149] Preferably, the PC terminal 3 is also used to perform volume calibration of the intermediate alarm sound, including: increasing the volume gain based on the volume of the low-level alarm sound as a reference, controlling the portable infusion pump body to take effect its volume gain and play the intermediate alarm sound; the volume calibration test software of the PC terminal 3 obtains the alarm volume data collected by N volume meters 1; obtains the maximum volume value of the data uploaded by each volume meter 1, and determines whether the volume decibel interval with the low-level alarm sound is greater than a preset decibel threshold; in response to the maximum volume value and the volume decibel interval of the low-level alarm sound being less than the preset decibel threshold, continue to adjust the gain and perform a test; in response to the maximum volume value and the volume decibel interval of the low-level alarm sound being greater than or equal to the preset decibel threshold, record the current volume gain value of the intermediate alarm sound as the calibration data of the intermediate alarm sound. Specifically, the volume of the intermediate alarm sound is calibrated, and it is increased based on the volume of the low-level alarm sound. The portable infusion pump body 2 is controlled to take effect its volume gain (such as a volume gain of 6) and play the intermediate alarm sound. The volume meter 1 uploads the collected alarm volume data to the PC-side 3 software. The PC-side 3 software filters out the maximum volume value of the data uploaded by each volume meter 1, and determines whether the decibel interval with the low-level alarm sound is greater than 5 decibels. If it is less, continue to adjust the gain and test. If it is greater, the requirements are met, and the current volume gain value of the intermediate alarm sound is recorded (such as when the volume gain of the intermediate alarm sound is 40, the standard is met).
[0150] Preferably, the PC terminal 3 is also used to perform volume calibration of the advanced alarm sound, including: increasing the volume gain based on the volume of the intermediate alarm sound as a reference, controlling the portable infusion pump body 2 to take effect its volume gain and play the advanced alarm sound; the volume calibration test software of the PC terminal 3 obtains the alarm volume data collected by N volume meters 1; obtains the maximum volume value of the data uploaded by each volume meter 1, and determines whether the decibel interval with the intermediate alarm sound is greater than a preset decibel threshold; in response to the maximum volume value and the volume decibel interval of the intermediate alarm sound being less than the preset decibel threshold, continue to adjust the gain and perform a test; in response to the maximum volume value and the volume decibel interval of the intermediate alarm sound being greater than or equal to the preset decibel threshold, record the current volume gain value of the advanced alarm sound as the calibration data of the advanced alarm sound. Specifically, the volume of the advanced alarm sound is calibrated, and the volume is increased based on the volume of the intermediate alarm sound. The portable infusion pump body 2 is controlled to take effect its volume gain (such as a volume gain of 41) and play the advanced alarm sound. The volume meter 1 uploads the collected alarm volume data to the PC end 3 software. The PC end 3 software filters out the maximum volume value of the data uploaded by each volume meter 1, and determines whether the decibel interval with the intermediate alarm sound is greater than 5 decibels. If it is less, continue to adjust the gain and test. If it meets the requirement and is less than the maximum value of the alarm volume, the requirement is met, and the current volume gain value of the advanced alarm sound is recorded (such as when the volume gain of the advanced alarm sound is 70, the standard is met).
[0151] Preferably, the specific test method is: the PC end 3 software controls the portable infusion pump body 2 to trigger the low, medium and high alarms in sequence, and the volume meter 1 uploads the volume decibel signals of the high, medium and low alarms to the PC end 3 software, and the PC end 3 software analyzes and compares the high, medium and low alarm volume decibels to determine whether the high, medium and low alarm volumes meet the standards, and prompts if they do not meet the standards. It should be noted that there is no specific order relationship between the calibration and test processes. For example, the calibration operation can be performed first, and when the calibration operation is completed, the accuracy of the calibration can be determined through the test process. The test process can also be performed before the calibration process, and the subsequent calibration process can be performed based on the results of the test process.
[0152] See also Figure 8 , this embodiment provides a flow chart of a volume testing method applied to a portable infusion pump.
[0153] As an example, the method is applied to the above-mentioned portable infusion pump alarm volume automatic calibration and testing system, and the method includes:
[0154] S801: Switch the working mode on the PC side, the working mode includes the calibration working mode and the test working mode.
[0155] S802: When the PC is in the calibration working mode, the portable infusion pump body is remotely controlled to alarm with low, medium and high alarm volumes in sequence.
[0156] S803: respectively obtain the test data of N volume meters and determine whether the volume test data of the current alarm level meets the preset standard.
[0157] S804: In response to the volume test data of the current alarm level not meeting the preset standard, the portable infusion pump body is controlled to adjust the volume of the current alarm and retest until the high, medium and low alarm volumes all meet the preset standard.
[0158] S805: In response to the volume test data of the current alarm level meeting the preset standard, the PC-side volume calibration test software records the volume values that have passed the test corresponding to different alarm volume levels, and calibrates them to the portable infusion pump body.
[0159] S806: When the PC is in the test mode, the portable infusion pump body is remotely controlled in sequence to test the high, medium and low alarm volumes, including:
[0160] S807: Acquire alarm volume test data for different volume alarm levels sent by N volume meters;
[0161] S808: The volume calibration test software in the PC determines whether the preset standard is met based on the volume test data of the current alarm level.
[0162] S809: In response to the volume test data of the current alarm level meeting a preset standard, a first prompt is given.
[0163] S810: In response to the volume test data of the current alarm level not meeting the preset standard, a second prompt is given.
[0164] It is not difficult to find that this embodiment is a method embodiment corresponding to the first embodiment, and this embodiment can be implemented in conjunction with the first embodiment. The relevant technical details mentioned in the first embodiment are still valid in this embodiment, and in order to reduce repetition, they are not repeated here. Accordingly, the relevant technical details mentioned in this embodiment can also be applied in the first embodiment.
[0165] The embodiment of the present application sends a control instruction through the server side; determines the first alarm volume through the terminal according to the control instruction and the alarm volume setting of the terminal; emits a first alarm sound through the terminal; collects alarm volume test data of the first alarm sound, and controls the terminal to alarm by the server side, thereby reducing manual workload; obtains the alarm volume preset standard through the server side, and determines whether the alarm volume test data meets the alarm volume preset standard, which is beneficial to improving the accuracy and reliability of the equipment alarm; if the server side is in the calibration working mode, and the alarm volume test data does not meet the alarm volume preset standard, the first alarm volume is adjusted to obtain the second alarm volume, and the second alarm volume is used as the first alarm volume, and returns to the step of emitting the first alarm sound through the terminal until the server side is in the calibration working mode and the alarm volume test data meets the alarm volume preset standard, thereby reducing manual intervention through the automatic testing process, reducing manual workload and human errors, reducing testing costs, and improving the intelligence level and testing efficiency of the system.
[0166] See also Fig. 9 The embodiment of the present application also provides a volume test device, which can implement the above volume test method, and the device includes:
[0167] The instruction issuing module 901 is used to send a control instruction through the server, the control instruction includes an alarm level, and the alarm level includes at least one of a low-level alarm, a medium-level alarm, and a high-level alarm;
[0168] A volume determination module 902, configured to determine a first alarm volume through a terminal according to a control instruction and an alarm volume setting of the terminal, wherein the alarm volume setting includes an alarm level and its corresponding terminal alarm volume;
[0169] An alarm module 903 is used to send a first alarm sound through the terminal, and the first alarm sound uses a first alarm volume;
[0170] The volume collection module 904 is used to collect the alarm volume test data of the first alarm sound;
[0171] A judgment module 905 is used to obtain the alarm volume preset standard through the server side, and judge whether the alarm volume test data meets the alarm volume preset standard, and the alarm volume preset standard corresponds to the alarm level;
[0172] The adjustment module 906 is used to adjust the first alarm volume to obtain the second alarm volume if the server side is in the calibration working mode and the alarm volume test data does not meet the alarm volume preset standard, and use the second alarm volume as the first alarm volume, and return to the step of emitting the first alarm sound through the terminal until the server side is in the calibration working mode and the alarm volume test data meets the alarm volume preset standard.
[0173] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0174] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above volume test method when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.
[0175] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0176] See also Fig.10 , Fig.10 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:
[0177] The processor 1001 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
[0178] The memory 1002 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1002 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 1002, and the processor 1001 calls and executes the volume test method of the embodiment of this application;
[0179] Input / output interface 1003, used to implement information input and output;
[0180] The communication interface 1004 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WI FI, Bluetooth, etc.);
[0181] A bus 1005 , which transmits information between various components of the device (e.g., the processor 1001 , the memory 1002 , the input / output interface 1003 , and the communication interface 1004 );
[0182] The processor 1001 , the memory 1002 , the input / output interface 1003 and the communication interface 1004 are connected to each other in communication within the device via the bus 1005 .
[0183] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned volume test method is implemented.
[0184] It can be understood that the contents of the above method embodiments are all applicable to the present storage medium embodiments, the functions specifically implemented by the present storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0185] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0186] The volume testing method, volume testing device, electronic device and storage medium provided by the embodiments of the present application send a control instruction through a server; determine a first alarm volume through a terminal according to the control instruction and the alarm volume setting of the terminal; emit a first alarm sound through the terminal; collect alarm volume test data of the first alarm sound, and control the terminal to alarm by the server to reduce manual workload; obtain the alarm volume preset standard through the server to determine whether the alarm volume test data meets the alarm volume preset standard, which is beneficial to improving the accuracy and reliability of the equipment alarm; if the server is in a calibration working mode and the alarm volume test data does not meet the alarm volume preset standard, adjust the first alarm volume to obtain the second alarm volume, use the second alarm volume as the first alarm volume, and return to the step of emitting the first alarm sound through the terminal until the server is in a calibration working mode and the alarm volume test data meets the alarm volume preset standard, reduce manual intervention through an automatic testing process, reduce manual workload and human errors, reduce testing costs, and improve the intelligence level and testing efficiency of the system.
[0187] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0188] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
[0189] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0190] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0191] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0192] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0193] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0194] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0195] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0196] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.
[0197] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.
Claims
1. A volume testing method, characterized in that: The method comprises the following steps: Sending a control instruction through the server, wherein the control instruction includes an alarm level, and the alarm level includes at least one of a low-level alarm, a medium-level alarm, and a high-level alarm; Determining, by the terminal, a first alarm volume according to the control instruction and an alarm volume setting of the terminal, wherein the alarm volume setting includes the alarm level and its corresponding terminal alarm volume; Sending a first alarm sound through the terminal, the first alarm sound uses a first alarm volume; Collecting alarm volume test data of the first alarm sound; Obtaining the alarm volume preset standard through the server, and determining whether the alarm volume test data meets the alarm volume preset standard, wherein the alarm volume preset standard corresponds to the alarm level; If the server side is in the calibration working mode and the alarm volume test data does not meet the alarm volume preset standard, the first alarm volume is adjusted to obtain the second alarm volume, the second alarm volume is used as the first alarm volume, and the process returns to the step of emitting the first alarm sound through the terminal until the server side is in the calibration working mode and the alarm volume test data meets the alarm volume preset standard.
2. The method according to claim 1, characterized in that: The method further comprises: If the server side is in calibration working mode and the alarm volume test data meets the alarm volume preset standard, the volume calibration test software in the server side records the test pass data, and the test pass data includes the alarm level and the alarm volume test data.
3. The method according to claim 2, characterized in that The method further comprises: Sending the test pass data to the terminal via the server; The alarm volume setting of the terminal is updated by the terminal according to the alarm level and the alarm volume test data.
4. The method according to claim 1, characterized in that The method further comprises: If the server is in the test working mode and the alarm volume test data meets the alarm volume preset standard, the alarm level, the alarm volume test data, the alarm volume preset standard and the test pass mark are displayed on the alarm volume test interface of the server.
5. The method according to claim 1, characterized in that: The method further comprises: If the server is in the test working mode and the alarm volume test data does not meet the alarm volume preset standard, the alarm level, the alarm volume test data, the alarm volume preset standard and the test failure mark are displayed on the alarm volume test interface of the server.
6. The method according to claim 1, characterized in that The method further comprises: Receive environmental volume data through the server, where the environmental volume data represents the noise of the current environment; If the ambient volume is greater than the data noise threshold, a third prompt is given.
7. The method according to claim 6, characterized in that If the ambient volume is greater than the data noise threshold, a third prompt is performed, including: If the environmental volume is greater than the data noise threshold, the environmental volume, the data noise threshold and a prohibition test mark are displayed on the alarm volume test interface of the server.
8. A volume test device, characterized in that: The device comprises: An instruction issuing module, used for sending a control instruction through a server, wherein the control instruction includes an alarm level, and the alarm level includes at least one of a low-level alarm, a medium-level alarm, and a high-level alarm; A volume determination module, configured to determine a first alarm volume through a terminal according to the control instruction and an alarm volume setting of the terminal, wherein the alarm volume setting includes the alarm level and its corresponding terminal alarm volume; An alarm module, configured to emit a first alarm sound through the terminal, wherein the first alarm sound adopts a first alarm volume; A volume collection module, used for collecting the alarm volume test data of the first alarm sound; A judgment module, used for obtaining an alarm volume preset standard through a server, and judging whether the alarm volume test data meets the alarm volume preset standard, wherein the alarm volume preset standard corresponds to the alarm level; The adjustment module is used to adjust the first alarm volume to obtain a second alarm volume if the server side is in a calibration working mode and the alarm volume test data does not meet the alarm volume preset standard, use the second alarm volume as the first alarm volume, and return to the step of emitting a first alarm sound through the terminal until the server side is in a calibration working mode and the alarm volume test data meets the alarm volume preset standard.
9. An electronic device, characterized in that: The electronic device comprises a memory and a processor, the memory stores a computer program, and the processor implements the method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.