CN110475244B - Terminal management method, system, device, terminal and storage medium - Google Patents

Terminal management method, system, device, terminal and storage medium Download PDF

Info

Publication number
CN110475244B
CN110475244B CN201810441181.XA CN201810441181A CN110475244B CN 110475244 B CN110475244 B CN 110475244B CN 201810441181 A CN201810441181 A CN 201810441181A CN 110475244 B CN110475244 B CN 110475244B
Authority
CN
China
Prior art keywords
current
terminal
rejection threshold
signal rejection
index information
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.)
Active
Application number
CN201810441181.XA
Other languages
Chinese (zh)
Other versions
CN110475244A (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.)
Tencent Technology Shanghai Co Ltd
Original Assignee
Tencent Technology Shanghai 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 Tencent Technology Shanghai Co Ltd filed Critical Tencent Technology Shanghai Co Ltd
Priority to CN201810441181.XA priority Critical patent/CN110475244B/en
Publication of CN110475244A publication Critical patent/CN110475244A/en
Application granted granted Critical
Publication of CN110475244B publication Critical patent/CN110475244B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/12Communication route or path selection, e.g. power-based or shortest path routing based on transmission quality or channel quality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/25Maintenance of established connections
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to a terminal management method, which comprises the following steps: acquiring the current running state of the current terminal; when the current operation state is a stuck state, acquiring current signal rejection threshold index information, wherein the current signal rejection threshold index information comprises current router information corresponding to a wireless router connected with the current terminal; acquiring a target signal rejection threshold corresponding to the current signal rejection threshold index information, wherein the target signal rejection threshold is obtained by calculating the signal intensity corresponding to a plurality of terminals which are acquired according to history and correspond to the current signal rejection threshold index information in a stuck state; and acquiring the current signal intensity corresponding to the current terminal, and controlling the connection state of the current terminal and the wireless router according to the current signal intensity and the target signal rejection threshold. In addition, a terminal management system, a device, a terminal and a storage medium are also provided.

Description

Terminal management method, system, device, terminal and storage medium
Technical Field
The present application relates to the field of computer processing technologies, and in particular, to a terminal management method, a system, an apparatus, a terminal, and a storage medium.
Background
Under the condition that the signal intensity of a terminal connected with the wireless router is weak, jamming easily occurs, not only can the current user experience be influenced, but also the whole wireless environment can be seriously slowed down, and the normal data receiving of other terminals is influenced. Therefore, it is necessary to manage the terminals according to the signal strengths of the terminals, and to remove the terminals in time when the signal strengths of the terminals are weak. In the traditional terminal management method, a wireless router manufacturer sets a signal rejection threshold value by itself, and when the signal intensity of a terminal is lower than the set signal rejection threshold value, the wireless router rejects the terminal by itself. However, the signal rejection threshold set by the manufacturer of the wireless router is often inaccurate, which easily causes misjudgment, i.e., the accuracy of terminal management is low.
Disclosure of Invention
In view of the above, it is necessary to provide a highly accurate terminal management method, system, device, terminal, and storage medium.
A method of terminal management, the method comprising:
acquiring the current running state of the current terminal;
when the current running state is a stuck state, acquiring current signal rejection threshold index information, wherein the current signal rejection threshold index information comprises current router information corresponding to a wireless router connected with the current terminal;
acquiring a target signal rejection threshold corresponding to the current signal rejection threshold index information, wherein the target signal rejection threshold is obtained by calculating the signal intensity corresponding to the current signal rejection threshold index information when a plurality of terminals are in a stuck state according to historical acquisition;
and acquiring the current signal intensity corresponding to the current terminal, and controlling the connection state of the current terminal and the wireless router according to the current signal intensity and the target signal rejection threshold.
A system for terminal management, the system comprising:
the terminal is used for acquiring the current operation state of the terminal, and acquiring current signal rejection threshold value index information when the current operation state is a stuck state, wherein the current signal rejection threshold value index information comprises current router information corresponding to a wireless router connected with the terminal, and the current router information is acquired by sending a router information query request to the wireless router;
the wireless router is used for returning the acquired target routing information to the terminal according to the router information inquiry request;
the terminal is also used for uploading the current signal rejection threshold value index information to a server;
the server is used for acquiring a target signal rejection threshold corresponding to the current signal rejection threshold index information, the target signal rejection threshold is obtained by calculating the signal intensity corresponding to a plurality of terminals which are acquired according to history and correspond to the current signal rejection threshold index information in a stuck state, and the target signal rejection threshold is returned to the terminals;
the terminal is further used for obtaining the current signal strength and controlling the connection state of the current terminal and the wireless router according to the current signal strength and the target signal rejection threshold value.
A terminal management apparatus, the apparatus comprising:
the operation state acquisition module is used for acquiring the current operation state of the current terminal;
an index information obtaining module, configured to obtain current signal rejection threshold index information when the current operating state is a stuck state, where the current signal rejection threshold index information includes current router information corresponding to a wireless router connected to the current terminal;
a rejection threshold acquisition module, configured to acquire a target signal rejection threshold corresponding to the current signal rejection threshold index information, where the target signal rejection threshold is obtained by calculating, according to historical signal intensities corresponding to multiple terminals in a stuck state, where the multiple terminals correspond to the current signal rejection threshold index information;
and the control module is used for acquiring the current signal strength corresponding to the current terminal and controlling the connection state of the current terminal and the wireless router according to the current signal strength and the target signal rejection threshold.
A terminal comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of:
acquiring the current running state of the current terminal;
when the current operation state is a stuck state, acquiring current signal rejection threshold index information, wherein the current signal rejection threshold index information comprises current router information corresponding to a wireless router connected with the current terminal;
acquiring a target signal rejection threshold corresponding to the current signal rejection threshold index information, wherein the target signal rejection threshold is obtained by calculating the signal intensity corresponding to the current signal rejection threshold index information when a plurality of terminals are in a stuck state according to historical acquisition;
and acquiring the current signal intensity corresponding to the current terminal, and controlling the connection state of the current terminal and the wireless router according to the current signal intensity and the target signal rejection threshold.
A computer-readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
acquiring the current running state of the current terminal;
when the current running state is a stuck state, acquiring current signal rejection threshold index information, wherein the current signal rejection threshold index information comprises current router information corresponding to a wireless router connected with the current terminal;
acquiring a target signal rejection threshold corresponding to the current signal rejection threshold index information, wherein the target signal rejection threshold is obtained by calculating the signal intensity corresponding to a plurality of terminals which are acquired according to history and correspond to the current signal rejection threshold index information in a stuck state;
and acquiring the current signal intensity corresponding to the current terminal, and controlling the connection state of the current terminal and the wireless router according to the current signal intensity and the target signal rejection threshold.
According to the terminal management method, the system, the device, the terminal and the storage medium, the current operation state of the current terminal is obtained, when the current operation state is a stuck state, the current signal rejection threshold value index information is obtained, the current signal rejection threshold value index information comprises the current router information, the target signal rejection threshold value corresponding to the current signal rejection threshold value index information is obtained, the target signal rejection threshold value is obtained by calculating the signal strength corresponding to a plurality of terminals which are obtained according to history and correspond to the current signal rejection threshold value index information when the terminals are stuck in the stuck state, and then the connection state of the current terminal and the wireless router is controlled according to the current signal strength and the target signal rejection threshold value. The target signal rejection threshold value in the terminal management method is obtained by calculating according to the signal strength corresponding to the plurality of terminals corresponding to the current signal rejection threshold value index information in the stuck state, and the calculated signal rejection threshold value is more reasonable and accurate compared with the original self-set threshold value, so that a wireless network is smoother, and the accuracy of terminal management is improved.
Drawings
FIG. 1 is a diagram of an application environment of a terminal management method in one embodiment;
fig. 2 is a flowchart of a terminal management method in one embodiment;
FIG. 3 is a flow diagram of generating a match relationship in one embodiment;
FIG. 4 is a flow diagram that illustrates reporting of collected data to a server by a terminal, according to an embodiment;
fig. 5 is a flow diagram illustrating the process of controlling the connection status of the current terminal with the wireless router in one embodiment;
FIG. 6 is a schematic diagram illustrating communications among a wireless router, a terminal, and a backend server in one embodiment;
FIG. 7 is a flow diagram of obtaining a current operating state in one embodiment;
fig. 8 is a flowchart of a terminal management method in another embodiment;
fig. 9 is a block diagram showing the configuration of a terminal management system in one embodiment;
FIG. 10 is a block diagram showing the configuration of a terminal management apparatus according to an embodiment;
fig. 11 is a block diagram showing the configuration of a terminal management apparatus in another embodiment;
fig. 12 is a block diagram of a terminal in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Fig. 1 is an application environment diagram of a terminal management method in an embodiment. Referring to fig. 1, the terminal management method is applied to a terminal management system. The terminal management system comprises a terminal 110, a wireless router 120 and a server 130, wherein the terminal 110 is connected with the wireless router 120 through a wireless network, and the terminal 110 is connected with the server 130 through a network. The terminal 110 may specifically be a desktop terminal or a mobile terminal, and the like, which may be connected to the wireless router, and the mobile terminal may specifically be at least one of a mobile phone, a tablet computer, a notebook computer, and the like. The wireless router 120 refers to a router with wireless coverage function. The server 130 may be implemented as a stand-alone server or a server cluster composed of a plurality of servers. Specifically, the terminal 110 is configured to obtain a current operating state of the terminal, and when the current operating state is a stuck state, obtain current signal rejection threshold index information, where the current signal rejection threshold index information includes current router information corresponding to a wireless router connected to the terminal, and the current router information is obtained by sending a router information query request to the wireless router 120. The wireless router 120 is configured to return the acquired target routing information to the terminal according to the router information query request, and the terminal 120 is further configured to upload the current signal rejection threshold index information to the server 130; the server 130 is configured to obtain a target signal rejection threshold corresponding to the current signal rejection threshold index information, where the target signal rejection threshold is obtained by calculating, according to signal strengths corresponding to multiple terminals, which are obtained in a history and correspond to the current signal rejection threshold index information, in a stuck state, and return the target signal rejection threshold to the terminal 110; the terminal 110 is further configured to obtain a current signal strength, and control a connection state between the current terminal and the wireless router according to the current signal strength and the target signal rejection threshold.
As shown in fig. 2, in one embodiment, a terminal management method is provided. This embodiment is exemplified by being applied to a terminal. The terminal management method specifically comprises the following steps:
step S202, obtaining the current operation state of the current terminal, entering step S204 when the current operation state is a stuck state, and ending when the current operation state is a non-stuck state.
The current operation state refers to the smoothness of the current terminal operation. The stuck state refers to a state of unsmooth operation and jamming. The current operating state of the current terminal may be measured by using the operating state of the current application in the current terminal. And when the current application state is the stuck state, considering that the current operation state of the current terminal is the stuck state. The current running state can be acquired by sending a detection packet to the background and judging whether the running state is in a stuck state or not according to the return condition of the detection packet. In one embodiment, the current operating state of the current terminal is determined by performing Ping operation (a command in windows), for example, counting whether the delay duration is higher than a preset duration within a period of time (for example, 10 s), if so, determining that jamming occurs, or counting whether the delay times is higher than a preset number within a period of time, and if so, determining that jamming occurs.
Specifically, the current operation state of the current terminal is detected in real time, and when the current operation state is a stuck state, it is indicated that the current signal strength is weak, and it is necessary to determine whether to reject the current terminal. When the current operation state is a non-stuck state, the current signal strength is strong, and no intervention is needed.
Step S204, current signal rejection threshold index information is obtained, and the current signal rejection threshold index information comprises current router information corresponding to a wireless router connected with the current terminal.
The signal rejection threshold index information is information related to the signal rejection threshold and also information affecting the signal rejection threshold. The signal rejection threshold index information is used to find a corresponding signal rejection threshold. For example, different router models often have different corresponding signal rejection thresholds, and in one embodiment, the router model may be directly used as the current signal rejection threshold index information, and then the signal rejection threshold corresponding to the router model may be searched according to the router model. The current signal rejection threshold index information may include one information or may include a plurality of information at the same time, because the signal rejection threshold may be simultaneously affected by a plurality of information. In one embodiment, the router information may be directly used as the signal culling threshold index information, and in another embodiment, the router information and the terminal information may be used together as the signal culling threshold index information.
The current signal rejection threshold index information is used for searching a target signal rejection threshold corresponding to the current signal rejection threshold index information. The current signal rejection index information includes current router information corresponding to a wireless router connected to the current terminal. The router information includes at least one of a router model, a routing version number, the number of connected terminals, wifi number of co-channel, and the like. In one embodiment, the communication between the terminal and the wireless router is realized by installing a plug-in the wireless router and installing an SDK (software tool development kit) in the terminal, and the current terminal can obtain the current router information by calling an interface connected with the wireless router.
Step S206, a target signal rejection threshold corresponding to the index information of the current signal rejection threshold is obtained, and the target signal rejection threshold is obtained by calculating the signal intensity corresponding to the plurality of terminals which are obtained in history and correspond to the index information of the current signal rejection threshold in a stuck state.
The target signal rejection threshold refers to a signal rejection threshold corresponding to the current terminal to be searched. The target signal rejection threshold is obtained by calculating the signal intensity corresponding to the plurality of terminals which are acquired in history and correspond to the index information of the current signal rejection threshold in a stuck state. Specifically, the terminal acquires a plurality of terminals corresponding to current signal rejection threshold index information counted in a history record, acquires signal intensity corresponding to each terminal in a stuck state, and determines a target signal rejection threshold corresponding to the current signal rejection threshold index information according to the signal intensities corresponding to the plurality of terminals. In one embodiment, an average value of signal strengths corresponding to the plurality of terminals in the stuck state may be used as the target signal rejection threshold. In another embodiment, the network quality of the wireless router connected to each terminal in the stuck state is also obtained, the weight of the corresponding signal strength is determined according to the network quality of the wireless router, and then the weighted summation is adopted according to the signal strength of each terminal and the weight of the signal strength to obtain the target signal rejection threshold.
And step S208, acquiring the current signal intensity corresponding to the current terminal, and controlling the connection state of the current terminal and the wireless router according to the current signal intensity and the target signal rejection threshold.
Wherein, the current signal strength refers to the signal strength of the current terminal connected to the wireless router. The current signal strength may be obtained by invoking an interface with the wireless router. And controlling the connection state of the current terminal and the wireless router according to the current signal strength and the target signal rejection threshold, wherein the connection state comprises a connection state and a disconnection state. In one embodiment, whether the current signal strength is smaller than a target signal rejection threshold value is judged, and if yes, the connection between the current terminal and the wireless router is disconnected. In another embodiment, the current network quality of the wireless router is obtained, and an additional value corresponding to the current signal strength is determined according to the current network quality, where the additional value may be a positive number or a negative number, for example, when the current network quality of the wireless router is poor, the additional value may be set to be a negative number, and when the current network quality of the wireless router is good, the additional value is set to be a positive number. And judging whether the sum of the current signal strength and the added value is smaller than a target signal rejection threshold value, if so, disconnecting the current terminal from the wireless router.
According to the terminal management method, the current operation state of the current terminal is obtained, when the current operation state is a stuck state, the current signal rejection threshold value index information is obtained, the current signal rejection threshold value index information comprises the current router information, the target signal rejection threshold value corresponding to the current signal rejection threshold value index information is obtained, the target signal rejection threshold value is obtained through calculation according to the signal intensity corresponding to the plurality of terminals which are obtained historically and correspond to the current signal rejection threshold value index information when the current terminal is in the stuck state, and then the connection state of the current terminal and the wireless router is controlled according to the current signal intensity and the target signal rejection threshold value. The target signal rejection threshold value in the terminal management method is obtained by calculating according to the signal strength corresponding to the plurality of terminals corresponding to the current signal rejection threshold value index information in the stuck state, and the calculated signal rejection threshold value is more reasonable and accurate compared with the original self-set threshold value, so that a wireless network is smoother, and the accuracy of terminal management is improved.
In one embodiment, obtaining the current operating state of the current terminal includes: acquiring the current running state of the current application running at the current terminal; the current signal rejection threshold index information further includes a current application identifier corresponding to the current application.
The current running state refers to a state corresponding to a current application in the current terminal. The application identification is used to uniquely identify an application. The method comprises the steps of obtaining the running state of current application in real time, obtaining current signal rejection threshold value index information when the running state of the current application is a stuck state, wherein the current signal rejection threshold value index information comprises router information of a wireless router connected with a terminal and application identification of the current application. The signal strength requirements vary from application to application. For example, if the current application operated by the current terminal is a video application, the signal does not need to be removed even if the signal is slightly poor. If the current application being run by the current terminal is a gaming application, then it needs to be culled if the signal is slightly poor. Therefore, in order to accurately measure whether the current terminal needs to be rejected, the current application run by the current terminal needs to be considered in addition to the router information. By using the current application identifier and the current router information as the current signal rejection threshold index information, the current corresponding signal rejection threshold can be determined more accurately.
In one embodiment, the current running state of the current application may be obtained by: and installing the SDK software package in the current application in the terminal, and detecting the current running state of the current application in real time through the SDK software package. In addition, the communication between the current application and the wireless router and the background server can be realized through the installed SDK software package.
In one embodiment, obtaining the target signal culling threshold corresponding to the current signal culling threshold index information includes: acquiring the matching relation between the candidate signal rejection threshold index information and the corresponding candidate signal rejection threshold; and searching a target signal rejection threshold corresponding to the current signal rejection threshold index information according to the matching relation.
And pre-establishing the matching relation between the candidate signal rejection threshold index information and the corresponding candidate signal rejection threshold. Wherein the signal culling threshold index information comprises: at least one of router information, application identification, terminal information, and the like. In one embodiment, the matching relationship between the candidate signal rejection threshold index information and the corresponding candidate signal rejection threshold is stored in the terminal, and after the current signal rejection threshold index information is obtained, the corresponding target signal rejection threshold is searched according to the matching relationship. In another embodiment, the matching relationship between the candidate signal rejection threshold index information and the corresponding candidate signal rejection threshold is stored in the server, the matching relationship is obtained by calling a server interface, and then the target signal rejection threshold corresponding to the current signal rejection threshold index information is searched according to the matching relationship.
As shown in fig. 3, the generation of the matching relationship includes the following steps:
step S302, a plurality of candidate terminals corresponding to the current candidate signal rejection threshold index information are obtained.
Wherein, a plurality of terminal and terminal corresponding signal elimination threshold index information are recorded in the history record. Terminals corresponding to the same signal rejection threshold index information can be classified according to the signal rejection threshold index information, and a terminal set corresponding to each signal rejection threshold index information is obtained. Therefore, when a signal rejection threshold corresponding to the signal rejection threshold index information is calculated subsequently, a terminal set corresponding to each candidate signal rejection threshold index information can be directly obtained, and the terminal set comprises a plurality of terminals. The current candidate signal threshold index information refers to current signal rejection threshold index information to be processed.
Step S304, the network quality of the wireless router connected with a plurality of candidate terminals in the stuck state in the historical time is obtained, and the signal strength weight corresponding to each candidate terminal is determined according to the network quality.
Wherein, the network quality is used for measuring the current busy state of the wireless router. The indexes for measuring the network quality comprise: the number of the accessed terminals, the wifi number of the same channel, the current flow, the CPU occupancy rate, the memory occupancy rate and the like. And determining the signal strength weight corresponding to each candidate terminal according to the network quality of the wireless router. The network quality and the signal strength weight are in positive correlation, and the better the network quality is, the higher the corresponding signal strength weight is.
In one embodiment, the indicators for measuring network quality are assumed to include: the number of accessed terminals, the current flow, the memory occupancy rate, the wifi number of the same channel and the terminal connection rate. The method for determining the signal strength weight corresponding to each signal strength according to the network quality comprises the following steps: firstly, judging whether the number of terminals accessing the wireless router is larger than a preset number (for example, 15), judging whether the current flow is larger than the preset flow (for example, 2 MB/s), judging whether the memory occupation is higher than a preset proportion (for example, 90%), judging that the router is busy as long as one of the conditions is met, namely judging that the router is busy as long as the number of terminals is larger than the preset number, or the current flow is larger than the preset flow, or the memory occupation is higher than the preset proportion, and assigning the weight of the corresponding signal intensity to be 1 at the moment. If the three conditions are not met, whether the quantity of the same-channel wifi is larger than a preset wifi quantity (for example, 10) or not is continuously judged, if the quantity of the same-channel wifi is larger than the preset wifi quantity, the wireless environment interference is considered to be serious, at the moment, the weight of the corresponding signal intensity is assigned to be 2, if the quantity of the same-channel wifi is not larger than the preset wifi quantity, whether the connection rate of the terminal is larger than a preset rate (for example, 20) or not is continuously judged, if the connection rate is not larger than the preset rate, the weight is set to be 4, and if the connection rate is not larger than the preset rate, the weight is set to be 10. And setting corresponding signal intensity weight for the signal intensity corresponding to the terminal in the stuck state through the network quality of the wireless router connected with the terminal, so as to conveniently carry out weighting summation subsequently to obtain the corresponding candidate signal rejection threshold.
Step S306, acquiring signal intensities corresponding to the plurality of candidate terminals in the stuck state at the historical time.
After the signal intensity weights corresponding to the candidate terminals are obtained, the signal intensity corresponding to each candidate terminal in the stuck state in the historical time is obtained. The signal strength refers to the signal strength of the terminal connected to the wireless router.
Step S308, calculating to obtain a current candidate signal rejection threshold corresponding to the current candidate signal rejection threshold index information according to the signal strength and the signal strength weight corresponding to each candidate terminal.
After the signal intensity and the signal intensity weight corresponding to each candidate terminal are determined, a current candidate signal rejection threshold corresponding to the current candidate signal rejection threshold index information can be calculated. In one embodiment, the calculation is performed by weighted summation followed by averaging. First, the product of the signal strength of each candidate terminal and the corresponding signal strength weight is calculated, then the calculated values are added, and then divided by the total number of terminals. For example, assume that there are 5 terminals, A, B, C, D, and E. The signal intensity corresponding to the terminal A is X1, and the corresponding signal intensity weight is W1; the signal intensity corresponding to the terminal B is X2, and the corresponding signal intensity weight is W2; the signal intensity corresponding to the terminal C is X3, and the corresponding signal intensity weight is W3; the signal intensity corresponding to the terminal D is X4, and the corresponding signal intensity weight is W4; the corresponding signal intensity of the terminal E is X5, and the corresponding signal intensity weight is W5; then the calculated signal rejection threshold is: (X1 × W1+ X2 × W2+ X3 × W3+ X4 × W4+ X5 × W5)/5.
Step S310, the index information of the current candidate signal rejection threshold value and the current candidate signal rejection threshold value are stored in a correlation mode.
And performing associated storage on the obtained current candidate signal rejection threshold index information and the current candidate signal rejection threshold. In this way, each candidate signal rejection threshold index information and the corresponding candidate signal rejection threshold are stored in association, so that the matching relation between the candidate signal rejection threshold index information and the corresponding candidate signal rejection threshold is established.
In one embodiment, the current signal rejection threshold index information further includes terminal information of the current terminal, where the terminal information includes at least one of a terminal model, an IMEI of the terminal, a terminal system version, terminal memory occupation, terminal CPU occupation, and a terminal CPU model.
Whether the current terminal is blocked or not is related to the configuration of the current terminal, namely the terminal information of the current terminal, besides the routing information. The terminal information includes at least one of a terminal model, an International Mobile Equipment Identity (IMEI), a terminal system version, terminal memory usage, and terminal CPU usage. In one embodiment, the terminal information includes a terminal model and a terminal version. The current signal rejection threshold index information includes terminal information in addition to router information of a wireless router connected to the terminal. Different terminal information has different requirements on signal strength. In order to more accurately measure whether to eliminate the current terminal, the terminal information needs to be considered in addition to the router information. The terminal information and the current router information are used as the index information of the current signal rejection threshold value, so that the corresponding signal rejection threshold value can be determined more accurately.
In one embodiment, the signal rejection thresholds for different routers and different applications are different. In order to accurately calculate and obtain signal rejection threshold values corresponding to different routers and different applications. Plug-ins are respectively added into the wireless router, and SDK software packages are embedded into terminal applications to realize communication between the wireless router and the terminals and communication between the terminals and the server. The wireless router is used for acquiring the signal strength of all terminals connected to the wireless router, and corresponding disconnection operation is executed when the signal strength is smaller than a signal rejection threshold value. The terminal is used for communicating with the wireless router, acquiring information such as router model and network quality, and then reporting to the server. The server is used for continuously collecting data and calculating a reasonable signal rejection threshold value according to various parameters such as the model of the router, the signal strength and the application identification.
Fig. 4 is a flowchart illustrating reporting of the collected data to the server by the terminal in one embodiment.
Firstly, when a terminal runs a current application, calling a wireless router interface, judging whether the wireless router is a supported wireless router, if not, ending the flow, if so, detecting the running state of the current application in real time, when the current application is in a non-blocking state, not doing any operation, and when the current application is in the blocking state, calling the wireless router interface to acquire the signal intensity and the wireless router information of the current terminal, wherein the wireless router information comprises: the router model, the router version information, the number of connected terminals, etc., and then report the signal strength of the current terminal, the current application identifier, and the wireless router information to the server together. And the server calculates signal rejection threshold values corresponding to different router information and different applications based on the collected mass data.
Fig. 5 is a flowchart illustrating a method for controlling a connection state between a terminal and a wireless router when an application in the terminal is in a stuck state in one embodiment.
Firstly, when a terminal runs a current application, calling a wireless router interface, judging whether the wireless router is a supported wireless router or not, if not, ending the flow, if so, detecting the running state of the current application in the current terminal in real time, when the current application is in a stuck state, calling the wireless router interface to acquire the signal intensity and the wireless router information of the current terminal, uploading the wireless router information and the current application identification to a server, and acquiring a corresponding target signal rejection threshold value by the server according to the wireless router information and the current application identification and returning the target signal rejection threshold value to the current terminal; and after the current terminal receives the target signal rejection threshold, judging whether the signal intensity of the current terminal is smaller than the target signal rejection threshold, and if so, indicating the wireless router to disconnect the current terminal.
Fig. 6 is a schematic diagram illustrating a wireless router communicating with a terminal and the terminal communicating with a background server in one embodiment. The terminal acquires data such as router information and current signal strength from a wireless router connected with the terminal, uploads the acquired router information to a server, the server returns a corresponding signal rejection threshold value to the terminal according to the received router information, the terminal controls the connection state of the terminal and the wireless router according to the signal rejection threshold value and the current signal strength, and if the current signal strength is smaller than a target signal rejection threshold value, the wireless router is indicated to be disconnected with the terminal.
As shown in fig. 7, in an embodiment, acquiring the current operating state of the current terminal includes:
step S202A, obtaining an index value corresponding to a stuck index for determining the current operation state, wherein the stuck index comprises at least one of a stuck rate, a packet loss rate and a high delay rate.
Wherein, the current operation state is determined by the index value corresponding to the stuck index. The stuck indicator includes at least one of a stuck rate (also referred to as a "hop rate"), a packet loss rate, and a high delay rate. In one embodiment, the stuck indicator includes a stuck rate, a packet loss rate, and a high latency rate. The stuck rate is calculated by counting the jumping times occurring in the unit time, for example, when the values returned by Ping for a plurality of times are all A, but the Ping value which is twice more than A appears suddenly, and the next time is changed back to A, the stuck rate is considered to be stuck once, and the stuck rate is obtained by counting the jumping times occurring in the unit time. The packet loss rate is a ratio of the number of lost packets per unit time to the total number of packets. The high delay rate refers to the number of times of high delay per unit time. A high delay refers to a delay greater than a preset time (e.g., 5 s).
And step S202B, determining the current operation state of the current terminal according to the index value corresponding to the Caton index.
And the pause index value corresponding to the pause index is used for determining the current operation state of the current terminal. In one embodiment, the stuck indicator includes a stuck rate, a packet loss rate, and a high latency rate. When the blocking rate is greater than the preset blocking rate, or the packet loss rate is greater than the preset packet loss rate, or the high delay rate is greater than the preset delay rate, the current terminal is considered to be in the blocking state, namely, the current terminal meets any one condition, namely, the current terminal is considered to be blocked, otherwise, the current terminal is in the non-blocking state.
In one embodiment, the current router information includes: the wireless router comprises router attribute information and router state information, wherein the router state information comprises at least one of the number of terminals currently connected to the wireless router, the router CPU occupancy rate, the router memory occupancy rate and the number of co-channel wireless access points.
The routing information includes router attribute information and router state information. The router attribute information refers to information inherent to the router, such as a router model number, a router version number, and the like. The router state information refers to information that changes with time, such as the number of connected terminals, CPU occupancy, memory occupancy, wifi number of co-channel (i.e., the number of wireless access points of co-channel), and the like.
In one embodiment, controlling the connection state of the current terminal and the wireless router according to the current signal strength and the target signal rejection threshold value comprises: and when the current signal strength is less than or equal to the target signal rejection threshold value, indicating the wireless router to disconnect the current terminal.
After the current signal intensity and the target signal rejection threshold corresponding to the current terminal are obtained, whether the current signal intensity is smaller than or equal to the target signal rejection threshold is judged, if yes, a disconnection instruction is sent to the wireless router, and after the wireless router receives the disconnection instruction, the wireless router is disconnected from the current terminal.
As shown in fig. 8, in an embodiment, a method for terminal management is provided, which specifically includes the following steps:
step S802, acquiring the current running state of the current application running at the current terminal;
step S804, determining whether the current operation state is in a stuck state, if yes, going to step S806, and if not, ending.
Step S806, obtaining current signal rejection threshold index information, wherein the current signal rejection threshold index information comprises current router information, current terminal information and current application identification corresponding to a wireless router connected with a current terminal;
step S808, acquiring the matching relation between the candidate signal rejection threshold index information and the corresponding candidate signal rejection threshold;
step S810, searching a target signal rejection threshold corresponding to the index information of the current signal rejection threshold according to the matching relation, wherein the target signal rejection threshold is obtained by calculating the signal intensity corresponding to the plurality of terminals which are acquired according to history and correspond to the index information of the current signal rejection threshold in a stuck state;
step S812, obtaining a current signal strength corresponding to the current terminal;
step S814, determining whether the current signal strength is less than or equal to the target signal rejection threshold, if so, proceeding to step S816, and if not, ending.
And step S816, the wireless router is instructed to disconnect the current terminal.
According to the terminal management method, the current signal rejection threshold index information comprises current router information, current terminal information and a current application identifier corresponding to a wireless router connected with the current terminal, and by considering that different routing information, different terminal information and signal rejection thresholds corresponding to different applications are different, the signal rejection thresholds corresponding to the same routing information, the same terminal information and the same application are respectively calculated, so that the rationality of the signal rejection thresholds is favorably improved, and the accuracy of terminal management is improved.
It should be understood that, although the respective steps in the flowcharts in fig. 2 to 8 are sequentially shown as indicated by arrows, the steps are not necessarily performed sequentially in the order indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-8 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the sub-steps or stages of other steps.
As shown in fig. 9, in one embodiment, a terminal management system is provided, which includes:
the terminal 902 is configured to obtain a current operating state of the terminal, and when the current operating state is a stuck state, obtain current signal rejection threshold index information, where the current signal rejection threshold index information includes current router information corresponding to a wireless router connected to the terminal, and the current router information is obtained by sending a router information query request to the wireless router.
The current operation state refers to the fluency of the terminal operation. The stuck state refers to a state of unsmooth operation and jamming. The current operating state of the terminal may be measured by the operating state of the current application in the current terminal. And when the current application state is the stuck state, the current operation state of the terminal is considered to be the stuck state. The current running state can be acquired by sending a detection packet to the background and judging whether the running state is in a stuck state or not according to the return condition of the detection packet. In one embodiment, the current operating state of the current terminal is determined by performing Ping operation (a command in windows), for example, counting whether the delay duration is higher than a preset duration within a period of time (for example, 10 s), if so, determining that jamming occurs, or counting whether the delay times is higher than a preset number within a period of time, determining that jamming occurs.
Specifically, when the current operating state is a stuck state, the terminal acquires current signal rejection threshold index information, where the current signal rejection threshold index information includes: current router information. The current router information is obtained by sending a router information query request to the wireless router.
And the wireless router 904 is configured to return the obtained target routing information to the terminal according to the router information query request.
And after receiving the query request, the wireless router returns the acquired target routing information according to the query request.
The terminal 902 is further configured to upload current signal culling threshold index information to the server.
After the terminal acquires the current signal rejection threshold index information, the current signal rejection threshold index information needs to be uploaded to a server, and then the server determines a corresponding target signal rejection threshold according to the current signal rejection threshold index information.
The server 906 is configured to obtain a target signal rejection threshold corresponding to the current signal rejection threshold index information, where the target signal rejection threshold is obtained by calculating signal strengths corresponding to the plurality of terminals in the stuck state, which are obtained historically and correspond to the current signal rejection threshold index information, and return the target signal rejection threshold to the terminals.
The target signal rejection threshold is obtained by calculating the signal intensity corresponding to the current signal rejection threshold index information acquired by the server history when the plurality of terminals are in a stuck state, and the acquired target signal rejection threshold is returned to the terminals.
The terminal 902 is further configured to obtain a current signal strength, and control a connection state between the current terminal and the wireless router according to the current signal strength and a target signal rejection threshold.
Wherein, the current signal strength refers to the signal strength of the current terminal connected to the wireless router. The current signal strength may be obtained by invoking an interface with the wireless router. And controlling the connection state of the current terminal and the wireless router according to the current signal strength and the target signal rejection threshold, wherein the connection state comprises a connection state and a disconnection state. In one embodiment, whether the current signal strength is smaller than the target signal rejection threshold value is judged, and if yes, the connection between the current terminal and the wireless router is disconnected. In another embodiment, the current network quality of the wireless router is obtained, and an additional value corresponding to the current signal strength is determined according to the current network quality, where the additional value may be a positive number or a negative number, for example, when the current network quality of the wireless router is poor, the additional value may be set to be a negative number, and when the current network quality of the wireless router is good, the additional value is set to be a positive number. And judging whether the sum of the current signal strength and the additional value is smaller than a target signal rejection threshold value, if so, disconnecting the current terminal from the wireless router.
According to the terminal management system, the current operation state of the terminal is obtained through the terminal, when the current operation state is a stuck state, the current signal rejection threshold value index information is obtained, the current signal rejection threshold value index information comprises current router information, the current router information is obtained by sending a router information query request to the wireless router through the terminal, the terminal uploads the obtained current signal rejection threshold value index information to the server, the server searches for a target signal rejection threshold value corresponding to the current signal rejection threshold value index information, then the target signal rejection threshold value is returned to the terminal, and the terminal controls the connection state of the current terminal and the wireless router according to the current signal strength and the target signal rejection threshold value. In the terminal management system, the target signal rejection threshold is calculated according to the signal strength corresponding to the plurality of terminals in the stuck state, which is collected by the server and corresponds to the index information of the current signal rejection threshold. Compared with the original self-set threshold value, the signal rejection threshold value obtained through calculation is more reasonable and accurate, and therefore accuracy of terminal management is improved.
In one embodiment, the terminal is further configured to obtain a current running state of a current application in the terminal; the current signal culling threshold index information further includes a current application identification corresponding to the current application.
The current running state refers to a state corresponding to a current application in the current terminal. The method comprises the steps of obtaining the running state of current application in real time, obtaining current signal rejection threshold value index information when the running state of the current application is a stuck state, wherein the current signal rejection threshold value index information comprises router information of a wireless router connected with a terminal and an application identifier of the current application. The current running state of the current application can be obtained by: and the SDK software package is installed in the current application in the terminal, so that the function of detecting the current running state of the current application in real time is realized, and meanwhile, the communication between the current application and the wireless router and the background server can be realized through the installed SDK. Different applications have different requirements on signal strength. By using the current application identifier and the current router information together as the current signal rejection threshold index information, it is beneficial to determine the corresponding signal rejection threshold more accurately.
In one embodiment, the server is further configured to obtain a matching relationship between the candidate signal rejection threshold index information and the corresponding candidate signal rejection threshold; and searching a target signal rejection threshold corresponding to the current signal rejection threshold index information according to the matching relation.
The server pre-establishes a matching relation between the candidate signal rejection threshold index information and the corresponding candidate signal rejection threshold. After the matching relationship is obtained, the target signal rejection threshold corresponding to the current signal rejection threshold index information can be searched.
In one embodiment, the server is further configured to obtain a plurality of candidate terminals corresponding to the current candidate signal culling threshold index information; the method comprises the steps of obtaining the network quality of a wireless router connected with a plurality of candidate terminals in a stuck state in historical time, and determining the signal intensity weight corresponding to each candidate terminal according to the network quality; acquiring corresponding signal strength of a plurality of candidate terminals in a stuck state in historical time; calculating to obtain a current candidate signal rejection threshold corresponding to the current candidate signal rejection threshold index information according to the signal strength and the signal strength weight corresponding to each candidate terminal; and performing associated storage on the current candidate signal rejection threshold index information and the current candidate signal rejection threshold.
The server is used for collecting the signal rejection threshold index information corresponding to the terminal and the terminal, and acquiring the signal intensity corresponding to the terminal in a stuck state and the network quality corresponding to the wireless router connected with the terminal. Firstly, the server can classify the terminals corresponding to the same signal rejection threshold index information according to the signal rejection threshold index information to obtain a terminal set corresponding to each signal rejection threshold index information. Therefore, when a signal rejection threshold corresponding to the signal rejection threshold index information is calculated subsequently, a terminal set corresponding to each candidate signal rejection threshold index information can be directly obtained, and the terminal set comprises a plurality of terminals. The current candidate signal threshold index information refers to current signal rejection threshold index information to be processed.
The network quality is used to measure the current busy status of the wireless router. The indexes for measuring the network quality comprise: the number of the accessed terminals, the wifi number of the same channel, the current flow, the CPU occupancy rate, the memory occupancy rate and the like. And determining the signal strength weight corresponding to each candidate terminal according to the network quality of the wireless router. The network quality and the signal strength weight are in positive correlation, and the better the network quality is, the higher the corresponding signal strength weight is. After the signal intensity weight corresponding to each candidate terminal is obtained, the signal intensity corresponding to each candidate terminal when the historical time is in a stuck state is obtained. The signal strength refers to the signal strength of the terminal connected to the wireless router. After the signal strength and the signal strength weight corresponding to each candidate terminal are determined, a current candidate signal rejection threshold corresponding to the current candidate signal rejection threshold index information can be calculated.
In one embodiment, the terminal is further configured to determine whether the current signal strength is less than or equal to a target signal rejection threshold, and if so, send a disconnection instruction to the wireless router; the wireless router is also used for disconnecting the connection with the terminal according to the disconnection instruction.
After the current signal intensity and the target signal rejection threshold corresponding to the current terminal are obtained, whether the current signal intensity is smaller than or equal to the target signal rejection threshold is judged, if yes, a disconnection instruction is sent to the wireless router, and after the wireless router receives the disconnection instruction, the connection with the current terminal is disconnected.
As shown in fig. 10, in one embodiment, a terminal management apparatus is provided, the apparatus including:
an operation state obtaining module 1002, configured to obtain a current operation state of the current terminal.
An index information obtaining module 1004, configured to obtain current signal rejection threshold index information when the current operation state is a stuck state, where the current signal rejection threshold index information includes current router information corresponding to a wireless router connected to the current terminal.
A rejection threshold obtaining module 1006, configured to obtain a target signal rejection threshold corresponding to the current signal rejection threshold index information, where the target signal rejection threshold is obtained by calculating, according to historical signal intensities corresponding to multiple terminals in a stuck state, where the multiple terminals are obtained and correspond to the current signal rejection threshold index information.
A control module 1008, configured to obtain a current signal strength corresponding to the current terminal, and control a connection state between the current terminal and the wireless router according to the current signal strength and the target signal rejection threshold.
In an embodiment, the running state obtaining module 1002 is further configured to obtain a current running state of a current application running on the current terminal; the current signal rejection threshold index information further includes a current application identifier corresponding to the current application.
In one embodiment, the rejection threshold obtaining module 1006 is further configured to obtain a matching relationship between candidate signal rejection threshold index information and a corresponding candidate signal rejection threshold, and search for a target signal rejection threshold corresponding to the current signal rejection threshold index information according to the matching relationship;
as shown in fig. 11, in an embodiment, the terminal management apparatus further includes:
a matching module 1001, configured to obtain multiple candidate terminals corresponding to current candidate signal rejection threshold index information; acquiring the network quality of a wireless router connected with the plurality of candidate terminals in a stuck state at the historical time, and determining the signal intensity weight corresponding to each candidate terminal according to the network quality; acquiring signal intensities corresponding to the candidate terminals in a stuck state in historical time; calculating to obtain a current candidate signal rejection threshold corresponding to the current candidate signal rejection threshold index information according to the signal strength and the signal strength weight corresponding to each candidate terminal; and performing associated storage on the current candidate signal rejection threshold index information and the current candidate signal rejection threshold.
In an embodiment, the current signal rejection threshold index information further includes terminal information of the current terminal, where the terminal information includes at least one of a terminal model, an IMEI of the terminal, a terminal system version, a terminal memory occupation, a terminal CPU occupation, and a terminal CPU model.
In an embodiment, the operation state obtaining module is further configured to obtain an index value corresponding to a stuck index that determines a current operation state, where the stuck index includes at least one of a stuck rate, a packet loss rate, and a high delay rate; and determining the current operation state of the current terminal according to the index value corresponding to the blockage index.
In one embodiment, the current router information includes: the router state information comprises at least one of the terminal number currently connected to the wireless router, the router CPU occupancy rate, the router memory occupancy rate and the number of the co-channel wireless access points.
In one embodiment, the control module is further configured to instruct the wireless router to disconnect from the current terminal when the current signal strength is less than or equal to the target signal rejection threshold.
Fig. 12 shows an internal structural diagram of the terminal in one embodiment. As shown in fig. 12, the terminal includes a processor, a memory, and a network interface connected through a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the terminal stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement the terminal management method. The internal memory may also have a computer program stored therein, which, when executed by the processor, causes the processor to perform the terminal management method. Those skilled in the art will appreciate that the configuration shown in fig. 12 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation on the terminal to which the present application is applied, and that a particular terminal may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the terminal management method provided by the present application may be implemented in the form of a computer program, and the computer program may be run on the terminal as shown in fig. 12. The memory of the terminal may store various program modules constituting the terminal management apparatus, such as an operating state acquisition module 1002, an index information acquisition module 1004, a culling threshold acquisition module 1006, and a control module 1008 of fig. 10. The computer program constituted by the respective program modules causes the processor to execute the steps in the terminal management apparatus of the respective embodiments of the present application described in the present specification. For example, the terminal shown in fig. 12 may obtain the current operating state of the current terminal through the operating state obtaining module 1002 shown in fig. 10; when the current operating state is a stuck state, the index information obtaining module 1004 obtains current signal rejection threshold index information, where the current signal rejection threshold index information includes current router information corresponding to a wireless router connected to the current terminal. A rejection threshold obtaining module 1006 obtains a target signal rejection threshold corresponding to the current signal rejection threshold index information, where the target signal rejection threshold is obtained by calculating signal intensities corresponding to multiple terminals, which are obtained according to history and correspond to the current signal rejection threshold index information, in a stuck state. The current signal strength corresponding to the current terminal is obtained through a control module 1008, and the connection state of the current terminal and the wireless router is controlled according to the current signal strength and the target signal rejection threshold.
In one embodiment, a terminal is proposed, comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of: acquiring the current running state of the current terminal; when the current running state is a stuck state, acquiring current signal rejection threshold index information, wherein the current signal rejection threshold index information comprises current router information corresponding to a wireless router connected with the current terminal; acquiring a target signal rejection threshold corresponding to the current signal rejection threshold index information, wherein the target signal rejection threshold is obtained by calculating the signal intensity corresponding to a plurality of terminals which are acquired according to history and correspond to the current signal rejection threshold index information in a stuck state; and acquiring the current signal intensity corresponding to the current terminal, and controlling the connection state of the current terminal and the wireless router according to the current signal intensity and the target signal rejection threshold.
In one embodiment, the obtaining the current operating state of the current terminal includes: acquiring the current running state of the current application running at the current terminal; the current signal rejection threshold index information further includes a current application identifier corresponding to the current application.
In one embodiment, the obtaining the target signal rejection threshold corresponding to the current signal rejection threshold index information includes: acquiring the matching relation between the candidate signal rejection threshold index information and the corresponding candidate signal rejection threshold; searching a target signal rejection threshold corresponding to the current signal rejection threshold index information according to the matching relation;
in one embodiment, the computing program further causes the processor to perform the steps of: obtaining a plurality of candidate terminals corresponding to the current candidate signal rejection threshold index information; acquiring the network quality of a wireless router connected with the plurality of candidate terminals in a stuck state at the historical time, and determining the signal intensity weight corresponding to each candidate terminal according to the network quality; acquiring corresponding signal intensities of the candidate terminals in a stuck state in historical time; calculating to obtain a current candidate signal rejection threshold corresponding to the current candidate signal rejection threshold index information according to the signal strength and the signal strength weight corresponding to each candidate terminal; and performing associated storage on the current candidate signal rejection threshold index information and the current candidate signal rejection threshold.
In an embodiment, the current signal rejection threshold index information further includes terminal information of the current terminal, where the terminal information includes at least one of a terminal model, an IMEI of the terminal, a terminal system version, terminal memory occupation, terminal CPU occupation, and a terminal CPU model.
In one embodiment, the obtaining the current operating state of the current terminal includes: acquiring an index value corresponding to a stuck index for determining the current running state, wherein the stuck index comprises at least one of a stuck rate, a packet loss rate and a high delay rate; and determining the current operation state of the current terminal according to the index value corresponding to the blockage index.
In one embodiment, the current router information includes: the router state information comprises at least one of the terminal number currently connected to the wireless router, the router CPU occupancy rate, the router memory occupancy rate and the number of the co-channel wireless access points.
In one embodiment, the controlling the connection state between the current terminal and the wireless router according to the current signal strength and the target signal rejection threshold value includes: and when the current signal strength is less than or equal to the target signal rejection threshold value, indicating the wireless router to disconnect the current terminal.
In one embodiment, a computer-readable storage medium is proposed, in which a computer program is stored which, when executed by a processor, causes the processor to carry out the steps of:
acquiring the current running state of the current terminal; when the current running state is a stuck state, acquiring current signal rejection threshold index information, wherein the current signal rejection threshold index information comprises current router information corresponding to a wireless router connected with the current terminal; acquiring a target signal rejection threshold corresponding to the current signal rejection threshold index information, wherein the target signal rejection threshold is obtained by calculating the signal intensity corresponding to the current signal rejection threshold index information when a plurality of terminals are in a stuck state according to historical acquisition; and acquiring the current signal intensity corresponding to the current terminal, and controlling the connection state of the current terminal and the wireless router according to the current signal intensity and the target signal rejection threshold.
In one embodiment, the obtaining the current operating state of the current terminal includes: acquiring the current running state of the current application running at the current terminal; the current signal rejection threshold index information further includes a current application identifier corresponding to the current application.
In one embodiment, the obtaining a target signal culling threshold corresponding to the current signal culling threshold index information includes: acquiring the matching relation between the candidate signal rejection threshold index information and the corresponding candidate signal rejection threshold; searching a target signal rejection threshold corresponding to the current signal rejection threshold index information according to the matching relation;
in one embodiment, the computer program further causes the processor to perform the steps of: obtaining a plurality of candidate terminals corresponding to the current candidate signal rejection threshold index information; acquiring the network quality of a wireless router connected with the candidate terminals in a stuck state in historical time, and determining the signal strength weight corresponding to each candidate terminal according to the network quality; acquiring signal intensities corresponding to the candidate terminals in a stuck state in historical time; calculating to obtain a current candidate signal rejection threshold corresponding to the current candidate signal rejection threshold index information according to the signal strength and the signal strength weight corresponding to each candidate terminal; and performing associated storage on the current candidate signal rejection threshold index information and the current candidate signal rejection threshold.
In an embodiment, the current signal rejection threshold index information further includes terminal information of the current terminal, where the terminal information includes at least one of a terminal model, an IMEI of the terminal, a terminal system version, terminal memory occupation, terminal CPU occupation, and a terminal CPU model.
In one embodiment, the obtaining the current operating state of the current terminal includes: acquiring an index value corresponding to a stuck index for determining the current running state, wherein the stuck index comprises at least one of a stuck rate, a packet loss rate and a high delay rate; and determining the current operation state of the current terminal according to the index value corresponding to the blockage index.
In one embodiment, the current router information includes: the router state information comprises at least one of the terminal number currently connected to the wireless router, the router CPU occupancy rate, the router memory occupancy rate and the number of the co-channel wireless access points.
In one embodiment, the controlling the connection state between the current terminal and the wireless router according to the current signal strength and the target signal rejection threshold value includes: and when the current signal strength is less than or equal to the target signal rejection threshold value, indicating the wireless router to disconnect the current terminal.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
All possible combinations of the technical features in the above embodiments may not be described for the sake of brevity, but should be considered as being within the scope of the present disclosure as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent application shall be subject to the appended claims.

Claims (15)

1. A method of terminal management, the method comprising:
acquiring the current running state of the current terminal;
when the current operation state is a stuck state, acquiring current signal rejection threshold index information, wherein the current signal rejection threshold index information comprises current router information corresponding to a wireless router connected with the current terminal;
acquiring a target signal rejection threshold corresponding to the current signal rejection threshold index information, including: acquiring the matching relation between the candidate signal rejection threshold index information and the corresponding candidate signal rejection threshold; searching a target signal rejection threshold corresponding to the current signal rejection threshold index information according to the matching relation; the generation of the matching relationship comprises the following steps: obtaining a plurality of candidate terminals corresponding to the current candidate signal rejection threshold index information; acquiring the network quality of a wireless router connected with the plurality of candidate terminals in a stuck state at the historical time, and determining the signal intensity weight corresponding to each candidate terminal according to the network quality; acquiring corresponding signal intensities of the candidate terminals in a stuck state in historical time; calculating to obtain a current candidate signal rejection threshold corresponding to the current candidate signal rejection threshold index information according to the signal strength and the signal strength weight corresponding to each candidate terminal; performing associated storage on the current candidate signal rejection threshold index information and the current candidate signal rejection threshold, wherein the target signal rejection threshold is obtained by calculating the signal intensity corresponding to the plurality of terminals which are acquired according to history and correspond to the current signal rejection threshold index information in a stuck state;
and acquiring the current signal intensity corresponding to the current terminal, and controlling the connection state of the current terminal and the wireless router according to the current signal intensity and the target signal rejection threshold.
2. The method according to claim 1, wherein the obtaining the current operation state of the current terminal comprises:
acquiring the current running state of the current application running at the current terminal;
the current signal rejection threshold index information further includes a current application identifier corresponding to the current application.
3. The method of claim 1, wherein the signal culling threshold index information comprises: at least one of router information, application identification and terminal information.
4. The method according to claim 1, wherein the current signal rejection threshold index information further includes terminal information of the current terminal, and the terminal information includes at least one of a terminal model, a terminal IMEI, a terminal format, a terminal system version, a terminal memory usage, a terminal CPU usage, and a terminal CPU model.
5. The method according to claim 1, wherein the obtaining the current operation state of the current terminal comprises:
acquiring an index value corresponding to a stuck index for determining the current operation state, wherein the stuck index comprises at least one of a stuck rate, a packet loss rate and a high delay rate;
and determining the current operation state of the current terminal according to the index value corresponding to the blockage index.
6. The method of claim 1, wherein the current router information comprises: the router comprises router attribute information and router state information, wherein the router state information comprises at least one of the number of terminals currently connected to the wireless router, the occupancy rate of a router CPU, the occupancy rate of a router memory and the number of co-channel wireless access points.
7. The method of claim 1, wherein the controlling the connection status between the current terminal and the wireless router according to the current signal strength and the target signal rejection threshold comprises:
and when the current signal strength is less than or equal to the target signal rejection threshold value, indicating the wireless router to disconnect the current terminal.
8. A system for terminal management, the system comprising:
the terminal is used for acquiring the current running state of the terminal, and acquiring current signal rejection threshold value index information when the current running state is a stuck state, wherein the current signal rejection threshold value index information comprises current router information corresponding to a wireless router connected with the terminal, and the current router information is acquired by sending a router information query request to the wireless router;
the wireless router is used for returning the acquired target routing information to the terminal according to the router information query request;
the terminal is also used for uploading the current signal rejection threshold value index information to a server;
the server is used for acquiring a target signal rejection threshold corresponding to the current signal rejection threshold index information, and comprises: acquiring the matching relation between the candidate signal rejection threshold index information and the corresponding candidate signal rejection threshold; searching a target signal rejection threshold corresponding to the current signal rejection threshold index information according to the matching relation; the generation of the matching relationship comprises the following steps: obtaining a plurality of candidate terminals corresponding to the current candidate signal rejection threshold index information; acquiring the network quality of a wireless router connected with the plurality of candidate terminals in a stuck state at the historical time, and determining the signal intensity weight corresponding to each candidate terminal according to the network quality; acquiring signal intensities corresponding to the candidate terminals in a stuck state in historical time; calculating to obtain a current candidate signal rejection threshold corresponding to the current candidate signal rejection threshold index information according to the signal strength and the signal strength weight corresponding to each candidate terminal; performing associated storage on the current candidate signal rejection threshold index information and the current candidate signal rejection threshold, wherein the target signal rejection threshold is obtained by calculating the corresponding signal strength of a plurality of terminals which are acquired according to history and correspond to the current signal rejection threshold index information and are in a stuck state, and returning the target signal rejection threshold to the terminals;
and the terminal is also used for acquiring the current signal strength and controlling the connection state of the current terminal and the wireless router according to the current signal strength and the target signal rejection threshold.
9. The system according to claim 8, wherein the terminal is further configured to obtain a current running state of a current application in the terminal; the current signal culling threshold index information further comprises a current application identifier corresponding to the current application.
10. The system of claim 8, wherein the signal culling threshold index information comprises: at least one of router information, application identification and terminal information.
11. The system of claim 8, wherein the network quality is positively correlated with signal strength weights.
12. The system of claim 8, wherein the terminal is further configured to determine whether the current signal strength is less than or equal to the target signal rejection threshold, and if so, send a disconnection command to the wireless router;
the wireless router is also used for disconnecting the connection with the terminal according to the disconnection instruction.
13. A terminal management apparatus, the apparatus comprising:
the operation state acquisition module is used for acquiring the current operation state of the current terminal;
an index information obtaining module, configured to obtain current signal rejection threshold index information when the current operating state is a stuck state, where the current signal rejection threshold index information includes current router information corresponding to a wireless router connected to the current terminal;
a rejection threshold acquisition module, configured to acquire a target signal rejection threshold corresponding to the current signal rejection threshold index information, and including: acquiring the matching relation between the candidate signal rejection threshold index information and the corresponding candidate signal rejection threshold; searching a target signal rejection threshold corresponding to the current signal rejection threshold index information according to the matching relation; the generation of the matching relationship comprises the following steps: obtaining a plurality of candidate terminals corresponding to the current candidate signal rejection threshold index information; acquiring the network quality of a wireless router connected with the candidate terminals in a stuck state in historical time, and determining the signal strength weight corresponding to each candidate terminal according to the network quality; acquiring signal intensities corresponding to the candidate terminals in a stuck state in historical time; calculating to obtain a current candidate signal rejection threshold corresponding to the current candidate signal rejection threshold index information according to the signal strength and the signal strength weight corresponding to each candidate terminal; performing associated storage on the current candidate signal rejection threshold index information and the current candidate signal rejection threshold, wherein the target signal rejection threshold is obtained by calculating the signal intensity corresponding to the plurality of terminals which are acquired according to history and correspond to the current signal rejection threshold index information in a stuck state;
and the control module is used for acquiring the current signal strength corresponding to the current terminal and controlling the connection state of the current terminal and the wireless router according to the current signal strength and the target signal rejection threshold.
14. A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 7.
15. A terminal comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 7.
CN201810441181.XA 2018-05-10 2018-05-10 Terminal management method, system, device, terminal and storage medium Active CN110475244B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810441181.XA CN110475244B (en) 2018-05-10 2018-05-10 Terminal management method, system, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810441181.XA CN110475244B (en) 2018-05-10 2018-05-10 Terminal management method, system, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110475244A CN110475244A (en) 2019-11-19
CN110475244B true CN110475244B (en) 2023-03-10

Family

ID=68503869

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810441181.XA Active CN110475244B (en) 2018-05-10 2018-05-10 Terminal management method, system, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110475244B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112333055B (en) * 2020-07-28 2023-09-19 深圳Tcl新技术有限公司 Terminal equipment connection method, device, equipment and storage medium
CN112469099B (en) * 2020-11-25 2023-06-23 维沃移动通信有限公司 Networking control method, networking control device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103178912A (en) * 2013-03-15 2013-06-26 北京小米科技有限责任公司 Method and terminal for prompting intensity of wireless signals
CN105792290A (en) * 2014-12-23 2016-07-20 乐视移动智能信息技术(北京)有限公司 Method and device for controlling intelligent terminal to perform wireless roaming
CN107318091A (en) * 2017-06-21 2017-11-03 维沃移动通信有限公司 The control method and mobile terminal of a kind of network connection
CN107820299A (en) * 2017-11-27 2018-03-20 广东欧珀移动通信有限公司 A kind of method for connecting network, network connection device and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9867106B2 (en) * 2015-12-30 2018-01-09 T-Mobile Usa, Inc. Codec-specific handover thresholds

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103178912A (en) * 2013-03-15 2013-06-26 北京小米科技有限责任公司 Method and terminal for prompting intensity of wireless signals
CN105792290A (en) * 2014-12-23 2016-07-20 乐视移动智能信息技术(北京)有限公司 Method and device for controlling intelligent terminal to perform wireless roaming
CN107318091A (en) * 2017-06-21 2017-11-03 维沃移动通信有限公司 The control method and mobile terminal of a kind of network connection
CN107820299A (en) * 2017-11-27 2018-03-20 广东欧珀移动通信有限公司 A kind of method for connecting network, network connection device and mobile terminal

Also Published As

Publication number Publication date
CN110475244A (en) 2019-11-19

Similar Documents

Publication Publication Date Title
US20200322237A1 (en) Traffic detection method and traffic detection device
CN105827472B (en) Network data flow type detection method and device
CN108737155B (en) Network state evaluation method and device
US20160295355A1 (en) ZIGBEE Network-Based Data Transmission Method, Apparatus, and System
CN107786440B (en) Method and device for forwarding data message
CN113489619B (en) Network topology inference method and device based on time series analysis
CN108768695B (en) KQI problem positioning method and device
US9253029B2 (en) Communication monitor, occurrence prediction method, and recording medium
CN110475244B (en) Terminal management method, system, device, terminal and storage medium
CN114095956B (en) Network optimization method, device and storage medium
CN111181923A (en) Flow detection method and device, electronic equipment and storage medium
CN113133069A (en) Method and device for determining target cell, electronic equipment and storage medium
EP3264696B1 (en) Control device, traffic control method, and recording medium onto which computer program is recorded
CN111343647B (en) Method, apparatus, device and medium for user perception evaluation
CN113207146B (en) Wireless communication network quality monitoring system and method
CN113507396B (en) Network state analysis method, device, equipment and machine-readable storage medium
CN111259007B (en) Electric vehicle information monitoring method and device, server and electric vehicle management system
CN113691483B (en) Method, device and equipment for detecting abnormal user equipment and storage medium
CN107438268B (en) Method and device for accelerating wireless network for mobile device
CN110764975A (en) Early warning method and device for equipment performance and monitoring equipment
CN114745289A (en) Method, device, storage medium and equipment for predicting network performance data
JP4668851B2 (en) Quality class determination apparatus, quality class determination method, and program
CN109661005B (en) Load sharing adjustment method and device of local access controller
CN106487756B (en) method and device for detecting information leakage of switch
CN118118385B (en) Network quality assessment method, device, medium and equipment of edge cloud industrial platform

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