Test method and system for mother and baby nursing equipment
Through terminal equipment, update the communication connection password of maternal and infant care equipment and monitor the communication connection information, the problems of complexity and inefficiency of existing testing methods are solved, and more efficient and accurate test results are achieved.
Patent Information
- Application Number
- CN202411959545.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-04-25
AI Technical Summary
The testing methods of existing maternal and infant care equipment are complex, the testing process is cumbersome, and the testing efficiency and accuracy are low. Especially when changing the communication connection password, the communication connection cannot be effectively monitored, resulting in inaccurate test results.
The terminal device establishes a communication connection with the maternal and infant care equipment, routers and test equipment, receives test signals and updates the password, thereby generating a new password and sending it to the routers and mother and infant care equipment, and the test equipment monitors the communication connection information for testing.
The test process is simplified, the accuracy and efficiency of test results are improved, and it is especially suitable for the synchronization test scenarios of password changes in maternal and infant care equipment.
Smart Images

Figure CN119892428A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure generally relates to the field of testing, and more particularly to a testing method, system, electronic device, and computer storage medium for maternal and infant care equipment. Background Art
[0002] In the field of equipment testing, testing tools are usually used to test various devices. For example, with the rapid development of the maternal and infant product market, maternal and infant care products have gradually become an indispensable device in family life. Testing of maternal and infant care equipment is becoming more and more important. However, the current equipment testing methods are complex, the testing process is cumbersome, and the testing efficiency and accuracy are low, which is a technical problem that needs to be solved urgently in this field.
[0003] The contents of the background technology section are merely the technologies known to the inventors and do not necessarily represent the prior art in the field. Summary of the invention
[0004] In response to one or more problems existing in the prior art, in a first aspect of the present disclosure, a testing method for a maternal and child care device is provided, the method comprising: the maternal and child care device is communicatively connected to a terminal device, a router, and a testing device respectively, and the terminal device is communicatively connected to the router and the testing device, and the method comprises: the terminal device receives a test signal from the testing device, and the terminal device is communicatively connected to the router and the maternal and child care device based on a first password; the terminal device updates the first password based on the test signal, generates a second password, and sends the second password to the router and the maternal and child care device; and the testing device monitors the maternal and child care device, determines the communication connection information based on the second password, and tests the maternal and child care device according to the communication connection information.
[0005] In the second aspect of the present disclosure, a test system for maternal and infant care equipment is provided. The system includes: a terminal device, a router, a test device, and a maternal and infant care equipment; the maternal and infant care equipment is respectively connected to the terminal device, the router, and the test device in communication, and the terminal device is connected to the router and the test device in communication; the terminal device is configured to receive a test signal from the test device, and the terminal device is connected to the router and the maternal and infant care equipment in communication based on a first password; the terminal device is also configured to update the first password based on the test signal, generate a second password, and send the second password to the router and the maternal and infant care equipment; and the test device is configured to monitor the maternal and infant care equipment, determine the communication connection information based on the second password, and test the maternal and infant care equipment according to the communication connection information.
[0006] In a third aspect of the present disclosure, an electronic device is provided. The device includes: at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the device executes the method of the first aspect.
[0007] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.
[0008] It should be understood that the contents described in the summary of the invention are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the present disclosure and do not constitute a limitation of the present disclosure. In the accompanying drawings:
[0010] Figure 1 A schematic diagram illustrating an example environment 100 in which embodiments of the present disclosure can be implemented;
[0011] Figure 2 A flow chart showing a process 200 of testing a maternal and infant care device according to various embodiments of the present disclosure;
[0012] Figure 3 A schematic diagram of a test system 300 for a maternal and infant care device according to various embodiments of the present disclosure is shown;
[0013] Figure 4 A schematic diagram showing a test system 400 for a maternal and infant care device according to other embodiments of the present disclosure; and
[0014] Figure 5 A block diagram of a device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0015] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0016] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.
[0017] The embodiments of the present disclosure may involve user data, data acquisition and / or use, etc. These aspects are subject to the corresponding laws, regulations and relevant provisions. In the embodiments of the present disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are carried out on the premise that the user knows and confirms. Accordingly, when implementing each embodiment of the present disclosure, the type, scope of use, usage scenario, etc. of the data or information that may be involved should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with the relevant laws and regulations. The specific notification and / or authorization method can vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this respect.
[0018] As briefly mentioned above, maternal and infant care equipment usually includes devices such as baby monitoring cameras and caregivers. The baby monitoring camera monitors and captures the baby's activities and scenes, and transmits the captured images to the caregiver for display. Guardians can observe the baby's activities on the caregiver side and take care of the baby at any time. The baby monitoring camera and the caregiver can be connected via a wireless network or a router to achieve data transmission of the monitoring images. At present, production tests are carried out on maternal and infant care equipment in a test environment to ensure stable and normal data transmission between the baby monitoring camera and the caregiver, as well as between the baby monitoring camera, the caregiver and other devices.
[0019] However, in the traditional method of testing maternal and infant care equipment, the communication connection between the camera and the caregiver is sometimes disturbed and unstable when testing the equipment. The inventors found that testing during the process of disconnecting and restarting the communication connection will lead to inaccurate test results. In particular, when changing the password of the communication connection and testing simultaneously, the communication connection between the camera and the caregiver cannot be effectively monitored, resulting in inaccurate test results.
[0020] The inventors also found that when the communication connection corresponding to the old password is switched to the communication connection corresponding to the new password for testing, it is usually necessary to manually unbind the communication connection corresponding to the old password and restart the communication connection corresponding to the new password before testing can be performed. Since the disconnection time of the communication connection corresponding to the old password and the reconnection time of the communication connection corresponding to the new password cannot be effectively monitored, the test results will be inaccurate, and the cumbersome manual unbinding and reconnection operations will result in low test efficiency.
[0021] At the same time, the inventor also found that since the communication connection mode between the baby monitoring camera and the caregiver cannot be automatically switched during the test, it is impossible to perform the test in different scenarios, and during the switching process of different communication connection modes, a stable communication connection cannot always be guaranteed, resulting in a low accuracy of the test results. In addition, the cumbersome manual switching of communication connection modes and other operations result in low test efficiency.
[0022] In view of this, the embodiments of the present disclosure propose a test scheme for maternal and child care equipment. According to various embodiments of the present disclosure, the maternal and child care equipment is respectively communicatively connected with a terminal device (e.g., a mobile phone, a computer, etc.), a router, and a test device (e.g., a test tool installed on the device), and the terminal device is communicatively connected with the router and the test device. The terminal device receives a test signal from the test device, and the terminal device is communicatively connected with the router and the maternal and child care equipment based on a first password (e.g., a wireless network connection). Furthermore, the terminal device updates the first password based on the test signal, generates a second password, and sends the second password to the router and the maternal and child care equipment. The test device monitors the maternal and child care equipment and determines the communication connection information based on the second password. Finally, the maternal and child care equipment is tested according to the communication connection information.
[0023] Based on the above method, when the embodiment of the present disclosure tests the maternal and infant care device, the terminal device changes the password of the communication connection of the maternal and infant care device from the first password to the second password, and the test device effectively monitors the communication connection of the maternal and infant care device with the second password, thereby implementing the test process of the maternal and infant care device. In this way, not only can the test process be simplified, but also the accuracy and efficiency of the test results are improved. This solution is particularly suitable for the scenario of changing the password synchronization test of the maternal and infant care device.
[0024] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.
[0025] like Figure 1 As shown, in the environment 100, the test system of the mother-infant care device 120 may include a terminal device 110, a router 140, a test device 130 and the mother-infant care device 120. The mother-infant care device 120 may include a baby monitoring camera 121 and a caregiver 122 ( Figure 1 Not shown), which will be described in detail below.
[0026] The terminal device 110 can be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet or any combination of the foregoing, including accessories and peripherals of these devices or their combination. In some embodiments, the terminal device 110 can also support any type of interface for the user.
[0027] The test device 130 may be any type of mobile terminal, fixed terminal or portable terminal equipped with a test tool. The router 140 may include a wireless network function, which may be used for communication connection between the terminal device 110, the test device 130, and the maternal and child care device 120. These devices may realize communication connection (e.g., wireless network connection) through the router 140, or may realize communication connection directly through a wireless network, and the scope of the present disclosure is not limited in this respect.
[0028] like Figure 1 As shown, a communication network is established between the terminal device 110, the router 140, the test device 130, and the maternal and infant care device 120, so as to facilitate the transmission of information between these devices. The maternal and infant care device 120 can be connected to the terminal device 110 by means of a wireless network, and the maternal and infant care device 120 can also be connected to the terminal device 110 by means of a router 140. The test device 130 and the terminal device 110 can be connected to each other by means of a wireless network, so that the test device 130 sends a test signal to the terminal device 110, and the terminal device 110 sends a test signal to the maternal and infant care device 120, so as to test the maternal and infant care device 120. In addition, the test device 130 not only has a testing function, but also has a function of monitoring the maternal and infant care device 120, for example, it can monitor whether the communication connection between the maternal and infant care device 120 and other devices (such as the terminal device 110) is stable, and it can monitor whether the communication connection between the baby monitoring camera and the caregiver is stable.
[0029] The following further describes the testing method of the maternal and infant care device 120 in detail.
[0030] Figure 2 1 is a flow chart of a test process 200 of a maternal and infant care device 120 according to various embodiments of the present disclosure. The process 200 may be performed as follows: Figure 1 The test system shown is implemented. Figure 3A schematic diagram of a test system 300 for a maternal and child care device 120 according to multiple embodiments of the present disclosure is shown. The maternal and child care device 120 includes a camera 121 and a caregiver 122, and the camera 121 and the caregiver 122 can be communicatively connected in a wireless network. The terminal device 110 is communicatively connected to the camera 121, for example, the terminal device 110 and the camera 121 can be communicatively connected in a wireless network, and can also be communicatively connected through a router 140. The test device 130 can be communicatively connected to the caregiver 122 in a wireless manner to enable the test device 130 to monitor the caregiver 122. It can be understood that the embodiments of the present disclosure do not specifically limit the communication connection method of the terminal device 110, the camera 121, the caregiver 122, and the router 140. The following will be combined with Figure 2 and Figure 3 Describe the testing process in detail.
[0031] like Figure 2 As shown, in box 210, the terminal device 110 receives a test signal from the test device 130, and the terminal device 110 is connected to the router 140 and the mother-child care device 120 based on the first password communication.
[0032] In some embodiments, the terminal device 110 is connected to the maternal and child care device 120 in communication, for example, based on a wireless network connection, or through a router 140. The password of the wireless network or the router 140 can be determined as the first password. As an example, when the terminal device 110 is directly wirelessly connected to the maternal and child care device 120, the first password is the password of the wireless network, or when the terminal device 110 is connected to the maternal and child care device 120 through the router 140, the first password is the password of the router 140. In other words, the terminal device 110 and the maternal and child care device 120 transmit information under the communication connection of the first password. The test device 130 sends a test signal to the terminal device 110. After the terminal device 110 receives the test signal, the terminal device 110 sends a test signal to the maternal and child care device 120 under the communication connection based on the first password, thereby realizing the test process of the test device 130 on the maternal and child care device 120.
[0033] Exemplarily, the first password may be a randomly generated password composed of a combination of multiple letters, numbers, symbols, etc., or may be obtained by manually setting the password. It is understood that the method for generating the first password is not specifically limited in the embodiments of the present disclosure.
[0034] Exemplarily, software can be installed on the terminal device 110, such as installing an APP (application) on a mobile phone, and the user can set the terminal device 110 to communicate with the maternal and child care device 120 through the APP. Specifically, the terminal device 110 is set to communicate with the camera 121, and the camera 121 is set to communicate with the caregiver 122. For example, the user can set the above communication connection by scanning a QR code or manually entering device information to ensure that the communication connection is in a normal state. For another example, the user can initialize the camera 121 and the caregiver 122 through the APP, such as setting the communication connection mode of the caregiver 122. For another example, the user can also manage the router 140 through the APP, and set the time interval, number of times, and other parameters for password updates in the management interface of the router 140. It can be understood that the method for generating the first password is not specifically limited in the embodiment of the present disclosure.
[0035] In block 220 , the terminal device 110 updates the first password based on the test signal, generates a second password, and sends the second password to the router 140 and the maternal and child care device 120 .
[0036] The terminal device 110 updates the first password based on the test signal to generate a second password, wherein the second password may be a new password that is unrelated to the first password and is randomly generated, and the second password may be completely different from the first password. The second password may also be a new password generated based on the first password, for example, by partially modifying, increasing, or reducing the number of digits of the first password. As an example, when generating the second password, you can select WiFi in the 2.4G band and the 5G band to generate the same password, or you can generate different passwords for each. It can be understood that the disclosed embodiment does not specifically limit the method for generating the second password.
[0037] As an example, in the management interface of the router 140 of the terminal device 110, a WiFi password setting option sent by the user through the management interface is received, a new password (i.e., the second password) is generated, and the set new password is saved. The terminal device 110 sends the second password to the router 140 and the maternal and child care device 120, so that the maternal and child care device 120 and the terminal device 110 are connected in communication based on the second password, or the router 140 is restarted to ensure that the second password takes effect, so that the maternal and child care device 120 and the terminal device 110 establish a communication connection through the router 140 of the second password.
[0038] In some embodiments, the terminal device 110 can synchronously send the second password to the camera 121 and the caregiver 122. The camera 121 and the caregiver 122 quickly and timely establish a communication connection based on the second password, and the camera 121 can quickly respond to the communication connection with the terminal device 110, and the caregiver 122 can quickly respond to the communication connection with the test device 130.
[0039] Alternatively, the terminal device 110 may also send the second password to the camera 121, and the camera 121 sends the second password to the caregiver 122. It is understood that the embodiment of the present disclosure does not specifically limit the manner in which the terminal device 110 sends the second password.
[0040] In some embodiments, it is considered that the terminal device 110 can perform synchronization testing by updating the password of the communication connection (for example, the Wifi password of the router 140) multiple times to improve the test accuracy. As an example, the first password can be an initial password, and the initial password is updated to generate a second password, and then the initial test procedure is performed. Next, the newly generated second password is used as the initial password to continue to be updated for the second time, and the new password generated by the second update is used as the second password, and then the second test procedure is performed. Next, the second password generated by the second update is used as the initial password to continue to be updated for the third time, and the new password generated by the third update is used as the second password, and then the third test procedure is performed. And so on, the test is repeated multiple times. It can be understood that the disclosed embodiment does not specifically limit the number of times the terminal device 110 updates the password, the update method, the number of tests, etc.
[0041] The above describes the process of the terminal device 110 updating the first password to generate the second password, and the process of sending the second password to the camera 121 and the caregiver 122 in the mother-child care device 120.
[0042] In some embodiments, the mother-infant care device 120 receives instructions sent from the terminal device 110 and determines a preset communication connection mode based on the instructions.
[0043] The user can input the information of the function setting of the maternal and infant care device 120 through the APP, and the terminal device 110 sets and switches the functions of the maternal and infant care device 120 based on the information input by the user. Exemplarily, in the maternal and infant care device 120, the preset communication connection modes between the camera 121 and the caregiver 122 may include: local mode, routing mode, and automatic mode. The local mode is that the camera 121 and the caregiver 122 are directly communicated and connected. The routing mode is that the camera 121 and the caregiver 122 are communicated and connected through the router 140. The automatic mode is that the camera 121 controls the caregiver 122 to switch between the routing mode and the local mode according to the strength of the communication connection signal.
[0044] Furthermore, in some embodiments, the camera 121 may receive a switch instruction sent from the terminal device 110, and the switch instruction is used to determine a selectable communication connection mode; the caretaker 122 determines a preset communication connection mode based on the switch instruction.
[0045] Exemplarily, a communication connection mode selection function is set on the APP on the terminal device 110, and the user can turn on or off the selection function through the APP. When the selection function is turned off, the default communication connection mode is the local mode. When the selection function is turned on, the communication connection mode can be selected from the local mode, routing mode, and automatic mode.
[0046] In some embodiments, the caretaker 122 receives a shutdown command from the camera 121, and determines the preset communication connection mode as the local mode based on the shutdown command. In the local mode, the camera 121 and the caretaker 122 are directly connected in communication, which can be a direct connection in the form of a wireless network, and are not connected through the router 140.
[0047] In some embodiments, the caretaker 122 receives an opening instruction sent from the camera 121 and determines the preset communication connection mode as a selectable local mode, routing mode or automatic mode based on the opening instruction.
[0048] Further, in some embodiments, in the automatic mode, the camera 121 controls the caretaker 122 to switch between the routing mode and the local mode according to the strength of the communication connection signal as follows: if the strength of the communication connection signal is greater than the first preset value, the camera 121 controls the caretaker 122 to switch to the routing mode, or if the strength of the communication connection signal is less than the first preset value, the camera 121 controls the caretaker 122 to switch to the local mode. In other words, if the strength of the communication connection signal between the camera 121 and the caretaker 122 is relatively large, the communication connection mode of the camera 121 and the caretaker 122 can be switched to the routing mode. If the strength of the communication connection signal is relatively small, considering the need to enhance the communication connection signal, the stability of the local mode is better, and the communication connection mode of the camera 121 and the caretaker 122 can be switched to the local mode. It can be understood that the first preset value can be determined according to the actual application scenario, and the scope of the present disclosure is not limited in this respect.
[0049] The above discusses how to automatically switch the communication connection mode between the baby monitoring camera 121 and the caregiver 122 during the test, realize the test in different scenarios, and always ensure a stable communication connection in different communication connection modes, so as to provide a stable communication environment for continuous testing before and after the switching mode, thereby improving the test accuracy. In addition, there is no need to manually switch the communication connection mode, thereby improving the test efficiency.
[0050] Continue to refer Figure 2 In block 230 , the test device 130 monitors the maternal and infant care device 120 and determines the communication connection information based on the second password to test the maternal and infant care device 120 according to the communication connection information.
[0051] When the test device 130 detects that the camera 121 and the caregiver 122 in the maternal and child care device 120 establish a communication connection based on the password updated each time, that is, the second password, for example, when the password of the router 140 is updated to the second password, the camera 121 and the caregiver 122 are connected in communication based on the second password, the test device 130 tests the maternal and child care device 120 again, which can effectively improve the accuracy of the test results.
[0052] In some embodiments, the test device 130 may monitor and record the communication connection information of the camera 121 and the caretaker 122. The communication connection information may include the connection status, reconnection time, and communication connection mode of the camera 121 and the caretaker 122. The reconnection time may include the disconnection time of the camera 121 and the caretaker 122 based on the first password, and the successful connection time based on the second password.
[0053] As an example, the APP on the terminal device 110 displays the monitored communication connection status of the camera 121 and the caretaker 122, and records whether the communication connection is in a normal state. It can be checked at a certain time interval whether the camera 121 and the caretaker 122 are disconnected and re-established, and the reconnection time of the camera 121 and the caretaker 122 is recorded. The APP on the terminal device 110 displays the communication connection status of the monitoring caretaker 122 to ensure that the caretaker 122 is always in the preset connection mode during the test.
[0054] The test device 130 effectively monitors the disconnection time of the communication connection corresponding to the first password and the reconnection time of the communication connection corresponding to the second password. This is to avoid testing during the period when the communication connection between the camera 121 and the caretaker 122 is disconnected and reestablished, thereby reducing test errors and improving the accuracy of test results.
[0055] In some embodiments, if the connection status is that the communication connection between the camera 121 and the caregiver 122 based on the second password is successful, the test device 130 tests the mother-infant care device 120 .
[0056] Exemplarily, the test device 130 can determine whether the communication connection between the camera 121 and the caregiver 122 based on the second password is successful based on the communication connection information. If the communication connection with the second password is successful, the test device 130 tests the maternal and child care device 120. This method does not require cumbersome manual unbinding, reconnection and other operations, improves the test efficiency, and ensures that the test is performed when the communication connection is successful after the password is updated, thereby improving the test accuracy.
[0057] The following describes a test process for testing the maternal and child care device 120 when switching between different communication connection modes.
[0058] In some embodiments, if the preset communication connection mode is a local mode or a routing mode, the maternal and child care device 120 is tested when the testing device 130 detects that the current communication connection mode is consistent with the preset communication connection mode.
[0059] In order to ensure the stability of the communication connection, the communication connection mode between the camera 121 and the caretaker 122 should remain consistent before and after the password is updated, thereby ensuring the stability of the communication connection and thus ensuring the accuracy of the test results. Exemplarily, before updating the password of the communication connection, for example, the password before the update is the first password, if the camera 121 and the caretaker 122 are in a preset communication connection mode, such as a local mode, after the password is changed, for example, the updated password is the second password, the communication connection mode monitored by the test device 130 is still the local mode. Accordingly, before updating the password of the communication connection, if the camera 121 and the caretaker 122 are in a preset communication connection mode, such as a routing mode, after the password is changed, the communication connection mode monitored by the test device 130 is still the routing mode.
[0060] In some embodiments, if the preset communication connection mode is the automatic mode, the test device 130 tests the mother-infant care device 120 .
[0061] Before updating the communication connection password, if the camera 121 and the caregiver 122 are in a preset communication connection mode, such as an automatic mode, the communication connection mode can be automatically switched after the password is updated, so the test device 130 can be tested in any communication connection mode after switching, and the stability of the communication connection is not affected. As long as it is monitored that the communication connection between the camera 121 and the caregiver 122 based on the new password is successful, the test device 130 can test the mother-infant care device 120.
[0062] Considering that the test method of the maternal and infant care device 120 proposed in this solution can be applied to a variety of test scenarios, the following describes the test process in a scenario where the signal of the communication connection is interfered. It can be understood that the test method of the maternal and infant care device 120 in this solution can also be applied to any other test scenario, and the scope of the present disclosure is not specifically limited in this regard.
[0063] Considering that the test method of the maternal and child care device 120 should be adapted to a variety of scenarios, for example, the test scenarios can be enriched by using an attenuator. Figure 4A schematic diagram of a test system 400 for a maternal and infant care device 120 according to other embodiments of the present disclosure is shown. The camera 121 and the caregiver 122 are connected to an attenuator 410 for communication. The attenuator 410 sends an attenuation signal. The communication connection between the camera 121 and the caregiver 122 is interfered by the attenuation signal, and the communication connection signal strength changes. The maternal and infant care device 120 can switch the communication connection mode according to the change in the communication connection signal strength, thereby ensuring the stability of the communication connection and improving the accuracy of the test.
[0064] In some embodiments, the preset communication connection mode is an automatic mode, and the test device 130 monitors the attenuated communication connection signal in response to the attenuation signal sent by the attenuator 410. The camera 121 controls the caregiver 122 to switch the communication connection mode according to the attenuated communication connection signal.
[0065] The maternal and infant care device 120 responds to the attenuation signal of the preset attenuation parameter sent by the attenuator 410, and the attenuation signal may affect the communication connection signal in the local mode or the communication connection signal in the routing mode. The test device 130 monitors the attenuated communication connection signal and sends it to the camera 121 of the maternal and infant care device 120. The camera 121 controls the caregiver 122 to switch the communication connection mode according to the attenuated communication connection signal.
[0066] In some embodiments, the attenuated communication connection signal in the local mode is weakened, and the camera controls the caretaker to switch the communication connection mode to the routing mode. Since the preset attenuation parameter is large, the attenuation increases, and the attenuation signal can cause the communication connection signal in the local mode to weaken. On the contrary, the communication link signal in the routing mode is strong, and the camera 121 controls the caretaker 122 to switch to the routing mode to enhance the stability of the communication connection.
[0067] Alternatively, the attenuated communication connection signal in the routing mode weakens, and the camera controls the caretaker to switch the communication connection mode to the local mode. Since the preset attenuation parameter is large, the attenuation increases, and the attenuation signal can cause the communication connection signal in the routing mode to weaken. On the contrary, the communication link signal in the local mode is strong, and the camera 121 controls the caretaker 122 to switch to the local mode to enhance the stability of the communication connection.
[0068] The above-introduced test method of the maternal and child care device 120 supports testing of multiple communication connection modes and testing methods in multiple scenarios, which not only simplifies the test process, improves the automation and reliability of the test, but also enriches the adaptable test scenarios.
[0069] The following specifically describes the testing process of the mother-infant care device 120 when switching to different communication modes.
[0070] Example 1: The test process of the maternal and child care device 120 is as follows:
[0071] Step S101: Send a shutdown command to the camera 121 through the APP of the terminal device 110, the camera 121 sends a shutdown command to the caretaker 122, and the caretaker 122 determines that the preset communication connection mode is the local mode based on the shutdown command.
[0072] Step 102 : The test device 130 sends a test signal to the terminal device 110 , and the terminal device 110 updates the first password based on the test signal to generate a second password, and the terminal device 110 sends the second password to the router 140 and the maternal and child care device 120 .
[0073] Step 103: The test device 130 monitors the communication connection status of the maternal and child care device 120, and displays the communication connection status of the camera 121 and the caregiver 122 on the APP of the terminal device 110. After waiting for several minutes (for example, 3-5 minutes), the test device 130 checks whether the camera 121 and the caregiver 122 are normally communicated and connected based on the second password, and records the communication connection information, such as the connection status, reconnection time, and communication connection mode of the camera 121 and the caregiver 122.
[0074] Step 104: The communication connection status of the camera 121 and the caregiver 122 is always displayed in the local mode on the APP of the terminal device 110. The whole process is not allowed to switch to the automatic mode or the routing mode. In the local mode, the test device 130 tests the mother-child care device 120.
[0075] Example 2: The test process of the maternal and infant care device 120 is as follows:
[0076] Step S201: Send an opening instruction to the camera 121 through the APP of the terminal device 110, the camera 121 sends an opening instruction to the caretaker 122, and the caretaker 122 determines that the preset communication connection mode is the local mode based on the opening instruction.
[0077] Step 202 : the test device 130 sends a test signal to the terminal device 110 , and the terminal device 110 updates the first password based on the test signal to generate a second password, and the terminal device 110 sends the second password to the router 140 and the maternal and child care device 120 .
[0078] Step 203: The test device 130 monitors the communication connection status of the maternal and child care device 120, and displays the communication connection status of the camera 121 and the caregiver 122 on the APP of the terminal device 110. After waiting for several minutes (for example, 3-5 minutes), the test device 130 checks whether the camera 121 and the caregiver 122 are normally communicated and connected based on the second password, and records the communication connection information, such as the connection status, reconnection time, and communication connection mode of the camera 121 and the caregiver 122.
[0079] Step 204: The communication connection status of the camera 121 and the caregiver 122 is always displayed in the local mode on the APP of the terminal device 110. The entire process is not allowed to switch to the automatic mode or the routing mode. In the local mode, the test device 130 tests the mother-child care device 120.
[0080] Example 3: The test process of the maternal and infant care device 120 is as follows:
[0081] Step S301: Send an opening instruction to the camera 121 through the APP of the terminal device 110, the camera 121 sends an opening instruction to the caretaker 122, and the caretaker 122 determines that the preset communication connection mode is the routing mode based on the opening instruction.
[0082] Step 302 : the test device 130 sends a test signal to the terminal device 110 , and the terminal device 110 updates the first password based on the test signal to generate a second password, and the terminal device 110 sends the second password to the router 140 and the maternal and child care device 120 .
[0083] Step 303: The test device 130 monitors the communication connection status of the maternal and child care device 120, and displays the communication connection status of the camera 121 and the caregiver 122 on the APP of the terminal device 110. After waiting for several minutes (for example, 3-5 minutes), the test device 130 checks whether the camera 121 and the caregiver 122 are normally communicated and connected based on the second password, and records the communication connection information, such as the connection status, reconnection time, and communication connection mode of the camera 121 and the caregiver 122.
[0084] Step 304: The communication connection status of the camera 121 and the caregiver 122 is always displayed in the routing mode on the APP of the terminal device 110. The entire process is not allowed to switch to the automatic mode or the routing mode. In the routing mode, the test device 130 tests the mother-child care device 120.
[0085] Example 4: The test process of the maternal and infant care device 120 is as follows:
[0086] Step S401: Send an opening instruction to the camera 121 through the APP of the terminal device 110, the camera 121 sends an opening instruction to the caretaker 122, and the caretaker 122 determines that the preset communication connection mode is the automatic mode based on the opening instruction.
[0087] Step 402 : the test device 130 sends a test signal to the terminal device 110 , and the terminal device 110 updates the first password based on the test signal to generate a second password, and the terminal device 110 sends the second password to the router 140 and the maternal and child care device 120 .
[0088] Step 403: The test device 130 monitors the communication connection status of the maternal and child care device 120, and displays the communication connection status of the camera 121 and the caregiver 122 on the APP of the terminal device 110. After waiting for several minutes (for example, 3-5 minutes), the test device 130 checks whether the camera 121 and the caregiver 122 are normally communicated and connected based on the second password, and records the communication connection information, such as the connection status, reconnection time, and communication connection mode of the camera 121 and the caregiver 122.
[0089] Step 404: The communication connection status between the camera 121 and the caregiver 122 is displayed on the APP of the terminal device 110 in any of the selectable local mode, routing mode or automatic mode, and the test device 130 tests the mother-child care device 120.
[0090] Example 5: The test process of the maternal and infant care device 120 is as follows:
[0091] Step 501: Send an opening instruction to the camera 121 through the terminal device 110 APP, the camera 121 sends an opening instruction to the caretaker 122, and the caretaker 122 determines that the preset communication connection mode is the automatic mode based on the opening instruction.
[0092] Step 502: Setting the attenuation parameter of the attenuator 410, the attenuator interferes with the communication connection signal of the local mode, causing the attenuated communication connection signal in the local mode to be weaker than the communication signal before attenuation, and the camera controls the caretaker to switch the communication connection mode to the routing mode. Alternatively, the attenuator interferes with the communication connection signal in the routing mode, causing the attenuated communication connection signal in the routing mode to be weaker than the communication signal before attenuation, and the camera controls the caretaker to switch the communication connection mode to the local mode.
[0093] Step 503 : the test device 130 sends a test signal to the terminal device 110 , and the terminal device 110 updates the first password based on the test signal to generate a second password, and the terminal device 110 sends the second password to the router 140 and the maternal and child care device 120 .
[0094] Step 504: The test device 130 monitors the communication connection status of the maternal and child care device 120, and displays the communication connection status of the camera 121 and the caregiver 122 on the APP of the terminal device 110. After waiting for several minutes (for example, 3-5 minutes), the test device 130 checks whether the camera 121 and the caregiver 122 are normally communicated and connected based on the second password, and records the communication connection information, such as the connection status, reconnection time, and communication connection mode of the camera 121 and the caregiver 122.
[0095] Step 505: The communication connection status between the camera 121 and the caregiver 122 is displayed on the APP of the terminal device 110 in a communication mode switched due to attenuated signal interference (such as routing mode or local mode), and the test device 130 tests the mother-child care device 120.
[0096] Example Device
[0097] Figure 5 1 shows a block diagram of a computing device 500 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Figure 5 The computing device 500 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein.
[0098] like Figure 5 As shown, computing device 500 is in the form of a general-purpose computing device. Components of computing device 500 may include, but are not limited to, one or more processors or processing units 510, memory 520, storage device 530, one or more communication units 550, one or more input devices 550, and one or more output devices 560. Processing unit 510 may be an actual or virtual processor and is capable of performing various processes according to a program stored in memory 520. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to increase the parallel processing capabilities of computing device 500.
[0099] The computing device 500 typically includes a plurality of computer storage media. Such media may be any accessible media that is accessible to the computing device 500, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 520 may be a volatile memory (e.g., registers, caches, random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 530 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data (e.g., training data for training) and may be accessed within the computing device 500.
[0100] The computing device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 5 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 520 may include a computer program product 525 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.
[0101] The communication unit 550 enables communication with other computing devices via a communication medium. Additionally, the functions of the components of the computing device 500 can be implemented in a single computing cluster or multiple computing machines that can communicate via a communication connection. Therefore, the computing device 500 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.
[0102] Input device 550 may be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 560 may be one or more output devices, such as a display, speaker, printer, etc. Computing device 500 may also communicate with one or more external devices (not shown) through communication unit 550 as needed, such as storage devices, display devices, etc., communicate with one or more devices that allow a user to interact with computing device 500, or communicate with any device that allows computing device 500 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).
[0103] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.
[0104] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, systems, devices, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0105] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0106] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0107] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.
[0108] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.
Claims
1. A method for testing maternal and infant care equipment, wherein: The maternal and infant care device is respectively connected to the terminal device, the router, and the test device for communication, and the terminal device is connected to the router and the test device for communication, and the method includes: The terminal device receives a test signal from the test device, and the terminal device is connected to the router and the mother-infant care device based on a first password communication; The terminal device updates the first password based on the test signal, generates a second password, and sends the second password to the router and the mother-infant care device; and The testing device monitors the maternal and infant care device, determines communication connection information based on the second password, and tests the maternal and infant care device according to the communication connection information.
2. The method according to claim 1, wherein: The mother-infant care device comprises a camera and a caregiver, the router is respectively connected to the camera and the caregiver for communication, and the step of the terminal device sending the second password to the mother-infant care device comprises: The terminal device synchronously sends the second password to the camera and the caregiver; or The terminal device sends the second password to the camera, and the camera sends the second password to the caregiver.
3. The method according to claim 2, wherein: The method further comprises: The mother-infant care device receives the instruction sent from the terminal device, and determines a preset communication connection mode based on the instruction.
4. The method according to claim 3, wherein: The step of receiving, by the maternal and infant care device, an instruction sent from a terminal device and determining a preset communication connection mode based on the instruction includes: The camera receives a switch instruction sent from the terminal device, wherein the switch instruction is used to determine a selectable communication connection mode; The caretaker determines the preset communication connection mode based on the switch instruction.
5. The method according to claim 4, wherein: The step of the caregiver determining the preset communication connection mode based on the switch instruction includes: The caretaker receives the shutdown instruction sent from the camera, and determines that the preset communication connection mode is a local mode based on the shutdown instruction; Wherein, the local mode is that the camera is directly connected to the caregiver in communication.
6. The method according to claim 4, wherein: The step of the caregiver determining the preset communication connection mode based on the switch instruction includes: The caregiver receives an opening instruction sent from the camera, and determines, based on the opening instruction, that the preset communication connection mode is a selectable local mode, routing mode or automatic mode; Wherein, the routing mode is that the camera and the caregiver are connected through the router; The automatic mode is that the camera controls the caregiver to switch between the routing mode and the local mode according to the strength of the communication connection signal.
7. The method according to claim 6, wherein: The step of the camera controlling the caregiver to switch between the routing mode and the local mode according to the strength of the communication connection signal includes: If the strength of the communication connection signal is greater than a first preset value, the camera controls the caregiver to switch to the routing mode, or If the strength of the communication connection signal is less than the first preset value, the camera controls the caregiver to switch to the local mode.
8. The method according to any one of claims 5 to 7, wherein: The step of monitoring the maternal and infant care device by the testing device to determine the communication connection information based on the second password includes: The test device monitors and records the communication connection information between the camera and the caregiver, wherein the communication connection information includes the connection status, reconnection time, and communication connection mode of the camera and the caregiver; The reconnection time includes the disconnection time of the camera and the caregiver based on the first password, and the successful connection time based on the second password.
9. The method according to claim 8, wherein: The step of testing the maternal and infant care device according to the communication connection information comprises: If the connection status is that the communication connection based on the second password is successful, the testing device tests the mother-infant care device.
10. The method according to claim 8, wherein: The step of testing the mother-infant care device according to the communication connection information also includes: If the preset communication connection mode is the local mode or the routing mode, the maternal and child care device is tested when the test device detects that the current communication connection mode is consistent with the preset communication connection mode; or If the preset communication connection mode is the automatic mode, the mother-infant care device is tested by the testing device.
11. The method of claim 10, wherein: The camera and the caregiver are connected to the attenuator in communication, the preset communication connection mode is an automatic mode, and the method further includes: In response to the attenuation signal sent by the attenuator, the test device monitors the attenuated communication connection signal; The camera controls the caregiver to switch the communication connection mode according to the attenuated communication connection signal.
12. The method of claim 11, wherein: The step of controlling the caregiver to switch the communication connection mode according to the attenuated communication connection signal by the camera comprises: The attenuated communication connection signal in the local mode is weakened, and the camera controls the caregiver to switch the communication connection mode to the routing mode; or The attenuated communication connection signal in the routing mode is weakened, and the camera controls the caregiver to switch the communication connection mode to the local mode.
13. A test system for maternal and infant care equipment, wherein: The system includes: terminal equipment, routers, testing equipment, and maternal and child care equipment; The mother-infant care device is respectively connected to the terminal device, the router, and the test device for communication, and the terminal device is connected to the router and the test device for communication; The terminal device is configured to receive a test signal from the test device, and the terminal device is connected to the router and the mother-infant care device based on the first password communication; The terminal device is further configured to update the first password based on the test signal, generate a second password, and send the second password to the router and the mother-infant care device; and The testing device is configured to monitor the maternal and infant care device, determine the communication connection information based on the second password, and test the maternal and infant care device according to the communication connection information.
14. An electronic device comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 12 when executed by the at least one processing unit.
15. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the method according to any one of claims 1 to 12.