CN113225233A - Healthy cabin and network selection method, device and storage medium thereof - Google Patents

Healthy cabin and network selection method, device and storage medium thereof Download PDF

Info

Publication number
CN113225233A
CN113225233A CN202110564653.2A CN202110564653A CN113225233A CN 113225233 A CN113225233 A CN 113225233A CN 202110564653 A CN202110564653 A CN 202110564653A CN 113225233 A CN113225233 A CN 113225233A
Authority
CN
China
Prior art keywords
network connection
connection mode
monitoring
transmission speed
cabin
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110564653.2A
Other languages
Chinese (zh)
Other versions
CN113225233B (en
Inventor
林思成
田福臣
黄佼
邱洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BOE Technology Group Co Ltd
Original Assignee
BOE Technology Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BOE Technology Group Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN202110564653.2A priority Critical patent/CN113225233B/en
Publication of CN113225233A publication Critical patent/CN113225233A/en
Application granted granted Critical
Publication of CN113225233B publication Critical patent/CN113225233B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a healthy cabin and a network selection method, a network selection device and a storage medium thereof, wherein the network selection method for the healthy cabin, which is provided by the application, is used for detecting various network connection modes and selecting a preset number of network connection modes to configure the healthy cabin when the healthy cabin is built, and is used for switching the current connection mode according to the current transmission speed of the configured network connection modes of the healthy cabin, so that the uploading speed of the detection result of the healthy cabin is effectively improved, the uploading delay caused by network problems is avoided, and the user experience is avoided.

Description

Healthy cabin and network selection method, device and storage medium thereof
Technical Field
The present disclosure relates generally to internet of things, and more particularly to a network connection problem of internet of things, and more particularly, to a healthy cabin, a network selection method and apparatus thereof, and a storage medium.
Background
The health cabin is the government leading place provided by public health institutions for physical examination measurement, intervention guidance, health promotion and education, knowledge acquisition and the like.
At present, in a healthy cabin Internet of things implementation scene, the network uploading problem is always ignored, and different areas and different network connection modes can cause that data cannot be uploaded by data Internet of things equipment due to poor network conditions. The related technology application is mainly divided into two aspects: on the one hand, only WIFI connection is carried out on the Internet of things equipment, and on the other hand, the WIFI connection is mainly distributed on the mobile terminal, so that network switching is carried out according to data uploading time due to safety problems, privacy and the like.
Disclosure of Invention
In view of the above-mentioned drawbacks and deficiencies in the prior art, it is desirable to provide a healthy cabin, a network selection method, a network selection device, and a storage medium thereof, so as to effectively increase the uploading speed of the detection result of the healthy cabin.
In a first aspect, an embodiment of the present application provides a network selection method for a healthy cabin, including:
when a monitoring instruction is received, monitoring the current transmission speed of the network connection modes configured for the healthy cabin to obtain a first transmission speed corresponding to each network connection mode, wherein the network connection modes are the preset number of network connection modes configured according to the transmission speed monitoring result in a preset time period when the healthy cabin is constructed;
determining a target network connection mode according to the first transmission speed corresponding to each network connection mode;
and switching the network connection mode of the detection equipment in the healthy cabin to the target network connection mode.
In some embodiments, configuring a preset number of the network connection modes according to a transmission speed monitoring result in a preset time period during the construction of the healthy cabin includes:
dividing the preset time period into a plurality of monitoring time periods according to periodicity, wherein the cycle times of each monitoring time period in the preset time period are the same;
acquiring a second transmission speed of each network connection mode in each monitoring time period;
determining a monitoring score of each network connection mode according to the second transmission speed;
and taking the preset number of the network connection modes with the highest monitoring scores as the network connection modes for configuring the healthy cabin.
In some embodiments, the determining a monitoring score for each of the network connection modes according to the second transmission speed includes:
acquiring the preset number of candidate network connection modes with the highest second transmission speed for each monitoring time period;
and scoring the candidate network connection modes according to the weight corresponding to the monitoring time period to obtain the monitoring score.
In some embodiments, a monitoring time interval is formed by a plurality of continuous monitoring time periods, one monitoring time interval corresponds to one weight value, and the scoring the candidate network connection manner according to the weight of the monitoring time period to obtain the monitoring score includes:
counting the candidate times of each network connection mode determined as the candidate network connection mode in each monitoring time interval;
and aiming at each candidate network connection mode, determining the monitoring score corresponding to the candidate network connection mode according to the weight value and the candidate times corresponding to the monitoring time interval.
In some embodiments, the method further comprises:
monitoring at least one of said detection devices within said healthy cubicle;
and determining that the monitoring instruction is received when the starting signal of any detection device is monitored.
In some embodiments, the determining a target network connection mode according to the first transmission speed corresponding to each network connection mode includes:
and acquiring the first transmission speed with the highest transmission speed from the first transmission speeds corresponding to each network connection mode, and determining the network connection mode corresponding to the first transmission speed as the target network connection mode.
In some embodiments, the switching the network connection mode of the detection device in the healthy cabin to the target network connection mode includes:
judging whether the current network connection mode of the detection equipment is consistent with the target network connection mode;
if yes, keeping the current network connection mode;
if not, switching the current network connection mode to the target network connection mode.
In some embodiments, the switching the current network connection mode to the target network connection mode includes:
acquiring configuration information corresponding to the target network connection mode according to the target network connection mode identification, wherein the configuration information is configured and generated according to the monitoring result when the healthy cabin is built;
and controlling the healthy cabin to upload the detection result of the detection equipment according to the target network connection mode according to the configuration information.
In a second aspect, an embodiment of the present application provides a network selection apparatus for a healthy cabin, including:
the detection module is used for monitoring the current transmission speed of the network connection modes configured for the healthy cabin when receiving the monitoring instruction to obtain a first transmission speed corresponding to each network connection mode, wherein the network connection modes are configured according to the transmission speed monitoring result in a preset time period when the healthy cabin is constructed;
the determining module is used for determining a target network connection mode according to the first transmission speed corresponding to each network connection mode;
and the switching module is used for switching the network connection mode of the detection equipment in the healthy cabin to the target network connection mode.
In a third aspect, embodiments of the present application provide an electronic device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor executes the computer program to implement the method described in the embodiments of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the method as described in the embodiments of the present application.
According to the network selection method for the healthy cabin, the healthy cabin is configured by detecting various network connection modes and selecting the preset number of network connection modes when the healthy cabin is built, and when the healthy cabin is used, the current connection modes are switched according to the current transmission speed of the configured network connection modes of the healthy cabin, so that the uploading speed of the detection result of the healthy cabin is effectively improved, the uploading delay caused by network problems is avoided, and the user experience is avoided.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a diagram illustrating an implementation environment architecture of a healthy cabin and a network selection method thereof according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a network selection method for a healthy cabin according to an embodiment of the present disclosure;
fig. 3 is a flowchart of another network selection method for a healthy cabin according to an embodiment of the present disclosure;
fig. 4 is a flowchart of another network selection method for a healthy cabin according to an embodiment of the present disclosure;
fig. 5 is a block diagram illustrating a network selection device for a health cabin according to an embodiment of the present disclosure;
fig. 6 shows a schematic structural diagram of a computer system suitable for implementing the electronic device or the server according to the embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
The health cabin is a place where the government provides free self-health detection, receives health guidance, establishes a health file and promotes residents to actively participate in self-health management. The health cabin is generally a health service terminal outside various medical health management institutions, integrates self-service health detection and professional medical health service, and can provide nearby health management for a large number of preoperative/postoperative follow-up people, slow patient groups, sub-health people, old people and the like.
The healthy cabin can complete screening of items such as hypertension, diabetes, arteriosclerosis, osteoporosis, cardiovascular diseases, lung function diseases, chronic mental stress diseases and the like. Based on advanced information science and technology, a community health service platform construction center is used, and a comprehensive health self-testing system is adopted, so that systematic and professional services are provided for community residents and community doctors, the community health service quality and service efficiency are improved, and powerful support and guarantee are provided for the community disease prevention and treatment career.
The specific real-time environment of the healthy cabin and the network selection method thereof provided by the application is shown in fig. 1. Fig. 1 is a diagram illustrating an implementation environment architecture of a healthy cabin and a network selection method thereof according to an embodiment of the present application.
As shown in fig. 1, the implementation environment architecture includes: the system comprises a healthy cabin 1, detection equipment 2 arranged in the healthy cabin and a server 3.
The health cabin 1 can be provided with communication transfer equipment, the detection equipment 2 arranged in the health cabin can be connected with the transfer equipment in a wired connection mode, and the transfer equipment is directly or indirectly connected with the server 3 in a wired or wireless communication mode. Optionally, the wireless network or wired network described above uses standard communication techniques and/or protocols. The Network is typically the Internet, but may be any Network including, but not limited to, a Local Area Network (LAN), a Metropolitan Area Network (MAN), a Wide Area Network (WAN), a mobile, wired or wireless Network, NB-loT (Narrow Band Internet of Things over cellular), a private Network, or any combination of virtual private networks.
At least one detection device 2 is configured in the health cabin 1, the detection device 2 may include but is not limited to a sphygmomanometer, a blood glucose meter, a weight scale, a body fat measuring instrument, etc., the detection device 2 may communicate with a relay device in the health cabin 1 in a wired or wireless communication manner, send detected human body data information to the relay device in the health cabin 1 and then send the detected human body data information to the server 3 through the relay device in the health cabin 1, or the detection device 2 directly communicates with the server 3 by using a network connection device configured in the health cabin 1 to send the detected human body data information to the server 3.
The server 3 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a network service, cloud communication, middleware service, a domain name service, a security service, a CDN, a big data and artificial intelligence platform, and the like.
At present, in a building and health cabin Internet of things implementation scene, the network uploading problem is always ignored, and different areas and different network connection modes can cause that data cannot be uploaded by data Internet of things equipment due to poor network conditions. The related technology application is mainly divided into two aspects: on the one hand, only WIFI connection is carried out on the Internet of things equipment, and on the other hand, the WIFI connection is mainly distributed on the mobile terminal, so that network switching is carried out according to data uploading time due to safety problems, privacy and the like.
Based on the above, the present application provides a healthy cabin, a network selection method, a network selection device, and a storage medium thereof.
Fig. 2 is a flowchart of a network selection method for a healthy cabin according to an embodiment of the present disclosure. It should be noted that the main execution body of the network selection method for the healthy cabin in this embodiment is a network selection device for the healthy cabin, the network selection device for the healthy cabin may be implemented by software and/or hardware, the network selection device for the healthy cabin in this embodiment may be configured in the detection device or the healthy cabin, and the server communicates with and controls the electronic device.
Step 101, when receiving a monitoring instruction, monitoring a current transmission speed of a network connection mode configured for the healthy cabin to obtain a first transmission speed corresponding to each network connection mode, wherein the network connection mode is configured according to a transmission speed monitoring result in a preset time period when the healthy cabin is constructed.
It should be noted that, when it is determined that the health cabin interior detection device needs to be directly in communication connection with the server, or a communication transfer device is arranged in the health cabin, the health cabin interior detection device is connected with the transfer device in the health cabin, and the transfer device in the health cabin is used to be in communication connection with the server, it is determined that the monitoring instruction is received.
For example, a human body detection sensor may be provided at an entrance of the health cabin, and the monitoring instruction is determined to be received when the human body detection sensor detects that the resident enters, or a human body detection sensor may be provided in a detection area of each detection device of the health cabin, and the monitoring instruction is determined to be received when the human body detection sensor detects that the resident enters.
In one or more embodiments, at least one detection device in the healthy room is monitored, and when an activation signal of any detection device is monitored, it is determined that a monitoring instruction is received.
That is to say, the network selection device for the healthy cabin performs state health on each detection device in the healthy cabin in real time, and after a resident enters the healthy cabin and selects an item to be detected, the resident starts the detection device by using the start key so that the detection device can detect the health data of the resident, and at this time, the network selection device for the healthy cabin determines that a detection instruction is received. Wherein activating the detection device includes waking the detection device from a standby state and also includes switching the detection device from a powered down state to a powered up state.
Therefore, the construction cost of the healthy cabin can be effectively reduced, and the monitoring instruction can be determined and received without adding sensor equipment.
Furthermore, since the network connection mode is configured in the healthy cabin, the current transmission speed of the configured network connection mode can be monitored by using a speed measurement application program and the like configured in advance. The current speed is an uploading speed which can be provided currently by a network connection mode, and it should be understood that the present application needs to upload a detection result of the detection device in the healthy cabin to the server, and therefore, the uploading speed of the network connection needs to be concerned, but when the uploading speed and the downloading speed or other network factors have a mapping relationship, the uploading speed of the network connection mode can be indirectly obtained by detecting other network parameters, which is not limited herein.
It should be noted that the network connection mode is to monitor the transmission speed in a preset time period when the healthy cabin is constructed, and select a preset number with an optimal monitoring result for configuration. The preset number of the network connection modes can be set according to actual conditions, in order to save the construction cost of the healthy cabin, two network connection modes which are most suitable for the healthy cabin can be configured according to the monitoring result of the healthy cabin during construction, and if the construction fund is abundant or the evaluation results of multiple network connection modes are similar, three or more network connection modes can be configured.
And 102, determining a target network connection mode according to the first transmission speed corresponding to each network connection mode.
Optionally, the network connection mode with the fastest first transmission speed in the network connection modes may be determined as the target network connection mode.
And 103, switching the network connection mode of the equipment in the health cabin to a target network connection mode.
Therefore, according to the network selection method for the healthy cabin, the healthy cabin is configured by detecting various network connection modes and selecting the preset number of network connection modes when the healthy cabin is built, and when the healthy cabin is used, the current connection mode is switched according to the current transmission speed of the configured network connection modes of the healthy cabin, so that the uploading speed of the detection result of the healthy cabin is effectively increased, the uploading delay caused by network problems is avoided, and the user experience is avoided.
In one or more embodiments, as shown in fig. 3, configuring a preset number of network connection modes according to a transmission speed monitoring result in a preset time period during the construction of the healthy cabin includes:
step 201, dividing a preset time period into a plurality of monitoring time periods according to periodicity, wherein the cycle times of each monitoring time period in the preset time period are the same.
In one or more embodiments, whether a healthy cabin is constructed or reconstructed, a certain construction time is required, and a preset time period can be selected within the construction time, for example, when the construction time is long, the time of two weeks can be selected as the preset time, when the reconstruction time is short, the time of one week can be selected as the preset time, of course, the time can be adjusted according to actual conditions, and the length of the preset time is not specifically limited in the present application.
The process of selecting the network connection mode is described below with the preset time being 7 days.
In particular, the time of day may be divided into several time periods, for example 3, 8, 15 or 24, preferably the time of day may be divided into 24 time periods, i.e. one time period of 1 hour. That is, each time period is cycled within a preset time period for each day. Therefore, the preset time period is divided into a plurality of circulating monitoring time periods, the monitored network transmission speed data information can be enriched, and the monitoring result based on the preset time period has higher reliability.
Step 202, obtaining a second transmission speed of each network connection mode in each monitoring time period.
Optionally, a general adaptation may be performed for each network connection mode when the healthy small room is established, where the general adaptation is to ensure that the detection result of each detection device in the healthy small room can be uploaded to the server through the network connection mode.
That is, the current transmission speed of each network connection mode is monitored in each monitoring time period, where the monitoring time for each monitoring time period is the same, that is, the second transmission speed of each network connection mode may be monitored at the start time of each monitoring time period, the second transmission speed of each network connection mode may be monitored at the end time of each monitoring time period, the second transmission speed of each network connection mode may be monitored at a certain time point in a random monitoring time period, and the second transmission speed of each network connection mode may be monitored and averaged for multiple times in each monitoring time period.
And step 203, determining the monitoring score of each network connection mode according to the second transmission speed.
In one or more embodiments, determining the monitoring score for each network connection based on the second transmission rate includes: and acquiring a preset number of candidate network connection modes with the highest second transmission speed for each monitoring time period, and grading the candidate network connection modes according to the weight corresponding to the monitoring time period to obtain a monitoring grade.
It should be noted that, since the health cabin is usually prepared for the physical self-help detection of the nearby residents, and the activity time of the residents is usually day time, the weight of the monitoring time period may be set according to actual conditions, for example, 8-18 times per day is higher than 18-24 times per day (time after work), and 18-24 times is higher than 0-8 times per day. It should be understood that the setting of the weight needs to be determined according to the setting position of the healthy cabin, for example, when the healthy cabin is set in a community, the weight setting mode of >18-24 >0-8 in the aforementioned 8-18 time can be selected, and when the healthy cabin is set at a transportation hub, such as a train station, an airport, the weight setting mode of >0-8 in the 18-18 time-18-24 time can be selected, and the specific setting mode is not specifically limited herein.
In one or more embodiments, the weight data may correspond to a weight value for each monitoring time period, i.e., one weight value may be set for each monitoring time period, e.g., the same or different weight values may be set for time periods 8-18, respectively 8 hours, 9 hours … 18 hours, respectively. Alternatively, a plurality of consecutive monitoring time periods are combined into a monitoring time interval, and one monitoring time interval corresponds to one weight value, for example, 8 to 18 hours is taken as one monitoring time corresponding to one weight value, and 18 to 24 hours is taken as one monitoring time corresponding to one weight value.
As a feasible embodiment, when a plurality of continuous monitoring time periods form a monitoring time interval, and one monitoring time interval corresponds to one weight value, scoring the candidate network connection manner according to the weight of the monitoring time period to obtain a monitoring score, including: and counting the candidate times of each network connection mode determined as the candidate network connection mode in each monitoring time interval, and determining the monitoring score corresponding to the candidate network connection mode according to the weight value and the candidate times corresponding to the monitoring time interval.
That is to say, the second transmission speed of each monitoring time period may be obtained first, the preset number of network connection modes with the highest second transmission speed corresponding to each monitoring time period is selected as the candidate network connection modes of the monitoring time period, then the number of times that each network connection mode is determined as the candidate network connection mode in each monitoring time interval is counted according to the divided monitoring time intervals, and finally, for each candidate network connection mode, the monitoring score corresponding to the candidate network connection mode is determined according to the weight value and the candidate number of times corresponding to the monitoring time interval.
Optionally, the weight value of each candidate network connection mode in each monitoring time interval may be multiplied by the candidate frequency to obtain a score of the candidate network connection mode in the monitoring time interval, and then the scores of the multiple monitoring time intervals are added to obtain a final monitoring score of the candidate network connection mode.
For example, 4 network connection modes are provided, including but not limited to wireless network, wired network, traffic card, NB-loT, network monitoring is carried out once per hour, monitoring is carried out for 7 days continuously, and monitoring time periods T1E [0,1], T2E [1.2], T3E [2,3], T4E [3,4], …, T24E [23,24]
αT1=[v T11,vT12,v T13,vT14,vT15,vT16,vT17]
αT2=[v T21,vT22,v T23,vT24,vT25,vT26,vT27]
αT3=[v T31,vT32,v T33,vT34,vT35,vT36,vT37]
……
αT24=[v T241,vT242,v T243,vT244,vT245,vT246,vT247]
Wherein v isTnm is a second transmission speed, alpha, of the nth monitoring time period in the mth day in a certain network connection modeT1And a second set of transmission speeds for the nth monitoring period for the network connection.
Then, for each network connection mode, the average of 7 days of data can be used to obtain the network speed AVG1-AVG24That is, 4 groups of 24 AVGs with different time periods are obtained1-AVG24For example, the first network connection may correspond to AAVG1、BAVG1、CAVG1、DAVG1(ii) a The second network connection mode can correspond to AAVG2、BAVG2、CAVG2、DAVG2By analogy, for each monitoring period, there are:
TABLE 1
First mode Second mode Third mode Fourth mode
T1 AAVG1 BAVG1 CAVG1 DAVG1
T2 AAVG2 BAVG2 CAVG2 DAVG2
T3 AAVG3 BAVG3 CAVG3 DAVG3
T24 AAVG24 BAVG24 CAVG24 DAVG24
Then, for each monitoring time period, comparing second transmission speeds corresponding to four network connection modes in table 1, and extracting two modes with the highest speed as candidate network connection modes, wherein the two modes include:
TABLE 2
Figure BDA0003080280740000111
In this embodiment, the following monitoring time intervals and the weights corresponding to the monitoring time intervals are set:
TABLE 3
Time At 0-8 time At 8-18 times 18-24 hours
Weight of 10% 70% 20%
Counting the number of the candidate network connection modes of each monitoring time interval according to the monitoring time interval to obtain the following data information:
T1-T8 T8-T18 T18-T24
first mode 6 2 4
Second mode 3 4 6
Third mode 4 5 3
Fourth mode 1 7 3
Then, for each network connection mode, multiplying the weight corresponding to the monitoring time interval by the number of times that the network connection mode is determined as the candidate network connection mode to obtain the score of each monitoring time interval, and adding the scores corresponding to each monitoring time interval to obtain the monitoring score corresponding to the network connection mode:
the first mode is as follows: 6 × 10% +2 × 70% +4 × 20% ═ 2.8
The second mode is as follows: 3 × 10% +4 × 70% +6 × 20% ═ 4.3
The third mode is as follows: 4 × 10% +5 × 70% +3 × 20% ═ 4.5
The fourth mode is that: 1 × 10% +7 × 70% +3 × 20% ═ 5.6
And 204, taking the preset number of network connection modes with the highest monitoring scores as the network connection modes for configuring the healthy cabin.
Optionally, the preset number is a number which is greater than or equal to 2 and smaller than the number of the network connection modes, so that at least one alternative network connection mode with stable network connection speed is provided under the condition that the network connection mode with the highest monitoring score is selected and the network connection speed of the healthy cabin and the server is the fastest, and preferably, the preset number is 2, so that the cost of network construction of the healthy cabin is saved.
Therefore, the network connection mode of the preset number capable of providing the fastest network connection speed for the healthy cabin can be selected according to the actual construction environment of the healthy cabin when the healthy cabin is constructed, the healthy cabin constructed by the selected network connection mode can have the optimal network transmission speed, and meanwhile the network connection construction cost of the healthy cabin is effectively reduced.
In one or more embodiments, determining a target network connection mode according to a first transmission speed corresponding to each network connection mode includes: and acquiring the first transmission speed with the highest transmission speed from the first transmission speeds corresponding to each network connection mode, and determining the network connection mode corresponding to the first transmission speed as the target network connection mode.
That is to say, the method and the device monitor the current transmission speed of the configured preset number of network connection modes, and then select the network connection mode with the highest current transmission speed as the target network connection mode, so that the detection result of the detection equipment in the healthy cabin can be further ensured to be uploaded to the server at the fastest network transmission speed which can be provided currently, the resident user can inquire the detection result of the resident user in time after the self-service detection is completed, and the experience of the resident user is improved.
In one or more embodiments, switching the network connection mode of the detection device in the healthy cabin to the target network connection mode includes: and judging whether the current network connection mode of the detection equipment is consistent with the target network connection mode, if so, keeping the current network connection mode, and if not, switching the current network connection mode to the target network connection mode.
Optionally, switching the current network connection mode to the target network connection mode includes: and acquiring configuration information corresponding to the target network connection mode according to the target network connection mode identifier, configuring and generating the configuration information according to a monitoring result when the healthy cabin is constructed, and controlling the healthy cabin to upload the detection result of the detection equipment according to the target network connection mode according to the configuration information.
That is to say, the healthy cabin may continuously maintain the previous network connection mode connected to the server after the previous detection result is uploaded, after the resident user triggers a monitoring instruction by starting any one of the detection devices and monitors the current transmission speed of the configured network connection mode to obtain a target network connection mode, further determine whether the currently maintained network connection mode is the same as the monitored target network connection mode, if so, keep the current connection state unchanged, upload the detection result of the detection device to the server according to the currently maintained network connection mode, if not, obtain the configuration information set for the target network connection mode when the healthy cabin is constructed, and control the healthy cabin to upload the detection result of the detection device according to the target network connection mode according to the configuration information.
Therefore, when the resident user starts the detection equipment, the transmission speed of the configured network connection mode is monitored, the network connection mode is switched, when the resident user completes detection, the target network connection mode can be directly utilized to send the detection result to the server, network optimization selection is achieved under the condition that the resident user does not sense the whole process, and experience of the resident user is improved.
As a specific embodiment, as shown in fig. 4, the method includes the following steps:
step 301, acquiring a start signal of any detection device, and determining that a monitoring instruction is received.
Step 302, monitoring the first transmission speed of two network connection modes configured for the health cabin according to the monitoring instruction.
Step 303, the network connection mode with the fastest first transmission speed is taken as the target network connection mode.
Step 304, determine whether the connected network connection mode is the target network connection mode.
If so, step 306 is performed, and if not, step 305 is performed.
And 305, controlling the healthy cabin to switch to a target network connection mode.
And step 306, sending the detection result of the detection device to a server by using a target network connection mode.
In summary, according to the network selection method for the healthy cabin, provided by the application, the healthy cabin is configured by detecting various network connection modes and selecting a preset number of network connection modes when the healthy cabin is built, and when the healthy cabin is used, the current connection mode is switched according to the current transmission speed of the network connection mode configured for the healthy cabin, so that the uploading speed of the detection result of the healthy cabin is effectively increased, and uploading delay and user experience caused by network problems are avoided.
It should be noted that while the operations of the method of the present invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results.
With further reference to fig. 5, fig. 5 is a block diagram illustrating a network selection device for a health cabin according to an embodiment of the present disclosure.
As shown in fig. 5, the network selection apparatus 10 for a health cabin includes:
the monitoring module 11 is configured to monitor a current transmission speed of a network connection mode configured for the healthy cabin when receiving a monitoring instruction, and obtain a first transmission speed corresponding to each network connection mode, where the network connection mode is configured according to a transmission speed monitoring result within a preset time period when the healthy cabin is constructed;
a determining module 12, configured to determine a target network connection mode according to the first transmission speed corresponding to each network connection mode;
and the switching module 13 is configured to switch the network connection mode of the detection device in the healthy cabin to the target network connection mode.
In some embodiments, the monitoring module 11 is further configured to:
dividing the preset time period into a plurality of monitoring time periods according to periodicity, wherein the cycle times of each monitoring time period in the preset time period are the same;
acquiring a second transmission speed of each network connection mode in each monitoring time period;
determining a monitoring score of each network connection mode according to the second transmission speed;
and taking the preset number of the network connection modes with the highest monitoring scores as the network connection modes for configuring the healthy cabin.
In some embodiments, the monitoring module 11 is further configured to:
acquiring the preset number of candidate network connection modes with the highest second transmission speed for each monitoring time period;
and scoring the candidate network connection modes according to the weight corresponding to the monitoring time period to obtain the monitoring score.
In some embodiments, the monitoring module 11 is further configured to:
counting the candidate times of each network connection mode determined as the candidate network connection mode in each monitoring time interval;
and aiming at each candidate network connection mode, determining the monitoring score corresponding to the candidate network connection mode according to the weight value and the candidate times corresponding to the monitoring time interval.
In some embodiments, the monitoring module 11 is further configured to:
monitoring at least one of said detection devices within said healthy cubicle;
and determining that the monitoring instruction is received when the starting signal of any detection device is monitored.
In some embodiments, the determining module 12 is further configured to: and acquiring the first transmission speed with the highest transmission speed from the first transmission speeds corresponding to each network connection mode, and determining the network connection mode corresponding to the first transmission speed as the target network connection mode.
In some embodiments, the switching module 13 is further configured to: judging whether the current network connection mode of the detection equipment is consistent with the target network connection mode;
if yes, keeping the current network connection mode;
if not, switching the current network connection mode to the target network connection mode.
In some embodiments, the switching module 13 is further configured to:
acquiring configuration information corresponding to the target network connection mode according to the target network connection mode identification, wherein the configuration information is configured and generated according to the monitoring result when the healthy cabin is built;
and controlling the healthy cabin to upload the detection result of the detection equipment according to the target network connection mode according to the configuration information.
It should be understood that the units or modules recited in the network selection device 10 for a healthy cabin correspond to the various steps in the method described with reference to fig. 2. Thus, the operations and features described above for the method are equally applicable to the network selection apparatus 10 for a health cabin and the units contained therein, and will not be described in detail here. The network selection apparatus 10 for the health cabin may be implemented in a browser of the electronic device or other security applications in advance, or may be loaded into the browser of the electronic device or other security applications by downloading or the like. The corresponding units in the network selection device 10 for a healthy cabin may cooperate with units in the electronic equipment to implement the solution of the embodiment of the present application.
The division into several modules or units mentioned in the above detailed description is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
It should be noted that, for details that are not disclosed in the network selection device for a healthy cabin according to the embodiment of the present application, please refer to details disclosed in the above embodiments of the present application, and details are not described herein again.
According to the network selection method for the healthy cabin, the healthy cabin is configured by detecting various network connection modes and selecting the preset number of network connection modes when the healthy cabin is built, and when the healthy cabin is used, the current connection modes are switched according to the current transmission speed of the configured network connection modes of the healthy cabin, so that the uploading speed of the detection result of the healthy cabin is effectively improved, the uploading delay caused by network problems is avoided, and the user experience is avoided.
Referring now to fig. 6, fig. 6 illustrates a schematic diagram of a computer system suitable for use in implementing an electronic device or server of an embodiment of the present application,
as shown in fig. 6, the computer system includes a Central Processing Unit (CPU)601, which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for operation instructions of the system are also stored. The CPU601, ROM602, and RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605; an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
In particular, according to embodiments of the present application, the process described above with reference to the flowchart fig. 2 may be implemented as a computer software program. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program comprises program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The above-described functions defined in the system of the present application are executed when the computer program is executed by the Central Processing Unit (CPU) 601.
It should be noted that the computer readable medium shown in the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operational instructions of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present application may be implemented by software or hardware. The described units or modules may also be provided in a processor, and may be described as: a processor includes a monitoring module, a determination module, and a switching module. The names of the units or modules do not limit the units or modules in a certain situation, for example, the monitoring module may also be described as "monitoring the current transmission speed of the network connection modes configured for the healthy cabin when receiving the monitoring instruction, to obtain a first transmission speed corresponding to each network connection mode, where the network connection modes are configured according to the transmission speed monitoring result in the preset time period when the healthy cabin is constructed".
As another aspect, the present application also provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiments, or may exist separately without being assembled into the electronic device. The computer readable storage medium stores one or more programs which, when executed by one or more processors, perform the network selection method for a healthy cabin described herein.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the disclosure. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (11)

1. A network selection method for a healthy cabin, comprising:
when a monitoring instruction is received, monitoring the current transmission speed of the network connection modes configured for the healthy cabin to obtain a first transmission speed corresponding to each network connection mode, wherein the network connection modes are the preset number of network connection modes configured according to the transmission speed monitoring result in a preset time period when the healthy cabin is constructed;
determining a target network connection mode according to the first transmission speed corresponding to each network connection mode;
and switching the network connection mode of the detection equipment in the healthy cabin to the target network connection mode.
2. The method according to claim 1, wherein configuring a preset number of the network connection modes according to a transmission speed monitoring result within a preset time period during the construction of the healthy cabin comprises:
dividing the preset time period into a plurality of monitoring time periods according to periodicity, wherein the cycle times of each monitoring time period in the preset time period are the same;
acquiring a second transmission speed of each network connection mode in each monitoring time period;
determining a monitoring score of each network connection mode according to the second transmission speed;
and taking the preset number of the network connection modes with the highest monitoring scores as the network connection modes for configuring the healthy cabin.
3. The method of claim 2, wherein determining a monitoring score for each of the network connections based on the second transmission rate comprises:
acquiring the preset number of candidate network connection modes with the highest second transmission speed for each monitoring time period;
and scoring the candidate network connection modes according to the weight corresponding to the monitoring time period to obtain the monitoring score.
4. The method according to claim 3, wherein a plurality of consecutive monitoring time periods form a monitoring time interval, one monitoring time interval corresponds to one weight value, and the scoring the candidate network connection modes according to the weight of the monitoring time period to obtain the monitoring score comprises:
counting the candidate times of each network connection mode determined as the candidate network connection mode in each monitoring time interval;
and aiming at each candidate network connection mode, determining the monitoring score corresponding to the candidate network connection mode according to the weight value and the candidate times corresponding to the monitoring time interval.
5. The method of claim 1, further comprising:
monitoring at least one of said detection devices within said healthy cubicle;
and determining that the monitoring instruction is received when the starting signal of any detection device is monitored.
6. The method according to claim 1, wherein the determining a target network connection type according to the first transmission speed corresponding to each network connection type comprises:
and acquiring the first transmission speed with the highest transmission speed from the first transmission speeds corresponding to each network connection mode, and determining the network connection mode corresponding to the first transmission speed as the target network connection mode.
7. The method of claim 1, wherein the switching the network connection mode of the device under test in the healthy cabin to the target network connection mode comprises:
judging whether the current network connection mode of the detection equipment is consistent with the target network connection mode;
if yes, keeping the current network connection mode;
if not, switching the current network connection mode to the target network connection mode.
8. The method of claim 7, wherein the switching the current network connection mode to the target network connection mode comprises:
acquiring configuration information corresponding to the target network connection mode according to the target network connection mode identification, wherein the configuration information is configured and generated according to the monitoring result when the healthy cabin is built;
and controlling the healthy cabin to upload the detection result of the detection equipment according to the target network connection mode according to the configuration information.
9. A network selection device for a healthy cabin, comprising:
the monitoring module is used for monitoring the current transmission speed of the network connection modes configured for the healthy cabin when receiving a monitoring instruction to obtain a first transmission speed corresponding to each network connection mode, wherein the network connection modes are the preset number of the network connection modes configured according to the transmission speed monitoring result in a preset time period when the healthy cabin is constructed;
the determining module is used for determining a target network connection mode according to the first transmission speed corresponding to each network connection mode;
and the switching module is used for switching the network connection mode of the detection equipment in the healthy cabin to the target network connection mode.
10. A health cabin comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor, when executing the program, implements a network selection method for the health cabin as claimed in any one of claims 1 to 8.
11. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the network selection method for a health cabin according to any one of claims 1 to 8.
CN202110564653.2A 2021-05-24 2021-05-24 Healthy cabin and network selection method, device and storage medium thereof Active CN113225233B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110564653.2A CN113225233B (en) 2021-05-24 2021-05-24 Healthy cabin and network selection method, device and storage medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110564653.2A CN113225233B (en) 2021-05-24 2021-05-24 Healthy cabin and network selection method, device and storage medium thereof

Publications (2)

Publication Number Publication Date
CN113225233A true CN113225233A (en) 2021-08-06
CN113225233B CN113225233B (en) 2023-03-28

Family

ID=77097944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110564653.2A Active CN113225233B (en) 2021-05-24 2021-05-24 Healthy cabin and network selection method, device and storage medium thereof

Country Status (1)

Country Link
CN (1) CN113225233B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115037781A (en) * 2022-06-01 2022-09-09 浙江宇视科技有限公司 Equipment connection method and device and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103493433A (en) * 2011-04-18 2014-01-01 瑞典爱立信有限公司 Method and apparatus for quality of service monitoring of services in a communication network
WO2016183949A1 (en) * 2015-05-19 2016-11-24 中兴通讯股份有限公司 Network selection method, device, and mobile terminal
WO2017016758A1 (en) * 2015-07-28 2017-02-02 British Telecommunications Public Limited Company Network function virtualization
CN106658616A (en) * 2016-12-26 2017-05-10 北京奇虎科技有限公司 Network switching method and apparatus based on network speed, and terminal device
CN107197493A (en) * 2017-06-26 2017-09-22 广东欧珀移动通信有限公司 A kind of method for switching network, network switching device and intelligent terminal
CN110868742A (en) * 2019-11-22 2020-03-06 上海商米科技集团股份有限公司 Network switching method and device
CN112711514A (en) * 2020-12-30 2021-04-27 北京珞安科技有限责任公司 Monitoring system, method and device of terminal equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103493433A (en) * 2011-04-18 2014-01-01 瑞典爱立信有限公司 Method and apparatus for quality of service monitoring of services in a communication network
WO2016183949A1 (en) * 2015-05-19 2016-11-24 中兴通讯股份有限公司 Network selection method, device, and mobile terminal
WO2017016758A1 (en) * 2015-07-28 2017-02-02 British Telecommunications Public Limited Company Network function virtualization
CN106658616A (en) * 2016-12-26 2017-05-10 北京奇虎科技有限公司 Network switching method and apparatus based on network speed, and terminal device
CN107197493A (en) * 2017-06-26 2017-09-22 广东欧珀移动通信有限公司 A kind of method for switching network, network switching device and intelligent terminal
CN110868742A (en) * 2019-11-22 2020-03-06 上海商米科技集团股份有限公司 Network switching method and device
CN112711514A (en) * 2020-12-30 2021-04-27 北京珞安科技有限责任公司 Monitoring system, method and device of terminal equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115037781A (en) * 2022-06-01 2022-09-09 浙江宇视科技有限公司 Equipment connection method and device and electronic equipment
CN115037781B (en) * 2022-06-01 2024-02-02 浙江宇视科技有限公司 Equipment connection method and device and electronic equipment

Also Published As

Publication number Publication date
CN113225233B (en) 2023-03-28

Similar Documents

Publication Publication Date Title
US10269233B2 (en) Presence and absence prediction method and presence and absence prediction apparatus
US20220218232A1 (en) A device, system, and method for measuring physiological phenomena and physical activivies in a subject
CN108335739B (en) First-aid information management system
CN108261176B (en) Fetal heart monitoring data processing method, device, system, storage medium and computer equipment
CN113225233B (en) Healthy cabin and network selection method, device and storage medium thereof
US11011274B2 (en) Method and apparatus for predicting mortality of a patient using trained classifiers
KR20160047153A (en) Method and apparatus for managing exercise
GB2548420A (en) Clock synchronization within wireless network
CN108209891A (en) Remote health medical monitoring method and system
JP2018534697A (en) System and method for facilitating health monitoring based on personalized predictive models
US20200058209A1 (en) System and method for automated health monitoring
Schrock et al. Drill down analysis of door-to-needle time of acute ischemic stroke patients treated with intravenous tissue plasminogen activator
CN115778403B (en) Electrocardiogram analysis method, apparatus, electronic device, and storage medium
CN112773341A (en) Information prompting method, device, system, storage medium and electronic equipment
CN113324559B (en) Motion step counting method and device and air treatment equipment
Vithiya et al. Detection, monitoring and tracking of survivors under critical condition using Raspberry-Pi
CN110689959A (en) Medical health management method and device
CN104736066A (en) Biometric Sound Testing Device And Biometric Sound Testing Method
CN111862081B (en) Image scoring method, training method and device of score prediction network
Atwater et al. Early increased physical activity, cardiac rehabilitation, and survival after implantable cardioverter-defibrillator implantation
EP2893870A1 (en) Device, method, program for guiding a user to a desired sleep state
US20210265027A1 (en) Method and system for conducting survey relating to urination, and non-transitory computer-readable recording medium
CN104112058A (en) Physical fitness training cloud-data acquiring system and method
US20240127911A1 (en) Blood sugar constitution determination device, blood sugar constitution determination method, and recording medium
CN112612305B (en) Temperature adjusting method, device, equipment, storage medium and air conditioning system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant