WO2024017248A9 - 响应方法及装置、设备、计算机可读存储介质 - Google Patents
响应方法及装置、设备、计算机可读存储介质 Download PDFInfo
- Publication number
- WO2024017248A9 WO2024017248A9 PCT/CN2023/107921 CN2023107921W WO2024017248A9 WO 2024017248 A9 WO2024017248 A9 WO 2024017248A9 CN 2023107921 W CN2023107921 W CN 2023107921W WO 2024017248 A9 WO2024017248 A9 WO 2024017248A9
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal
- network
- preset
- quality corresponding
- operating parameters
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 63
- 230000004044 response Effects 0.000 title claims abstract description 45
- 230000001413 cellular effect Effects 0.000 claims abstract description 101
- 238000004891 communication Methods 0.000 claims abstract description 58
- 238000001514 detection method Methods 0.000 claims description 21
- 230000015654 memory Effects 0.000 claims description 18
- 238000004590 computer program Methods 0.000 description 19
- 238000010586 diagram Methods 0.000 description 14
- 230000006870 function Effects 0.000 description 14
- 238000012545 processing Methods 0.000 description 11
- 230000008569 process Effects 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 4
- 239000004973 liquid crystal related substance Substances 0.000 description 4
- 239000004065 semiconductor Substances 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/14—Reselecting a network or an air interface
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/24—Reselection being triggered by specific parameters
- H04W36/30—Reselection being triggered by specific parameters by measured or perceived connection quality data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/18—Selecting a network or a communication service
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- This application relates to the field of communications, and specifically to a response method, device, equipment, and computer-readable storage medium.
- WiFi Wireless Fidelity, wireless LAN
- the robustness of a single WiFi is low, resulting in unstable communication signals of terminals in the wireless LAN. For example, when the signal quality of the terminal deteriorates in the wireless LAN, or the terminal itself operates under high load, it will This causes terminal communication to be interrupted, resulting in data loss and other situations.
- the existing improvement technology is to build a heterogeneous communication network and determine the communication status of the current communication network by obtaining multiple relevant network parameters. If the signal of the current communication network is not good, switch the communication network to another one in the heterogeneous communication network. Network, the process is more cumbersome. In addition, since detailed data analysis is not performed for each terminal, the communication status of each terminal in the communication network cannot be accurately known, and the communication network may be mistakenly switched, resulting in poor communication status of the terminal in the switched communication network. The communication status in the communication network before switching.
- embodiments of the present application respectively provide a response method, device, equipment, and computer-readable storage medium.
- a response method is provided, which is applied to a heterogeneous communication network system.
- the heterogeneous communication network system includes a wireless local area network and a cellular network.
- the method includes: obtaining the corresponding response of the wireless local area network signal received by the terminal.
- the network quality and the operating parameters of the terminal if the network quality corresponding to the wireless LAN signal is greater than the first preset quality threshold, and the operating parameters meet the preset operating conditions, it is detected whether the terminal has a receiving cellular network signal capability, and detect whether the network quality corresponding to the cellular network signal of the terminal is greater than the second preset quality threshold; if the terminal has the ability to receive cellular network signals, and the terminal has the ability to receive cellular network signals, If the corresponding network quality is greater than the second preset quality threshold, the terminal is determined to be a group owner terminal in the wireless local area network; the group owner terminal responds to requests from other terminals.
- a response device is provided, which is applied to a heterogeneous communication network system.
- the heterogeneous communication network system includes a wireless local area network and a cellular network.
- the device includes:
- An acquisition module configured to acquire the network quality corresponding to the wireless LAN signal received by the terminal and the operating parameters of the terminal;
- a detection module configured to detect whether the terminal has the ability to receive cellular network signals if the network quality corresponding to the wireless LAN signal is greater than a first preset quality threshold and the operating parameters meet the preset operating conditions; and Detect whether the network quality corresponding to the cellular network signal of the terminal is greater than a second preset quality threshold;
- a determination module configured to determine that the terminal serves as the wireless local area network if the terminal has the ability to receive cellular network signals, and the network quality corresponding to the cellular network signal of the terminal is greater than a second preset quality threshold.
- a response module configured to respond to requests from other terminals through the group owner terminal.
- the acquisition module includes:
- a first acquisition unit configured to acquire the network quality corresponding to the wireless LAN signal received by the terminal, and detect whether the network quality corresponding to the wireless LAN signal is greater than the first preset quality threshold
- the second acquisition unit is configured to acquire the operating parameters of the terminal and detect whether the operating parameters satisfy the preset operating conditions.
- the operating parameters include at least one of network load, CPU load and operating temperature;
- the second acquisition unit includes:
- a network load detection module configured to detect whether the network load is greater than a first load preset threshold
- a CPU load detection module configured to detect whether the CPU load is greater than a second load preset threshold
- the operating temperature detection module is configured to detect whether the operating temperature is greater than a preset temperature threshold.
- the response device further includes:
- Other terminal data acquisition modules are configured to: if it is detected that the terminal does not have the ability to receive cellular network signals, or it is detected that the network quality corresponding to the cellular network signal of the terminal is less than or equal to the second preset quality threshold, obtain the network quality corresponding to the wireless LAN signal received by other terminals and the operating parameters of the terminal;
- the terminal data comparison module is configured to calculate the network quality corresponding to the wireless LAN signal received by the terminal and the operating parameters of the terminal, and the network quality corresponding to the wireless LAN signal received by the other terminal and the operating parameters of the other terminal, A terminal is determined as a group owner within the wireless local area network from the terminal and the other terminals.
- the terminal data comparison module includes:
- the first switching capability coefficient calculation unit is configured to calculate the network quality corresponding to the wireless LAN signal received by the terminal and the operating parameters of the terminal, and obtain the switching capability coefficient of the terminal;
- the second switching capability coefficient calculation unit is configured to calculate the network quality corresponding to the wireless LAN signal received by the other terminal and the operating parameters of the other terminal, and obtain the switching capability coefficient of the other terminal;
- a switching capability coefficient comparison unit configured to determine the terminal with the largest switching capability coefficient based on the switching capability coefficient of the terminal and the switching capability coefficients of the other terminals, and determine the terminal with the largest switching capability coefficient as the terminal Group owner terminal within wireless LAN.
- the acquisition module includes:
- a terminal network quality acquisition unit configured to acquire the network quality corresponding to the wireless local area network signal received by the terminal
- a first detection unit configured to detect whether the network quality corresponding to the wireless LAN signal is greater than the first preset quality threshold
- the terminal operation parameter acquisition unit is configured to acquire the operation parameters of the terminal if the network quality corresponding to the wireless LAN signal is greater than the first preset quality threshold.
- the detection module includes:
- a second detection unit configured to detect whether the power of the cellular network signal received by the terminal is greater than the second preset power threshold
- the third detection unit is configured to detect whether the strength of the cellular network signal received by the terminal is greater than the second preset strength threshold.
- an electronic device including: a controller; and a memory for storing one or more programs, to execute when the one or more programs are executed by the controller. The above response method.
- a computer-readable storage medium on which computer-readable instructions are stored.
- the computer-readable instructions are executed by the processor of the computer, the computer is caused to perform the above response. method.
- a computer program product or computer program is also provided.
- the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium.
- the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the above-mentioned response method.
- Figure 1 is a schematic diagram of an implementation environment involved in this application.
- Figure 2 is a flow chart of a response method according to an exemplary embodiment of the present application.
- Figure 3 is a flow chart of another response method proposed based on the embodiment shown in Figure 2;
- Figure 4 is a flow chart of another response method proposed based on the embodiment shown in Figure 3;
- Figure 5 is a flow chart of another response method proposed based on the embodiment shown in Figure 2;
- Figure 6 is a flow chart of another response method proposed based on the embodiment shown in Figure 5;
- Figure 7 is a flow chart of another response method proposed based on any of the embodiments shown in Figures 2 to 6;
- Figure 8 is a schematic diagram of the determination process of a group owner terminal in a wireless local area network according to an exemplary embodiment of the present application
- Figure 9 is a flow chart of another response method proposed based on any of the embodiments shown in Figures 2 to 6;
- Figure 10 is a schematic structural diagram of a response device according to an exemplary embodiment of the present application.
- FIG. 11 is a schematic structural diagram of a computer system of an electronic device according to an exemplary embodiment of the present application.
- the "plurality” mentioned in this application means two or more than two.
- “And/or” describes the relationship between related objects, indicating that there can be three relationships.
- a and/or B can mean: A exists alone, A and B exist simultaneously, and B exists alone.
- the character “/” generally indicates that the related objects are in an "or” relationship.
- Figure 1 is a schematic diagram of an implementation environment involved in this application.
- the response method in this application is applied to heterogeneous communication network systems including wireless local area networks and cellular networks, that is, introducing cellular networks based on wireless local area networks to construct a heterogeneous communication network.
- wireless LAN refers to the application of wireless communication technology to interconnect computer devices to form a network system that can communicate with each other and realize resource sharing.
- the essential characteristic of wireless LAN is that it no longer uses communication cables to connect computers to the network, but connects wirelessly, making network construction and terminal movement more flexible.
- Cellular network is a mobile communication hardware architecture, which is divided into analog cellular network and digital cellular network.
- Wireless LAN accesses the Internet through a wireless router, which is generally free.
- Cellular network refers to a mobile communication network, which refers to a base station established by our operator and is charged according to traffic.
- the mobile heterogeneous communication network constructed by the wireless local area network and the cellular network of this application can quickly sense terminal status changes, and is faster and more flexible than the two independent mobile networks that separately sense the terminal status.
- FIG. 1 it includes a terminal 100, a server 200, an A terminal 300 and a B terminal 400.
- the server 200 and the terminal 100 are connected through a network, and the terminal 100, A terminal 300 and B terminal 400 are connected through a wired or wireless network. communication.
- the terminal 100 can receive and transmit signals in the communication network system. It can receive wireless LAN signals, but it does not necessarily have the ability to receive cellular network signals. Subsequent function testing is required to determine whether the terminal 100 is capable of receiving cellular network signals. Ability.
- the terminal 100 can record the operating parameters generated by itself during operation, or store the operating parameters in a unit with storage function such as a database. That is, the server can directly obtain the operating parameters from the terminal 100, or obtain the operation parameters of the terminal 100 from the database. parameter.
- the terminal 100 is a terminal in a WiFi multi-hop group.
- the server 200 obtains the network quality corresponding to the wireless LAN signal received by the terminal 100 and the operating parameters of the terminal 100; if the network quality corresponding to the wireless LAN signal is greater than the first preset quality threshold and the operating parameters meet the preset operating conditions, it detects whether the terminal 100 Have the ability to receive cellular network signals, and detect whether the network quality corresponding to the cellular network signal of the terminal 100 is greater than the second preset quality threshold; if the terminal 100 has the ability to receive cellular network signals, and the terminal 100 has the network quality corresponding to the cellular network signal If the quality is greater than the second preset quality threshold, the terminal 100 is determined to be the group owner terminal in the wireless local area network; the terminal 100 responds to requests from other terminals, that is, responds to requests sent by terminal A 300 and terminal B 400.
- the server 200 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. Multiple servers can form a blockchain, and the server is a node on the blockchain.
- the server 200 can also It provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network, content distribution network) and big data and artificial intelligence platforms. This article does not impose any restrictions on cloud servers such as basic cloud computing services.
- Figure 2 is a flow chart of a response method according to an exemplary embodiment of the present application.
- This method can be specifically executed by the server 200 in the implementation environment shown in Figure 1.
- this method can also be applied to other implementation environments and executed by server devices in other implementation environments, which is not limited in this embodiment.
- this method is applied to heterogeneous communication network systems.
- Heterogeneous communication network systems include wireless LANs and cellular networks, including at least S210 to S240. The details are as follows:
- S210 Obtain the network quality corresponding to the wireless LAN signal received by the terminal and the operating parameters of the terminal.
- This embodiment obtains data related to the terminal itself, that is, by obtaining data related to the terminal, a suitable terminal is selected to switch to the group owner terminal to ensure the stability of the communication network.
- the network quality represents the receiving strength or receiving power of the network signal received by the terminal, which represents the terminal's ability to receive the specified network signal.
- Operating parameters are parameters generated by the terminal during network communication, which represent the attribute parameters of the terminal itself.
- operating parameters may include: operating temperature, load size, real-time operating memory size, etc.
- S220 If the network quality corresponding to the wireless LAN signal is greater than the first preset quality threshold, and the operating parameters meet the preset operating conditions, detect whether the terminal has the ability to receive cellular network signals, and detect the network quality corresponding to the cellular network signal of the terminal. Whether it is greater than the second preset quality threshold.
- Network quality is a value that can be quantified numerically, and it can be numerically compared with the first preset quality threshold. If the network quality is greater than the first preset quality threshold, and the operating parameters of the terminal meet the preset operating conditions, then It is detected whether the terminal has the function of receiving cellular network signals. If the terminal has the function of receiving cellular network signals, it is then detected whether the network quality corresponding to the cellular network signal is greater than the second preset quality threshold.
- the type of the first preset quality threshold is the same as the type of network quality corresponding to the wireless LAN signal.
- the network quality represents the received strength
- the first preset quality threshold is the first preset strength threshold
- the network quality represents the received power
- the first preset quality threshold is the first preset power threshold.
- the type of the second preset quality threshold is the same as the type of network quality corresponding to the cellular network signal, and the types of the first preset quality threshold and the second preset quality threshold may be the same or different, for example, the first preset quality threshold Assume that the types of the quality threshold and the second preset quality threshold are both power thresholds, or the type of the first preset quality threshold is a power threshold, and the type of the second preset quality threshold is an intensity threshold. This embodiment does not make it specific. limited.
- Preset operating conditions include temperature, memory, load and other conditions set for terminal operation.
- the operating temperature of the terminal in the preset conditions needs to be controlled below 30°C. If the temperature in the terminal operating parameters is 35°C and is greater than 30°C, it means that the operating parameters of the terminal do not meet the preset operating conditions; if the terminal runs If the temperature in the parameter is 25°C, it indicates that the operating parameters of the terminal meet the preset operating conditions.
- the network quality corresponding to the wireless LAN signal received by the terminal is 80 units.
- the operating parameters include the temperature parameter 20°C, that is, the temperature during the operation of the terminal is 20°C; the first preset quality threshold is 70 units. , the preset operating condition is that the terminal operating temperature is controlled below 30°C. From this, it can be seen that the network quality corresponding to the wireless LAN signal received by the terminal is greater than the first preset quality threshold, and the operating parameters meet the preset operating conditions, then it is detected whether the terminal has The function of receiving cellular network signals. If the terminal has the function of receiving cellular network signals, it is then detected whether the network quality corresponding to the cellular network signal is greater than the second preset quality threshold.
- the terminal has the function of receiving cellular network signals, and the network quality corresponding to the cellular network signal is 60 units, and the second preset quality threshold is 55 units, it means that the terminal corresponds to the cellular network signal.
- the network quality is greater than the second preset quality threshold, so that the terminal is determined to be the group owner terminal in the wireless local area network.
- S240 Respond to requests from other terminals through the group owner terminal.
- the group owner terminal switching determination process is based on the above detection conditions and can quickly switch the group owner terminal. Compared with detection methods such as machine learning that rely on large sample data training, the group owner terminal can be determined more quickly , reduce switching delay.
- a heterogeneous communication network is obtained by adding a cellular network based on a wireless LAN. Based on the network quality of signals received by the terminal in the wireless LAN and the operating parameters of the terminal, as well as the network quality of signals received in the cellular network, only When the network quality of the signal received by the terminal in the wireless LAN is greater than the first preset quality threshold, and the operating parameters of the terminal meet the preset operating conditions, the network quality corresponding to the cellular network signal of the terminal is detected. This can avoid directly detecting the cellular network. The network quality corresponding to the signal causes resource consumption and other phenomena.
- this application can more accurately determine the communication status of the terminal under the current network based on the terminal's own operating parameters and related network quality parameters, thereby accurately determining the group owner terminal in the wireless LAN, and through the group The group owner terminal responds to requests from other terminals to ensure normal communication of the terminals, thereby enhancing the robustness of the heterogeneous communication network system.
- Figure 3 is a flow chart of another response method proposed based on the embodiment shown in Figure 2.
- the method includes S310 to S320 in S210 shown in Figure 2, which will be introduced in detail below:
- S310 Obtain the network quality corresponding to the wireless LAN signal received by the terminal, and detect whether the network quality corresponding to the wireless LAN signal is greater than the first preset quality threshold.
- the network quality of the wireless LAN signal received by the terminal is obtained as 100 units, the first preset quality threshold is 80 units, and the two are compared according to the number of units.
- the network quality corresponding to the wireless LAN signal is less than or equal to the first preset quality threshold, there is no need to obtain the operating parameters of the terminal, but directly detect whether the terminal has the ability to receive cellular network signals, and detect whether the terminal is capable of receiving cellular network signals. Whether the network quality corresponding to the signal is greater than the second preset quality threshold.
- S320 Obtain the operating parameters of the terminal and detect whether the operating parameters meet the preset operating conditions.
- the acquisition of operating parameters and the acquisition of network quality corresponding to the received wireless LAN signal can be performed at the same time or in steps. For example, S310 and S320 are executed at the same time, or S310 is executed first and then S320 is executed.
- This embodiment illustrates that after obtaining the relevant data of the terminal, a preliminary judgment is made on whether the terminal can become the group owner terminal based on the comparison result of the relevant data and the relevant preset threshold. Moreover, the steps of obtaining the terminal's operating data and receiving the network quality corresponding to the wireless LAN signal can be executed simultaneously to save determination time and quickly determine whether the terminal is a group owner terminal.
- FIG. 4 is a flow chart of another response method proposed based on the embodiment shown in FIG. 3 .
- the operating parameters include at least one of network load, central processor load and operating temperature; the method also includes at least one step of S410, S420, and S430 in S320 as shown in Figure 3, which will be introduced in detail below:
- the first load preset threshold is a threshold for comparison obtained based on multiple previous experiments, and is used to determine whether the network load of the terminal meets the network load in its operating conditions.
- the second load preset threshold is a threshold for comparison obtained based on multiple previous experiments.
- the unit of the second load preset threshold can be the same as the unit of the first load preset threshold, and the size of the two can be Same or different, this embodiment does not limit it.
- the preset temperature threshold is the critical temperature value that determines whether the terminal can operate normally. If the temperature of the terminal is greater than the critical temperature value, it may cause communication failure and fail to operate normally, affecting the stability of the entire communication network.
- This embodiment further explains the types of operating parameters, which can be a set of multiple types of operating parameters, or a single type of operating parameters, and different types of operating parameters are compared with corresponding preset thresholds. If the operating parameters include multiple types of operating parameters, only when all types of operating parameters meet the corresponding preset threshold requirements can it be determined that the operating parameters of the terminal meet the preset operating conditions, thereby accurately determining whether the operating parameters of the terminal are meet preset operating conditions.
- FIG. 5 is a flow chart of another response method proposed based on the embodiment shown in FIG. 2 . This method also includes S510 to S520, which are described in detail below:
- the other terminals in this embodiment refer to other terminals other than the terminal in the heterogeneous communication network system.
- the other terminals may be one number of terminals or multiple number of terminals.
- the terminal may not have the ability to receive cellular network signals, or it is detected that the network quality corresponding to the cellular network signal of the terminal is less than or equal to the second preset quality threshold, it means that the terminal may not be able to become the group owner terminal, but needs to be Its further analysis and judgment are mainly based on the network quality corresponding to the wireless LAN signal received by other terminals and the operating parameters of the terminal.
- S520 Based on the network quality corresponding to the terminal receiving wireless LAN signals and the operating parameters of the terminal, and the network quality corresponding to the wireless LAN signals received by other terminals and the operating parameters of other terminals, determine the group within the wireless LAN from the terminal and other terminals Owner terminal.
- the corresponding first comparison value is calculated according to the network quality corresponding to the wireless LAN signal received by the terminal and the operating parameters of the terminal.
- the corresponding first comparison value is calculated according to the network quality corresponding to the wireless LAN signal received by other terminals and the operating parameters of other terminals.
- the second comparison value is compared with the first comparison value and the second comparison value to obtain a comparison result.
- the terminal and other terminals are determined as the group owner terminal in the wireless local area network. For example, compare The terminal with the larger value is determined to be the group owner terminal in the wireless LAN.
- This embodiment obtains the network quality corresponding to the wireless LAN signal received by other terminals and the operating parameters of the terminal, and detects the network quality corresponding to the wireless LAN signal received by the terminal and the operating parameters of the terminal. Obtain the relevant data of each terminal in the heterogeneous communication network system, and focus on the parameters related to each hardware itself while taking the communication factors into consideration to further accurately determine the group owner terminal in the wireless LAN.
- FIG. 6 is a flow chart of another response method proposed based on the embodiment shown in FIG. 5 . This method also includes S610 to S630 in S520 shown in Figure 5, which are introduced in detail below:
- S610 Calculate the network quality corresponding to the wireless LAN signal received by the terminal and the operating parameters of the terminal, and obtain the switching capability coefficient of the terminal.
- S620 Calculate the network quality corresponding to the wireless LAN signal received by other terminals and the operating parameters of other terminals, and obtain the switching capability coefficients of other terminals.
- the switching capability coefficient of each other terminal is calculated.
- S630 According to the switching capability coefficient of the terminal and the switching capability coefficients of other terminals, determine the terminal with the largest switching capability coefficient, and determine the terminal with the largest switching capability coefficient as the group owner terminal in the wireless LAN.
- Terminal B is determined to be the group owner terminal in the wireless LAN.
- This embodiment further illustrates how to determine the group owner terminal in the wireless local area network from the detection terminal and other terminals.
- the switching capability coefficient of the terminal is calculated based on the network quality corresponding to the received wireless LAN signal and the operating parameters of the terminal, and the terminal with the largest switching capability coefficient is determined as the group owner terminal in the wireless LAN. The entire determination process is convenient and fast.
- FIG. 7 is a flow chart of another response method proposed based on the embodiment shown in any one of FIGS. 2 to 6 .
- This method includes S710 to S730 in S210, which are introduced in detail below:
- S710 Obtain the network quality corresponding to the wireless LAN signal received by the terminal.
- S720 Detect whether the network quality corresponding to the wireless LAN signal is greater than the first preset quality threshold.
- FIG. 8 is a schematic diagram of the determination process of the group owner terminal in the wireless local area network shown in an exemplary embodiment of the present application.
- WiFi RSSI represents the network quality corresponding to the terminal receiving wireless LAN signals
- SRSRP1 represents the first preset quality threshold
- RSRP Reference Signal Receiving Power, reference signal receiving power
- One of the layer measurement requirements is the average signal power received on all REs (Resource Elements) carrying reference signals within a certain symbol. In this application, it represents the network quality corresponding to the terminal receiving cellular network signals.
- SRSRP2 represents the second preset quality threshold
- the operating parameters include at least one parameter among network load, CPU (central processing unit, central processing unit) load, and temperature
- LN1 represents the preset network load threshold
- LCPU1 represents the preset CPU threshold
- GO Group Owner
- the operating parameters of the terminal will be obtained and S830 will be executed; if the wireless LAN signal corresponds to If the network quality is less than or equal to the first preset quality threshold, that is, if the determination of WiFi RSSI ⁇ SRSRP1 in S820 is yes, it will detect whether the terminal has the ability to receive cellular network signals, and whether the terminal's network quality corresponding to the cellular network signal is detected. is greater than or equal to the second preset quality threshold, execute S840; finally determine the terminal as the gateway GO, and broadcast Beacon in the WiFi group in response to requests from other terminals, execute S850.
- the terminal is not connected to the cellular network or the cellular network RSRP ⁇ SRSRP2, that is, the determination of S840 in Figure 8 is No, it means that the power of the terminal receiving cellular network signals is less than the second preset power threshold, and S860 is executed. If the terminal receives signals from other groups of terminals GO Beacon sent, that is, if the determination in S870 is yes, then execute S880: obtain the GO weights of other groups of terminals (switching capability coefficients of other terminals in this application) and compare them with the GO weights of the detection terminals, and compare the GO weights of the terminals in the other group. The terminal with a large weight is determined to be the group owner terminal in the wireless LAN, and S890 is executed: causing it to broadcast Beacon in the WiFi group to respond to requests from other terminals.
- FIG. 9 is a flow chart of another response method proposed based on the embodiment shown in any one of FIGS. 2 to 6 .
- This method also includes S910 or S920 in S220, which is described in detail below:
- S910 Detect whether the power of the cellular network signal received by the terminal is greater than the second preset power threshold.
- the cellular network RSRP ⁇ SRSRP2, where the cellular network RSRP represents the power of the terminal receiving the cellular network signal, and SRSRP2 represents the second preset power threshold.
- S920 Detect whether the strength of the cellular network signal received by the terminal is greater than the second preset strength threshold.
- the cellular network RSRP represents the strength of the cellular network signal received by the terminal
- SRSRP2 represents the second preset strength threshold. If the cellular network RSRP ⁇ SRSRP2 is determined to be yes in S840, the terminal becomes the gateway GO, broadcasts Beacon in the wireless LAN group, and responds to requests sent by other terminals.
- This embodiment further limits the network quality corresponding to the cellular network signal of the terminal to the power or intensity of the received cellular network signal, enriches the data types of the network quality, and provides a variety of judgment data types to facilitate the judgment of the terminal's response to the cellular network. Whether the network quality corresponding to the signal meets the network quality corresponding to the cellular network signal required by it as a group owner terminal in the wireless LAN.
- FIG. 10 is a schematic structural diagram of a response device according to an exemplary embodiment of the present application. Among them, it is applied to heterogeneous communication network systems.
- Heterogeneous communication network systems include wireless local area networks and cellular networks.
- the devices include:
- the acquisition module 1010 is configured to acquire the network quality corresponding to the wireless LAN signal received by the terminal and the operating parameters of the terminal.
- the detection module 1030 is configured to detect whether the terminal has the ability to receive cellular network signals if the network quality corresponding to the wireless LAN signal is greater than the first preset quality threshold and the operating parameters meet the preset operating conditions, and to detect whether the terminal has the ability to receive cellular network signals. Whether the network quality corresponding to the signal is greater than the second preset quality threshold.
- the determination module 1050 is configured to determine the terminal as the group owner terminal in the wireless local area network if the terminal has the ability to receive cellular network signals and the network quality corresponding to the cellular network signal of the terminal is greater than the second preset quality threshold.
- the response module 1070 is configured to respond to requests from other terminals through the group owner terminal.
- the acquisition module 1010 includes:
- the first acquisition unit is configured to acquire the network quality corresponding to the wireless LAN signal received by the terminal, and detect whether the network quality corresponding to the wireless LAN signal is greater than the first preset quality threshold.
- the second acquisition unit is configured to acquire the operating parameters of the terminal and detect whether the operating parameters meet the preset operating conditions.
- the operating parameters include at least one of network load, CPU load and operating temperature;
- the second acquisition unit includes:
- the network load detection module is configured to detect whether the network load is greater than a first load preset threshold.
- the CPU load detection module is configured to detect whether the CPU load is greater than a second load preset threshold.
- the operating temperature detection module is configured to detect whether the operating temperature is greater than the preset temperature threshold.
- the response device further includes:
- the other terminal data acquisition module is configured to acquire other terminals' reception of wireless signals if it is detected that the terminal does not have the ability to receive cellular network signals, or it is detected that the network quality corresponding to the cellular network signal of the terminal is less than or equal to the second preset quality threshold.
- the network quality corresponding to the LAN signal and the operating parameters of the terminal are configured to acquire other terminals' reception of wireless signals if it is detected that the terminal does not have the ability to receive cellular network signals, or it is detected that the network quality corresponding to the cellular network signal of the terminal is less than or equal to the second preset quality threshold.
- the terminal data comparison module is configured to determine the network quality corresponding to the wireless LAN signal received by the terminal and the operating parameters of the terminal, and the network quality corresponding to the wireless LAN signal received by other terminals and the operating parameters of other terminals.
- the terminal data comparison module includes:
- the first switching capability coefficient calculation unit is configured to calculate the network quality corresponding to the wireless LAN signal received by the terminal and the operating parameters of the terminal, and obtain the switching capability coefficient of the terminal.
- the second switching capability coefficient calculation unit is configured to calculate the network quality corresponding to the wireless LAN signal received by the other terminal and the operating parameters of the other terminal, and obtain the switching capability coefficient of the other terminal.
- the switching capability coefficient comparison unit is configured to determine the terminal with the largest switching capability coefficient based on the switching capability coefficient of the terminal and the switching capability coefficients of other terminals, and determine the terminal with the largest switching capability coefficient as the group owner in the wireless local area network terminal.
- the acquisition module 1010 includes:
- the terminal network quality obtaining unit is configured to obtain the network quality corresponding to the wireless local area network signal received by the terminal.
- the first detection unit is configured to detect whether the network quality corresponding to the wireless local area network signal is greater than the first preset quality threshold.
- the terminal operation parameter acquisition unit is configured to acquire the operation parameters of the terminal if the network quality corresponding to the wireless LAN signal is greater than the first preset quality threshold.
- the detection module 1030 includes:
- the second detection unit is configured to detect whether the power of the cellular network signal received by the terminal is greater than the second preset power threshold.
- the third detection unit is configured to detect whether the strength of the cellular network signal received by the terminal is greater than the second preset strength threshold.
- Another aspect of the application also provides an electronic device, including: a controller; and a memory for storing one or more programs, to perform the above method when the one or more programs are executed by the controller.
- FIG. 11 is a schematic structural diagram of a computer system of an electronic device according to an exemplary embodiment of the present application. It shows a schematic structural diagram of a computer system of an electronic device suitable for implementing the embodiment of the present application.
- the computer system 1100 includes a central processing unit (Central Processing Unit, CPU) 1101, which can be loaded into a random computer according to a program stored in a read-only memory (Read-Only Memory, ROM) 1102 or from a storage part 1108. Access the program in the memory (Random Access Memory, RAM) 1103 to perform various appropriate actions and processing, such as performing the method in the above embodiment. In RAM 1103, various programs and data required for system operation are also stored.
- CPU 1101, ROM 1102 and RAM 1103 are connected to each other through bus 1104.
- An input/output (I/O) interface 1105 is also connected to bus 1104.
- the following components are connected to the I/O interface 1105: an input part 1106 including a keyboard, a mouse, etc.; an output part 1107 including a cathode ray tube (Cathode Ray Tube, CRT), a liquid crystal display (Liquid Crystal Display, LCD), etc., and a speaker, etc. ; a storage section 1108 including a hard disk, etc.; and a communication section 1109 including a network interface card such as a LAN (Local Area Network) card, a modem, etc.
- the communication section 1109 performs communication processing via a network such as the Internet.
- Driver 1110 is also connected to I/O interface 1105 as needed.
- Removable media 1111 such as magnetic disks, optical disks, magneto-optical disks, semiconductor memories, etc., are installed on the drive 1110 as needed, so that a computer program read therefrom is installed into the storage portion 1108 as needed.
- the process described above with reference to the flowchart may be implemented as a computer software program.
- embodiments of the present application include a computer program product including a computer program carried on a computer-readable medium, the computer program including a computer program for performing the method shown in the flowchart.
- the computer program may be downloaded and installed from the network via communication portion 1109 and/or installed from removable media 1111 .
- the central processing unit CPU
- various functions defined in the system of the present application are executed.
- the computer-readable medium shown in the embodiments of the present application may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
- the computer-readable storage medium may be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof.
- Computer readable storage media may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard drive, random access memory (RAM), read only memory (ROM), removable Programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), flash memory, optical fiber, portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or any of the above suitable The combination.
- a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device.
- a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, in which a computer-readable computer program is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above.
- a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .
- Computer programs embodied on computer-readable media may be transmitted using any suitable medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
- each block in the flow chart or block diagram may represent a module, program segment, or part of the code.
- the above-mentioned module, program segment, or part of the code includes one or more executable components for implementing the specified logical function. instruction.
- the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown one after another may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved.
- each block in the block diagram or flowchart illustration, and combinations of blocks in the block diagram or flowchart illustration can be implemented by special purpose hardware-based systems that perform the specified functions or operations, or may be implemented by special purpose hardware-based systems that perform the specified functions or operations. Achieved by a combination of specialized hardware and computer instructions.
- the units involved in the embodiments of this application can be implemented in software or hardware, and the described units can also be provided in a processor. Among them, the names of these units do not constitute a limitation on the unit itself under certain circumstances.
- Another aspect of the present application also provides a computer-readable storage medium on which a computer program is stored.
- the computer program is executed by a processor, the previous response method is implemented.
- the computer-readable storage medium may be included in the electronic device described in the above embodiments, or may exist separately without being assembled into the electronic device.
- Another aspect of the present application also provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium.
- the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the response method provided in the above embodiments.
- a computer system including a central processing unit (Central Processing Unit, CPU), which can process data according to a program stored in a read-only memory (Read-Only Memory, ROM) or from The storage part loads the program into the random access memory (Random Access Memory, RAM) to perform various appropriate actions and processing, such as performing the method in the above embodiment.
- CPU Central Processing Unit
- RAM Random Access Memory
- various programs and data required for system operation are also stored.
- CPU, ROM and RAM are connected to each other through buses.
- I/O Input/Output
- the following components are connected to the I/O interface: input parts including keyboard, mouse, etc.; including output parts such as cathode ray tubes (Cathode Ray Tube, CRT), liquid crystal displays (Liquid Crystal Display, LCD), etc., and speakers; including hard disks
- the storage part, etc. and the communication part including network interface cards such as LAN (Local Area Network) cards, modems, etc.
- the communication section performs communication processing via a network such as the Internet.
- Drives are also connected to I/O interfaces as needed.
- Removable media such as magnetic disks, optical disks, magneto-optical disks, semiconductor memories, etc., are installed on the drive as needed, so that the computer program read therefrom is installed into the storage section as needed.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请的实施例揭示了一种响应方法及装置、设备、计算机可读存储介质。所述响应方法包括:获取终端接收无线局域网信号对应的网络质量以及终端的运行参数;若无线局域网信号对应的网络质量大于第一预设质量阈值,且运行参数满足预设运行条件,则检测终端是否具有接收蜂窝网信号的能力,以及检测终端针对蜂窝网信号对应的网络质量是否大于第二预设质量阈值;若终端具有接收蜂窝网信号的能力,且终端针对蜂窝网信号对应的网络质量大于第二预设质量阈值,则确定终端作为无线局域网内的群组所有者终端;通过所述群组所有者终端响应其他终端的请求。本申请的技术方案能够实时准确地确定出无线局域网内的群组所有者终端,并通过群组所有者终端响应其他终端的请求,以保证终端的正常通讯,增强了异构通信网络***的鲁棒性。
Description
相关申请的交叉引用
本申请要求于2022年07月21日提交的申请号为202210874216.5、名称为“响应方法及装置、设备、计算机可读存储介质”的中国专利申请的优先权,该中国专利申请的全部内容通过引用全部并入本文。
本申请涉及通信领域,具体涉及一种响应方法及装置、设备、计算机可读存储介质。
单一的WiFi(Wireless Fidelity,无线局域网)的鲁棒性较低,导致无线局域网中的终端的通讯信号不稳定,例如终端在无线局域网的信号质量劣化、或者终端自身高负载的运行过程中,会使得终端通讯中断,造成数据丢失等情况的发生。
现有改进技术是构建异构通信网络,通过获取多个相关的网络参数,来判断当前通信网络的通讯状态,若当前通信网络的信号不好,将通信网络切换为异构通信网络中的另外网络,过程较为繁琐。另外,由于未针对各个终端进行细致的数据解析,并不能准确的知晓各个终端在通信网络中的通讯状态,可能出现误切换通信网络的情况,造成终端在切换后的通信网络中的通讯状态差于切换前的通信网络中的通讯状态。
发明内容
为解决上述技术问题,本申请的实施例分别提供了一种响应方法及装置、设备、计算机可读存储介质。
本申请的其他特性和优点将通过下面的详细描述变得显然,或部分地通过本申请的实践而习得。
根据本申请实施例的一个方面,提供了一种响应方法,应用于异构通信网络***,所述异构通信网络***包括无线局域网和蜂窝网,所述方法包括:获取终端接收无线局域网信号对应的网络质量以及所述终端的运行参数;若所述无线局域网信号对应的网络质量大于第一预设质量阈值,且所述运行参数满足预设运行条件,则检测所述终端是否具有接收蜂窝网信号的能力,以及检测所述终端针对所述蜂窝网信号对应的网络质量是否大于第二预设质量阈值;若所述终端具有接收蜂窝网信号的能力,且所述终端针对所述蜂窝网信号对应的网络质量大于第二预设质量阈值,则确定所述终端作为所述无线局域网内的群组所有者终端;通过所述群组所有者终端响应其他终端的请求。
根据本申请实施例的一个方面,提供了一种响应装置,应用于异构通信网络***,所述异构通信网络***包括无线局域网和蜂窝网,所述装置包括:
获取模块,被配置为获取终端接收无线局域网信号对应的网络质量以及所述终端的运行参数;
检测模块,被配置为若所述无线局域网信号对应的网络质量大于第一预设质量阈值,且所述运行参数满足预设运行条件,则检测所述终端是否具有接收蜂窝网信号的能力,以及检测所述终端针对所述蜂窝网信号对应的网络质量是否大于第二预设质量阈值;
确定模块,被配置为若所述终端具有接收蜂窝网信号的能力,且所述终端针对所述蜂窝网信号对应的网络质量大于第二预设质量阈值,则确定所述终端作为所述无线局域网内的群组所有者终端;
响应模块,被配置为通过所述群组所有者终端响应其他终端的请求。
在另一实施例中,所述获取模块包括:
第一获取单元,被配置为获取所述终端接收无线局域网信号对应的网络质量,并检测所述无线局域网信号对应的网络质量是否大于所述第一预设质量阈值;
第二获取单元,被配置为获取所述终端的运行参数,并检测所述运行参数是否满足所述预设运行条件。
在另一实施例中,所述运行参数包括网络负载,中央处理器负载和运行温度中的至少一项;所述第二获取单元包括:
网络负载检测板块,被配置为检测所述网络负载是否大于第一负载预设阈值;
中央处理器负载检测板块,被配置为检测所述中央处理器负载是否大于第二负载预设阈值;
运行温度检测板块,被配置为检测所述运行温度是否大于预设温度阈值。
在另一实施例中,所述响应装置还包括:
其他终端数据获取模块,被配置为若检测到所述终端不具有接收蜂窝网信号的能力,或者检测到所述终端针对所述蜂窝网信号对应的网络质量小于或等于所述第二预设质量阈值,则获取其他终端接收无线局域网信号对应的网络质量和所述终端的运行参数;
终端数据比较模块,被配置为根据所述终端接收无线局域网信号对应的网络质量和所述终端的运行参数,以及所述其他终端接收无线局域网信号对应的网络质量和所述其他终端的运行参数,从所述终端和所述其他终端中确定作为所述无线局域网内的群组所有者终端。
在另一实施例中,所述终端数据比较模块包括:
第一切换能力系数计算单元,被配置为对所述终端接收无线局域网信号对应的网络质量和所述终端的运行参数进行计算,得到所述终端的切换能力系数;
第二切换能力系数计算单元,被配置为对所述其他终端接收无线局域网信号对应的网络质量和所述其他终端的运行参数进行计算,得到所述其他终端的切换能力系数;
切换能力系数比较单元,被配置为根据所述终端的切换能力系数和所述其他终端的切换能力系数,确定出切换能力系数最大的终端,并将所述切换能力系数最大的终端确定为所述无线局域网内的群组所有者终端。
在另一实施例中,所述获取模块包括:
终端网络质量获取单元,被配置为获取所述终端接收无线局域网信号对应的网络质量;
第一检测单元,被配置为检测所述无线局域网信号对应的网络质量是否大于所述第一预设质量阈值;
终端运行参数获取单元,被配置为若所述无线局域网信号对应的网络质量大于所述第一预设质量阈值,则获取所述终端的运行参数。
在另一实施例中,所述检测模块包括:
第二检测单元,被配置为检测所述终端接收所述蜂窝网信号的功率是否大于所述第二预设功率阈值;
第三检测单元,被配置为检测所述终端接收所述蜂窝网信号的强度是否大于所述第二预设强度阈值。
根据本申请实施例的一个方面,提供了一种电子设备,包括:控制器;存储器,用于存储一个或多个程序,当所述一个或多个程序被所述控制器执行时,以执行上述的响应方法。
根据本申请实施例的一个方面,还提供了一种计算机可读存储介质,其上存储有计算机可读指令,当所述计算机可读指令被计算机的处理器执行时,使计算机执行上述的响应方法。
根据本申请实施例的一个方面,还提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述的响应方法。
应理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术者来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。在附图中:
图1是本申请涉及的一种实施环境的示意图;
图2是本申请一示例性实施例示出的一种响应方法的流程图;
图3是基于图2所示实施例提出的另一响应方法的流程图;
图4是基于图3所示实施例提出的另一响应方法的流程图;
图5是基于图2所示实施例提出的另一响应方法的流程图;
图6基于图5中所示实施例提出的另一响应方法的流程图;
图7是基于图2至图6中任一所示实施例提出的另一响应方法的流程图;
图8是本申请一示例性实施例示出的无线局域网内的群组所有者终端的确定过程的示意图;
图9是基于图2至图6中任一所示实施例提出的另一响应方法的流程图;
图10是本申请一示例性实施例示出的响应装置的结构示意图;
图11本申请的一示例性实施例示出的电子设备的计算机***的结构示意图。
这里将详细地对示例性实施例执行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。
附图中所示的方框图仅仅是功能实体,不一定必须与物理上独立的实体相对应。
即,可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。
附图中所示的流程图仅是示例性说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解,而有的操作/步骤可以合并或部分合并,因此实际执行的顺序有可能根据实际情况改变。
在本申请中提及的“多个”是指两个或者两个以上。“和/或”描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。
首先请参阅图1,图1是本申请涉及的一种实施环境的示意图。本申请中的响应方法应用于包括无线局域网和蜂窝网的异构通信网络***,即以无线局域网为基础引入蜂窝网,构建得到异构通信网络。具体地,无线局域网指应用无线通信技术将计算机设备互联起来,构成可以互相通信和实现资源共享的网络体系。无线局域网本质的特点是不再使用通信电缆将计算机与网络连接起来,而是通过无线的方式连接,从而使网络的构建和终端的移动更加灵活。蜂窝网络是一种移动通信硬件架构,分为模拟蜂窝网络和数字蜂窝网络。由于构成网络覆盖的各通信基地台的信号覆盖呈六边形,从而使整个网络像一个蜂窝而得名。无线局域网通过无线路由器上互联网,一般免费,蜂窝网络是指移动通信网络,就是指我们的运营商所建立的一种基站,按照流量收费。
本申请的无线局域网和蜂窝构建的移动异构通信网络,能够较快感知终端状态变化,相较两者独立的移动网络分别感知终端状态的方式速度更快、灵活性更强。
如图1所示,其中,包括终端100、服务器200,A终端300和B终端400,服务器200与终端100通过网络连接,终端100、A终端300和B终端400之间通过有线或者无线网络进行通信。
终端100在构通信网络***中能接收和传输信号,其能接收无线局域网信号,但不一定具备接收蜂窝网信号的能力,需要后续对其进行功能检测,才能确定终端100是否具备接收蜂窝网信号的能力。另外,终端100在运行过程中可以记录自身产生的运行参数,或将运行参数存储于数据库等具有存储功能的单元,即服务器可以从终端100直接获取运行参数,或者从数据库中获取终端100的运行参数。在某一实施例中,终端100是WiFi多跳组内的终端。
服务器200获取终端100接收无线局域网信号对应的网络质量以及终端100的运行参数;若无线局域网信号对应的网络质量大于第一预设质量阈值,且运行参数满足预设运行条件,则检测终端100是否具有接收蜂窝网信号的能力,以及检测终端100针对蜂窝网信号对应的网络质量是否大于第二预设质量阈值;若终端100具有接收蜂窝网信号的能力,且终端100针对蜂窝网信号对应的网络质量大于第二预设质量阈值,则确定终端100作为无线局域网内的群组所有者终端;终端100响应其他终端的请求,即响应A终端300和B终端400发送的请求。
服务器200可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式***,其中多个服务器可组成一区块链,而服务器为区块链上的节点,服务器200还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN(Content Delivery Network,内容分发网络)以及大数据和人工智能平台等基础云计算服务的云服务器,本处也不对此进行限制。
请参阅图2,图2是本申请一示例性实施例示出的一种响应方法的流程图,该方法可以由图1所示实施环境中的服务器200具体执行。当然,该方法也可以应用于其它实施环境,并由其它实施环境中的服务器设备执行,本实施例不对此进行限制。如图2所示,该方法应用于异构通信网络***,异构通信网络***包括无线局域网和蜂窝网,至少包括S210至S240,详细介绍如下:
S210:获取终端接收无线局域网信号对应的网络质量以及终端的运行参数。
本实施例获取的都是终端自身相关的数据,即通过获取终端相关的数据来选取合适终端切换为群组所有者终端,以保障通信网络的稳定。其中,网络质量表征终端接收网络信号的接收强度或者接收功率,其表征终端接收指定网络信号的能力。
运行参数是终端在网络通讯过程中产生的参数,其表征终端自身属性参数,例如,运行参数可包括:运行温度、负载大小、实时运行内存大小等。
S220:若无线局域网信号对应的网络质量大于第一预设质量阈值,且运行参数满足预设运行条件,则检测终端是否具有接收蜂窝网信号的能力,以及检测终端针对蜂窝网信号对应的网络质量是否大于第二预设质量阈值。
网络质量是一个可以用数字量化的值,可以将其与第一预设质量阈值进行数值大小的比较,若网络质量大于第一预设质量阈值,且终端的运行参数满足预设运行条件,则检测终端是否具有接收蜂窝网信号的功能,若终端具有收蜂窝网信号的功能,再检测其针对蜂窝网信号对应的网络质量是否大于第二预设质量阈值。
第一预设质量阈值的类型与针对无线局域网信号对应的网络质量的类型相同,例如,网络质量表征接收强度,则第一预设质量阈值为第一预设强度阈值;若网络质量表征接收功率,则第一预设质量阈值为第一预设功率阈值。同理,第二预设质量阈值的类型与针对蜂窝网信号对应的网络质量的类型相同,并且,第一预设质量阈值和第二预设质量阈值的类型可以相同或者不同,例如第一预设质量阈值和第二预设质量阈值的类型都是功率阈值,或者第一预设质量阈值的类型为功率阈值,第二预设质量阈值的类型为强度阈值,本实施例并不对其作具体限定。
预设运行条件包括温度、内存、负载等针对终端运行设置的条件。例如,预设条件中的终端的运行温度需控制在30℃以下,若终端运行参数中的温度为35℃,其大于30℃,则表明终端的运行参数未满足预设运行条件;若终端运行参数中的温度为25℃,则表明终端的运行参数满足预设运行条件。
对S220进行示例性说明,终端接收无线局域网信号对应的网络质量为80个单位,运行参数包括温度参数20℃,即终端运行过程中的温度为20℃;第一预设质量阈值为70个单位,预设运行条件是终端运行温度控制在30℃以下,由此,可知终端接收无线局域网信号对应的网络质量大于第一预设质量阈值,且运行参数满足预设运行条件,则检测终端是否具有接收蜂窝网信号的功能,若终端具有收蜂窝网信号的功能,再检测其针对蜂窝网信号对应的网络质量是否大于第二预设质量阈值。
S230:若终端具有接收蜂窝网信号的能力,且终端针对蜂窝网信号对应的网络质量大于第二预设质量阈值,则确定终端作为无线局域网内的群组所有者终端。
示例性地,若检测到终端具备接收蜂窝网信号的功能,且针对蜂窝网信号对应的网络质量为60个单位,第二预设质量阈值为55个单位,则表明终端针对蜂窝网信号对应的网络质量大于第二预设质量阈值,从而确定将该终端作为无线局域网内的群组所有者终端。
S240:通过群组所有者终端响应其他终端的请求。
群组所有者终端切换判定过程依据上述检测条件,能快速地切换群组所有者终端,相较于采用机器学习等依赖大样本数据训练的检测方法,能更加快速地确定出群组所有者终端,降低切换时延。
本实施例通过以无线局域网为基础加入蜂窝网,得到异构通信网络,并根据终端在无线局域网内接收信号的网络质量和终端的运行参数,以及蜂窝网内接收信号的网络质量,其中,只有当终端在无线局域网内接收信号的网络质量大于第一预设质量阈值,且终端的运行参数满足预设运行条件时,才检测终端针对蜂窝网信号对应的网络质量,这样可以避免直接检测蜂窝网信号对应的网络质量造成的资源消耗等现象。
另外,本申请根据终端自身的运行参数和相关网络质量参数,能更加准确地确定出终端在当前网络下的通讯状态,以此准确地确定出无线局域网内的群组所有者终端,并通过群组所有者终端响应其他终端的请求,以保证终端的正常通讯,从而增强了异构通信网络***的鲁棒性。
请参阅图3,图3是基于图2所示实施例提出的另一响应方法的流程图。该方法在图2所示S210中包括S310至S320,下面进行详细介绍:
S310:获取终端接收无线局域网信号对应的网络质量,并检测无线局域网信号对应的网络质量是否大于第一预设质量阈值。
示例性地,获取终端接收无线局域网信号的网络质量为100个单位,第一预设质量阈值为80个单位,根据数量单位的多少比较两者的大小。
值得注意的是,若无线局域网信号对应的网络质量小于或等于第一预设质量阈值,无需获取终端的运行参数,而是直接检测终端是否具有接收蜂窝网信号的能力,以及检测终端针对蜂窝网信号对应的网络质量是否大于第二预设质量阈值。
S320:获取终端的运行参数,并检测运行参数是否满足预设运行条件。
运行参数的获取和接收无线局域网信号对应的网络质量的获取可以同时执行,也可以分步执行。例如,S310和S320同时执行,或者先执行S310,再执行S320。
本实施例阐明在获取终端的相关数据后,依据相关数据与相关预设阈值的比对结果,对终端进行是否能成为群组所有者终端的前置判断。并且获取终端的运行数据和接收无线局域网信号对应的网络质量的步骤可以同步执行,以节省判定时间,快速地确定出终端是否作为群组所有者终端。
图4是基于图3所示实施例提出的另一响应方法的流程图。运行参数包括网络负载,中央处理器负载和运行温度中的至少一项;该方法在如图3所示的S320中还包括S410、S420、S430中的至少一个步骤,下面进行详细介绍:
S410:检测网络负载是否大于第一负载预设阈值。
第一负载预设阈值是根据前置多次实验得到的用于比对的阈值,以用于判断终端的网络负载是否满足其运行条件中的网络负载。
S420:检测中央处理器负载是否大于第二负载预设阈值。
同理,第二负载预设阈值是根据前置多次实验得到的用于比对的阈值,第二负载预设阈值的单位可以和第一负载预设阈值的单位相同,两者的大小可以相同,或者不同,本实施例并不对其进行限制。
S430:检测运行温度是否大于预设温度阈值。
预设温度阈值是判断终端能否正常运行的临界温度值,若终端的温度大于了该临界温度值,可能造成其通讯故障,无法正常运行,影响整个通讯网络的稳定性。
本实施例进一步说明了运行参数的种类,其可以是多个种类的运行参数的集合,也可以是单一种类的运行参数,将不同种类的运行参数与对应的预设阈值进行比较。若运行参数包括多个种类的运行参数,只有所有种类的运行参数分别满足相应的预设阈值的要求,才能确定终端的运行参数满足预设的运行条件,从而准确地确定出终端的运行参数是否满足预设的运行条件。
图5是基于图2所示实施例提出的另一响应方法的流程图。该方法还包括S510至S520,下面进行详细介绍:
S510:若检测到终端不具有接收蜂窝网信号的能力,或者检测到终端针对蜂窝网信号对应的网络质量小于或等于第二预设质量阈值,则获取其他终端接收无线局域网信号对应的网络质量和终端的运行参数。
本实施例中的其他终端指的是异构通信网络***中除该终端以外的其他终端,其他终端可以是一个数量的终端,也可以是多个数量的终端。
若检测到终端不具有接收蜂窝网信号的能力,或者检测到终端针对蜂窝网信号对应的网络质量小于或等于第二预设质量阈值,说明该终端可能不能成为群组所有者终端,但是需要对其进一步判断,主要通过其他终端接收无线局域网信号对应的网络质量和终端的运行参数,来进行进一步地解析判断。
S520:根据终端接收无线局域网信号对应的网络质量和终端的运行参数,以及其他终端接收无线局域网信号对应的网络质量和其他终端的运行参数,从终端和其他终端中确定作为无线局域网内的群组所有者终端。
示例性地,根据终端接收无线局域网信号对应的网络质量以及终端的运行参数,计算得到相应的第一比较值,根据其他终端接收无线局域网信号对应的网络质量以及其他终端的运行参数,计算得到相应的第二比较值,将第一比较值和第二比较值进行大小比较,得到比较结果,基于该比较结果从终端和其他终端中确定作为无线局域网内的群组所有者终端,例如,将比较值大的终端确定为无线局域网内的群组所有者终端。
本实施例通过获取其他终端接收无线局域网信号对应的网络质量以及终端的运行参数,与检测终端接收无线局域网信号对应的网络质量以及终端的运行参数。获取异构通信网络***中各个终端的相关数据,在考虑通信要素的前提下,着重聚焦于各个硬件自身相关的参数,进一步准确确定出无线局域网内的群组所有者终端。
图6基于图5中所示实施例提出的另一响应方法的流程图。该方法在图5所示的S520中还包括S610至S630,下面进行详细介绍:
S610:对终端接收无线局域网信号对应的网络质量和终端的运行参数进行计算,得到终端的切换能力系数。
切换能力系数是以接收无线局域网信号对应的网络质量和运行参数为变量,根据预设公式计算得到的数值。其中,需要对该网络质量和运行参数进行数值化转换,且需要统一量纲。示例性地,按照如下公式计算得到切换能力系数:Z=ax+by;其中,a和b为常数,a表示接收无线局域网信号对应的网络质量的数值,b表示运行参数的数值,Z表示切换能力系数。
S620:对其他终端接收无线局域网信号对应的网络质量和其他终端的运行参数进行计算,得到其他终端的切换能力系数。
同理,根据异构通信网络***中其他终端接收无线局域网信号对应的网络质量和其他终端的运行参数,计算得到其他各个终端的切换能力系数。
S630:根据终端的切换能力系数和其他终端的切换能力系数,确定出切换能力系数最大的终端,并将切换能力系数最大的终端确定为无线局域网内的群组所有者终端。
示例性地,若终端的切换能力系数为10,其他终端包括A终端和B终端,A终端的切换能力系数为8,B终端的切换能力系数为15,B终端的切换能力系数最大,则将B终端确定为无线局域网内的群组所有者终端。
本实施例进一步阐明了如何从检测终端和其他终端从确定出无线局域网内的群组所有者终端。通过各自接收无线局域网信号对应的网络质量以及终端的运行参数计算得到终端的切换能力系数,并将切换能力系数最大的终端确定为无线局域网内的群组所有者终端,整个确定过程方便快捷。
图7是基于图2至图6中任一所示实施例提出的另一响应方法的流程图。该方法在S210包括S710至S730,下面进行详细介绍:
S710:获取终端接收无线局域网信号对应的网络质量。
S720:检测无线局域网信号对应的网络质量是否大于第一预设质量阈值。
S730:若无线局域网信号对应的网络质量大于第一预设质量阈值,则获取终端的运行参数。
本实施例限定了S210中的步骤顺序,如图8所示,图8是本申请一示例性实施例示出的无线局域网内的群组所有者终端的确定过程的示意图。其中,WiFi RSSI表示终端接收无线局域网信号对应的网络质量;SRSRP1表示第一预设质量阈值;RSRP(Reference Signal Receiving Power,参考信号接收功率)是LTE网络中可以代表无线信号强度的关键参数以及物理层测量需求之一,是在某个符号内承载参考信号的所有RE(Resource Element,资源粒子)上接收到的信号功率的平均值,其在本申请中表示终端接收蜂窝网信号对应的网络质量;SRSRP2表示第二预设质量阈值;运行参数包括网络负载、CPU(central processing unit,中央处理器)负载、温度中的至少一个参数,LN1表示预设网络负载阈值,LCPU1表示预设CPU阈值,T1预设温度阈值;GO(Group Owner)表示群组所有者终端。
本实施例只有检测到无线局域网信号对应的网络质量大于第一预设质量阈值,即S820中WiFi RSSI≤SRSRP1的判定为否,则会获取终端的运行参数,并执行S830;若无线局域网信号对应的网络质量小于或等于第一预设质量阈值,即S820中WiFi RSSI≤SRSRP1的判定为是,则会检测终端是否具有接收蜂窝网信号的能力,以及检测终端针对蜂窝网信号对应的网络质量是否大于等于第二预设质量阈值,即执行S840;最后将该终端确定为网关GO,在WiFi组内广播Beacon,以响应其他终端的请求,即执行S850。
若终端未连接蜂窝网或者蜂窝网RSRP<SRSRP2,即图8中S840的判定为否,则表示终端接收蜂窝网信号的功率小于第二预设功率阈值,执行S860,若终端接收其他组终端GO发送的Beacon(信标),即S870中的判定为是,则执行S880:获取其他组终端GO权值(本申请中其他终端的切换能力系数)与检测终端的GO权值进行比较,将GO权值大的终端确定为无线局域网内的群组所有者终端,执行S890:使其在WiFi组内广播Beacon,以响应其他终端的请求。
图9是基于图2至图6中任一所示实施例提出的另一响应方法的流程图。该方法在S220中还包括S910或S920,下面进行详细介绍:
S910:检测终端接收蜂窝网信号的功率是否大于第二预设功率阈值。
如图8中S840,判定蜂窝网RSRP≥SRSRP2,其中,蜂窝网RSRP表示终端接收蜂窝网信号的功率,SRSRP2表示第二预设功率阈值。
本实施例并不限制蜂窝网RSRP=SRSRP2时,执行的下一步骤为S850,若RSRP=SRSRP2时,也可以执行S860。
S920:检测终端接收蜂窝网信号的强度是否大于第二预设强度阈值。
此步骤中,蜂窝网RSRP表示终端接收蜂窝网信号的强度,SRSRP2表示第二预设强度阈值。若S840中蜂窝网RSRP≥SRSRP2判定为是,则该终端成为网关GO,在无线局域网组内广播Beacon,响应其他终端发送的请求。
本实施例进一步限定了终端针对蜂窝网信号对应的网络质量可以是接收蜂窝网络信号的功率或者强度,丰富了该网络质量的数据类型,提供了多种判断数据类型,方便判断该终端针对蜂窝网信号对应的网络质量,是否满足其作为无线局域网内的群组所有者终端所需的针对蜂窝网信号对应的网络质量。
本申请的另一方面还提供了一种响应装置,如图10所示,图10是本申请一示例性实施例示出的响应装置的结构示意图。其中,应用于异构通信网络***,异构通信网络***包括无线局域网和蜂窝网,装置包括:
获取模块1010,被配置为获取终端接收无线局域网信号对应的网络质量以及终端的运行参数。
检测模块1030,被配置为若无线局域网信号对应的网络质量大于第一预设质量阈值,且运行参数满足预设运行条件,则检测终端是否具有接收蜂窝网信号的能力,以及检测终端针对蜂窝网信号对应的网络质量是否大于第二预设质量阈值。
确定模块1050,被配置为若终端具有接收蜂窝网信号的能力,且终端针对蜂窝网信号对应的网络质量大于第二预设质量阈值,则确定终端作为无线局域网内的群组所有者终端。
响应模块1070,被配置为通过群组所有者终端响应其他终端的请求。
在另一实施例中,获取模块1010包括:
第一获取单元,被配置为获取终端接收无线局域网信号对应的网络质量,并检测无线局域网信号对应的网络质量是否大于第一预设质量阈值。
第二获取单元,被配置为获取终端的运行参数,并检测运行参数是否满足预设运行条件。
在另一实施例中,运行参数包括网络负载,中央处理器负载和运行温度中的至少一项;第二获取单元包括:
网络负载检测板块,被配置为检测网络负载是否大于第一负载预设阈值。
中央处理器负载检测板块,被配置为检测中央处理器负载是否大于第二负载预设阈值。
运行温度检测板块,被配置为检测运行温度是否大于预设温度阈值。
在另一实施例中,响应装置还包括:
其他终端数据获取模块,被配置为若检测到终端不具有接收蜂窝网信号的能力,或者检测到终端针对蜂窝网信号对应的网络质量小于或等于第二预设质量阈值,则获取其他终端接收无线局域网信号对应的网络质量和终端的运行参数。
终端数据比较模块,被配置为根据终端接收无线局域网信号对应的网络质量和终端的运行参数,以及其他终端接收无线局域网信号对应的网络质量和其他终端的运行参数,从终端和其他终端中确定作为无线局域网内的群组所有者终端。
在另一实施例中,终端数据比较模块包括:
第一切换能力系数计算单元,被配置为对终端接收无线局域网信号对应的网络质量以及终端的运行参数进行计算,得到终端的切换能力系数。
第二切换能力系数计算单元,被配置为对其他终端接收无线局域网信号对应的网络质量和其他终端的运行参数进行计算,得到其他终端的切换能力系数。
切换能力系数比较单元,被配置为根据终端的切换能力系数和其他终端的切换能力系数,确定出切换能力系数最大的终端,并将切换能力系数最大的终端确定为无线局域网内的群组所有者终端。
在另一实施例中,获取模块1010包括:
终端网络质量获取单元,被配置为获取终端接收无线局域网信号对应的网络质量。
第一检测单元,被配置为检测无线局域网信号对应的网络质量是否大于第一预设质量阈值。
终端运行参数获取单元,被配置为若无线局域网信号对应的网络质量大于第一预设质量阈值,则获取终端的运行参数。
在另一实施例中,检测模块1030包括:
第二检测单元,被配置为检测终端接收蜂窝网信号的功率是否大于第二预设功率阈值。
第三检测单元,被配置为检测终端接收蜂窝网信号的强度是否大于第二预设强度阈值。
需要说明的是,上述实施例所提供的响应装置与前述实施例所提供的响应方法属于同一构思,其中各个模块和单元执行操作的具体方式已经在方法实施例中进行了详细描述,这里不再赘述。
本申请的另一方面还提供了一种电子设备,包括:控制器;存储器,用于存储一个或多个程序,当一个或多个程序被控制器执行时,以执行上述的方法。
请参阅图11,图11是本申请的一示例性实施例示出的电子设备的计算机***的结构示意图,其示出了适于用来实现本申请实施例的电子设备的计算机***的结构示意图。
需要说明的是,图11示出的电子设备的计算机***1100仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。
如图11所示,计算机***1100包括中央处理单元(Central Processing Unit,CPU)1101,其可以根据存储在只读存储器(Read-Only Memory,ROM)1102中的程序或者从存储部分1108加载到随机访问存储器(Random Access Memory,RAM)1103中的程序而执行各种适当的动作和处理,例如执行上述实施例中的方法。在RAM 1103中,还存储有***操作所需的各种程序和数据。CPU 1101、ROM 1102以及RAM 1103通过总线1104彼此相连。输入/输出(Input/Output,I/O)接口1105也连接至总线1104。
以下部件连接至I/O接口1105:包括键盘、鼠标等的输入部分1106;包括诸如阴极射线管(Cathode Ray Tube,CRT)、液晶显示器(Liquid Crystal Display,LCD)等以及扬声器等的输出部分1107;包括硬盘等的存储部分1108;以及包括诸如LAN(Local Area Network,局域网)卡、调制解调器等的网络接口卡的通信部分1109。通信部分1109经由诸如因特网的网络执行通信处理。驱动器1110也根据需要连接至I/O接口1105。可拆卸介质1111,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器1110上,以便于从其上读出的计算机程序根据需要被安装入存储部分1108。
特别地,根据本申请的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本申请的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的计算机程序。在这样的实施例中,该计算机程序可以通过通信部分1109从网络上被下载和安装,和/或从可拆卸介质1111被安装。在该计算机程序被中央处理单元(CPU)1101执行时,执行本申请的***中限定的各种功能。
需要说明的是,本申请实施例所示的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是电、磁、光、电磁、红外线、或半导体的***、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、闪存、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行***、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的计算机程序。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行***、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的计算机程序可以用任何适当的介质传输,包括但不限于:无线、有线等等,或者上述的任意合适的组合。
附图中的流程图和框图,图示了按照本申请各种实施例的***、方法和计算机程序产品的可能实现的体系架构、功能和操作。其中,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,上述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不相同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图或流程图中的每个方框、以及框图或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的***来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现,所描述的单元也可以设置在处理器中。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定。
本申请的另一方面还提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如前的响应方法。该计算机可读存储介质可以是上述实施例中描述的电子设备中所包含的,也可以是单独存在,而未装配入该电子设备中。
本申请的另一方面还提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述各个实施例中提供的响应方法。
根据本申请实施例的一个方面,还提供了一种计算机***,包括中央处理单元(Central Processing Unit,CPU),其可以根据存储在只读存储器(Read-Only Memory,ROM)中的程序或者从存储部分加载到随机访问存储器(Random Access Memory,RAM)中的程序而执行各种适当的动作和处理,例如执行上述实施例中的方法。在RAM中,还存储有***操作所需的各种程序和数据。CPU、ROM以及RAM通过总线彼此相连。输入/输出(Input/Output,I/O)接口也连接至总线。
以下部件连接至I/O接口:包括键盘、鼠标等的输入部分;包括诸如阴极射线管(Cathode Ray Tube,CRT)、液晶显示器(Liquid Crystal Display,LCD)等以及扬声器等的输出部分;包括硬盘等的存储部分;以及包括诸如LAN(Local Area Network,局域网)卡、调制解调器等的网络接口卡的通信部分。通信部分经由诸如因特网的网络执行通信处理。驱动器也根据需要连接至I/O接口。可拆卸介质,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器上,以便于从其上读出的计算机程序根据需要被安装入存储部分。
上述内容,仅为本申请的较佳示例性实施例,并非用于限制本申请的实施方案,本领域普通技术人员根据本申请的主要构思和精神,可以十分方便地进行相应的变通或修改,故本申请的保护范围应以权利要求书所要求的保护范围为准。
Claims (10)
- 一种响应方法,其中,应用于异构通信网络***,所述异构通信网络***包括无线局域网和蜂窝网,所述方法包括:获取终端接收无线局域网信号对应的网络质量以及所述终端的运行参数;若所述无线局域网信号对应的网络质量大于第一预设质量阈值,且所述运行参数满足预设运行条件,则检测所述终端是否具有接收蜂窝网信号的能力,以及检测所述终端针对所述蜂窝网信号对应的网络质量是否大于第二预设质量阈值;若所述终端具有接收蜂窝网信号的能力,且所述终端针对所述蜂窝网信号对应的网络质量大于第二预设质量阈值,则确定所述终端作为所述无线局域网内的群组所有者终端;通过所述群组所有者终端响应其他终端的请求。
- 根据权利要求1所述的方法,其中,所述获取终端接收无线局域网信号对应的网络质量以及所述终端的运行参数,包括:获取所述终端接收无线局域网信号对应的网络质量,并检测所述无线局域网信号对应的网络质量是否大于所述第一预设质量阈值;以及获取所述终端的运行参数,并检测所述运行参数是否满足所述预设运行条件。
- 根据权利要求2所述的方法,其中,所述运行参数包括网络负载,中央处理器负载和运行温度中的至少一项;所述检测所述运行参数是否满足预设运行条件,包括:检测所述网络负载是否大于第一负载预设阈值;和/或检测所述中央处理器负载是否大于第二负载预设阈值;和/或检测所述运行温度是否大于预设温度阈值。
- 根据权利要求1所述的方法,其中,所述方法还包括:若检测到所述终端不具有接收蜂窝网信号的能力,或者检测到所述终端针对所述蜂窝网信号对应的网络质量小于或等于所述第二预设质量阈值,则获取其他终端接收无线局域网信号对应的网络质量和所述终端的运行参数;根据所述终端接收无线局域网信号对应的网络质量和所述终端的运行参数,以及所述其他终端接收无线局域网信号对应的网络质量和所述其他终端的运行参数,从所述终端和所述其他终端中确定作为所述无线局域网内的群组所有者终端。
- 根据权利要求4所述的方法,其中,所述根据所述终端接收无线局域网信号对应的网络质量和所述终端的运行参数,以及所述其他终端接收无线局域网信号对应的网络质量和所述其他终端的运行参数,从所述终端和所述其他终端中确定作为所述无线局域网内的群组所有者终端,包括:对所述终端接收无线局域网信号对应的网络质量和所述终端的运行参数进行计算,得到所述终端的切换能力系数;对所述其他终端接收无线局域网信号对应的网络质量和所述其他终端的运行参数进行计算,得到所述其他终端的切换能力系数;根据所述终端的切换能力系数和所述其他终端的切换能力系数,确定出切换能力系数最大的终端,并将所述切换能力系数最大的终端确定为所述无线局域网内的群组所有者终端。
- 根据权利要求1至5中任一项所述的方法,其中,所述获取终端接收无线局域网信号对应的网络质量以及所述终端的运行参数,包括:获取所述终端接收无线局域网信号对应的网络质量;检测所述无线局域网信号对应的网络质量是否大于所述第一预设质量阈值;若所述无线局域网信号对应的网络质量大于所述第一预设质量阈值,则获取所述终端的运行参数。
- 根据权利要求1至5中任一项所述的方法,其中,所述检测所述终端针对所述蜂窝网信号对应的网络质量是否大于第二预设质量阈值,包括:检测所述终端接收所述蜂窝网信号的功率是否大于所述第二预设功率阈值;和/或检测所述终端接收所述蜂窝网信号的强度是否大于所述第二预设强度阈值。
- 一种响应装置,其中,应用于异构通信网络***,所述异构通信网络***包括无线局域网和蜂窝网,所述装置包括:获取模块,被配置为获取终端接收无线局域网信号对应的网络质量以及所述终端的运行参数;检测模块,被配置为若所述无线局域网信号对应的网络质量大于第一预设质量阈值,且所述运行参数满足预设运行条件,则检测所述终端是否具有接收蜂窝网信号的能力,以及检测所述终端针对所述蜂窝网信号对应的网络质量是否大于第二预设质量阈值;确定模块,被配置为若所述终端具有接收蜂窝网信号的能力,且所述终端针对所述蜂窝网信号对应的网络质量大于第二预设质量阈值,则确定所述终端作为所述无线局域网内的群组所有者终端;响应模块,被配置为通过所述群组所有者终端响应其他终端的请求。
- 一种电子设备,其中,包括:控制器;存储器,用于存储一个或多个程序,当所述一个或多个程序被所述控制器执行时,使得所述控制器实现如权利要求1至7中任一项所述的响应方法。
- 一种计算机可读存储介质,其中,其上存储有计算机可读指令,当所述计算机可读指令被计算机的处理器执行时,使计算机执行权利要求1至7中任一项所述的响应方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210874216.5 | 2022-07-21 | ||
CN202210874216.5A CN117479254A (zh) | 2022-07-21 | 2022-07-21 | 响应方法及装置、设备、计算机可读存储介质 |
Publications (2)
Publication Number | Publication Date |
---|---|
WO2024017248A1 WO2024017248A1 (zh) | 2024-01-25 |
WO2024017248A9 true WO2024017248A9 (zh) | 2024-02-29 |
Family
ID=89617137
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2023/107921 WO2024017248A1 (zh) | 2022-07-21 | 2023-07-18 | 响应方法及装置、设备、计算机可读存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN117479254A (zh) |
WO (1) | WO2024017248A1 (zh) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20140097028A (ko) * | 2013-01-28 | 2014-08-06 | 한국전자통신연구원 | 무선랜 기반의 단말 간 직접 통신 방법 및 장치 |
CN104704904B (zh) * | 2013-09-23 | 2018-07-20 | 华为技术有限公司 | 一种选择接入网络的方法及用户设备 |
CN104602300B (zh) * | 2014-12-10 | 2018-12-11 | 国家电网公司 | 电网异构网络负载均衡的方法和装置 |
KR20200099735A (ko) * | 2019-02-15 | 2020-08-25 | 삼성전자주식회사 | 무선 네트워크 환경에서 핸드오버를 수행하기 위한 전자 장치 및 그에 관한 방법 |
CN110099421B (zh) * | 2019-04-29 | 2021-08-24 | 维沃移动通信有限公司 | 一种信号处理方法、装置和终端设备 |
-
2022
- 2022-07-21 CN CN202210874216.5A patent/CN117479254A/zh active Pending
-
2023
- 2023-07-18 WO PCT/CN2023/107921 patent/WO2024017248A1/zh unknown
Also Published As
Publication number | Publication date |
---|---|
WO2024017248A1 (zh) | 2024-01-25 |
CN117479254A (zh) | 2024-01-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3577952B1 (en) | Method and system for selection of an access and mobility management function in an access network environment | |
CN106658652B (zh) | 连接WiFi热点的方法及装置 | |
US20230345357A1 (en) | Methods and systems for selection of optimal access points | |
CN110601978B (zh) | 流量分发控制方法和装置 | |
US20230199873A1 (en) | Information interaction method and apparatus, and electronic device | |
US20130138796A1 (en) | Distance-based network resource discovery | |
WO2019015040A1 (zh) | 基于信号强度的频点选取方法及物联网终端 | |
WO2018053894A1 (zh) | 物联网基于传输速率的接入点切换方法及装置 | |
CN112269842A (zh) | 一种信息处理方法、装置、存储介质及计算机设备 | |
US20240121460A1 (en) | Adaptive playback method and device for video | |
WO2022057727A1 (zh) | 网络质量确定方法、装置、电子设备和可读存储介质 | |
US11228537B2 (en) | Resource processing method and system, storage medium and electronic device | |
CN116647587B (zh) | 输变电设备物联网传感器接入方法、装置及电子设备 | |
WO2017034933A1 (en) | Preferred network information | |
CN104427118A (zh) | 一种内容推荐的方法及移动终端 | |
WO2024017248A9 (zh) | 响应方法及装置、设备、计算机可读存储介质 | |
WO2023061040A1 (zh) | 网络接入方法、装置、设备及存储介质 | |
CN111245878A (zh) | 一种基于混合云计算和雾计算的计算卸载通信网络的方法 | |
JP2020194988A (ja) | 通信制御方法および通信システム | |
CN112866897B (zh) | 一种定位测量方法、终端和网络节点 | |
KR102112627B1 (ko) | 이종네트워크 연동에 따른 인디케이터 표시방법 및 이를 위한 단말기 | |
EP3518513A1 (en) | Streaming data acquisition method, device, and system | |
WO2023216196A1 (zh) | 通信方法及装置、电子设备及存储介质 | |
WO2023186048A1 (zh) | 一种ai服务信息获取方法、装置及*** | |
WO2024082099A1 (zh) | 通信方法、电子设备及存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23842311 Country of ref document: EP Kind code of ref document: A1 |