CN117255332B - Bluetooth connection control method and device, storage medium and electronic equipment - Google Patents

Bluetooth connection control method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN117255332B
CN117255332B CN202311534641.0A CN202311534641A CN117255332B CN 117255332 B CN117255332 B CN 117255332B CN 202311534641 A CN202311534641 A CN 202311534641A CN 117255332 B CN117255332 B CN 117255332B
Authority
CN
China
Prior art keywords
bluetooth connection
control information
preset
connection control
strategy
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
CN202311534641.0A
Other languages
Chinese (zh)
Other versions
CN117255332A (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.)
TCL Communication Technology Chengdu Ltd
Original Assignee
TCL Communication Technology Chengdu 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 TCL Communication Technology Chengdu Ltd filed Critical TCL Communication Technology Chengdu Ltd
Priority to CN202311534641.0A priority Critical patent/CN117255332B/en
Publication of CN117255332A publication Critical patent/CN117255332A/en
Application granted granted Critical
Publication of CN117255332B publication Critical patent/CN117255332B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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

Abstract

The application discloses a Bluetooth connection control method, a Bluetooth connection control device, a storage medium and electronic equipment, and relates to the technical field of Internet of things, wherein the Bluetooth connection control method comprises the following steps: receiving a Bluetooth connection request, wherein the Bluetooth connection request carries Bluetooth connection triggering mode information of a Bluetooth connection requester; acquiring a preset Bluetooth connection strategy, wherein the preset Bluetooth connection strategy comprises different Bluetooth connection control information; acquiring Bluetooth connection control information matched with the Bluetooth connection triggering mode information from the preset Bluetooth connection strategy to obtain target Bluetooth connection control information; and according to the target Bluetooth connection control information, performing response control processing on the Bluetooth connection request. The Bluetooth connection control method and device can effectively improve reliability and flexibility of Bluetooth connection control, reduce Bluetooth misconnection conditions and improve user experience.

Description

Bluetooth connection control method and device, storage medium and electronic equipment
Technical Field
The application relates to the technical field of the internet of things, in particular to a Bluetooth connection control method, a Bluetooth connection control device, a storage medium and electronic equipment.
Background
Bluetooth devices in an environment are usually many, and bluetooth misconnection situations are very easy to occur, for example, bluetooth is usually provided with an automatic reconnection function, if a user uses an a device and a B device to perform audio transmission through a bluetooth connection, and at this time, a C device that has established a bluetooth connection with the a device initiates automatic reconnection, since the bluetooth connection is usually one-to-one, a subsequent C device will automatically establish a bluetooth connection with the a device, and the B device is disconnected, and at this time, the user is usually required to manually disconnect the connection with the C device to perform restoration connection with the B device.
Therefore, the existing Bluetooth connection control mode has the problem that the reliability and flexibility of Bluetooth connection control are poor, so that the situation of Bluetooth misconnection is frequently caused, and the user experience is poor.
Disclosure of Invention
The embodiment of the application provides a scheme, can effectively promote bluetooth connection control reliability and flexibility, reduce bluetooth misconnection condition, promote user experience.
The embodiment of the application provides the following technical scheme:
according to one embodiment of the present application, a bluetooth connection control method includes: receiving a Bluetooth connection request, wherein the Bluetooth connection request carries Bluetooth connection triggering mode information of a Bluetooth connection requester; acquiring a preset Bluetooth connection strategy, wherein the preset Bluetooth connection strategy comprises different Bluetooth connection control information; acquiring Bluetooth connection control information matched with the Bluetooth connection triggering mode information from the preset Bluetooth connection strategy to obtain target Bluetooth connection control information; and according to the target Bluetooth connection control information, performing response control processing on the Bluetooth connection request.
In some embodiments of the present application, the obtaining, from the preset bluetooth connection policy, bluetooth connection control information matched with the bluetooth connection triggering mode information, to obtain target bluetooth connection control information includes: detecting a scene where equipment is located; and inquiring Bluetooth connection triggering mode information and Bluetooth connection control information matched with a scene where the equipment is located from the preset Bluetooth connection strategy to obtain the target Bluetooth connection control information.
In some embodiments of the present application, the obtaining, from the preset bluetooth connection policy, bluetooth connection control information matched with the bluetooth connection triggering mode information, to obtain target bluetooth connection control information includes: acquiring the information of the connecting party of each party related to Bluetooth connection; and inquiring Bluetooth connection control information matched with the Bluetooth connection triggering mode information and the connector information together from the preset Bluetooth connection strategy to obtain the target Bluetooth connection control information.
In some embodiments of the present application, the obtaining, from the preset bluetooth connection policy, bluetooth connection control information matched with the bluetooth connection triggering mode information, to obtain target bluetooth connection control information includes: inquiring Bluetooth connection control information matched with the Bluetooth connection triggering mode information from the preset Bluetooth connection strategy; and obtaining target Bluetooth connection control information according to the Bluetooth connection control information matched with the Bluetooth connection triggering mode information.
In some embodiments of the present application, the obtaining, from the preset bluetooth connection policy, bluetooth connection control information matched with the bluetooth connection triggering mode information, to obtain target bluetooth connection control information includes: acquiring a time period in which the receiving moment of the Bluetooth connection request is; and inquiring the Bluetooth connection triggering mode information and the Bluetooth connection control information matched with the time period together from the preset Bluetooth connection strategy to obtain the target Bluetooth connection control information.
In some embodiments of the present application, before the acquiring the preset bluetooth connection policy, the method further includes: receiving strategy updating information sent by related equipment or generating strategy updating information according to equipment use data; and updating the preset Bluetooth connection strategy according to the strategy updating information.
In some embodiments of the present application, before the acquiring the preset bluetooth connection policy, the method further includes: displaying a Bluetooth connection control setting interface according to a preset trigger instruction; and configuring the preset Bluetooth connection strategy according to the setting operation in the Bluetooth connection control setting interface.
According to one embodiment of the present application, a bluetooth connection control apparatus, the apparatus includes: the receiving module is used for receiving a Bluetooth connection request, wherein the Bluetooth connection request carries Bluetooth connection triggering mode information of a Bluetooth connection requester; the acquisition module is used for acquiring a preset Bluetooth connection strategy, wherein the preset Bluetooth connection strategy comprises different Bluetooth connection control information; the matching module is used for acquiring Bluetooth connection control information matched with the Bluetooth connection triggering mode information from the preset Bluetooth connection strategy to obtain target Bluetooth connection control information; and the control module is used for carrying out response control processing on the Bluetooth connection request according to the target Bluetooth connection control information.
In some embodiments of the present application, the matching module is configured to: detecting a scene where equipment is located; and inquiring Bluetooth connection triggering mode information and Bluetooth connection control information matched with a scene where the equipment is located from the preset Bluetooth connection strategy to obtain the target Bluetooth connection control information.
In some embodiments of the present application, the matching module is configured to: acquiring the information of the connecting party of each party related to Bluetooth connection; and inquiring Bluetooth connection control information matched with the Bluetooth connection triggering mode information and the connector information together from the preset Bluetooth connection strategy to obtain the target Bluetooth connection control information.
In some embodiments of the present application, the matching module is configured to: inquiring Bluetooth connection control information matched with the Bluetooth connection triggering mode information from the preset Bluetooth connection strategy; and obtaining target Bluetooth connection control information according to the Bluetooth connection control information matched with the Bluetooth connection triggering mode information.
In some embodiments of the present application, the matching module is configured to: acquiring a time period in which the receiving moment of the Bluetooth connection request is; and inquiring the Bluetooth connection triggering mode information and the Bluetooth connection control information matched with the time period together from the preset Bluetooth connection strategy to obtain the target Bluetooth connection control information.
In some embodiments of the present application, before the acquiring the preset bluetooth connection policy, the apparatus further includes an updating module configured to: receiving strategy updating information sent by related equipment or generating strategy updating information according to equipment use data; and updating the preset Bluetooth connection strategy according to the strategy updating information.
In some embodiments of the present application, before the acquiring the preset bluetooth connection policy, the method further includes a configuration module configured to: displaying a Bluetooth connection control setting interface according to a preset trigger instruction; and configuring the preset Bluetooth connection strategy according to the setting operation in the Bluetooth connection control setting interface.
According to another embodiment of the present application, a storage medium has stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform the method described in the embodiments of the present application.
According to another embodiment of the present application, an electronic device may include: a memory storing a computer program; and the processor reads the computer program stored in the memory to execute the method according to the embodiment of the application.
According to another embodiment of the present application, a computer program product or computer program includes computer instructions stored in a computer readable storage medium. The computer instructions are read from the computer-readable storage medium by a processor of a computer device, and executed by the processor, cause the computer device to perform the methods provided in the various alternative implementations described in the embodiments of the present application.
In the embodiment of the application, a Bluetooth connection request is received, wherein the Bluetooth connection request carries Bluetooth connection triggering mode information of a Bluetooth connection requester; acquiring a preset Bluetooth connection strategy, wherein the preset Bluetooth connection strategy comprises different Bluetooth connection control information; acquiring Bluetooth connection control information matched with the Bluetooth connection triggering mode information from the preset Bluetooth connection strategy to obtain target Bluetooth connection control information; and according to the target Bluetooth connection control information, performing response control processing on the Bluetooth connection request.
The beneficial effects of this application are: in this way, through carrying bluetooth connection triggering mode information of bluetooth connection request party in the design bluetooth connection request, and then, the receiver can obtain bluetooth connection control information that bluetooth connection triggering mode information matches from predetermineeing bluetooth connection policy and respond control processing, namely respond control processing is carried out according to this bluetooth connection request that bluetooth connection request party is automatic triggering or manual triggering, compared with the mode that the receiver can't judge whether the request party is automatic or manual judgement and blind response in current mode, the mode of this application can respond control more nimble reliably, bluetooth connection control reliability and flexibility can be effectively promoted, reduce bluetooth misconnection condition, promote user experience.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 shows a flowchart of a bluetooth connection control method according to an embodiment of the present application.
Fig. 2 shows a control information acquisition flow chart according to one embodiment of the present application.
Fig. 3 shows a control information acquisition flow chart according to another embodiment of the present application.
Fig. 4 shows a control information acquisition flow chart according to another embodiment of the present application.
Fig. 5 shows a control information acquisition flow chart according to another embodiment of the present application.
Fig. 6 shows a block diagram of a bluetooth connection control device according to an embodiment of the present application.
Fig. 7 shows a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The present disclosure is further described in detail below with reference to the drawings and examples. It should be understood that the examples provided herein are merely illustrative of the present disclosure and are not intended to limit the present disclosure. In addition, the embodiments provided below are some of the embodiments for implementing the present disclosure, and not all of the embodiments for implementing the present disclosure, and the technical solutions described in the embodiments of the present disclosure may be implemented in any combination without conflict.
It should be noted that, in the embodiments of the present disclosure, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a method or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such method or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other related elements (e.g., a step in a method or a unit in an apparatus, e.g., a unit may be a part of a circuit, a part of a processor, a part of a program or software, etc.) in a method or apparatus comprising the element.
For example, the bluetooth connection control method provided in the embodiment of the present disclosure includes a series of steps, but the bluetooth connection control method provided in the embodiment of the present disclosure is not limited to the described steps, and similarly, the bluetooth connection control apparatus provided in the embodiment of the present disclosure includes a series of units, but the apparatus provided in the embodiment of the present disclosure is not limited to including explicitly described units, and may also include units that are required to be set when acquiring related information or performing processing based on the information.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure.
Fig. 1 schematically shows a flow chart of a bluetooth connection control method according to an embodiment of the present application. The execution main body of the Bluetooth connection control method can be any device with processing capability, such as a television, a computer, a mobile phone, a smart watch, a vehicle-mounted device, a household appliance and the like.
As shown in fig. 1, the bluetooth connection control method may include steps S110 to S140.
Step S110, receiving a Bluetooth connection request, wherein the Bluetooth connection request carries Bluetooth connection triggering mode information of a Bluetooth connection requester; step S120, a preset Bluetooth connection strategy is obtained, wherein the preset Bluetooth connection strategy comprises different Bluetooth connection control information; step S130, acquiring Bluetooth connection control information matched with the Bluetooth connection triggering mode information from the preset Bluetooth connection strategy to obtain target Bluetooth connection control information; and step S140, according to the target Bluetooth connection control information, performing response control processing on the Bluetooth connection request.
The receiver (i.e. the device as the executing body) can receive the bluetooth connection request sent by the bluetooth connection requester, where the bluetooth connection request carries bluetooth connection triggering mode information of the bluetooth connection requester, where the bluetooth connection triggering mode information is used to indicate whether the bluetooth connection requester is automatically triggered or manually triggered by the user, and the form of the bluetooth connection triggering mode information can be set according to practical situations.
The receiver can pre-store a preset Bluetooth connection strategy, wherein the preset Bluetooth connection strategy comprises different Bluetooth connection control information; the different bluetooth connection control information included in the preset bluetooth connection policy may include, but is not limited to: direct bluetooth connection in response to a bluetooth connection request, refusing the bluetooth connection request, or requesting the user to indicate whether to make a bluetooth connection in response to the bluetooth connection request, etc.
And the receiver can acquire the Bluetooth connection control information matched with the Bluetooth connection triggering mode information from the preset Bluetooth connection strategy to acquire target Bluetooth connection control information. The receiver can further respond to the Bluetooth connection request for control processing according to the target Bluetooth connection control information.
In this way, based on step S110 to step S140, by designing the bluetooth connection request to carry bluetooth connection triggering mode information of the bluetooth connection requester, further, the receiver may obtain bluetooth connection control information matched with the bluetooth connection triggering mode information from the preset bluetooth connection policy to perform response control processing, that is, perform response control processing according to whether the bluetooth connection requester is automatically triggered or manually triggered, and compared with the manner that the receiver cannot judge whether the requester is automatically or manually judged and blindly responds in the existing manner, the manner of the application can perform response control more flexibly and reliably, effectively improve reliability and flexibility of bluetooth connection control, reduce bluetooth misconnection conditions, and improve user experience.
Further alternative embodiments of the steps performed when bluetooth connection control is performed under the embodiment of fig. 1 are described below.
In an embodiment, referring to fig. 2, the obtaining bluetooth connection control information matched with the bluetooth connection triggering mode information from the preset bluetooth connection policy to obtain target bluetooth connection control information may include: step S210, inquiring Bluetooth connection control information matched with the Bluetooth connection triggering mode information from the preset Bluetooth connection strategy; step S220, according to the Bluetooth connection control information matched with the Bluetooth connection triggering mode information, target Bluetooth connection control information is obtained.
In this embodiment, the preset bluetooth connection policy may specifically include bluetooth connection control information corresponding to different preset bluetooth connection triggering modes, respectively.
According to the received Bluetooth connection triggering mode information, the Bluetooth connection control information matched with the received Bluetooth connection triggering mode information can be inquired from the preset Bluetooth connection strategy.
The bluetooth connection control information matched with the received bluetooth connection triggering mode information can be used as target bluetooth connection control information. That is, in this embodiment, the corresponding target bluetooth connection control information is directly determined according to whether the bluetooth connection request is an automatic trigger or a manual trigger.
Further, referring to fig. 3, in an embodiment, the obtaining, from the preset bluetooth connection policy, bluetooth connection control information matched with the bluetooth connection triggering mode information, to obtain target bluetooth connection control information may include: step S310, detecting a scene where the equipment is located; step S320, inquiring the bluetooth connection triggering mode information and the bluetooth connection control information matched with the scene where the device is located from the preset bluetooth connection policy, to obtain the target bluetooth connection control information.
In this embodiment, the preset bluetooth connection policy may specifically include bluetooth connection control information corresponding to combinations of different preset bluetooth connection triggering modes and scenes where the device is located.
The receiver may detect a scene in which the device of the receiver is located, that is, the scene in which the receiver is located, where the device is located may include a conference scene, a driving scene, a chat scene, a video watching scene, and so on.
Further, the receiver can query the received bluetooth connection triggering mode information and the bluetooth connection control information matched with the scene where the detected device is located from the preset bluetooth connection strategy. The inquired Bluetooth connection control information can be used as the target Bluetooth connection control information.
According to whether the Bluetooth connection request is automatically triggered or manually triggered, corresponding target Bluetooth connection control information is further determined by combining the scene where the equipment is located, and response control is performed based on the target Bluetooth connection control information, so that the flexibility and reliability of Bluetooth connection control are further improved.
In an embodiment, referring to fig. 4, the obtaining bluetooth connection control information matched with the bluetooth connection triggering mode information from the preset bluetooth connection policy to obtain target bluetooth connection control information includes: step S410, obtaining the information of the connecting party of each party related to Bluetooth connection; step S420, inquiring bluetooth connection control information matched with the bluetooth connection triggering mode information and the connector information together from the preset bluetooth connection policy, to obtain the target bluetooth connection control information.
In this embodiment, the preset bluetooth connection policy may specifically include bluetooth connection control information corresponding to combinations of different preset connection party information and bluetooth connection triggering mode information, respectively.
The receiver may obtain connection party information of bluetooth connection related parties, which may include parties related to the receiver having a bluetooth connection, e.g. the bluetooth connection related parties may include the receiver, a bluetooth connection requester, some device party that has established a bluetooth connection with the receiver. The connection party information of the bluetooth connection related parties can comprise information such as device types or device identifications of the bluetooth connection related parties.
Further, the receiver can query the bluetooth connection triggering mode information received at this time and the bluetooth connection control information matched with the obtained connection party information at this time from the preset bluetooth connection strategy. The inquired Bluetooth connection control information can be used as the target Bluetooth connection control information.
The corresponding target Bluetooth connection control information is determined by further combining the information of the connecting parties of the related parties of the Bluetooth connection according to whether the Bluetooth connection request is automatically triggered or manually triggered, and the response control is performed based on the target Bluetooth connection control information, so that the flexibility and the reliability of Bluetooth connection control can be further improved.
In an embodiment, referring to fig. 5, the obtaining bluetooth connection control information matched with the bluetooth connection triggering mode information from the preset bluetooth connection policy to obtain target bluetooth connection control information includes: step S510, obtaining a time period of the receiving moment of the Bluetooth connection request; step S520, inquiring the bluetooth connection triggering mode information and the bluetooth connection control information matched with the time period together from the preset bluetooth connection policy, to obtain the target bluetooth connection control information.
In this embodiment, the preset bluetooth connection policy may specifically include bluetooth connection control information corresponding to combinations of different preset time periods and bluetooth connection triggering mode information, respectively.
The receiver may acquire a time period in which the time of receiving the bluetooth connection request is. Further, the receiver can query the bluetooth connection triggering mode information received at this time and the bluetooth connection control information matched with the acquired time period from the preset bluetooth connection strategy. The inquired Bluetooth connection control information can be used as the target Bluetooth connection control information.
According to whether the Bluetooth connection request is automatically triggered or manually triggered, corresponding target Bluetooth connection control information is determined by further combining the time period of the moment of receiving the Bluetooth connection request, response control is performed based on the target Bluetooth connection control information, and flexibility and reliability of Bluetooth connection control can be further improved.
In an embodiment, the obtaining, from the preset bluetooth connection policy, bluetooth connection control information matched with the bluetooth connection triggering mode information to obtain target bluetooth connection control information may include: detecting a scene where equipment is located; acquiring the information of the connecting party of each party related to Bluetooth connection; acquiring a time period in which the receiving moment of the Bluetooth connection request is; and inquiring Bluetooth connection control information which is matched with the Bluetooth connection triggering mode information, the scene where the equipment is located, the connector information and the time period together from the preset Bluetooth connection strategy to obtain the target Bluetooth connection control information.
In this embodiment, the preset bluetooth connection policy may specifically include bluetooth connection control information corresponding to different preset time periods, scenes where the device is located, and combinations of connection party information and bluetooth connection triggering mode information.
The receiver can inquire the Bluetooth connection triggering mode information, the scene where the equipment is located, the connection party information and the Bluetooth connection control information matched with the time period together from a preset Bluetooth connection strategy to obtain target Bluetooth connection control information. The inquired Bluetooth connection control information can be used as the target Bluetooth connection control information.
According to whether the Bluetooth connection request is automatic or manual, corresponding target Bluetooth connection control information is determined by further combining the scene where the equipment is located, the information of the connecting party and the time period, response control is performed based on the target Bluetooth connection control information, further Bluetooth connection refinement control can be achieved, and flexibility and reliability of Bluetooth connection control are further improved.
In one embodiment, before the acquiring the preset bluetooth connection policy, the method further includes: receiving strategy updating information sent by related equipment or generating strategy updating information according to equipment use data; and updating the preset Bluetooth connection strategy according to the strategy updating information.
The receiver may receive policy update information sent by related devices such as a server or a terminal. Or the receiver can generate policy update information according to the device usage data in the receiver, for example, the receiver generates corresponding policy update information according to the device usage data when judging that the Bluetooth connection control information corresponding to a certain time period needs to be updated. Furthermore, the receiver can automatically update the preset Bluetooth connection strategy according to the obtained strategy updating information, so that the reliability of Bluetooth connection control is further ensured.
In one embodiment, before the acquiring the preset bluetooth connection policy, the method further includes: displaying a Bluetooth connection control setting interface according to a preset trigger instruction; and configuring the preset Bluetooth connection strategy according to the setting operation in the Bluetooth connection control setting interface.
The receiver can display a Bluetooth connection control setting interface according to a preset triggering instruction triggered by a user, the user can perform setting operation in the Bluetooth connection control setting interface, and the user can self-define information in a preset Bluetooth connection strategy through the setting operation, so that the preset Bluetooth connection strategy is configured. The control flexibility of Bluetooth connection is further improved and guaranteed through user-defined setting operation.
In order to facilitate better implementation of the bluetooth connection control method provided by the embodiment of the present application, the embodiment of the present application further provides a bluetooth connection control device based on the bluetooth connection control method. The meaning of the noun is the same as that in the Bluetooth connection control method, and specific implementation details can be referred to in the description of the method embodiment. Fig. 6 shows a block diagram of a bluetooth connection control device according to an embodiment of the present application.
As shown in fig. 6, the bluetooth connection control apparatus 600 may include: the receiving module 610 may be configured to receive a bluetooth connection request, where the bluetooth connection request carries bluetooth connection triggering mode information of a bluetooth connection requester; the obtaining module 620 may be configured to obtain a preset bluetooth connection policy, where the preset bluetooth connection policy includes different bluetooth connection control information; the matching module 630 may be configured to obtain, from the preset bluetooth connection policy, bluetooth connection control information that is matched with the bluetooth connection triggering manner information, to obtain target bluetooth connection control information; the control module 640 may be configured to perform a response control process on the bluetooth connection request according to the target bluetooth connection control information.
In some embodiments of the present application, the matching module is configured to: detecting a scene where equipment is located; and inquiring Bluetooth connection triggering mode information and Bluetooth connection control information matched with a scene where the equipment is located from the preset Bluetooth connection strategy to obtain the target Bluetooth connection control information.
In some embodiments of the present application, the matching module is configured to: acquiring the information of the connecting party of each party related to Bluetooth connection; and inquiring Bluetooth connection control information matched with the Bluetooth connection triggering mode information and the connector information together from the preset Bluetooth connection strategy to obtain the target Bluetooth connection control information.
In some embodiments of the present application, the matching module is configured to: inquiring Bluetooth connection control information matched with the Bluetooth connection triggering mode information from the preset Bluetooth connection strategy; and obtaining target Bluetooth connection control information according to the Bluetooth connection control information matched with the Bluetooth connection triggering mode information.
In some embodiments of the present application, the matching module is configured to: acquiring a time period in which the receiving moment of the Bluetooth connection request is; and inquiring the Bluetooth connection triggering mode information and the Bluetooth connection control information matched with the time period together from the preset Bluetooth connection strategy to obtain the target Bluetooth connection control information.
In some embodiments of the present application, before the acquiring the preset bluetooth connection policy, the apparatus further includes an updating module configured to: receiving strategy updating information sent by related equipment or generating strategy updating information according to equipment use data; and updating the preset Bluetooth connection strategy according to the strategy updating information.
In some embodiments of the present application, before the acquiring the preset bluetooth connection policy, the method further includes a configuration module configured to: displaying a Bluetooth connection control setting interface according to a preset trigger instruction; and configuring the preset Bluetooth connection strategy according to the setting operation in the Bluetooth connection control setting interface.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit, in accordance with embodiments of the present application. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
In addition, the embodiment of the application further provides an electronic device, as shown in fig. 7, and fig. 7 shows a block diagram of the electronic device according to an embodiment of the application, specifically:
the electronic device may include one or more processing cores 'processors 701, one or more computer-readable storage media's memory 702, power supply 703, and input unit 704, among other components. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 7 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. Wherein:
the processor 701 is a control center of the electronic device, connects various parts of the entire computer device using various interfaces and lines, and performs various functions of the computer device and processes data by running or executing software programs and/or modules stored in the memory 702, and calling data stored in the memory 702, thereby performing overall monitoring of the electronic device. Optionally, processor 701 may include one or more processing cores; preferably, the processor 701 may integrate an application processor and a modem processor, wherein the application processor primarily handles operating systems, user pages, applications, etc., and the modem processor primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 701.
The memory 702 may be used to store software programs and modules, and the processor 701 executes various functional applications and data processing by executing the software programs and modules stored in the memory 702. The memory 702 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the computer device, etc. In addition, the memory 702 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 702 may also include a memory controller to provide access to the memory 702 by the processor 701.
The electronic device further comprises a power supply 703 for powering the various components, preferably the power supply 703 is logically connected to the processor 701 by a power management system, whereby the functions of managing charging, discharging, and power consumption are performed by the power management system. The power supply 703 may also include one or more of any component, such as a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, etc.
The electronic device may further comprise an input unit 704, which input unit 704 may be used for receiving input digital or character information and generating keyboard, mouse, joystick, optical or trackball signal inputs in connection with user settings and function control.
Although not shown, the electronic device may further include a display unit or the like, which is not described herein. In particular, in this embodiment, the processor 701 in the electronic device loads executable files corresponding to the processes of one or more computer programs into the memory 702 according to the following instructions, and the processor 701 executes the computer programs stored in the memory 702, so as to implement the functions in the foregoing embodiments of the present application, for example, the processor 701 may perform the following steps:
receiving a Bluetooth connection request, wherein the Bluetooth connection request carries Bluetooth connection triggering mode information of a Bluetooth connection requester; acquiring a preset Bluetooth connection strategy, wherein the preset Bluetooth connection strategy comprises different Bluetooth connection control information; acquiring Bluetooth connection control information matched with the Bluetooth connection triggering mode information from the preset Bluetooth connection strategy to obtain target Bluetooth connection control information; and according to the target Bluetooth connection control information, performing response control processing on the Bluetooth connection request.
In some embodiments of the present application, the obtaining, from the preset bluetooth connection policy, bluetooth connection control information matched with the bluetooth connection triggering mode information, to obtain target bluetooth connection control information includes: detecting a scene where equipment is located; and inquiring Bluetooth connection triggering mode information and Bluetooth connection control information matched with a scene where the equipment is located from the preset Bluetooth connection strategy to obtain the target Bluetooth connection control information.
In some embodiments of the present application, the obtaining, from the preset bluetooth connection policy, bluetooth connection control information matched with the bluetooth connection triggering mode information, to obtain target bluetooth connection control information includes: acquiring the information of the connecting party of each party related to Bluetooth connection; and inquiring Bluetooth connection control information matched with the Bluetooth connection triggering mode information and the connector information together from the preset Bluetooth connection strategy to obtain the target Bluetooth connection control information.
In some embodiments of the present application, the obtaining, from the preset bluetooth connection policy, bluetooth connection control information matched with the bluetooth connection triggering mode information, to obtain target bluetooth connection control information includes: inquiring Bluetooth connection control information matched with the Bluetooth connection triggering mode information from the preset Bluetooth connection strategy; and obtaining target Bluetooth connection control information according to the Bluetooth connection control information matched with the Bluetooth connection triggering mode information.
In some embodiments of the present application, the obtaining, from the preset bluetooth connection policy, bluetooth connection control information matched with the bluetooth connection triggering mode information, to obtain target bluetooth connection control information includes: acquiring a time period in which the receiving moment of the Bluetooth connection request is; and inquiring the Bluetooth connection triggering mode information and the Bluetooth connection control information matched with the time period together from the preset Bluetooth connection strategy to obtain the target Bluetooth connection control information.
In some embodiments of the present application, before the acquiring the preset bluetooth connection policy, the method further includes: receiving strategy updating information sent by related equipment or generating strategy updating information according to equipment use data; and updating the preset Bluetooth connection strategy according to the strategy updating information.
In some embodiments of the present application, before the acquiring the preset bluetooth connection policy, the method further includes: displaying a Bluetooth connection control setting interface according to a preset trigger instruction; and configuring the preset Bluetooth connection strategy according to the setting operation in the Bluetooth connection control setting interface.
It will be appreciated by those of ordinary skill in the art that all or part of the steps of the various methods of the above embodiments may be performed by a computer program, or by computer program control related hardware, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present embodiments also provide a storage medium having stored therein a computer program that can be loaded by a processor to perform the steps of any of the methods provided by the embodiments of the present application.
Wherein the storage medium may be a computer-readable storage medium, the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Since the computer program stored in the storage medium may perform any of the steps in the method provided in the embodiment of the present application, the beneficial effects that can be achieved by the method provided in the embodiment of the present application may be achieved, which are detailed in the previous embodiments and are not described herein.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains.
It will be understood that the present application is not limited to the embodiments that have been described above and shown in the drawings, but that various modifications and changes can be made without departing from the scope thereof.

Claims (10)

1. A bluetooth connection control method, applied to a receiving party, comprising:
receiving a Bluetooth connection request, wherein the Bluetooth connection request carries Bluetooth connection triggering mode information of a Bluetooth connection requester, and the Bluetooth connection triggering mode information is used for indicating whether the Bluetooth connection request is automatically triggered or manually triggered by a user in the Bluetooth connection requester;
acquiring a preset Bluetooth connection strategy, wherein the preset Bluetooth connection strategy comprises Bluetooth connection control information corresponding to different preset Bluetooth connection triggering modes respectively;
determining corresponding target Bluetooth connection control information according to whether the Bluetooth connection request indicated by the Bluetooth connection triggering mode information is automatically triggered or manually triggered in the preset Bluetooth connection strategy;
and according to the target Bluetooth connection control information, carrying out response control processing on the Bluetooth connection request according to whether the Bluetooth connection request is automatically triggered or manually triggered by the Bluetooth connection requester.
2. The method according to claim 1, wherein the determining the corresponding target bluetooth connection control information according to whether the bluetooth connection request indicated by the bluetooth connection trigger mode information is automatically triggered or manually triggered comprises:
detecting a scene where equipment is located;
and inquiring Bluetooth connection triggering mode information and Bluetooth connection control information matched with a scene where the equipment is located from the preset Bluetooth connection strategy to obtain the target Bluetooth connection control information.
3. The method according to claim 1, wherein the determining the corresponding target bluetooth connection control information according to whether the bluetooth connection request indicated by the bluetooth connection trigger mode information is automatically triggered or manually triggered comprises:
acquiring the information of the connecting party of each party related to Bluetooth connection;
and inquiring Bluetooth connection control information matched with the Bluetooth connection triggering mode information and the connector information together from the preset Bluetooth connection strategy to obtain the target Bluetooth connection control information.
4. The method according to claim 1, wherein the determining the corresponding target bluetooth connection control information according to whether the bluetooth connection request indicated by the bluetooth connection trigger mode information is automatically triggered or manually triggered comprises:
inquiring Bluetooth connection control information matched with the Bluetooth connection triggering mode information from the preset Bluetooth connection strategy;
and obtaining target Bluetooth connection control information according to the Bluetooth connection control information matched with the Bluetooth connection triggering mode information.
5. The method according to claim 1, wherein the determining the corresponding target bluetooth connection control information according to whether the bluetooth connection request indicated by the bluetooth connection trigger mode information is automatically triggered or manually triggered comprises:
acquiring a time period in which the receiving moment of the Bluetooth connection request is;
and inquiring the Bluetooth connection triggering mode information and the Bluetooth connection control information matched with the time period together from the preset Bluetooth connection strategy to obtain the target Bluetooth connection control information.
6. The method according to any one of claims 1 to 5, wherein prior to said obtaining a preset bluetooth connection policy, the method further comprises:
receiving strategy updating information sent by related equipment or generating strategy updating information according to equipment use data;
and updating the preset Bluetooth connection strategy according to the strategy updating information.
7. The method according to any one of claims 1 to 5, wherein prior to said obtaining a preset bluetooth connection policy, the method further comprises:
displaying a Bluetooth connection control setting interface according to a preset trigger instruction;
and configuring the preset Bluetooth connection strategy according to the setting operation in the Bluetooth connection control setting interface.
8. A bluetooth connection control apparatus for use with a receiving party, the apparatus comprising:
the Bluetooth connection request comprises Bluetooth connection triggering mode information of a Bluetooth connection requester, wherein the Bluetooth connection triggering mode information is used for indicating whether the Bluetooth connection requester is automatically triggered or manually triggered by a user;
the acquisition module is used for acquiring a preset Bluetooth connection strategy, wherein the preset Bluetooth connection strategy comprises Bluetooth connection control information respectively corresponding to different preset Bluetooth connection triggering modes;
the matching module is used for determining corresponding target Bluetooth connection control information according to whether the Bluetooth connection request indicated by the Bluetooth connection triggering mode information is automatically triggered or manually triggered in the preset Bluetooth connection strategy;
and the control module is used for carrying out response control processing on the Bluetooth connection request according to the target Bluetooth connection control information and whether the Bluetooth connection request is automatically triggered or manually triggered by the Bluetooth connection requester.
9. A storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform the method of any of claims 1 to 7.
10. An electronic device, comprising: a memory storing a computer program; a processor reading a computer program stored in a memory to perform the method of any one of claims 1 to 7.
CN202311534641.0A 2023-11-17 2023-11-17 Bluetooth connection control method and device, storage medium and electronic equipment Active CN117255332B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311534641.0A CN117255332B (en) 2023-11-17 2023-11-17 Bluetooth connection control method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311534641.0A CN117255332B (en) 2023-11-17 2023-11-17 Bluetooth connection control method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN117255332A CN117255332A (en) 2023-12-19
CN117255332B true CN117255332B (en) 2024-03-19

Family

ID=89126814

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311534641.0A Active CN117255332B (en) 2023-11-17 2023-11-17 Bluetooth connection control method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN117255332B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106788612A (en) * 2016-12-15 2017-05-31 青岛海信电器股份有限公司 A kind of bluetooth mode method of adjustment and bluetooth equipment based on A2DP agreements
CN111510902A (en) * 2020-04-24 2020-08-07 歌尔科技有限公司 Bluetooth device and Bluetooth state switching method and device thereof
CN112351390A (en) * 2019-08-09 2021-02-09 华为技术有限公司 Method for mutual identification or mutual communication of Bluetooth devices
CN112954660A (en) * 2021-02-09 2021-06-11 Oppo广东移动通信有限公司 Bluetooth matching method and device, mobile terminal, Bluetooth equipment and communication system
CN113573291A (en) * 2021-08-04 2021-10-29 杭州涂鸦信息技术有限公司 Bluetooth connection method, device, computer equipment and computer readable storage medium
CN113676878A (en) * 2020-05-13 2021-11-19 成都鼎桥通信技术有限公司 Method and equipment for acquiring data of multiple intelligent wearable devices
WO2022156598A1 (en) * 2021-01-21 2022-07-28 维沃移动通信有限公司 Bluetooth connection method and apparatus, and electronic device
WO2022237704A1 (en) * 2021-05-08 2022-11-17 广州视源电子科技股份有限公司 Device connection method and apparatus, and device and storage medium
WO2023005274A1 (en) * 2021-07-26 2023-02-02 中兴通讯股份有限公司 Bluetooth connection method, bluetooth device, system, electronic device and storage medium
WO2023087880A1 (en) * 2021-11-18 2023-05-25 中兴通讯股份有限公司 Bluetooth device management method and apparatus, storage medium and terminal device
CN116193413A (en) * 2023-04-27 2023-05-30 江西斐耳科技有限公司 Bluetooth connection method, system, storage medium and device
CN116528202A (en) * 2023-05-16 2023-08-01 Oppo广东移动通信有限公司 Connection control method, device, electronic equipment and storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106788612A (en) * 2016-12-15 2017-05-31 青岛海信电器股份有限公司 A kind of bluetooth mode method of adjustment and bluetooth equipment based on A2DP agreements
CN112351390A (en) * 2019-08-09 2021-02-09 华为技术有限公司 Method for mutual identification or mutual communication of Bluetooth devices
CN111510902A (en) * 2020-04-24 2020-08-07 歌尔科技有限公司 Bluetooth device and Bluetooth state switching method and device thereof
CN113676878A (en) * 2020-05-13 2021-11-19 成都鼎桥通信技术有限公司 Method and equipment for acquiring data of multiple intelligent wearable devices
WO2022156598A1 (en) * 2021-01-21 2022-07-28 维沃移动通信有限公司 Bluetooth connection method and apparatus, and electronic device
CN112954660A (en) * 2021-02-09 2021-06-11 Oppo广东移动通信有限公司 Bluetooth matching method and device, mobile terminal, Bluetooth equipment and communication system
WO2022237704A1 (en) * 2021-05-08 2022-11-17 广州视源电子科技股份有限公司 Device connection method and apparatus, and device and storage medium
WO2023005274A1 (en) * 2021-07-26 2023-02-02 中兴通讯股份有限公司 Bluetooth connection method, bluetooth device, system, electronic device and storage medium
CN115696281A (en) * 2021-07-26 2023-02-03 中兴通讯股份有限公司 Bluetooth connection method, bluetooth device, system, electronic device and storage medium
CN113573291A (en) * 2021-08-04 2021-10-29 杭州涂鸦信息技术有限公司 Bluetooth connection method, device, computer equipment and computer readable storage medium
WO2023087880A1 (en) * 2021-11-18 2023-05-25 中兴通讯股份有限公司 Bluetooth device management method and apparatus, storage medium and terminal device
CN116193413A (en) * 2023-04-27 2023-05-30 江西斐耳科技有限公司 Bluetooth connection method, system, storage medium and device
CN116528202A (en) * 2023-05-16 2023-08-01 Oppo广东移动通信有限公司 Connection control method, device, electronic equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Android平台单主机与多从机自配对蓝牙通信研究;陈思思;信息与电脑(理论版);20190315;全文 *
基于Android平台蓝牙通信测试案例设计及实现;吴志霞;科技广场;20160530;全文 *
基于蓝牙技术的数据同步的实现;马建辉;通信技术;20110810;全文 *

Also Published As

Publication number Publication date
CN117255332A (en) 2023-12-19

Similar Documents

Publication Publication Date Title
CN107025120B (en) Software upgrading processing method and device and terminal
CN113746821B (en) Intelligent device control method and device, storage medium and electronic device
CN114217759A (en) Screen projection method and device, storage medium and electronic equipment
CN117255332B (en) Bluetooth connection control method and device, storage medium and electronic equipment
EP3805938A1 (en) Server node selection method and terminal device
CN112333114A (en) Data transmission method, device, storage medium, terminal and network access point equipment
CN112383623A (en) Multimedia file processing method and device, terminal and network access point equipment
CN114624569A (en) Sensor circuit abnormality detection method, circuit, device, intelligent device, and medium
CN113741814A (en) Data processing method, data processing device, computer readable storage medium and computer equipment
CN113836405B (en) Information query method, device and computer readable storage medium
CN113765886B (en) Multimedia playing method and device, storage medium and electronic equipment
CN117544714A (en) Contact person information presetting method and device, storage medium and electronic equipment
CN114422965B (en) Information interaction method and device, storage medium and electronic equipment
CN117412109A (en) Device connection method, device, electronic device and computer storage medium
CN113038199B (en) Authority changing method, device, computer equipment and computer readable storage medium
CN114158027A (en) Communication connection method, device, terminal and storage medium
CN116939256A (en) Resource transmission method and device, intelligent equipment and storage medium
CN117559596A (en) Charging management and control method and device, storage medium and electronic equipment
CN117412088A (en) Terminal control method and device, storage medium and electronic equipment
CN117412165A (en) Device processing method, device, computer device and computer readable storage medium
CN117196745A (en) Information prompting method and device, storage medium and electronic equipment
CN117412082A (en) Program guide loading method and device, storage medium and electronic equipment
CN117615205A (en) Volume adjustment control method and device, storage medium and electronic equipment
CN117407055A (en) Graph efficiency switching method and device, storage medium and electronic equipment
CN116192845A (en) Device processing method, device, electronic device and storage medium

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