CN114023054A - Device management method, device, electronic device and computer storage medium - Google Patents
Device management method, device, electronic device and computer storage medium Download PDFInfo
- Publication number
- CN114023054A CN114023054A CN202111320514.1A CN202111320514A CN114023054A CN 114023054 A CN114023054 A CN 114023054A CN 202111320514 A CN202111320514 A CN 202111320514A CN 114023054 A CN114023054 A CN 114023054A
- Authority
- CN
- China
- Prior art keywords
- module
- instruction
- bluetooth
- control
- control instruction
- 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
Links
- 238000007726 management method Methods 0.000 title claims abstract description 149
- 238000004590 computer program Methods 0.000 claims description 7
- 238000000034 method Methods 0.000 abstract description 14
- 238000004891 communication Methods 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C17/00—Arrangements for transmitting signals characterised by the use of a wireless electrical link
- G08C17/02—Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q9/00—Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q2209/00—Arrangements in telecontrol or telemetry systems
- H04Q2209/40—Arrangements in telecontrol or telemetry systems using a wireless architecture
- H04Q2209/43—Arrangements in telecontrol or telemetry systems using a wireless architecture using wireless personal area networks [WPAN], e.g. 802.15, 802.15.1, 802.15.4, Bluetooth or ZigBee
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the application provides a device management method, a device, electronic equipment and a server. According to the method and the device, the target idle Bluetooth sub-modules are distributed through the scheduling module in the first Bluetooth module of the device terminal, communication connection between the device terminal and the plurality of control terminals is achieved, the scheduling management module is responsible for device management operation of the plurality of control terminals on the device terminal, and therefore the scheme that the plurality of control terminals control the device terminal simultaneously is achieved, and device management efficiency is improved.
Description
Technical Field
The present application relates to the field of wireless communications technologies, and in particular, to a device management method and apparatus, an electronic device, and a computer storage medium.
Background
In daily household life, many intelligent devices can be remotely controlled, wherein the Bluetooth module is widely applied in the scheme of remote control of the intelligent devices. For example, a sound box, a television set and other devices are remotely controlled through a Bluetooth module in a mobile phone.
In the conventional scheme, the connections of bluetooth modules are mainly connected in a one-to-one manner, i.e. one master device is connected with one slave device, and there are a few bluetooth modules supporting a one-master-to-many-slave connection manner, i.e. one master device can be connected with multiple slave devices at the same time, but does not support a one-slave-to-many-master connection manner. However, in practical applications, a slave-to-multi-master connection mode is required, such as: when a plurality of mobile phones exist in a family, each mobile phone can establish Bluetooth connection with the intelligent sound box at the same time. Each mobile phone can control the intelligent sound box. However, the conventional bluetooth connection method cannot adapt to the application scenario, and therefore, the conventional bluetooth connection method has a problem of low device management efficiency due to insufficient application scenario.
Disclosure of Invention
The embodiment of the application provides a device management method and device, electronic equipment and a computer storage medium, which are used for improving the device management efficiency.
In order to solve the above technical problem, an embodiment of the present application provides the following technical solutions:
in one aspect, the present application provides an apparatus management method, which is used for a first bluetooth module of an apparatus terminal, where the first bluetooth module includes a bluetooth sub-module and a scheduling management module, and the apparatus management method includes:
when monitoring that the first Bluetooth module has an idle Bluetooth sub-module, the scheduling management module determines a target idle Bluetooth sub-module and opens the target idle Bluetooth sub-module;
and after the target idle Bluetooth sub-module is successfully connected with a second Bluetooth module in the first control terminal, executing equipment management operation through the scheduling management module.
Optionally, in some possible implementation manners of the present application, the step of executing the device management operation by the scheduling management module includes:
receiving a control instruction sent by a first control terminal;
acquiring the current running state of the equipment terminal;
and determining whether to respond to the control command to execute corresponding equipment management operation according to the current running state of the equipment terminal.
Optionally, in some possible implementation manners of the present application, the step of determining whether to respond to the control instruction to execute a corresponding device management operation according to the current operating state of the device terminal includes:
if the equipment terminal is in a standby state, executing corresponding equipment management operation according to the control instruction;
if the equipment terminal is in an instruction execution state, acquiring an execution instruction executed by the equipment terminal;
and determining whether to respond to the control instruction to execute corresponding equipment management operation according to the execution instruction and the control instruction.
Optionally, in some possible implementations of the present application, the step of determining whether to respond to the control instruction to execute a corresponding device management operation according to the execution instruction and the control instruction includes:
judging whether the control instruction and the execution instruction are instructions capable of being paralleled;
if the control instruction and the execution instruction are instructions which can be paralleled, responding to the control instruction to execute corresponding equipment management operation;
and if the control instruction and the execution instruction are non-parallelable instructions, determining whether to respond to the control instruction to execute corresponding equipment management operation according to instruction information of the control instruction and the execution instruction.
Optionally, in some possible implementation manners of the present application, the step of determining whether to respond to the control instruction to execute a corresponding device management operation according to the instruction information of the control instruction and the execution instruction includes:
determining priorities corresponding to the control instruction and the execution instruction respectively according to the instruction information of the control instruction and the execution instruction;
and if the priority of the control instruction is greater than or equal to the priority of the execution instruction, suspending the execution instruction and responding to the control instruction to execute corresponding equipment management operation.
Optionally, in some possible implementation manners of the present application, the step of determining, according to instruction information of the control instruction and the execution instruction, priorities corresponding to the control instruction and the execution instruction respectively includes:
determining the control type of a control event corresponding to the control instruction according to the control instruction, and determining the execution type of an execution event corresponding to the execution instruction according to the execution instruction;
and determining the priority of the control instruction corresponding to the control category and the priority of the execution instruction corresponding to the execution category based on a priority list.
Optionally, in some possible implementation manners of the present application, when the scheduling management module monitors that there is an idle bluetooth sub-module in the first bluetooth module, the step of determining, by the scheduling management module, a target idle bluetooth sub-module includes:
when the scheduling management module monitors that an idle Bluetooth sub-module exists in the first Bluetooth module, determining a target idle Bluetooth sub-module in the idle Bluetooth sub-modules through the scheduling management module based on the priority of the idle Bluetooth sub-modules.
On one hand, an embodiment of the present application further provides an apparatus management device, where the apparatus management device is disposed in a first bluetooth module of an apparatus terminal, the first bluetooth module includes a bluetooth sub-module and a scheduling management module, and the apparatus management device includes:
the determining module is used for determining a target idle Bluetooth sub-module and opening the target idle Bluetooth sub-module through the scheduling management module when the scheduling management module monitors that the first Bluetooth module has the idle Bluetooth sub-module;
and the execution module is used for executing equipment management operation through the scheduling management module after the target idle Bluetooth sub-module is successfully connected with the second Bluetooth module in the first control terminal.
In one aspect, an embodiment of the present application provides an electronic device, where the electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps in the device management method when executing the computer program.
In one aspect, the present application provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps in the device management method.
The embodiment of the application provides a device management method, a device, electronic equipment and a server. According to the method and the device, the target idle Bluetooth sub-modules are distributed through the scheduling module in the first Bluetooth module of the device terminal, communication connection between the device terminal and the plurality of control terminals is achieved, the scheduling management module is responsible for device management operation of the plurality of control terminals on the device terminal, and therefore the scheme that the plurality of control terminals control the device terminal simultaneously is achieved, and device management efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a scene schematic diagram of a device management system according to an embodiment of the present application.
Fig. 2 is a first flowchart of a device management method according to an embodiment of the present application.
Fig. 3a is a schematic flowchart of a second method for managing devices according to an embodiment of the present disclosure.
Fig. 3b is a third flowchart illustrating a device management method according to an embodiment of the present application.
Fig. 4 is a fourth flowchart illustrating a device management method according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a device management apparatus according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a device management method and device, electronic equipment and a computer readable storage medium. The device management apparatus may be integrated in an electronic device, which may be a server or a terminal, where the terminal may include a tablet Computer, a notebook Computer, a Personal Computer (PC), a micro processing box, or other devices.
The terms "comprising" and "having," and any variations thereof, as appearing in the specification, claims and drawings of this application, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or may alternatively include other steps or elements inherent to such process, method, article, or apparatus. Furthermore, the terms "first," "second," and "third," etc. are used to distinguish between different objects and are not used to describe a particular order.
In the present application, the device terminal is a bluetooth device that can use bluetooth as a communication module, including but not limited to a bluetooth television, a bluetooth speaker, and the like. The control terminal is a device having a control function and capable of using bluetooth as a communication module, including but not limited to a smart phone.
Referring to fig. 1, fig. 1 is a scene schematic diagram of an equipment management system provided in an embodiment of the present application, please refer to fig. 1, which only takes an equipment terminal as a television 10 and a control terminal as a mobile phone 11 as an example for explanation, first, a first bluetooth module of the television 10 receives a bluetooth connection signal sent by a second bluetooth module of the mobile phone 11, where the first bluetooth module includes a bluetooth submodule and a scheduling module, the first bluetooth module of the television 10 determines a target bluetooth submodule through the scheduling management module, and the first bluetooth module of the television 10 is connected with the second bluetooth module of the mobile phone 11 through the target bluetooth submodule, so that the mobile phone 11 performs an equipment management operation on the television 10.
It should be noted that the scene schematic diagram of the device management system shown in fig. 1 is merely an example, the television 10 and the mobile phone 11 described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not form a limitation on the technical solution provided in the embodiment of the present application, and as a person having ordinary skill in the art knows that along with the evolution of the system and the appearance of a new service office, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems. The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
Referring to fig. 2, fig. 2 is a first flowchart illustrating a device management method according to an embodiment of the present application, including:
step 201: when the scheduling management module monitors that the first Bluetooth module has an idle Bluetooth sub-module, the scheduling management module determines a target idle Bluetooth sub-module and opens the target idle Bluetooth sub-module.
When monitoring that the first bluetooth module of the device terminal has an idle bluetooth sub-module, the scheduling management module selects one of the idle bluetooth sub-modules as a target idle bluetooth sub-module, opens the target idle bluetooth sub-module, and names the target idle bluetooth sub-module, wherein the naming mode can be named according to a preset mode, which is not limited herein. The purpose of this step is that when there is an external bluetooth connection signal, the target idle bluetooth sub-module can be directly connected with the external bluetooth connection signal.
The selection mode of the target idle bluetooth sub-module is not limited herein, and may default to a certain type of bluetooth sub-module, which is described by taking the control terminal as the mobile phone 1 as an example, and the first bluetooth module of the smart speaker determines the target sub-bluetooth module connected with the second bluetooth module of the mobile phone 1 through the scheduling management module. For example, there are 3 available bluetooth sub-modules in the first bluetooth module, and a default type of bluetooth sub-module can be selected as a target sub-bluetooth module to connect with the second bluetooth module.
In an embodiment, when the schedule management module monitors that there is an idle bluetooth sub-module in the first bluetooth module, the step of determining, by the schedule management module, a target idle bluetooth sub-module includes: when the scheduling management module monitors that an idle Bluetooth sub-module exists in the first Bluetooth module, determining a target idle Bluetooth sub-module in the idle Bluetooth sub-modules through the scheduling management module based on the priority of the idle Bluetooth sub-modules.
For example, there are 3 available bluetooth sub-modules in the first bluetooth module, which are sub-bluetooth module 1, sub-bluetooth module 2, and sub-bluetooth module 3, respectively, where the priority of sub-bluetooth module 2 > the priority of sub-bluetooth module 1 > the priority of sub-bluetooth module 3, and thus sub-bluetooth module 2 is taken as the target sub-bluetooth module.
Step 202: and after the target idle Bluetooth sub-module is successfully connected with the second Bluetooth module in the first control terminal, executing equipment management operation through the scheduling management module.
After the target idle Bluetooth sub-module is opened, when the second Bluetooth module of the first control terminal sends a connection signal to the target idle sub-module, the target idle Bluetooth sub-module can be automatically connected with the second Bluetooth module in the first control terminal, namely, the connection between the equipment terminal and the first control terminal is realized, and the scheduling module determines whether to respond to a control instruction of the first control terminal to execute corresponding equipment control operation according to the situation.
Referring to fig. 3a, fig. 3a is a second flowchart illustrating a device management method according to an embodiment of the present application, where the step of executing the device management operation by the scheduling management module includes:
step 301: and receiving a control instruction sent by the first control terminal.
After the second bluetooth module of the control terminal is in communication connection with the first bluetooth module of the device terminal, the first control terminal may start to send a control instruction to the device terminal, for example, the first control terminal is the mobile phone 1, the device terminal is an intelligent sound box, and the sent control instruction is "current weather information is played in voice".
Step 302: acquiring the current running state of the equipment terminal;
after receiving a control instruction sent by the control terminal through the second bluetooth module, the first bluetooth module of the device terminal obtains a current operating state of the device terminal, where the current operating state of the device terminal may be a standby state or an execution instruction state, and the execution instruction state may be an instruction for playing a song or an instruction for executing a video, and a specific instruction is not limited herein.
Step 303: and determining whether to respond to the control command to execute corresponding equipment management operation according to the current running state of the equipment terminal.
As shown in fig. 3b, which is a third flowchart of the device management method provided in the embodiment of the present application, step 303 further includes the following steps:
step 3031: and if the equipment terminal is in a standby state, executing corresponding equipment management operation according to the control instruction.
The explanation is also given by taking the control terminal as the mobile phone and the device terminal as the smart speaker, for example, the smart speaker is in a standby state, that is: and in the state of starting but not executing other control instructions, the first Bluetooth module of the intelligent sound box executes corresponding equipment management operation according to the current control instruction, and the current control instruction can play the first song in the list.
Step 3032: and if the equipment terminal is in the instruction execution state, acquiring the execution instruction being executed by the equipment terminal.
Step 3033: and determining whether to respond to the control instruction to execute corresponding equipment management operation according to the execution instruction and the control instruction.
And if the intelligent sound box is in the instruction execution state, acquiring an execution instruction being executed by the intelligent sound box, and determining whether to respond to the control instruction to execute corresponding equipment management operation according to the intelligent sound box execution instruction and the control instruction.
In one embodiment, the step of determining whether to respond to the control instruction to perform the corresponding device management operation according to the execution instruction and the control instruction includes: judging whether the control instruction and the execution instruction are instructions capable of being paralleled; if the control instruction and the execution instruction are instructions which can be paralleled, responding to the control instruction to execute corresponding equipment management operation; and if the control instruction and the execution instruction are non-parallelable instructions, determining whether to respond to the control instruction to execute corresponding equipment management operation according to instruction information of the control instruction and the execution instruction.
For example, the currently executed execution instruction of the device terminal is: the first song of the playlist is played, and the control instruction is as follows: the current weather information is played in voice, and the control instruction and the execution instruction are non-parallelable instructions, so whether to respond to the control instruction to execute corresponding equipment management operation needs to be determined according to the instruction information of the control instruction and the execution instruction. For example, the currently executed execution instruction of the device terminal is: the first song of the playlist is played, and the control instruction is as follows: the video corresponding to the first song of the playlist, because the control instruction and the execution instruction are instructions whose parts can be parallel, the first bluetooth module of the device terminal responds to the control instruction, namely: and controlling the video corresponding to the first song of the playlist of the smart sound box playlist.
In one embodiment, the step of determining whether to respond to the control instruction to perform the corresponding device management operation according to the instruction information of the control instruction and the execution instruction includes: determining priorities corresponding to the control instruction and the execution instruction respectively according to the instruction information of the control instruction and the execution instruction; and if the priority of the control instruction is greater than or equal to the priority of the execution instruction, suspending the execution instruction and responding to the control instruction to execute corresponding equipment management operation.
For example, the currently executed execution instruction of the device terminal is: the first song of the playlist is played, and the control instruction is as follows: the current weather information is played in a voice mode, priority information of the control instruction and the execution instruction is determined based on a preset priority list, if the priority of the control instruction is larger than or equal to the priority of the execution instruction, the intelligent sound box temporarily plays a first song of the list played currently, and the current weather information is played in the voice mode.
Referring to fig. 4, fig. 4 is a fourth schematic flow chart of the device management method according to the embodiment of the present application, including:
step 401: and judging that other Bluetooth modules/devices send control instructions.
First, the first bluetooth module of the device terminal determines whether other bluetooth modules/devices send control instructions, and if other bluetooth modules/devices send control instructions, step 402 is executed.
Step 402: the control instruction and the execution instruction can be judged to be in parallel.
After other bluetooth modules or devices send out the control instruction, the first bluetooth module of the device terminal determines, through the scheduling management module, whether the execution instruction currently executed by the device terminal and the control instruction can be in parallel, for example, the control instruction is to play current weather information in voice, the execution instruction is to play a first song in a playlist, the control instruction and the execution instruction are instructions that cannot be in parallel, and at this time, the first bluetooth module executes step 404. For example, the control instruction is a video corresponding to the first song of the playlist, the execution instruction is the first song of the playlist, the control instruction and the execution instruction are instructions that can be executed in parallel, and at this time, the first bluetooth module executes step 403.
Step 403: and continuing to execute the current execution instruction and responding to the control instruction.
Namely, the first bluetooth module continues to play the first song of the list and plays the video corresponding to the first song of the list.
Step 404: and judging that the priority of the control instruction is greater than or equal to the priority of the execution instruction.
If the priority of the control command in the above example is greater than the priority of the execution command, the first bluetooth module pauses the first song of the playlist, and starts to play the current weather information in a voice manner.
The embodiment of the application provides an equipment management method, which comprises the steps that when a scheduling management module monitors that a first Bluetooth module has an idle Bluetooth sub-module, the scheduling management module determines a target idle Bluetooth sub-module and opens the target idle Bluetooth sub-module, and after the target idle Bluetooth sub-module is successfully connected with a second Bluetooth module in a first control terminal, the scheduling management module executes equipment management operation. According to the method and the device, the target idle Bluetooth sub-modules are distributed through the scheduling module in the first Bluetooth module of the device terminal, communication connection between the device terminal and the plurality of control terminals is achieved, the scheduling management module is responsible for device management operation of the plurality of control terminals on the device terminal, and therefore the scheme that the plurality of control terminals control the device terminal simultaneously is achieved, and device management efficiency is improved.
On the basis of the method in the foregoing embodiment, the present embodiment will be further described from the perspective of a device management apparatus, please refer to fig. 5, and fig. 5 specifically describes a schematic structural diagram of the device management apparatus provided in the embodiment of the present application, including:
a determining module 501, configured to determine a target idle bluetooth sub-module and open the target idle bluetooth sub-module through the scheduling management module when the scheduling management module monitors that there is an idle bluetooth sub-module in the first bluetooth module;
and the executing module 502 is configured to execute the device management operation through the scheduling management module after the target idle bluetooth sub-module is successfully connected with the second bluetooth module in the first control terminal.
Accordingly, embodiments of the present application also provide an electronic device, as shown in fig. 6, which may include components such as a radio frequency circuit 601, a memory 602 including one or more computer-readable storage media, an input unit 603, a display unit 604, a sensor 605, an audio circuit 606, a WiFi module 607, a processor 608 including one or more processing cores, and a power supply 609. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 6 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the rf circuit 601 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then sends the received downlink information to one or more processors 608 for processing; in addition, data relating to uplink is transmitted to the base station. The memory 602 may be used to store software programs and modules, and the processor 608 executes various functional applications and data processing by operating the software programs and modules stored in the memory 602. The input unit 603 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
The display unit 604 may be used to display information input by or provided to a user and various graphical user interfaces of the electronic device, which may be made up of graphics, text, icons, video, and any combination thereof.
The electronic device may also include at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Audio circuitry 606 includes speakers that can provide an audio interface between a user and the electronic device.
WiFi belongs to short-distance wireless transmission technology, and the electronic device can help the user send and receive e-mail, browse web pages, access streaming media, etc. through the WiFi module 607, and it provides wireless broadband internet access for the user. Although fig. 6 shows the WiFi module 607, it is understood that it does not belong to the essential constitution of the electronic device, and may be omitted entirely as needed within the scope not changing the essence of the application.
The processor 608 is a control center of the electronic device, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 602 and calling data stored in the memory 602, thereby performing overall monitoring of the mobile phone.
The electronic device also includes a power supply 609 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 608 via a power management system, such that the power management system may manage charging, discharging, and power consumption.
Although not shown, the electronic device may further include a camera, a bluetooth module, and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 608 in the electronic device loads the executable file corresponding to the process of one or more application programs into the memory 602 according to the following instructions, and the processor 608 runs the application program stored in the memory 602, so as to implement the following functions:
when the scheduling management module monitors that a first Bluetooth module has an idle Bluetooth sub-module, determining a first target idle Bluetooth sub-module and opening the first target idle Bluetooth sub-module through the scheduling management module;
and after the first target idle Bluetooth sub-module is successfully connected with a second Bluetooth module in the first control terminal, executing equipment management operation through the scheduling management module.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description, and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present application provides a storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to implement the following functions:
when the scheduling management module monitors that a first Bluetooth module has an idle Bluetooth sub-module, determining a first target idle Bluetooth sub-module and opening the first target idle Bluetooth sub-module through the scheduling management module;
and after the first target idle Bluetooth sub-module is successfully connected with a second Bluetooth module in the first control terminal, executing equipment management operation through the scheduling management module.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium may execute the steps in any device management method provided in the embodiments of the present application, beneficial effects that can be achieved by any device management method provided in the embodiments of the present application may be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The above detailed description is given to a device management method, an apparatus, an electronic device, and a computer-readable storage medium provided in the embodiments of the present application, and a specific example is applied in the detailed description to explain the principles and implementations of the present application, and the description of the above embodiments is only used to help understand the technical solutions and core ideas of the present application; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications or substitutions do not depart from the spirit and scope of the present disclosure as defined by the appended claims.
Claims (10)
1. A device management method is characterized in that a first Bluetooth module used for a device terminal comprises a Bluetooth sub-module and a scheduling management module, and the device management method comprises the following steps:
when the scheduling management module monitors that a first Bluetooth module has an idle Bluetooth sub-module, determining a first target idle Bluetooth sub-module and opening the first target idle Bluetooth sub-module through the scheduling management module;
and after the first target idle Bluetooth sub-module is successfully connected with a second Bluetooth module in the first control terminal, executing equipment management operation through the scheduling management module.
2. The device management method of claim 1, wherein the step of performing device management operations by the schedule management module comprises:
receiving a control instruction sent by a first control terminal;
acquiring the current running state of the equipment terminal;
and determining whether to respond to the control command to execute corresponding equipment management operation according to the current running state of the equipment terminal.
3. The device management method according to claim 2, wherein the step of determining whether to respond to the control command to perform the corresponding device management operation according to the current operation state of the device terminal comprises:
if the equipment terminal is in a standby state, executing corresponding equipment management operation according to the control instruction;
if the equipment terminal is in an instruction execution state, acquiring an execution instruction executed by the equipment terminal;
and determining whether to respond to the control instruction to execute corresponding equipment management operation according to the execution instruction and the control instruction.
4. The device management method of claim 3, wherein the step of determining whether to respond to the control command to perform the corresponding device management operation according to the execution command and the control command comprises:
judging whether the control instruction and the execution instruction are instructions capable of being paralleled;
if the control instruction and the execution instruction are instructions which can be paralleled, responding to the control instruction to execute corresponding equipment management operation;
and if the control instruction and the execution instruction are non-parallelable instructions, determining whether to respond to the control instruction to execute corresponding equipment management operation according to instruction information of the control instruction and the execution instruction.
5. The device management method according to claim 4, wherein the step of determining whether to respond to the control instruction to perform the corresponding device management operation according to the instruction information of the control instruction and the execution instruction comprises:
determining priorities corresponding to the control instruction and the execution instruction respectively according to the instruction information of the control instruction and the execution instruction;
and if the priority of the control instruction is greater than or equal to the priority of the execution instruction, suspending the execution instruction and responding to the control instruction to execute corresponding equipment management operation.
6. The device management method according to claim 5, wherein the step of determining priorities corresponding to the control instruction and the execution instruction respectively according to the instruction information of the control instruction and the execution instruction comprises:
determining the control type of a control event corresponding to the control instruction according to the control instruction, and determining the execution type of an execution event corresponding to the execution instruction according to the execution instruction;
and determining the priority of the control instruction corresponding to the control category and the priority of the execution instruction corresponding to the execution category based on a priority list.
7. The device management method of claim 1, wherein the step of determining, by the schedule management module, a target idle bluetooth sub-module when the schedule management module monitors that there is an idle bluetooth sub-module in the first bluetooth module comprises:
when the scheduling management module monitors that an idle Bluetooth sub-module exists in the first Bluetooth module, determining a target idle Bluetooth sub-module in the idle Bluetooth sub-modules through the scheduling management module based on the priority of the idle Bluetooth sub-modules.
8. The device management apparatus is characterized in that the device management apparatus is arranged in a first bluetooth module of a device terminal, the first bluetooth module comprises a bluetooth submodule and a scheduling management module, and the device management apparatus comprises:
the determining module is used for determining a target idle Bluetooth sub-module and opening the target idle Bluetooth sub-module through the scheduling management module when the scheduling management module monitors that the first Bluetooth module has an idle Bluetooth sub-module;
and the execution module is used for executing equipment management operation through the scheduling management module after the target idle Bluetooth sub-module is successfully connected with the second Bluetooth module in the first control terminal.
9. An electronic device, characterized in that the electronic device comprises a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps in the device management method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the steps in the device management method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111320514.1A CN114023054A (en) | 2021-11-09 | 2021-11-09 | Device management method, device, electronic device and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111320514.1A CN114023054A (en) | 2021-11-09 | 2021-11-09 | Device management method, device, electronic device and computer storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114023054A true CN114023054A (en) | 2022-02-08 |
Family
ID=80062856
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111320514.1A Pending CN114023054A (en) | 2021-11-09 | 2021-11-09 | Device management method, device, electronic device and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114023054A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115941745A (en) * | 2022-12-22 | 2023-04-07 | 深圳市奇点物联科技有限公司 | Intelligent home control device, system and method based on BleMesh |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107911871A (en) * | 2017-12-12 | 2018-04-13 | 腾讯科技(深圳)有限公司 | Control method, device and control device, the storage medium of bluetooth connection |
CN108769025A (en) * | 2018-05-31 | 2018-11-06 | 北京智行者科技有限公司 | Network-building method and system |
CN110855536A (en) * | 2019-11-19 | 2020-02-28 | 广东美的制冷设备有限公司 | Operation control method and device, household appliance and storage medium |
CN111050199A (en) * | 2019-11-19 | 2020-04-21 | 青岛海信电器股份有限公司 | Display device and scheduling method of Bluetooth communication resources of display device |
CN111083684A (en) * | 2019-12-23 | 2020-04-28 | 维沃移动通信有限公司 | Method for controlling electronic equipment and electronic equipment |
CN112218385A (en) * | 2019-07-11 | 2021-01-12 | 上海博泰悦臻网络技术服务有限公司 | Bluetooth management method and mobile terminal |
-
2021
- 2021-11-09 CN CN202111320514.1A patent/CN114023054A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107911871A (en) * | 2017-12-12 | 2018-04-13 | 腾讯科技(深圳)有限公司 | Control method, device and control device, the storage medium of bluetooth connection |
CN108769025A (en) * | 2018-05-31 | 2018-11-06 | 北京智行者科技有限公司 | Network-building method and system |
CN112218385A (en) * | 2019-07-11 | 2021-01-12 | 上海博泰悦臻网络技术服务有限公司 | Bluetooth management method and mobile terminal |
CN110855536A (en) * | 2019-11-19 | 2020-02-28 | 广东美的制冷设备有限公司 | Operation control method and device, household appliance and storage medium |
CN111050199A (en) * | 2019-11-19 | 2020-04-21 | 青岛海信电器股份有限公司 | Display device and scheduling method of Bluetooth communication resources of display device |
CN111083684A (en) * | 2019-12-23 | 2020-04-28 | 维沃移动通信有限公司 | Method for controlling electronic equipment and electronic equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115941745A (en) * | 2022-12-22 | 2023-04-07 | 深圳市奇点物联科技有限公司 | Intelligent home control device, system and method based on BleMesh |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12120162B2 (en) | Communication protocol switching method, apparatus, and system | |
CN107360458B (en) | Play control method, device, storage medium and terminal | |
CN111343682B (en) | Network switching method, device, storage medium and terminal | |
CN107332976B (en) | Karaoke method, device, equipment and system | |
CN104158711A (en) | System and method for mobile telephone and UPNP control point integration | |
CN107025120B (en) | Software upgrading processing method and device and terminal | |
CN111741502A (en) | Mobile terminal and mobile communication network switching method thereof | |
CN113301586B (en) | Network selection method and electronic equipment | |
CN111093259A (en) | Bluetooth power adjustment method, device, storage medium and terminal | |
KR102043641B1 (en) | Operating Method For Nearby Function and Electronic Device supporting the same | |
CN111901211A (en) | Control method, apparatus and storage medium | |
CN103731562A (en) | Method and device for adaptively matching bluetooth device with smart devices | |
CN114023054A (en) | Device management method, device, electronic device and computer storage medium | |
WO2023103599A1 (en) | Screen projection method and apparatus, storage medium and electronic device | |
CN113727289A (en) | Electronic equipment and communication method | |
CN113840269A (en) | Multimedia data transmission method and device, electronic equipment and storage medium | |
CN101631169B (en) | Portable electronic device | |
CN112492554A (en) | Data transmission method, device, storage medium and terminal | |
CN113395576B (en) | Scene switching method, computer equipment and storage medium | |
CN112954760B (en) | Bluetooth equipment connection method and device and electronic equipment | |
CN113542488A (en) | Method, device and storage medium for controlling controlled terminal by terminal device | |
CN110582079B (en) | Bluetooth connection setting method and device, computer readable storage medium and terminal | |
CN113840164A (en) | Voice control method, device, terminal equipment and storage medium | |
CN113271385A (en) | Call forwarding method | |
CN114510444B (en) | OTG interface control method, control device and terminal equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220208 |
|
RJ01 | Rejection of invention patent application after publication |