CN114698141A - Equipment control method, sound equipment, console and storage medium - Google Patents

Equipment control method, sound equipment, console and storage medium Download PDF

Info

Publication number
CN114698141A
CN114698141A CN202210325305.4A CN202210325305A CN114698141A CN 114698141 A CN114698141 A CN 114698141A CN 202210325305 A CN202210325305 A CN 202210325305A CN 114698141 A CN114698141 A CN 114698141A
Authority
CN
China
Prior art keywords
equipment
lora chip
sound equipment
main equipment
control method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210325305.4A
Other languages
Chinese (zh)
Inventor
翟壮壮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202210325305.4A priority Critical patent/CN114698141A/en
Publication of CN114698141A publication Critical patent/CN114698141A/en
Priority to PCT/CN2022/107076 priority patent/WO2023184794A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • 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 equipment control method, sound equipment, control cabinet and storage medium, the technical field that belongs to is wireless communication technology for realize the reliable control to sound equipment, sound equipment still include with a loRa chip that the treater is connected, equipment control method includes: setting communication parameters of the first LoRa chip; sending a connection request to a master device by utilizing the first LoRa chip; the main equipment is provided with a second LoRa chip and is connected with the console through an interface; judging whether the sound equipment establishes communication connection with the main equipment or not; if so, receiving communication data by using the first LoRa chip, and executing operation corresponding to the communication data; the communication data are data sent by the console through the main equipment, and the sound equipment can realize remote and high-stability communication.

Description

Equipment control method, sound equipment, console and storage medium
Technical Field
The present application relates to the field of wireless communication technologies, and in particular, to an apparatus control method, an audio apparatus, a console, and a storage medium.
Background
The audio device may receive electrical signals from the media player or receiver and convert them to audible sound waves using a speaker. At present, wireless stereo set receives user's favor gradually, and wireless stereo set mainly utilizes the bluetooth to realize connecting, but the effective distance that the bluetooth is connected is nearer, and audio equipment can't use when audio equipment is far away with controlgear distance. There is also an audio device that establishes a communication connection based on WiFi in the related art, and the above solutions may implement remote communication but require multiple bridged WiFi devices, and in such a connection manner, when any WiFi device is subjected to signal interference, communication of the audio device may be unstable.
Therefore, how to enable the audio equipment to realize long-distance and highly stable communication is a technical problem that needs to be solved by those skilled in the art at present.
Disclosure of Invention
An object of the present application is to provide an apparatus control method, an acoustic apparatus, a console, and a storage medium, which enable the acoustic apparatus to realize remote and highly stable communication.
In order to solve the above technical problem, the present application provides an apparatus control method, including:
the processor is applied to the sound equipment, the sound equipment further comprises a first LoRa chip connected with the processor, and the equipment control method comprises the following steps:
setting communication parameters of the first LoRa chip;
sending a connection request to a master device by using the first LoRa chip; the main equipment is provided with a second LoRa chip and is connected with the console through an interface;
judging whether the sound equipment establishes communication connection with the main equipment or not;
if so, receiving communication data by using the first LoRa chip, and executing operation corresponding to the communication data; the communication data is data sent by the console through the master device.
Optionally, after the audio device establishes a communication connection with the main device, the method further includes:
and determining the working state of the sound equipment, and reporting the working state to the main equipment by using the first LoRa chip so that the console synchronizes the working state to a cloud server.
Optionally, after determining whether the audio device establishes a communication connection with the main device, the method further includes:
and if the connection between the sound equipment and the main equipment fails, generating self-checking failure information according to the communication parameters, and storing the self-checking failure information to a Flash memory of the sound equipment.
Optionally, after determining whether the audio device establishes a communication connection with the main device, the method further includes:
if the sound equipment is successfully connected with the main equipment, recording the time of transmitting data between the sound equipment and the main equipment each time;
judging whether the data transmission frequency of the sound equipment and the main equipment in the current period is smaller than a first preset value or not to obtain a first judgment result;
judging whether the duration of the latest data transmission time of the sound equipment and the main equipment and the current time is greater than a second preset value or not to obtain a second judgment result;
and if the first judgment result and the second judgment result are both yes, controlling the first LoRa chip to enter a low power consumption mode.
Optionally, after controlling the first LoRa chip to enter the low power consumption mode, the method further includes:
sending a heartbeat packet to the main equipment by using the first LoRa chip according to a preset period;
judging whether the heartbeat packet is successfully sent or not;
if not, determining that the sound equipment is disconnected, and sending a connection request to the main equipment by using the first LoRa chip.
Optionally, after controlling the first LoRa chip to enter the low power consumption mode, the method further includes:
judging whether the duration of the latest data transmission time of the sound equipment and the main equipment and the current time is greater than a third preset value or not; wherein the third preset value is greater than the second preset value;
and if so, controlling the first LoRa chip to enter a sleep mode.
The application also provides an equipment control method, which is applied to a control console, wherein the control console is connected with main equipment through an interface, the main equipment is provided with a second LoRa chip, and the equipment control method comprises the following steps:
receiving a connection request sent by sound equipment by using a second LoRa chip of the main equipment so as to enable the main equipment to establish communication connection with the sound equipment; wherein the connection request is sent by the audio device using a first LoRa chip;
and sending communication data to the sound equipment by utilizing a second LoRa chip of the main equipment, so that the sound equipment receives the communication data by utilizing the first LoRa chip and executes the operation corresponding to the communication data.
The application further provides sound equipment, which comprises a processor, a memory and a first LoRa chip, wherein a computer program is stored in the memory, and the processor realizes the steps of the equipment control method applied to the sound equipment when calling the computer program in the memory.
The application also provides a console, which comprises a processor and a memory, wherein the console is connected with a main device through an interface, the main device is provided with a second LoRa chip, a computer program is stored in the memory, and the processor calls the computer program in the memory to realize the steps of the device control method applied to the console.
The present application also provides a storage medium having stored thereon a computer program that, when executed, implements the steps performed by the above-described apparatus control method.
The application provides a device control method, which is applied to a processor of sound equipment, wherein the sound equipment further comprises a first LoRa chip connected with the processor, and the device control method comprises the following steps: setting communication parameters of the first LoRa chip; sending a connection request to a master device by using the first LoRa chip; the main equipment is provided with a second LoRa chip and is connected with the console through an interface; judging whether the sound equipment establishes communication connection with the main equipment or not; if so, receiving communication data by using the first LoRa chip, and executing operation corresponding to the communication data; the communication data is data sent by the console through the master device.
The application provides a sound equipment is provided with first loRa chip, and the master equipment is provided with second loRa chip, and sound equipment utilizes first loRa chip to send the connection request to the master equipment to make sound equipment and master equipment establish communication connection. The main equipment is connected with the control console through an interface, the control console can send communication data through a second LoRa chip of the main equipment, and the sound equipment can execute corresponding operation according to the communication data. LoRa chip transmission distance is far away, wide area covers, and the interference killing feature is strong, therefore the scheme that this application provided can make sound equipment realize remote and highly stable communication. This application still provides a sound equipment, a control cabinet and a storage medium simultaneously, has above-mentioned beneficial effect, no longer gives unnecessary details here.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart of an apparatus control method according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a hardware interface design provided in an embodiment of the present application;
fig. 3 is a schematic view of a control scene of an audio device according to an embodiment of the present disclosure;
fig. 4 is a flowchart of controlling an audio device based on the LoRa technique according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, 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 some embodiments of the present application, but not all 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.
Referring to fig. 1, fig. 1 is a flowchart of an apparatus control method according to an embodiment of the present disclosure.
The specific steps may include:
s101: and setting communication parameters of the first LoRa chip.
The execution subject of this embodiment may be a processor of an audio device, such as: a central processing unit CPU, a micro control unit MCU and the like. The loudspeaker device may further comprise a first LoRa chip connected to the processor. Referring to fig. 2, fig. 2 is a schematic diagram of a hardware Interface design provided in the embodiment of the present application, where a first LoRa chip is connected to a processor through an SPI (Serial Peripheral Interface), and a working mode of the first LoRa chip may be configured through configuring digital IO (DIO 0-DIO 5), so that switching between modes such as sleep mode, high performance mode, and low power consumption mode may be implemented; the processor can correctly configure the LoRa parameters through the SPI bus to achieve a stable working state, and further communication between the processor and the first LoRa chip is achieved to achieve real-time communication; the processor can reset only the first LoRa chip to reconfigure the connection, but does not affect the states of other devices of the product, and the effect of immediate rerun after real-time reconnection is achieved.
There may be the operation that the stereo set was electrified before this step, and the treater can initialize internal parameter after the electricity was electrified, can pass through the communication parameter of the first LoRa chip of SPI configuration after the configuration. The communication parameters include baud rate, frequency, equipment serial number, and the like. The equipment serial number is the unique identification of the sound equipment.
The LoRa is an ultra-long distance wireless transmission scheme based on a spread spectrum technology, and belongs to one of communication technologies of the Internet of things. The LoRa has the advantages of long communication distance, high sensitivity, good anti-interference capability, excellent system capacity performance and the like. LoRa is based on a self-built local area network, and stable connection can be realized even in places with poor signal coverage of network operators, such as underground parking lots, elevators and the like.
S102: and sending a connection request to a master device by utilizing the first LoRa chip.
After the communication parameters of the first LoRa chip are set, a connection request may be sent to the master device by using the first LoRa chip, where the connection request may include a device serial number, so that the master device may determine a device currently establishing communication connection.
The main equipment of this embodiment is provided with the second LoRa chip, the main equipment passes through the interface and is connected with the control cabinet, and the control cabinet can be for the main equipment power supply, and the control cabinet also can be with main equipment transmission data. Specifically, the console may be a computer, the master device may be a LoRa device, and the master device is connected to the console through a USB communication interface.
S103: judging whether the sound equipment establishes communication connection with the main equipment or not; if yes, entering S104; if not, the flow is ended.
After sending the connection request to the first LoRa chip to the master device, if the connection is successful, the master device returns response information, and this embodiment may determine whether to receive the response information and determine whether to establish communication connection with the master device. If the audio device and the master device are to establish a communication connection, the operation of this embodiment may be ended, or the process may be resumed after delaying for a certain time in step S102.
S104: receiving communication data by using the first LoRa chip, and executing operation corresponding to the communication data;
after the sound equipment is in communication connection with the main equipment, the sound equipment and the main equipment can transmit data to each other, the console can send communication data to the sound equipment through the second LoRa chip of the main equipment, and the sound equipment can receive the communication data by using the first LoRa chip and execute operations corresponding to the communication data.
The communication data can be audio signals, and correspondingly, the sound equipment can play the sound of the audio signals; the communication data may also be a control instruction, and correspondingly, the sound equipment may perform an operation corresponding to the control instruction, such as turning off, adjusting the volume, querying the remaining power, and the like.
The sound equipment that this embodiment provided is provided with first loRa chip, and the master is provided with second loRa chip, and sound equipment utilizes first loRa chip to send the connection request to the master to make sound equipment and master establish communication connection. The main equipment is connected with the console through an interface, the console can send communication data through the second LoRa chip of the main equipment, and the sound equipment can execute corresponding operation according to the communication data. The long, wide area of LoRa chip transmission distance covers, and the interference killing feature is strong, therefore the scheme that this embodiment provided can make sound equipment realize long-distance and highly stable communication.
As a further introduction to the corresponding embodiment of fig. 1, after the audio device establishes a communication connection with the host device, the audio device may upload its working state to the cloud server, where the specific process is as follows: and determining the working state of the sound equipment, and reporting the working state to the main equipment by using the first LoRa chip so that the console synchronizes the working state to a cloud server. The backup of the working state of the sound equipment can be realized through the mode, so that the corresponding working state can be read from the cloud server when the requirement exists.
As a feasible implementation manner, after determining whether the audio device establishes a communication connection with the host device, if the audio device fails to connect with the host device, self-checking failure information may be generated according to the communication parameter, and the self-checking failure information may be stored in a Flash memory of the audio device. The generation of the self-checking failure information can assist a user in determining the reason of connection failure, and the self-checking failure information is stored in the Flash memory, so that data loss caused by power failure of the sound equipment can be avoided, and the data security is improved.
As a further description of the corresponding embodiment of fig. 1, the processor of the audio device may further set an operation mode of the first LoRa chip, where the operation mode of the first LoRa chip includes: high performance mode, low power mode, sleep mode, etc. All functions of the first LoRa chip may be enabled in the high performance mode, partial functions of the first LoRa chip (including the heartbeat packet transmission function) may be enabled in the low power consumption mode, and all functions of the first LoRa chip may be disabled in the sleep mode.
As a possible implementation manner, after the audio device is powered on, the first LoRa chip may be set to the high performance mode, and after determining whether the audio device is in communication connection with the master device, if the audio device is successfully connected with the master device, the time for each data transmission between the audio device and the master device is recorded; judging whether the data transmission frequency of the sound equipment and the main equipment in the current period is smaller than a first preset value or not to obtain a first judgment result; judging whether the duration of the latest data transmission time of the sound equipment and the main equipment and the current time is greater than a second preset value or not to obtain a second judgment result; and if the first judgment result and the second judgment result are both yes, controlling the first LoRa chip to enter a low power consumption mode. In the process, when the data transmission frequency of the sound equipment and the main equipment in the current period is smaller than a first preset value, the information interaction frequency between the sound equipment and the main equipment is lower; when the duration of the latest data transmission time and the current time between the sound equipment and the main equipment is greater than a second preset value, the sound equipment does not perform information interaction with the main equipment for a long time; and when the first judgment result and the second judgment result are both yes, the first LoRa chip can be controlled to enter a low power consumption mode so as to reduce the power consumption of the sound equipment.
Further, after controlling the first LoRa chip to enter the low power consumption mode, the first LoRa chip may be used to send a heartbeat packet to the master device according to a preset period; judging whether the heartbeat packet is successfully sent or not; if not, determining that the sound equipment is disconnected, and sending a connection request to the main equipment by using the first LoRa chip. The mode can keep being connected with the main equipment after the first LoRa chip enters the low power consumption mode.
Further, after the first LoRa chip is controlled to enter the low power consumption mode, whether the duration of the latest data transmission time and the current time between the sound equipment and the main equipment is greater than a third preset value or not can be judged; wherein the third preset value is greater than the second preset value; and if so, controlling the first LoRa chip to enter a sleep mode. Through above-mentioned mode can be after first loRa chip is in low-power consumption mode for a long time, control first loRa chip and get into sleep mode, further reduce audio equipment's consumption.
The embodiment of the application further provides sound equipment which comprises a processor, a memory and a first LoRa chip, wherein a computer program is stored in the memory, and the step of the equipment control method is realized when the processor calls the computer program in the memory.
The embodiment of the application also provides an equipment control method applied to the console, and the console can be the equipment connected with the main equipment. The execution main body of this embodiment may be a processor of a console, the console is connected to a master device through an interface, the master device is provided with a second LoRa chip, and the device control method includes:
receiving a connection request sent by sound equipment by using a second LoRa chip of the main equipment so as to enable the main equipment to establish communication connection with the sound equipment; wherein the connection request is sent by the audio device using a first LoRa chip; and sending communication data to the sound equipment by utilizing a second LoRa chip of the main equipment, so that the sound equipment receives the communication data by utilizing the first LoRa chip and executes the operation corresponding to the communication data.
The sound equipment that this embodiment provided is provided with first loRa chip, and the master is provided with second loRa chip, and sound equipment utilizes first loRa chip to send the connection request to the master to make sound equipment and master establish communication connection. The main equipment is connected with the console through an interface, the console can send communication data through the second LoRa chip of the main equipment, and the sound equipment can execute corresponding operation according to the communication data. The long, wide area of LoRa chip transmission distance covers, and the interference killing feature is strong, therefore the scheme that this embodiment provided can make sound equipment realize long-distance and highly stable communication.
Further, after the audio device establishes a communication connection with the master device, the console may further implement the following steps: and receiving the working state reported by the sound equipment by using a second LoRa chip of the main equipment, and synchronizing the working state to the cloud server.
Further, the main device may establish a communication connection with a plurality of audio devices, and the console may further implement the following steps:
recording the time of transmitting data between the sound equipment and the main equipment each time;
judging whether the data transmission frequency of the sound equipment and the main equipment in the current period is smaller than a first preset value or not to obtain a first judgment result;
judging whether the duration of the latest data transmission time of the sound equipment and the main equipment and the current time is greater than a second preset value or not to obtain a second judgment result;
and if the first judgment result and the second judgment result are both yes, controlling the second LoRa chip to enter a low power consumption mode.
Further, after controlling the second LoRa chip to enter the low power consumption mode, the console may further implement the following steps: judging whether the duration of the latest data transmission time of the sound equipment and the main equipment and the current time is greater than a third preset value or not; wherein the third preset value is greater than the second preset value; and if so, controlling the second LoRa chip to enter a sleep mode.
The present embodiment further provides a console, including a processor and a memory, where the console is connected to a master device through an interface, the master device is provided with a second LoRa chip, the memory stores a computer program, and the processor calls the computer program in the memory to implement the steps of the device control method.
The flow described in the above embodiment is explained below by an embodiment in practical use. Referring to fig. 3, fig. 3 is a schematic view of a control scenario of an audio device according to an embodiment of the present disclosure, in which 301 is the audio device, 302 is a console, 303 is a main device, 304 is a cloud server, and 305 is a handheld device (e.g., a mobile phone, a tablet computer, etc.). As shown in fig. 3, the LoRa chip is mounted on the audio device itself, and after the audio device is powered on, a user can configure the audio device as a slave device in the same lan in software. In this embodiment, a main device is further disposed on the console, and the main device may be connected to the console through a USB communication interface. After the main equipment is set, all the sound equipment in the local area network in the LoRa coverage area can be controlled through the console, and the effect of controlling more sound equipment at one time is achieved. In this embodiment, each audio device has a separate serial number, and the console can implement precise single control or multiple controls by setting a corresponding software protocol. When the user has the requirement of remote control in different places, the user can also connect the cloud server through the handheld device to remotely control all the sound equipment. The audio device may correspond to a plurality of main devices, and in this embodiment, the handheld device may also be set as the main device, so that the audio device is directly controlled by the handheld device within the coverage of the local area network.
Referring to fig. 4, fig. 4 is a flowchart of controlling an audio device based on the LoRa technique according to an embodiment of the present application, which specifically includes the following steps:
s401: initializing a system;
s402: setting the working mode of the LoRa chip through the SPI;
s403: configuring a device working channel, and initializing communication parameters of the LoRa chip;
s404: whether the attempt to communicate with the master device was successful; if yes, entering S405; if not, the process goes to S406;
s405: sending a heartbeat packet every 120S to detect communication connection, and entering S407;
s406: reading the current local area network signal value and the equipment parameters, self-checking the failure reason, trying to reconnect, and entering S403;
s407: judging whether the heartbeat packet is successfully sent or not; if yes, entering S408; if not, the process goes to S406;
s408: and keeping online state and real-time control.
This embodiment is after stereo set power on, and the internal parameter of initialization sets up the mode and the communication parameter of loRa through SPI after the configuration is good, and then accomplishes stereo set's local initialization. The sound equipment can try to establish connection with the main control equipment, and if the sound equipment is successfully established with the main control equipment, the console can normally transmit audio data and receive and send instructions to control the sound equipment to normally work; if the connection between the sound equipment and the main equipment fails, the sound equipment can read and store parameters of the sound equipment, such as frequency, signal values and the like, from the failure detection reason so as to facilitate subsequent maintenance. When the audio equipment is connected with the main equipment, the audio equipment is idle and has no audio playing and control instruction transmission, and the low power consumption mode can be entered to reduce the power consumption. In the low power consumption mode, in order to ensure continuous connection, the sound equipment sends a heartbeat packet every 120s to keep connection, and the successful sending indicates that the connection is stable; if a failure to send indicates that the device is dropped, a self-test procedure may be initiated and a reconnection attempted. The embodiment does not need to additionally add external equipment in the using process, thereby saving the cost.
The embodiment utilizes the LoRa technology to realize the connection of the sound equipment and the main equipment, saves the cost, improves the anti-interference performance of the connection, ensures the smoothness of the use of the user, can realize remote monitoring through the cloud server, and provides the user experience.
The present application also provides a storage medium having a computer program stored thereon, which when executed, may implement the steps provided by the above-described embodiments. The storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, 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 process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. An apparatus control method applied to a processor of an audio apparatus, the audio apparatus further including a first LoRa chip connected to the processor, the apparatus control method comprising:
setting communication parameters of the first LoRa chip;
sending a connection request to a master device by using the first LoRa chip; the main equipment is provided with a second LoRa chip and is connected with the console through an interface;
judging whether the sound equipment establishes communication connection with the main equipment or not;
if so, receiving communication data by using the first LoRa chip, and executing operation corresponding to the communication data; the communication data is data sent by the console through the master device.
2. The device control method according to claim 1, further comprising, after the audio device establishes a communication connection with the master device:
and determining the working state of the sound equipment, and reporting the working state to the main equipment by using the first LoRa chip so that the console synchronizes the working state to a cloud server.
3. The device control method according to claim 1, wherein after determining whether the audio device establishes a communication connection with the master device, the method further comprises:
and if the connection between the sound equipment and the main equipment fails, generating self-checking failure information according to the communication parameters, and storing the self-checking failure information to a Flash memory of the sound equipment.
4. The apparatus control method according to any one of claims 1 to 3, further comprising, after determining whether the audio apparatus establishes a communication connection with the master apparatus:
if the sound equipment is successfully connected with the main equipment, recording the time of transmitting data between the sound equipment and the main equipment each time;
judging whether the data transmission frequency of the sound equipment and the main equipment in the current period is smaller than a first preset value or not to obtain a first judgment result;
judging whether the duration of the latest data transmission time of the sound equipment and the main equipment and the current time is greater than a second preset value or not to obtain a second judgment result;
and if the first judgment result and the second judgment result are both yes, controlling the first LoRa chip to enter a low power consumption mode.
5. The device control method according to claim 4, further comprising, after controlling the first LoRa chip to enter a low power consumption mode:
sending a heartbeat packet to the main equipment by using the first LoRa chip according to a preset period;
judging whether the heartbeat packet is successfully sent or not;
if not, determining that the sound equipment is disconnected, and sending a connection request to the main equipment by using the first LoRa chip.
6. The device control method according to claim 4, further comprising, after controlling the first LoRa chip to enter a low power consumption mode:
judging whether the duration of the latest data transmission time of the sound equipment and the main equipment and the current time is greater than a third preset value or not; wherein the third preset value is greater than the second preset value;
and if so, controlling the first LoRa chip to enter a sleep mode.
7. The equipment control method is applied to a console, the console is connected with main equipment through an interface, the main equipment is provided with a second LoRa chip, and the equipment control method comprises the following steps:
receiving a connection request sent by sound equipment by using a second LoRa chip of the main equipment so as to enable the main equipment to establish communication connection with the sound equipment; wherein the connection request is sent by the audio device using a first LoRa chip;
and sending communication data to the sound equipment by using a second LoRa chip of the main equipment, so that the sound equipment receives the communication data by using the first LoRa chip and executes the operation corresponding to the communication data.
8. An audio device comprising a processor, a memory and a first LoRa chip, wherein the memory stores a computer program, and the processor implements the steps of the device control method according to any one of claims 1 to 6 when calling the computer program in the memory.
9. A console, comprising a processor and a memory, wherein the console is connected to a host device via an interface, the host device is provided with a second LoRa chip, the memory stores a computer program, and the processor, when calling the computer program in the memory, implements the steps of the device control method according to claim 7.
10. A storage medium having stored thereon computer-executable instructions which, when loaded and executed by a processor, carry out the steps of a device control method according to any one of claims 1 to 7.
CN202210325305.4A 2022-03-30 2022-03-30 Equipment control method, sound equipment, console and storage medium Pending CN114698141A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210325305.4A CN114698141A (en) 2022-03-30 2022-03-30 Equipment control method, sound equipment, console and storage medium
PCT/CN2022/107076 WO2023184794A1 (en) 2022-03-30 2022-07-21 Device control method, loudspeaker device, console, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210325305.4A CN114698141A (en) 2022-03-30 2022-03-30 Equipment control method, sound equipment, console and storage medium

Publications (1)

Publication Number Publication Date
CN114698141A true CN114698141A (en) 2022-07-01

Family

ID=82141261

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210325305.4A Pending CN114698141A (en) 2022-03-30 2022-03-30 Equipment control method, sound equipment, console and storage medium

Country Status (2)

Country Link
CN (1) CN114698141A (en)
WO (1) WO2023184794A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023184794A1 (en) * 2022-03-30 2023-10-05 歌尔股份有限公司 Device control method, loudspeaker device, console, and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102032607B1 (en) * 2017-03-07 2019-10-15 주식회사 엘지유플러스 LoRa SERVER AND METHOD FOR NETWORK COMMUNICATION RECOVERY THEREOF
CN207070358U (en) * 2017-03-30 2018-03-02 歌尔丹拿音响有限公司 Audio amplifier and its failure monitoring system
CN107370665A (en) * 2017-07-18 2017-11-21 福州大学 A kind of instant text communications method of low-power consumption suitable for LoRa networks
CN210202093U (en) * 2019-05-15 2020-03-27 承德鼎盛文化产业投资有限公司 Wireless communication module for live-action stage and live-action stage system
CN110809287B (en) * 2019-10-10 2023-02-28 北京云智数芯科技有限公司 Communication method of LoRa system
CN110572481B (en) * 2019-10-15 2022-07-08 广西交科集团有限公司 Intelligent electromechanical equipment data interaction method based on LoRa communication
CN113691907B (en) * 2021-09-07 2023-04-11 四川启睿克科技有限公司 Method and system for voice-along-human-movement in smart home
CN114698141A (en) * 2022-03-30 2022-07-01 歌尔科技有限公司 Equipment control method, sound equipment, console and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023184794A1 (en) * 2022-03-30 2023-10-05 歌尔股份有限公司 Device control method, loudspeaker device, console, and storage medium

Also Published As

Publication number Publication date
WO2023184794A1 (en) 2023-10-05

Similar Documents

Publication Publication Date Title
EP3468068B1 (en) Method for establishing classic bluetooth connection between dual-mode bluetooth devices, and dual-mode bluetooth device
RU2658863C9 (en) Method of communication of wearable device, communication system and corresponding device
CN101485176B (en) Communication protocol for use with portable electronic devices
US20230247388A1 (en) Communication system, method and device for miniature intelligent sensor
EP2910049B1 (en) Monitoring media exposure from audio signals
WO2017215614A1 (en) Method, device and system for realising heart beat keepalive
CN109547897B (en) Wireless earphone connection method, device and system and wireless earphone box
CN110650408B (en) Earphone, anti-lost method, anti-lost system and computer readable storage medium
CN108476247A (en) Media access control(MAC)Address identifies
US11425520B2 (en) Method for detecting blocking of microphone and related products
CN114698141A (en) Equipment control method, sound equipment, console and storage medium
CA3087732A1 (en) Device control method and apparatus, storage medium, processor, and terminal
CN112491102B (en) Single-wire communication method and related product
CN111343541A (en) Control method and device of wireless earphone, mobile terminal and storage medium
EP3389294B1 (en) Methods for equipment networking and outputting by equipment, and equipment
CN113840269A (en) Multimedia data transmission method and device, electronic equipment and storage medium
CN110798815A (en) Intelligent household system, electric appliance control method and device and router
CN105828253A (en) Wireless connection control method and device in audio playing system
CN109120298B (en) Earphone far-field interaction method, earphone far-field interaction accessory and wireless earphone
WO2023103732A1 (en) State control method and apparatus for earphone device, earphone device and storage medium
CN114339618B (en) Broadcast control method, bluetooth audio system and Bluetooth audio equipment
CN116033305A (en) Method, device, equipment and storage medium for determining left and right states of intelligent earphone
RU2677643C9 (en) Method of communication of wearable device, communication system and corresponding device
CN208094777U (en) A kind of receiver
JP2003511901A (en) Wireless local area network

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