CN115708391A - Communication connection method, device and terminal - Google Patents

Communication connection method, device and terminal Download PDF

Info

Publication number
CN115708391A
CN115708391A CN202110954241.XA CN202110954241A CN115708391A CN 115708391 A CN115708391 A CN 115708391A CN 202110954241 A CN202110954241 A CN 202110954241A CN 115708391 A CN115708391 A CN 115708391A
Authority
CN
China
Prior art keywords
equipment
preset
parameter information
connection
time interval
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.)
Pending
Application number
CN202110954241.XA
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN202110954241.XA priority Critical patent/CN115708391A/en
Publication of CN115708391A publication Critical patent/CN115708391A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application provides a communication connection method, a communication connection device and a terminal, wherein the method comprises the following steps: acquiring to-be-connected parameter information of equipment to be connected; matching the parameter information to be connected with a preset connection strategy, wherein the preset connection strategy is a strategy determined according to the acquired parameter to be connected and the real-time environment information; and under the condition that the parameter information to be connected meets the preset connection strategy, initiating a connection request to the equipment to be connected. The state of the equipment to be connected can be obtained by acquiring the parameter information to be connected of the equipment to be connected, so that the equipment to be connected can be conveniently processed; matching the parameter information to be connected with a preset connection strategy to reduce the reconnection times with the equipment to be connected; and under the condition that the parameter information to be connected meets the preset connection strategy, initiating a connection request to the equipment to be connected, so that the reconnection times with the equipment to be connected can be reduced, the power consumption of the terminal is reduced, and the standby time of the terminal is prolonged.

Description

Communication connection method, device and terminal
Technical Field
The present application relates to the field of communications technologies, and in particular, to a communication connection method, an apparatus, and a terminal.
Background
At present, data transmission is carried out between intelligent terminal and the intelligent wearing equipment through the short distance communication mode. For example, the intelligent terminal performs data transmission with the intelligent wearable device in a communication mode such as bluetooth or a mobile hotspot (Wi-Fi).
However, under the condition that it is determined that the distance between the intelligent terminal and the intelligent wearable device is greater than the preset distance threshold, the communication connection between the intelligent terminal and the intelligent wearable device is interrupted, and an application program installed on the intelligent terminal and used for controlling the intelligent wearable device continuously sends a reconnection request to the intelligent wearable device until the communication connection between the intelligent terminal and the intelligent wearable device is reestablished. This easily causes the power consumption of the smart terminal to increase, thereby shortening the standby time of the smart terminal.
Disclosure of Invention
The application provides a communication connection method, a communication connection device and a terminal.
The embodiment of the application provides a communication connection method, which comprises the following steps: acquiring to-be-connected parameter information of equipment to be connected; matching the parameter information to be connected with a preset connection strategy, wherein the preset connection strategy is a strategy determined according to the acquired parameter to be connected and the real-time environment information; and under the condition that the parameter information to be connected meets the preset connection strategy, initiating a connection request to the equipment to be connected.
An embodiment of the present application provides a communication connection apparatus, including: the device comprises an acquisition module, a connection module and a control module, wherein the acquisition module is configured to acquire parameter information to be connected of a device to be connected; the matching module is configured to match the parameter information to be connected with a preset connection strategy, and the preset connection strategy is a strategy determined according to the acquired parameter to be connected and the real-time environment information; the establishing module is configured to initiate a connection request to the device to be connected under the condition that the parameter information to be connected is determined to meet the preset connection strategy.
An embodiment of the present application provides a terminal, including: at least one communication connection device.
An embodiment of the present application provides an electronic device, including: one or more processors; a memory having one or more programs stored thereon, which when executed by the one or more processors, cause the one or more processors to implement any of the communication connection methods of the embodiments of the present application.
The embodiment of the present application provides a readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement any one of the communication connection methods in the embodiment of the present application.
According to the communication connection method, the communication connection device and the communication connection terminal, the state of the equipment to be connected can be obtained by acquiring the information of the parameters to be connected of the equipment to be connected, so that the equipment to be connected can be conveniently processed; matching the parameter information to be connected with a preset connection strategy, avoiding repeatedly initiating connection requests to the equipment to be connected and reducing the reconnection times with the equipment to be connected; and under the condition that the parameter information to be connected meets the preset connection strategy, initiating a connection request to the equipment to be connected, so that the reconnection times with the equipment to be connected can be reduced, the power consumption of the terminal is reduced, and the standby time of the terminal is prolonged.
With regard to the above embodiments and other aspects of the present application and implementations thereof, further description is provided in the accompanying drawings description, detailed description and claims.
Drawings
Fig. 1 illustrates a flowchart of a communication connection method according to an embodiment of the present application.
Fig. 2 is a flowchart illustrating a communication connection method according to another embodiment of the present application.
Fig. 3 is a flowchart illustrating a communication connection method according to still another embodiment of the present application.
Fig. 4 is a flowchart illustrating a communication connection method according to another embodiment of the present application.
Fig. 5 is a block diagram illustrating components of a communication connection apparatus according to an embodiment of the present disclosure.
Fig. 6 is a block diagram illustrating a terminal according to an embodiment of the present disclosure.
Fig. 7 is a block diagram illustrating components of a communication connection system according to an embodiment of the present application.
Fig. 8 is a flowchart illustrating an operating method of a communication connection system according to an embodiment of the present application.
Fig. 9 is a block diagram illustrating a parameter setting interface of a communication connection apparatus according to an embodiment of the present disclosure.
Fig. 10 is a block diagram illustrating a time setting interface in a communication connection apparatus according to an embodiment of the present disclosure.
Fig. 11 is a block diagram illustrating a geographic location setting interface in a communication connection device according to an embodiment of the present application.
Fig. 12 is a block diagram illustrating a geographic location setting interface in a communication connection device according to another embodiment of the present application.
Fig. 13 is a block diagram illustrating an exemplary hardware architecture of a computing device capable of implementing a communication connection method and apparatus according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the present application more apparent, embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
Fig. 1 is a flowchart illustrating a communication connection method according to an embodiment of the present application. The communication connection method is applicable to a communication connection apparatus, which may be provided in a terminal. As shown in fig. 1, the communication connection method in the embodiment of the present application may include the following steps.
Step S101, acquiring parameter information to be connected of equipment to be connected.
Wherein, the parameter information to be connected may include: the method comprises the following steps of any one or more of the temperature of the equipment to be connected, the position information of the equipment to be connected, a reconnection time interval, the working state of the equipment to be connected and a preset weather type. Through the multi-dimensional parameters, the equipment to be connected is detected, the comprehensiveness of the evaluation of the equipment to be connected is guaranteed, and the accuracy of communication connection between the equipment to be connected and the equipment to be connected is improved.
And step S102, matching the parameter information to be connected with a preset connection strategy.
The preset connection strategy can be a user-defined strategy or a strategy determined according to the acquired parameters to be connected and the real-time environment information. Whether communication connection with the equipment to be connected is needed or not can be accurately judged through different preset connection strategies.
Step S103, initiating a connection request to the device to be connected under the condition that the parameter information to be connected is determined to meet the preset connection strategy.
The connection request can be sent to the device to be connected, so that the device to be connected can feed back a connection response, and the communication connection is established with the device to be connected under the condition that the connection response is determined to be the agreement to establish the communication connection, so that the device to be connected is conveniently controlled.
In this embodiment, the state of the device to be connected can be known by acquiring the parameter information to be connected of the device to be connected, so as to facilitate the processing of the device to be connected; matching the parameter information to be connected with a preset connection strategy, avoiding repeatedly initiating connection requests to the equipment to be connected and reducing the reconnection times with the equipment to be connected; and under the condition that the parameter information to be connected meets the preset connection strategy, initiating a connection request to the equipment to be connected, so that the reconnection times with the equipment to be connected can be reduced, the power consumption of the terminal is reduced, and the standby time of the terminal is prolonged.
Fig. 2 is a flowchart illustrating a communication connection method according to another embodiment of the present application. The communication connection method is applicable to a communication connection apparatus, which may be provided in a terminal. As shown in fig. 2, the communication connection method in the embodiment of the present application may include the following steps.
Step S201, acquiring parameter information to be connected of the device to be connected.
Wherein, the parameter information to be connected includes: the temperature of the device to be connected.
In some implementations, a device to be connected includes: any one or more of wearable equipment, vehicle-mounted equipment and intelligent household equipment.
For example, the wearable device may include: a smart watch or a smart wristband, etc., which takes the wrist as a support; any one or more of shoes, socks and other leg wearing devices taking feet as supports; glasses, helmets, headbands and the like which take the head as a support; and different types of equipment such as intelligent clothes, schoolbag, crutch, accessory and the like.
The vehicle-mounted device is a front-end device of a vehicle monitoring management system, is generally installed in various vehicles, and may include: the system comprises various external devices such as a vehicle-mounted video server, a touch screen, an external camera, a call handle, an automobile burglar alarm and the like. And, the in-vehicle device may be connected with a smart terminal (e.g., a smart phone) held by a user through a mobile communication network to monitor the driving safety of the vehicle.
The smart home device may include: any one or more of audio and video equipment, lighting equipment, curtains, air conditioners, security equipment and intelligent household appliances. Through different intelligent household devices, remote control and management of various different household devices can be realized, and omnibearing convenient service is provided for users.
And step S202, matching the parameter information to be connected with a preset connection strategy.
The preset connection policy includes a temperature policy, for example, the temperature of the device to be connected may be matched with a preset temperature range to determine whether the temperature of the device to be connected is within the preset temperature range.
Step S203, in case that it is determined that the temperature of the device to be connected is within the preset temperature range, initiating a connection request to the device to be connected.
Wherein the preset temperature range may include: a maximum temperature threshold and a minimum temperature threshold. For example, according to the hardware condition of the device to be connected, the preset temperature range is set as follows: 30 to 45 ℃. So as to avoid the problem that the equipment to be connected cannot work normally due to the fact that the equipment to be connected is too cold or too hot.
In this embodiment, by initiating a connection request to the device to be connected when it is determined that the temperature of the device to be connected is within the preset temperature range, the number of times of sending the connection request to the device to be connected can be reduced, so that the processing resource of the device to be connected is prevented from being consumed by repeatedly sending the connection request for multiple times, and when the condition is satisfied, the communication connection can be established with the device to be connected, thereby improving the accuracy of the communication connection.
Fig. 3 is a flowchart illustrating a communication connection method according to still another embodiment of the present application. The communication connection method is applicable to a communication connection device which can be provided in a terminal. As shown in fig. 3, the communication connection method in the embodiment of the present application may include the following steps.
Step S301, acquiring to-be-connected parameter information of the to-be-connected device.
Wherein, the parameter information to be connected includes: location information of the device to be connected.
For example, the location information of the device to be connected may be a real-time location of the device to be connected. Such as the real-time position determined by a global positioning system or a mobile network system, or the name of a landmark building corresponding to the position of the device to be connected determined based on a map. The above manner for acquiring the location information of the device to be connected is only an example, and may be specifically set according to an actual situation, and the manner for acquiring the location information of other unexplained devices to be connected is also within the protection scope of the present application, and is not described herein again.
And step S302, matching the parameter information to be connected with a preset connection strategy.
The preset connection strategy comprises the following steps: and (4) location policy.
The location policy may be determined by: historical position information of the equipment to be connected is obtained, the frequency of the equipment to be connected appearing in the geographic position is screened out based on the historical position information, and the position strategy is determined according to the frequency. The location policy may include a preset location range, where a location in the preset location range is a location where a frequency of occurrence of the device to be connected is greater than a preset frequency threshold.
Step S303, under the condition that the device to be connected is determined to be located in the preset position range, a connection request is initiated to the device to be connected according to the position information of the device to be connected.
The preset position range is a range determined according to the frequency of the device to be connected appearing at the preset position and a preset frequency threshold. The preset frequency threshold may be user-defined or determined according to historical location information. The frequency is the number of occurrences per unit time. The more frequent, the more frequently the device to be connected appears at the preset position.
For example, the preset frequency threshold may be set to 3 or 5 occurrences at a preset location for a preset length of time (e.g., a day, a week, etc.).
In this embodiment, when it is determined that the device to be connected is located within the preset position range, the connection request is initiated to the device to be connected according to the position information of the device to be connected, so that the number of times of sending the connection request to the device to be connected can be reduced, and the processing resource of the device to be connected is prevented from being consumed by repeatedly sending the connection request.
Fig. 4 is a flowchart illustrating a communication connection method according to another embodiment of the present application. The communication connection method is applicable to a communication connection apparatus, which may be provided in a terminal. As shown in fig. 4, the communication connection method in the embodiment of the present application may include the following steps.
Step S401, acquiring the parameter information to be connected of the equipment to be connected.
Wherein, the parameter information to be connected includes: a reconnection time interval and a reconnection time interval; the reconnection time interval is a time interval determined depending on the frequency with which the device to be connected is used.
For example, the reconnection time interval may be set using an inspiration time and an expiration time. For example, a certain repetition period is set to "13 hours 00 minutes to 15 hours 30 minutes" or the like every day. In specific implementation, one repetition period can be set, and a plurality of repetition periods can also be set, so as to meet the personalized requirements of users.
And step S402, matching the parameter information to be connected with a preset connection strategy.
Wherein, predetermine the connection strategy, include: and (4) time strategy.
The time strategy may be determined as follows: and in the reconnection time interval, initiating a connection request to the equipment to be connected according to the connection time interval so that the communication connection device can be in communication connection with the equipment to be connected.
In step S403, the current time is acquired.
Wherein the current time is determined according to the time zone in which the user is currently located. For example, the current time is Beijing time 13 hours, etc.
Step S404, under the condition that the current time is determined to be in the reconnection time interval, a connection request is initiated to the device to be connected according to the reconnection time interval.
The reconnection time interval can be determined by user definition, and can also be determined according to the use habit of the user for using the equipment to be connected.
For example, a suggested reconnection time interval is set based on a detected time period for the user to view the use interface of the sports application. If a certain user likes to run at 19.
In this embodiment, when it is determined that the current time is within the reconnection time interval, a connection request is initiated to the device to be connected according to the reconnection time interval, so that the connection request can be sent to the device to be connected within the time interval according with the use habit of the user, thereby accelerating the communication connection with the device to be connected and meeting the personalized requirements of the user.
In some specific implementations, the to-be-connected parameter information further includes: the working state of the equipment to be connected; under the condition that the parameter information to be connected is determined to meet the preset connection strategy, a connection request is initiated to the equipment to be connected, and the method comprises the following steps:
and under the condition that the working state of the equipment to be connected is determined to be a starting state and the obtained current time is in a reconnection time interval, initiating a connection request to the equipment to be connected according to the reconnection time interval.
The device to be connected can be a vehicle-mounted device, and under the condition that the working state of the vehicle-mounted device is determined to be the starting state, the device to be connected can be determined to be in communication connection with the vehicle-mounted device, so that a user can conveniently control the vehicle-mounted device.
And in addition, under the condition that the current time is in the reconnection time interval, a connection request is initiated to the equipment to be connected according to the reconnection time interval, so that the use habit of a user can be met, and the use experience of the user is improved.
In some specific implementations, the parameter information to be connected further includes: presetting weather types and position information of equipment to be connected; acquiring the real-time weather type of the position of the equipment to be connected according to the position information of the equipment to be connected; and under the condition that the real-time weather type is the same as the preset weather type and the position of the equipment to be connected is within the preset position range, initiating a connection request to the equipment to be connected according to the reconnection time interval.
The preset weather type can include any one or more of the weather types of raining, snowing, cloudy days, strong wind and the like. The equipment to be connected can comprise automatically-controlled intelligent household equipment such as curtains and windows.
For example, in rainy days or snowy days, the communication connection is established with a curtain or a window in the home, and the curtain or the window in the home of the user is closed, so that rainwater or snowflakes are prevented from falling into the room to influence home sanitation, and a comfortable environment is brought to the user.
Whether the communication connection with the equipment to be connected is needed or not can be comprehensively measured by combining the weather condition and the position information and the time parameter of the equipment to be connected, the household life quality can be improved under the condition that the preset weather type occurs (for example, rainy days and the like) and the position of the equipment to be connected is within the preset position range, and a comfortable environment is brought to a user.
In some implementations, the parameter information to be connected includes: the method comprises the following steps of (1) position information of equipment to be connected, temperature of the equipment to be connected, a reconnection time interval and a reconnection time interval; under the condition that the parameter information to be connected is determined to meet the preset connection strategy, a connection request is initiated to the equipment to be connected, and the method comprises the following steps: and initiating a connection request to the equipment to be connected according to the reconnection time interval under the conditions that the obtained current time is in the reconnection time interval, the position of the equipment to be connected is in the preset position range and the temperature of the equipment to be connected is in the preset temperature range.
The position information of the equipment to be connected, the temperature of the equipment to be connected, the reconnection time interval and the information of multiple dimensions of the reconnection time interval are comprehensively judged, so that the equipment to be connected is in a condition suitable for communication connection, a connection request is sent to the equipment to be connected according to the reconnection time interval, the communication connection speed between the equipment to be connected and the equipment to be connected can be increased, and the communication connection efficiency is improved.
A communication connection apparatus according to an embodiment of the present invention will be described in detail below with reference to the accompanying drawings. Fig. 5 is a block diagram illustrating components of a communication connection apparatus according to an embodiment of the present disclosure. As shown in fig. 5. The communication connection device 500 includes the following modules:
an obtaining module 501 configured to obtain parameter information to be connected of a device to be connected; a matching module 502 configured to match the parameter information to be connected with a preset connection policy, where the preset connection policy is a policy determined according to the acquired parameter to be connected and the real-time environment information; the establishing module 503 is configured to initiate a connection request to the device to be connected, if it is determined that the parameter information to be connected satisfies the preset connection policy.
In some implementations, the communication connection apparatus 500 further includes: the parameter setting interface is connected with the acquisition module; a parameter setting interface comprising: a time setting module configured to obtain a reconnection time interval and a reconnection time interval; the temperature setting module is configured to acquire the temperature of the equipment to be connected; the device comprises a geographic position setting module configured to acquire position information of the device to be connected.
According to the communication connection device, the acquisition module acquires the to-be-connected parameter information of the to-be-connected equipment, so that the state of the to-be-connected equipment can be known, and the to-be-connected equipment can be conveniently processed; matching the parameter information to be connected with a preset connection strategy by using a matching module, avoiding repeatedly initiating a connection request to the equipment to be connected and reducing the reconnection times with the equipment to be connected; the method comprises the steps that the establishing module is used for initiating a connection request to the equipment to be connected under the condition that the parameter information to be connected meets the preset connection strategy, so that the reconnection times of the equipment to be connected can be reduced, the power consumption of the terminal is reduced, and the standby time of the terminal is prolonged.
Fig. 6 shows a block diagram of a terminal according to an embodiment of the present application. As shown in fig. 6. The terminal 600 comprises at least one communication connection 500 as shown in fig. 5.
For example, the communication connection device 500 includes: an obtaining module 501 configured to obtain parameter information to be connected of a device to be connected; a matching module 502 configured to match the parameter information to be connected with a preset connection policy, where the preset connection policy is a policy determined according to the acquired parameter to be connected and the real-time environment information; the establishing module 503 is configured to initiate a connection request to the device to be connected, if it is determined that the parameter information to be connected satisfies the preset connection policy.
In some implementations, the communication connection apparatus 500 further includes: the parameter setting interface is connected with the acquisition module; a parameter setting interface comprising: a time setting module configured to obtain a reconnection time interval and a reconnection time interval; the temperature setting module is configured to acquire the temperature of the equipment to be connected; the device comprises a geographic position setting module configured to acquire position information of the device to be connected.
In some implementations, the to-be-connected parameter information includes: the temperature of the device to be connected; the establishing module 503 may be further configured to initiate a connection request to the device to be connected when it is determined that the temperature of the device to be connected is within the preset temperature range.
In some implementations, the to-be-connected parameter information includes: location information of the device to be connected; the establishing module 503 may be further configured to determine location information of the device to be connected according to a frequency of the device to be connected appearing in a preset location and a preset frequency threshold; and under the condition that the equipment to be connected is determined to be positioned in the preset position range, initiating a connection request to the equipment to be connected according to the position information of the equipment to be connected.
In some implementations, the parameter information to be connected includes: a reconnection time interval and a reconnection time interval; wherein the reconnection time interval is a time interval determined according to a frequency with which the device to be connected is used.
The establishing module 503 may be further configured to obtain a current time; and under the condition that the current time is determined to be in the reconnection time interval, initiating a connection request to the device to be connected according to the reconnection time interval.
In some specific implementations, the parameter information to be connected further includes: the working state of the equipment to be connected; the establishing module 503 may be further configured to initiate a connection request to the device to be connected according to the reconnection time interval when it is determined that the working state of the device to be connected is the starting state and the obtained current time is within the reconnection time interval.
In some specific implementations, the to-be-connected parameter information further includes: presetting weather types and position information of equipment to be connected; the establishing module 503 may also be configured to obtain a real-time weather type of a location where the device to be connected is located according to the location information of the device to be connected; and under the condition that the real-time weather type is the same as the preset weather type and the position of the equipment to be connected is within the preset position range, initiating a connection request to the equipment to be connected according to the reconnection time interval.
In some implementations, the parameter information to be connected includes: the method comprises the following steps of (1) position information of equipment to be connected, temperature of the equipment to be connected, a reconnection time interval and a reconnection time interval; the establishing module 503 may be further configured to initiate a connection request to the device to be connected according to the reconnection time interval when it is determined that the obtained current time is within the reconnection time interval, the location of the device to be connected is within the preset location range, and the temperature of the device to be connected is within the preset temperature range.
In some implementations, a device to be connected includes: any one or more of wearable equipment, vehicle-mounted equipment and intelligent household equipment.
According to the terminal of the embodiment of the application, the acquisition module acquires the parameter information to be connected of the equipment to be connected, so that the state of the equipment to be connected can be known, and the equipment to be connected can be conveniently processed; matching the parameter information to be connected with a preset connection strategy by using a matching module, avoiding repeatedly initiating a connection request to the equipment to be connected and reducing the reconnection times with the equipment to be connected; the method comprises the steps of setting equipment to be connected through different parameters, and initiating a connection request to the equipment to be connected under the condition that the parameters meet different preset strategies, so that the reconnection times between the equipment to be connected and the equipment to be connected can be reduced, the power consumption of the terminal is reduced, and the standby time of the terminal is prolonged.
Fig. 7 is a block diagram illustrating components of a communication connection system according to an embodiment of the present application. As shown in fig. 7. The communication connection system includes the following devices:
a first intelligent terminal 710, a second intelligent terminal 720 and a communication connection device 730. The communication connection device 730 may include a detection component 731 and a parameter setting component 732.
A detecting component 731 for detecting time information (e.g. current time or date, etc.), detecting geographical location information where the first intelligent terminal 701 or the second intelligent terminal 702 is located, and temperature of the first intelligent terminal 701 or the second intelligent terminal 702, etc.
The parameter setting component 732 is configured to collect configuration policies for the respective intelligent terminals and provide a user setting interface to facilitate a user to configure the intelligent terminals.
In some implementations, the parameter setting component 732 may also be disposed on a control terminal (e.g., a smartphone used by a user, etc.). The communication connection system can also comprise a plurality of intelligent terminals, and the number of the intelligent terminals can be set according to actual requirements.
Fig. 8 is a flowchart illustrating an operating method of a communication connection system according to an embodiment of the present disclosure. As shown in fig. 8, the operation method of the communication connection system may be implemented by the following steps:
in step 801, the communication connection device 730 obtains preset parameters.
The preset parameters can be parameters which are customized by a user through a parameter setting interface. For example, the user sets the preset parameters through the parameter setting interface of the communication connection device 730; or may be an initial parameter preset by the intelligent terminal when the intelligent terminal leaves the factory.
For example, the parameter setting interface is connected with the acquisition module; the parameter setting interface includes: a time setting module configured to obtain a reconnection time interval and a reconnection time interval; the temperature setting module is configured to acquire the temperature of the equipment to be connected; and the geographic position setting module is configured to acquire the position information of the equipment to be connected.
It should be noted that the parameter setting interface may be disposed on the display portion of the communication connection device 730, and the obtaining module may be disposed inside the communication connection device 730, so that a user can conveniently perform an operation through the parameter setting interface, so that the obtaining module obtains the preset parameters set by the user.
In step 802, the communication connection device 730 sets a predetermined connection policy based on the predetermined parameter.
The preset connection strategy is a strategy determined according to the acquired parameters to be connected and the real-time environment information, and can also be a strategy defined by a user. The preset connection strategy comprises the following steps: any one or more of a temperature policy, a location policy, a time policy, an operating state and time policy, and a weather policy.
It should be noted that the preset connection policy may be a user-defined policy, or may be a policy determined by the parameter setting component 732 according to the acquired to-be-connected parameter and the real-time environment information. To accurately determine whether to make a communication connection with the first intelligent terminal 701 and/or the second intelligent terminal 702.
In step 803, the detection component 731 is used to detect the parameters to be connected of the first intelligent terminal 701 and/or the second intelligent terminal 702, and transmit the detected parameters to be connected to the parameter setting component 732.
The parameters to be connected can comprise any one or more of the temperature of the intelligent terminal, the position information of the intelligent terminal, a reconnection time interval, the working state of the intelligent terminal and a preset weather type.
For example, the preset weather types may include any one or more of the weather types of rain, snow, cloudy days, strong winds, and the like.
In step 804, the parameter setting component 732 matches the obtained to-be-connected parameter according to a preset connection policy, and determines whether the to-be-connected parameter information meets the preset connection policy.
Executing step S805 if it is determined that the parameter information to be connected satisfies the preset connection policy; otherwise, the flow ends.
For example, the temperature of the first intelligent terminal 701 and/or the second intelligent terminal 702 is matched with a preset temperature range; matching the real-time position information of the first intelligent terminal 701 and/or the second intelligent terminal 702 with a preset position range; matching the acquired current time with a preset reconnection time interval; matching the working state and the starting state of the first intelligent terminal 701 and/or the second intelligent terminal 702; and matching the real-time weather type with a preset weather type and the like. Through parameter matching of multiple dimensions, the opportunity of communication connection can be accurately acquired, the number of reconnection times between the intelligent terminal 701 and/or the intelligent terminal 702 is reduced, the power consumption of the terminal is reduced, and the standby time of the terminal is prolonged.
In step S805, the communication connection device 730 initiates a connection request to the first intelligent terminal 701 and/or the second intelligent terminal 702, so that the communication connection device 730 establishes a communication connection with the first intelligent terminal 701 and/or the second intelligent terminal 702.
The connection request may be sent to the first intelligent terminal 701 and/or the second intelligent terminal 702, so that the first intelligent terminal 701 and/or the second intelligent terminal 702 can feed back a connection response, and in a case that it is determined that the connection response is an agreement to establish a communication connection, the communication connection device 730 establishes a communication connection with the first intelligent terminal 701 and/or the second intelligent terminal 702, which facilitates the communication connection device 730 to control each intelligent terminal.
Wherein, intelligent terminal can include: any one or more of wearable equipment, vehicle-mounted equipment and intelligent household equipment.
In some specific implementations, the first smart terminal 701 may be a smart phone, and the second smart terminal 702 may be a wearable device, a vehicle-mounted device, a smart home device, or the like. The above descriptions of the category of the second intelligent terminal 702 are only examples, and specific settings may be performed according to actual situations, and other categories of the second intelligent terminal 702 that are not described are also within the protection scope of the present application, and are not described herein again.
For example, in the case where it is determined that the second smart terminal 702 is an in-vehicle device, the state of the vehicle may be determined in combination with a plurality of parameters, such as the operating state of the in-vehicle device, the operating state of the engine of the vehicle, and the current time, to determine whether a communication connection needs to be established with the in-vehicle device. Under the condition that the working state of the vehicle-mounted equipment is determined to be a starting state, the working state of the automobile engine is determined to be a starting state, and the acquired current time is in a connection time interval, the communication connection device 730 determines that a connection request can be initiated to the vehicle-mounted equipment, and initiates the connection request to the vehicle-mounted equipment according to a preset reconnection time interval, so that the communication connection device 730 can establish communication connection with the vehicle-mounted equipment, and a user can conveniently control the vehicle-mounted equipment through the communication connection device 730; meanwhile, the reconnection times with the vehicle-mounted equipment are reduced, and the power consumption of the vehicle-mounted equipment is reduced.
For example, the second smart terminal 702 may also be a smart home device (e.g., a smart curtain or a smart door/window), and may determine, by combining a plurality of parameters of the smart home device, such as time information, position information, temperature information, and real-time weather conditions, whether a communication connection needs to be established with the smart home device.
When it is determined that the real-time position of the smart home device is within the preset position range, the temperature of the smart home device is within the preset temperature range, the current time is within the reconnection time interval, and the real-time weather type is the preset weather type (for example, rain, snow, wind, etc.), a connection request can be initiated to the smart home device according to the reconnection time interval, so that the communication connection device 730 can establish communication connection with the smart home device, and a user can conveniently control the smart home device through the communication connection device 730. For example, the communication connection device 730 controls the smart window curtain to be closed or opened, or controls the smart door window to be closed or opened, etc.
It should be noted that the smart home device is usually connected to the network through Wi-Fi, and the communication connection device 730 may also establish a communication connection with the smart driving device through Wi-Fi.
In this embodiment, the communication connection time between the intelligent terminal and the terminal is measured through multiple dimensions, and communication connection is initiated to the intelligent terminal under the condition that it is determined that information of multiple different dimensions in the parameter information to be connected can meet a preset connection strategy, so that the communication connection speed between the intelligent terminal and the terminal is increased, connection requests are prevented from being repeatedly initiated to the intelligent terminal for multiple times, the number of reconnection times between the intelligent terminal and the terminal is reduced, the power consumption of the intelligent terminal is reduced, and meanwhile, the accuracy of communication connection is improved.
In some implementations, fig. 9 is a block diagram illustrating a parameter setting interface of a communication connection apparatus provided by an embodiment of the present application. As shown in fig. 9, the parameter setting interface 900 includes: a time setting module 910, a temperature setting module 920, and a geographic location setting module 930.
Fig. 10 is a block diagram illustrating a time setting interface in a communication connection device according to an embodiment of the present application. As shown in fig. 10, the time setting module 910 can be used to make the selection of the repetition period. That is, the user selects the time period required to establish a communication connection with the first intelligent terminal 710 and/or the second intelligent terminal 720 through the time list shown in fig. 10.
For example, weekly, daily, etc. Each repetition period may be set using the inspiration time and the expiration time, for example, a certain repetition period is set to "13 hours 00 minutes to 15 hours 30 minutes" of each day, and the like. In specific implementation, one repetition period can be set, and a plurality of repetition periods can be set to meet the personalized requirements of users.
For example, the time setting module 910 may be further configured to set a recommended repetition period according to the detected time period for the user to view the use interface of the sports application. For example, if a user prefers to run at 19-00-20.
The time setting module 910 may be further configured to set a time interval for establishing a communication connection with the first intelligent terminal 710 and/or the second intelligent terminal 720. For example, the reconnect time interval may be set to a default of 1 minute, 2 minutes, etc.
The temperature setting module 920 is configured to determine whether the temperature of the first intelligent terminal 710 and/or the second intelligent terminal 720 is within a preset temperature range, and when it is determined that the temperature of the first intelligent terminal 710 is not within the preset temperature range and/or the temperature of the second intelligent terminal 720 is not within the preset temperature range, the communication connection device 730 will not initiate a connection request to the first intelligent terminal 710 and/or the second intelligent terminal 720.
For example, a preset temperature threshold of the smart terminal may be set, and the preset temperature threshold may include a maximum temperature threshold and a minimum temperature threshold. For example, according to the hardware condition of the intelligent terminal, the preset temperature range is set as follows: 30 to 45 ℃. The terminal can not normally work due to overheating of the intelligent terminal, and normal work of the intelligent terminal is guaranteed.
Fig. 11 is a block diagram illustrating a geographic location setting interface in a communication connection device according to an embodiment of the present application. As shown in FIG. 11, the geo-location setup module 930 may include a plurality of location add portals, such as location 1, location 2, \8230;, location N, etc., where N is an integer greater than or equal to 1.
The geographic position setting module 930 is configured to detect geographic positions used by the user and at which the intelligent terminal appears frequently, sort the geographic positions according to the frequency to obtain a sort result, add a geographic position with the highest frequency to "position 1" according to the sort result, add a geographic position with the second highest frequency to "position 2",8230, and so on, add N positions, and use the N positions as default addresses, so as to automatically set and determine the position information of the user.
In some implementations, fig. 12 is a block diagram illustrating a geographic location setting interface in a communication connection device according to yet another embodiment of the present application. As shown in fig. 12, the geographic location setting module 930 includes a map 931. Each geographic location may be calibrated by using a map 931, and different geographic locations are directly displayed to a user, so as to facilitate the user's selection operation of the geographic locations.
The calibration of the fence center of the map 931 may be performed by selecting a suitable area according to the frequency of occurrence of the intelligent terminal used by the user at the preset position. For example, the intelligent terminal used by the user has the longest time when the intelligent terminal is located in the office on a working day, and the fence center of the map 931 can be calibrated based on the geographical location information of the office; the intelligent terminal used by the user has the longest time when being located at the home address of the user on the weekend, and the fence center of the map 931 can be calibrated based on the home address. The preset positions are only examples, and can be specifically set according to actual needs, and other non-described preset positions are also within the protection scope of the present application and are not described herein again.
It is to be understood that the invention is not limited to the particular arrangements and instrumentality described in the above embodiments and shown in the drawings. For convenience and simplicity of description, detailed description of a known method is omitted here, and for the specific working processes of the system, the module and the unit described above, reference may be made to corresponding processes in the foregoing method embodiments, which are not described again here.
Fig. 13 is a block diagram illustrating an exemplary hardware architecture of a computing device capable of implementing the communication connection method and apparatus according to an embodiment of the present invention.
As shown in fig. 13, computing device 1300 includes an input device 1301, an input interface 1302, a central processor 1303, a memory 1304, an output interface 1305, and an output device 1306. The input interface 1302, the central processor 1303, the memory 1304, and the output interface 1305 are connected to each other via a bus 1307, and the input device 1301 and the output device 1306 are connected to the bus 1307 via the input interface 1302 and the output interface 1305, respectively, and further connected to other components of the computing device 1300.
Specifically, the input device 1301 receives input information from the outside, and transmits the input information to the central processor 1303 through the input interface 1302; the central processor 1303 processes input information based on computer-executable instructions stored in the memory 1304 to generate output information, stores the output information temporarily or permanently in the memory 1004, and then transmits the output information to the output device 1006 through the output interface 1005; output device 1006 outputs the output information external to computing device 1000 for use by a user.
In one embodiment, the computing device shown in fig. 13 may be implemented as an electronic device that may include: a memory configured to store a program; a processor configured to execute the program stored in the memory to perform the communication connection method described in the above embodiment.
In one embodiment, the computing device shown in FIG. 13 may be implemented as a communication connection system that may include: a memory configured to store a program; a processor configured to execute the program stored in the memory to perform the communication connection method described in the above embodiment.
The above description is only an exemplary embodiment of the present application, and is not intended to limit the scope of the present application. In general, the various embodiments of the application may be implemented in hardware or special purpose circuits, software, logic or any combination thereof. For example, some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software which may be executed by a controller, microprocessor or other computing device, although the application is not limited thereto.
Embodiments of the application may be implemented by a data processor of a mobile device executing computer program instructions, for example in a processor entity, or by hardware, or by a combination of software and hardware. The computer program instructions may be assembly instructions, instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages.
Any logic flow block diagrams in the figures of this application may represent program steps, or may represent interconnected logic circuits, modules, and functions, or may represent a combination of program steps and logic circuits, modules, and functions. The computer program may be stored on a memory. The memory may be of any type suitable to the local technical environment and may be implemented using any suitable data storage technology, such as, but not limited to, read Only Memory (ROM), random Access Memory (RAM), optical storage devices and systems (digital versatile disks, DVDs, or CD discs), etc. The computer readable medium may include a non-transitory storage medium. The data processor may be of any type suitable to the local technical environment, such as but not limited to general purpose computers, special purpose computers, microprocessors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), programmable logic devices (FGPAs), and processors based on a multi-core processor architecture.
The foregoing has provided by way of exemplary and non-limiting examples a detailed description of exemplary embodiments of the present application. Various modifications and adaptations to the foregoing embodiments may become apparent to those skilled in the relevant arts in view of the following drawings and the appended claims without departing from the scope of the invention. Therefore, the proper scope of the present invention is defined by the appended claims.

Claims (14)

1. A method of communication connection, the method comprising:
acquiring to-be-connected parameter information of equipment to be connected;
matching the parameter information to be connected with a preset connection strategy, wherein the preset connection strategy is a strategy determined according to the acquired parameter to be connected and the real-time environment information;
and initiating a connection request to the equipment to be connected under the condition that the parameter information to be connected is determined to meet the preset connection strategy.
2. The method of claim 1, wherein the to-be-connected parameter information comprises: the temperature of the device to be connected;
the initiating a connection request to the device to be connected under the condition that it is determined that the parameter information to be connected meets the preset connection policy includes:
and under the condition that the temperature of the equipment to be connected is determined to be within a preset temperature range, initiating a connection request to the equipment to be connected.
3. The method according to claim 1, wherein the parameter information to be connected includes: position information of the device to be connected;
the initiating a connection request to the device to be connected under the condition that it is determined that the parameter information to be connected meets the preset connection policy includes:
and under the condition that the equipment to be connected is determined to be located in a preset position range, initiating a connection request to the equipment to be connected according to the position information of the equipment to be connected, wherein the preset position range is a range determined according to the frequency of the equipment to be connected appearing in a preset position and a preset frequency threshold.
4. The method according to claim 1, wherein the parameter information to be connected includes: a reconnection time interval and a reconnection time interval;
wherein the reconnection time interval is a time interval determined according to a frequency with which the to-be-connected device is used.
5. The method according to claim 4, wherein the initiating a connection request to the device to be connected in the case that it is determined that the parameter information to be connected satisfies the preset connection policy comprises:
acquiring current time;
and under the condition that the current time is determined to be within the reconnection time interval, initiating a connection request to the equipment to be connected according to the reconnection time interval.
6. The method according to claim 4, wherein the parameter information to be connected further comprises: the working state of the equipment to be connected;
the initiating a connection request to the device to be connected under the condition that the parameter information to be connected is determined to meet the preset connection strategy comprises:
and under the condition that the working state of the equipment to be connected is determined to be a starting state and the obtained current time is within the reconnection time interval, initiating a connection request to the equipment to be connected according to the reconnection time interval.
7. The method according to claim 4, wherein the parameter information to be connected further comprises: presetting a weather type and position information of the equipment to be connected;
the initiating a connection request to the device to be connected under the condition that the parameter information to be connected is determined to meet the preset connection strategy comprises:
acquiring the real-time weather type of the position of the equipment to be connected according to the position information of the equipment to be connected;
and under the condition that the real-time weather type is the same as the preset weather type and the position of the equipment to be connected is in a preset position range, initiating a connection request to the equipment to be connected according to the reconnection time interval.
8. The method according to claim 1, wherein the parameter information to be connected includes: the position information of the equipment to be connected, the temperature of the equipment to be connected, a reconnection time interval and a reconnection time interval;
the initiating a connection request to the device to be connected under the condition that the parameter information to be connected is determined to meet the preset connection strategy comprises:
and initiating a connection request to the equipment to be connected according to the reconnection time interval under the conditions that the obtained current time is within the reconnection time interval, the position of the equipment to be connected is within a preset position range and the temperature of the equipment to be connected is within a preset temperature range.
9. The method according to any one of claims 1 to 8, wherein the device to be connected comprises: any one or more of wearable equipment, vehicle-mounted equipment and intelligent household equipment.
10. A communication connection apparatus, comprising:
the device comprises an acquisition module, a connection module and a control module, wherein the acquisition module is configured to acquire parameter information to be connected of a device to be connected;
the matching module is configured to match the parameter information to be connected with a preset connection strategy, wherein the preset connection strategy is a strategy determined according to the acquired parameter to be connected and the real-time environment information;
the establishing module is configured to initiate a connection request to the device to be connected under the condition that the parameter information to be connected is determined to meet the preset connection strategy.
11. The apparatus of claim 10, wherein the communication connection apparatus further comprises: the parameter setting interface is connected with the acquisition module;
the parameter setting interface comprises:
a time setting module configured to obtain a reconnection time interval and a reconnection time interval;
the temperature setting module is configured to acquire the temperature of the equipment to be connected;
and the geographic position setting module is configured to acquire the position information of the equipment to be connected.
12. A terminal, comprising:
at least one communication connection apparatus as claimed in claim 10 or 11.
13. An electronic device, comprising:
one or more processors;
memory having one or more programs stored thereon that, when executed by the one or more processors, cause the one or more processors to implement the communication connection method of any of claims 1-9.
14. A readable storage medium, characterized in that the readable storage medium stores a computer program which, when executed by a processor, implements the communication connection method according to any one of claims 1 to 9.
CN202110954241.XA 2021-08-19 2021-08-19 Communication connection method, device and terminal Pending CN115708391A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110954241.XA CN115708391A (en) 2021-08-19 2021-08-19 Communication connection method, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110954241.XA CN115708391A (en) 2021-08-19 2021-08-19 Communication connection method, device and terminal

Publications (1)

Publication Number Publication Date
CN115708391A true CN115708391A (en) 2023-02-21

Family

ID=85212691

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110954241.XA Pending CN115708391A (en) 2021-08-19 2021-08-19 Communication connection method, device and terminal

Country Status (1)

Country Link
CN (1) CN115708391A (en)

Similar Documents

Publication Publication Date Title
US20220262182A1 (en) Home monitoring system triggered rules
US10362536B2 (en) Dynamic connection path detection and selection for wireless controllers and accessories
JP6216080B2 (en) Router signal strength adjustment method, apparatus, program, and recording medium
AU2014309292B2 (en) Method and apparatus for adjusting portable electronic device operation based on ambient temperature
US10368312B2 (en) Method, device, and system for detecting device power
US10383059B2 (en) Vehicle telematics unit power management
JP2017532855A (en) Method and apparatus for operating intelligent electrical equipment
JP6323786B2 (en) Server, control method and program
US10841122B1 (en) Automatic custom rule generation for home automation system
CN112229024B (en) Control method for abnormal temperature regulation of air conditioner, air conditioner and storage medium
CN110262264B (en) Household equipment control method and device for simplifying user operation and household equipment
US9107180B2 (en) User device radio activity optimization in dead zones
US10942196B2 (en) Systems and methods of motion detection using dynamic thresholds and data filtering
CN108981072B (en) Environmental comfort push method
CN112229037B (en) Control method of air conditioner, terminal, air conditioner and storage medium
CN106371326B (en) Storage method and device for equipment working scene
CN113375297A (en) Method and device for controlling air conditioner and air conditioner
US20200182499A1 (en) Indoor environmental weighted preference management
WO2016105959A1 (en) Systems and methods for enforcing wireless regulatory compliance
WO2020037903A1 (en) Method and apparatus for controlling controller, and device and storage medium
US20220390935A1 (en) Presenting a current status of a device in dependence on a privacy mode
US20200378643A1 (en) Ability to create user preferences for building systems from historical use patterns
CN115708391A (en) Communication connection method, device and terminal
CN107390503B (en) Method and device for controlling alarm clock signal
CN113286263B (en) Network connection method, network connection device, electronic apparatus, and readable storage medium

Legal Events

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