CN113156870A - Control method and device for electronic firecrackers, computer equipment and medium - Google Patents

Control method and device for electronic firecrackers, computer equipment and medium Download PDF

Info

Publication number
CN113156870A
CN113156870A CN202110532832.8A CN202110532832A CN113156870A CN 113156870 A CN113156870 A CN 113156870A CN 202110532832 A CN202110532832 A CN 202110532832A CN 113156870 A CN113156870 A CN 113156870A
Authority
CN
China
Prior art keywords
module
controlling
storage module
control
main control
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
CN202110532832.8A
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.)
Qihe Boya Intelligent Equipment Co ltd
Original Assignee
Qihe Boya Intelligent Equipment 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 Qihe Boya Intelligent Equipment Co ltd filed Critical Qihe Boya Intelligent Equipment Co ltd
Priority to CN202110532832.8A priority Critical patent/CN113156870A/en
Publication of CN113156870A publication Critical patent/CN113156870A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Fire Alarms (AREA)

Abstract

The present disclosure relates to a control method, a control device, a computer device and a medium for electronic firecrackers, wherein the electronic firecrackers comprise a communication module, a main control module, a storage module, a release circuit and a sound production circuit; the control method comprises the following steps: controlling a communication module to send an authentication request to terminal equipment; when the authentication request passes, controlling the main control module to send an authentication passing instruction to the terminal equipment so as to instruct the terminal equipment to send a control signal to the storage module; controlling a storage module to write a target instruction corresponding to the control signal; and the control main control module controls the release circuit and the sound production circuit according to the target instruction of the storage module. The storage module in the electronic firecracker is controlled to write in a target instruction corresponding to the control signal sent by the terminal device, and then the main control module is controlled to control the release circuit and the sounding circuit according to the target instruction in the storage module, so that the electronic firecracker simulates real firecrackers to set off according to the control signal sent by the terminal device, and the scene applicability of the electronic firecracker is improved.

Description

Control method and device for electronic firecrackers, computer equipment and medium
Technical Field
The present disclosure relates to the field of electronic firecracker control technology, and in particular, to a control method, a control device, a computer device and a medium for electronic firecrackers.
Background
The firecrackers are lucky symbols, and the firecrackers feel deaf when the sound is shocked and the colorful sparks fly all day by day every day at the festival and on the day of festive day, thereby being joyful and inspirational; however, the firecrackers not only pollute the environment, but also cause various disabilities and fire accidents, and bring unexpected economic loss to the nation and people. Therefore, how to provide a novel intelligent firecracker capable of solving the defects of the traditional firecracker is a problem which needs to be solved urgently by technical personnel in the field.
Disclosure of Invention
In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a control method, a control apparatus, a computer device, and a medium for an electronic firecracker, which simulate a real firecracker scene by controlling an electronic firecracker release circuit and a sound production circuit, thereby improving the scene applicability of the electronic firecracker.
In a first aspect, an embodiment of the present disclosure provides a method for controlling an electronic firecracker, where the electronic firecracker includes a communication module, a main control module, a storage module, a release circuit, and a sound production circuit; the control method comprises the following steps:
controlling the communication module to send an authentication request to the terminal equipment;
when the authentication request passes, controlling the main control module to send an authentication passing instruction to the terminal equipment so as to instruct the terminal equipment to send a control signal to the storage module;
controlling the storage module to write in a target instruction corresponding to the control signal;
and controlling the main control module to control the release circuit and the sound production circuit according to the target instruction of the storage module.
Optionally, the authentication request includes: a connection request and a certificate matching request;
controlling the communication module to send an authentication request to the terminal device, including:
controlling the communication module to send a connection request to the terminal equipment;
controlling the communication module to send a certificate matching request to the terminal equipment;
when the authentication request passes, controlling the main control module to send an authentication passing instruction to the terminal device so as to instruct the terminal device to send a control signal to the storage module, including:
and when the connection request and the certificate matching request pass, controlling the main control module to send an authentication passing instruction to the terminal equipment so as to instruct the terminal equipment to send a control signal to the storage module.
Optionally, the controlling the storage module to write in the target instruction corresponding to the control signal includes:
and controlling the storage module to erase a preset instruction stored in the storage module according to the control signal and write a target instruction corresponding to the control signal.
Optionally, the controlling the main control module to control the release circuit and the sounding circuit according to the target instruction in the storage module includes:
controlling the main control module to control a sound production circuit to simulate special effect sound according to a target instruction in the storage module;
and controlling the main control module to control the release circuit to simulate the explosion sound according to the target instruction in the storage module.
Optionally, the release circuit comprises an electric transformer and a frying head;
controlling the main control module to control the release circuit to simulate the explosion sound according to the target instruction in the storage module, comprising:
controlling the main control module to output an electric signal and a switching signal to the release circuit according to the target instruction;
controlling the release circuit to be conducted according to the switching signal;
and controlling a voltage device in the release circuit to output voltage to the fryer head according to the electric signal, so as to realize that the fryer head simulates explosion sound.
Optionally, the sound generating circuit comprises an amplifier;
controlling the main control module to control the sound production circuit to simulate special effect sound according to the target instruction in the storage module, and the method comprises the following steps:
and controlling the main control module to control an amplifier to simulate special effect sound according to the target instruction in the storage module.
In a second aspect, an embodiment of the present disclosure further provides a control device for an electronic firecracker, including an electronic firecracker and a terminal device; the electronic firecracker comprises: the device comprises a communication module, a main control module, a storage module, a release circuit and a sound production circuit;
the communication module is in communication connection with the terminal equipment and is used for sending an authentication request to the terminal equipment;
the main control module is in communication connection with the terminal equipment and is used for sending an authentication passing instruction to the terminal equipment when the authentication request passes so as to instruct the terminal equipment to send a control signal to the storage module;
the storage module is in communication connection with the terminal equipment and is used for writing a target instruction corresponding to a control signal sent by the terminal equipment;
the main control module is also in communication connection with the storage module, the release circuit and the sound production circuit respectively and is used for controlling the release circuit and the sound production circuit according to a target instruction of the storage module.
Optionally, the authentication request includes: the connection request and the certificate match request.
In a third aspect, an embodiment of the present disclosure further provides a computer device, including:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the control method of the electronic firecracker according to any one of the first aspect.
In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the control method for electronic firecrackers according to any one of the first aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages:
according to the control method of the electronic firecracker, the communication module in the electronic firecracker is controlled to send the authentication request to the terminal device, when the authentication request of the electronic firecracker and the terminal device passes, the storage module in the electronic firecracker is controlled to write the target instruction corresponding to the control signal sent by the terminal device, and then the main control module is controlled to control the release circuit and the sounding circuit according to the target instruction in the storage module, so that the electronic firecracker simulates real firecrackers to be set off according to the control signal sent by the terminal device, and the scene applicability of the electronic firecracker is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present disclosure, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
FIG. 1 is a schematic flow chart of a control method for an electronic firecracker according to an embodiment of the disclosure;
FIG. 2 is a schematic flow chart of another method for controlling an electronic firecracker according to an embodiment of the disclosure;
FIG. 3 is a schematic flow chart of another method for controlling an electronic firecracker according to an embodiment of the disclosure;
FIG. 4 is a schematic flow chart illustrating a method for controlling an electronic firecracker according to an embodiment of the disclosure;
FIG. 5 is a schematic structural diagram of a control device for an electronic firecracker according to an embodiment of the disclosure;
fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, aspects of the present disclosure will be further described below. It should be noted that the embodiments and features of the embodiments of the present disclosure may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced in other ways than those described herein; it is to be understood that the embodiments disclosed in the specification are only a few embodiments of the present disclosure, and not all embodiments.
Fig. 1 is a schematic flow chart of a control method for an electronic firecracker according to an embodiment of the disclosure. The embodiment can be suitable for the situation of carrying out remote operation or control on the electronic firecrackers. The method of the embodiment can be executed by a control device of the electronic firecracker, the device can be realized by adopting a hardware/software mode, and the device can be configured in computer equipment. The control method of the electronic firecracker can be realized in any embodiment of the application.
In the prior art, the electronic firecrackers replace traditional fireworks to form a new celebration form, but because the existing electronic firecrackers only simulate the special effect sound and the explosion sound of the fireworks according to the programs set by the electronic firecrackers or the programs set by the corresponding remote control panel, the special effect sound and the explosion sound in the electronic firecrackers cannot be changed, and the application scenes are limited. In order to improve the applicability of the electronic firecracker, the embodiment of the invention provides a control method of the electronic firecracker, which is used for controlling the electronic firecracker, wherein the electronic firecracker comprises the following components: the device comprises a communication module, a main control module, a storage module, a release circuit and a sound production circuit.
As shown in fig. 1, the method specifically includes the following steps:
and S110, controlling the communication module to send an authentication request to the terminal equipment.
In order to increase the type of the special effect of the electronic firecracker simulating fireworks, an authentication request is sent to the terminal device through controlling the communication module, specifically, the authentication request can comprise controlling the communication module in the electronic firecracker to send a connection request to the terminal device, and can also comprise controlling the communication module in the electronic firecracker to send a certificate authentication request to the terminal device. Illustratively, the connection request may include bluetooth pairing, the certificate authentication request may include certificate matching, and the like.
S120, when the authentication request passes, executing S130, and when the authentication request does not pass, continuing to return to executing S110.
After the authentication request sent by the communication module to the terminal equipment is obtained to pass, the authentication passing instruction is sent to the terminal equipment through the control main control module so as to indicate the terminal equipment to send a control signal to the storage module, and then the electronic firecracker can achieve different firework special effects according to the control signal sent by the terminal equipment. If the obtained authentication request sent by the communication module of the electronic firecracker to the terminal device does not pass, the situation that the Bluetooth of the electronic firecracker is not matched with the Bluetooth of the terminal device or the authentication of the certificate of the electronic firecracker and the certificate of the terminal device does not pass may exist at this moment, and the step S110 is returned, and the communication module is continuously controlled to send the authentication request to the terminal device to indicate that the authentication request passes.
And S130, controlling the main control module to send an authentication passing instruction to the terminal equipment so as to instruct the terminal equipment to send a control signal to the storage module.
Illustratively, after the authentication request passes, the main control module in the electronic firecracker is controlled to send an authentication passing request to the terminal device, and the authentication passing request can instruct the terminal device to send a control signal to the storage module, specifically, the control signal includes a corresponding firework program, so that the firework program in the terminal device is written into the storage module in the electronic firecracker.
And S140, controlling the storage module to write a target instruction corresponding to the control signal.
After the control main control module sends an authentication passing instruction to the terminal equipment, the terminal equipment can send a control signal to the storage module, and a target instruction corresponding to the control signal sent by the terminal equipment is written into the storage module through control, so that a firework program in the storage module of the electronic firecracker is changed, and the electronic firecracker is set off according to the target instruction, namely the firework program, in the storage module.
And S150, controlling the main control module to control the release circuit and the sound production circuit according to the target instruction of the storage module.
The control main control module controls the release circuit and the sounding circuit according to the target instruction of the storage module, illustratively, the control main control module controls the release circuit to simulate explosion sound and controls the sounding circuit to simulate special-effect sound according to the target instruction in the storage module, and accordingly diversified setting off modes of the electronic firecracker are achieved.
According to the control method of the electronic firecracker, the communication module in the electronic firecracker is controlled to send the authentication request to the terminal device, when the authentication request of the electronic firecracker and the terminal device passes, the storage module in the electronic firecracker is controlled to write the target instruction corresponding to the control signal sent by the terminal device, and then the main control module is controlled to control the release circuit and the sounding circuit according to the target instruction in the storage module, so that the electronic firecracker simulates real firecrackers to be set off according to the control signal sent by the terminal device, and the scene applicability of the electronic firecracker is improved.
Fig. 2 is a schematic flow chart of another control method for an electronic firecracker provided in the embodiment of the present disclosure, and the embodiment is based on the above embodiments, in which the authentication request includes: one possible implementation of the connection request and the certificate matching request, steps S110 and S120, is as follows, including:
and S111, controlling the communication module to send a connection request to the terminal equipment.
In order to ensure that the electronic firecracker receives the corresponding firework program in the terminal equipment, a connection request can be sent to the terminal equipment through the control communication module, specifically, the connection request can include connection in a Bluetooth matching mode.
And S112, judging whether the connection request passes or not, executing the step S113 if the connection request passes, and returning to the step S111 if the connection request does not pass.
After the communication module for controlling the electronic firecracker sends a connection request to the terminal device, the connection request state of the electronic firecracker and the terminal device is obtained, exemplarily, the connection state of the Bluetooth of the electronic firecracker and the Bluetooth of the terminal device is obtained, if the Bluetooth of the electronic firecracker is matched with the Bluetooth of the terminal device and connection is established, the connection request sent by the communication module to the terminal device passes, and if the Bluetooth of the electronic firecracker is matched with the Bluetooth of the terminal device but connection is not established or the Bluetooth of the electronic firecracker cannot obtain the Bluetooth of the terminal device, the connection request sent by the communication module to the terminal device does not pass. When the connection request passes, step S113 is executed, and if the connection request does not pass, the process returns to step S111.
S113, controlling the communication module to send a certificate matching request to the terminal equipment.
After the connection request sent by the electronic firecracker to the terminal device passes, in order to further ensure the security of data transmission, the communication module is controlled to send a certificate matching request to the terminal device, specifically, the sending of the certificate matching request to the terminal device by the communication module includes: the certificate in the electronic firecracker is matched with the certificate of the application program correspondingly controlling the electronic firecracker in the terminal equipment.
And S114, judging whether the certificate matching request passes, if so, executing S130, and if not, returning to the step S111.
After the communication module for controlling the electronic firecracker sends the certificate matching request to the terminal device, by obtaining the certificate matching request state of the electronic firecracker and the terminal device, exemplarily, the relation between the certificate of the electronic firecracker and the certificate of the corresponding application program in the terminal device is obtained, if the certificate of the electronic firecracker is consistent with the certificate of the corresponding application program in the terminal device, the certificate matching request sent by the communication module to the terminal device passes, and if the certificate of the electronic firecracker is not consistent with the certificate of the corresponding application program in the terminal device, the certificate matching request sent by the communication module to the terminal device does not pass. When the certificate matching request passes, step S130 is executed, and if the connection request does not pass, the process returns to step S111.
According to the control method of the electronic firecracker, the authentication request sent to the terminal device by the communication module of the electronic firecracker comprises the connection request and the certificate matching request, firstly, whether the connection request sent to the terminal device by the communication module of the electronic firecracker passes or not is judged, so that the terminal device is controlled to send the firework program to the electronic firecracker, and the safety of sending the firework program to the electronic firecracker is realized by judging whether the certificate authentication request sent to the terminal device by the electronic firecracker passes or not.
Fig. 3 is a schematic flow chart of another method for controlling an electronic firecracker according to an embodiment of the present disclosure, and this embodiment is based on the foregoing embodiment, where an implementation manner of step S140 is as follows, and includes:
and S141, controlling the storage module to erase the preset instruction stored in the storage module according to the control signal and write the target instruction corresponding to the control signal.
After the authentication request sent by the communication module in the electronic firecracker to the terminal equipment passes, the storage module is controlled to write in a corresponding target instruction in a control signal sent by the terminal equipment, namely the storage module is controlled to erase a preset instruction and write in the target instruction, so that the storage module in the electronic firecracker stores a firework setting-off program sent by the terminal equipment.
One possible implementation of step S150 is as follows, including:
and S151, controlling the main control module to control the sound production circuit to simulate special effect sound according to the target instruction in the storage module.
After the storage module writes in a corresponding target instruction according to a control signal sent by the terminal device, the target instruction is obtained from the storage module through the control main control module, and the sound production circuit is controlled to simulate special-effect sound according to the target instruction in the storage module. Specifically, the special effect sound is similar to the explosion sound when the firecrackers or fireworks are set off.
And S152, controlling the main control module to control the release circuit to simulate the explosion sound according to the target instruction in the storage module.
After the storage module writes in a corresponding target instruction according to a control signal sent by the terminal device, the target instruction is obtained from the storage module through the control main control module, the release circuit is controlled to simulate the explosion sound according to the target instruction in the storage module, the release circuit is utilized to simulate the explosion sound of the firecrackers in the nature, the sound of the firecrackers in the nature can be well simulated by the electronic firecrackers, and a user can obtain better use experience.
According to the control method of the electronic firecracker, the preset instruction stored in the storage module is erased and the target instruction corresponding to the control signal is written in by controlling the storage module according to the control signal sent by the terminal device, the firework program sent by the terminal device is written in the storage module of the electronic firecracker, the target instruction is obtained from the storage module by controlling the main control module, the main control module is controlled to control the release circuit to simulate the explosion sound and control the sounding circuit to simulate the special effect sound according to the target instruction stored in the storage module, the explosion sound and the special effect sound of the firecracker in the nature can be simulated well by the electronic firecracker, and a user can obtain better use experience.
Fig. 4 is a schematic flow chart of another method for controlling an electronic firecracker according to an embodiment of the present disclosure, and this embodiment is based on the foregoing embodiment, where one possible implementation manner of step S151 is as follows, and includes:
s1511, the control main control module controls the amplifier to simulate special effect sound according to the target instruction in the storage module.
Specifically, the main process of controlling the main control module to control the sound production circuit to simulate the special-effect sound according to the target instruction stored in the storage module is to acquire the target instruction from the storage module through the main control module, and after the main control module acquires the target instruction from the storage module, the main control module selects the special-effect sound instruction from the target instruction and outputs the special-effect sound instruction to the amplifier, so that the amplifier in the sound production circuit emits the special-effect sound according to the special-effect sound instruction in the target instruction.
One possible implementation of step S152 is as follows, including:
s1521, the main control module is controlled to output the electric signal and the switch signal to the release circuit according to the target instruction.
Specifically, the main process of controlling the main control module to control the release circuit to simulate the explosion sound according to the target instruction stored in the storage module is to acquire the target instruction from the storage module through the main control module, and after the main control module acquires the target instruction from the storage module, the main control module is controlled to select the explosion sound instruction from the target instruction and output an electric signal and a switch signal to the release circuit.
S1522, the release circuit is controlled to be conducted according to the switch signal.
S1523, controlling a voltage device in the release circuit to output voltage to the explosion head according to the electric signal, and achieving that the explosion head simulates explosion sound.
After the main control module outputs the electric signal and the switch signal to the release circuit, the switch signal output by the main control module controls the release circuit to be conducted, the electric signal of the main control module controls the voltage output by the voltage device in the release circuit to reach the explosion head, the explosion head unit is enabled to carry out simplicity to make a sound, and the explosion head can simulate the size of the explosion sound according to the size of the voltage output by the voltage device.
According to the control method of the electronic firecracker, the control main control module controls the amplifier to simulate special-effect sound according to the target instruction in the storage module, the control main control module outputs the electric signal and the switch signal to the release circuit according to the target instruction in the storage module, the release circuit is used for simulating explosion sound, and the electronic firecracker can well simulate the explosion sound and the special-effect sound of the firecracker in nature.
Optionally, on the basis of the foregoing embodiment, fig. 5 is a schematic structural diagram of a control device of an electronic firecracker provided in an embodiment of the present disclosure, as shown in fig. 5, the control device includes an electronic firecracker 20 and a terminal device 10, and the electronic firecracker 20 includes: the communication module 21 is in communication connection with the terminal device 10 and is used for sending an authentication request to the terminal device 10, the main control module 22 is in communication connection with the terminal device 10 and is used for sending an authentication passing instruction to the terminal device 10 when the authentication request passes, so as to instruct the terminal device 10 to send a control signal to the storage module 23, the storage module 23 is in communication connection with the terminal device 10 and is used for writing a target instruction corresponding to the control signal sent by the terminal device 10, and the main control module 22 is also in communication connection with the storage module 23, the release circuit 24 and the sound emitting circuit 25 respectively and is used for controlling the release circuit 24 and the sound emitting circuit 25 according to the target instruction of the storage module 23.
Specifically, referring to fig. 5, the control device of the electronic firecracker comprises the electronic firecracker 20 of the terminal device 10, in order to improve the scene applicability of the electronic firecracker, the communication module 21 of the electronic firecracker 20 in the control device of the electronic firecracker 20 establishes communication connection between the electronic firecracker 20 and the terminal device 10, so that the related fireworks program in the terminal device 10 is stored in the storage module 23 of the electronic firecracker through the communication module 21, and the main control module 22 of the electronic firecracker 20 controls the release circuit 24 and the sounding circuit 25 according to the target instruction stored in the storage module 23.
The communication module is used for sending an authentication request to a terminal device to realize data communication between the electronic firecracker and the terminal device, the main control module sends an authentication request passing instruction to the terminal device to instruct the terminal device to send a control signal to the electronic firecracker through the authentication request passing between the electronic firecracker and the terminal device, the storage module writes the control signal into a target instruction corresponding to the control signal according to the control signal sent by the terminal device, and the main control module controls the release circuit and the sounding circuit according to the target instruction stored by the storage module to realize that the electronic firecracker simulates real firecrackers to be set off according to the control signal sent by the terminal device, so that the scene applicability of the electronic firecracker is improved.
The control device of the electronic firecracker provided by the embodiment of the invention can execute the control method of the electronic firecracker provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Optionally, the authentication request includes: the connection request and the certificate match request.
In order to increase the type of the special effect of the electronic firecracker simulating fireworks, an authentication request is first sent to the terminal device 10 through the communication module 21, specifically, the authentication request may include that the communication module 21 in the electronic firecracker 20 sends a connection request to the terminal device 10, and may also include that the communication module 21 in the electronic firecracker 20 sends a certificate authentication request to the terminal device 10. Illustratively, the connection request may include bluetooth pairing, the certificate authentication request may include certificate matching, and the like.
Fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present disclosure. As shown in fig. 6, the computer apparatus includes a processor 610, a memory 620, an input device 630, and an output device 640; the number of processors 610 in the computer device may be one or more, and one processor 610 is taken as an example in fig. 6; the processor 610, the memory 620, the input device 630 and the output device 640 in the computer apparatus may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 6.
The memory 620 is used as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the control method of the electronic firecracker in the embodiment of the present invention. The processor 610 executes various functional applications and data processing of the computer device by running the software programs, instructions and modules stored in the memory 620, so as to realize the control method of the electronic firecracker provided by the embodiment of the invention.
The memory 620 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 620 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 620 may further include memory located remotely from the processor 610, which may be connected to a computer device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 630 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device, and may include a keyboard, a mouse, and the like. The output device 640 may include a display device such as a display screen.
The embodiment of the disclosure also provides a storage medium containing computer executable instructions, and the computer executable instructions are used for realizing the control method of the electronic firecracker provided by the embodiment of the invention when being executed by a computer processor.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also execute the related operations in the control method of the electronic firecracker provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the protection device, each included unit and each included module are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be 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.
The foregoing are merely exemplary embodiments of the present disclosure, which enable those skilled in the art to understand or practice the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. The control method of the electronic firecracker is characterized in that the electronic firecracker comprises a communication module, a main control module, a storage module, a release circuit and a sound production circuit; the control method comprises the following steps:
controlling the communication module to send an authentication request to the terminal equipment;
when the authentication request passes, controlling the main control module to send an authentication passing instruction to the terminal equipment so as to instruct the terminal equipment to send a control signal to the storage module;
controlling the storage module to write in a target instruction corresponding to the control signal;
and controlling the main control module to control the release circuit and the sound production circuit according to the target instruction of the storage module.
2. The control method according to claim 1, wherein the authentication request includes: a connection request and a certificate matching request;
controlling the communication module to send an authentication request to the terminal device, including:
controlling the communication module to send a connection request to the terminal equipment;
controlling the communication module to send a certificate matching request to the terminal equipment;
when the authentication request passes, controlling the main control module to send an authentication passing instruction to the terminal device so as to instruct the terminal device to send a control signal to the storage module, including:
and when the connection request and the certificate matching request pass, controlling the main control module to send an authentication passing instruction to the terminal equipment so as to instruct the terminal equipment to send a control signal to the storage module.
3. The control method according to any one of claims 1-2, wherein the controlling the storage module to write the target instruction corresponding to the control signal comprises:
and controlling the storage module to erase a preset instruction stored in the storage module according to the control signal and write a target instruction corresponding to the control signal.
4. The control method according to claim 1, wherein the controlling the main control module to control the release circuit and the sound generating circuit according to the target instruction in the storage module comprises:
controlling the main control module to control a sound production circuit to simulate special effect sound according to a target instruction in the storage module;
and controlling the main control module to control the release circuit to simulate the explosion sound according to the target instruction in the storage module.
5. The control method of claim 4, wherein the release circuit comprises an electric transformer and a fryer head;
controlling the main control module to control the release circuit to simulate the explosion sound according to the target instruction in the storage module, comprising:
controlling the main control module to output an electric signal and a switching signal to the release circuit according to the target instruction;
controlling the release circuit to be conducted according to the switching signal;
and controlling a voltage device in the release circuit to output voltage to the fryer head according to the electric signal, so as to realize that the fryer head simulates explosion sound.
6. The control method according to claim 4, wherein the sound emitting circuit includes an amplifier;
controlling the main control module to control the sound production circuit to simulate special effect sound according to the target instruction in the storage module, and the method comprises the following steps:
and controlling the main control module to control an amplifier to simulate special effect sound according to the target instruction in the storage module.
7. A control device of electronic firecrackers is characterized by comprising electronic firecrackers and terminal equipment; the electronic firecracker comprises: the device comprises a communication module, a main control module, a storage module, a release circuit and a sound production circuit;
the communication module is in communication connection with the terminal equipment and is used for sending an authentication request to the terminal equipment;
the main control module is in communication connection with the terminal equipment and is used for sending an authentication passing instruction to the terminal equipment when the authentication request passes so as to instruct the terminal equipment to send a control signal to the storage module;
the storage module is in communication connection with the terminal equipment and is used for writing a target instruction corresponding to a control signal sent by the terminal equipment;
the main control module is also in communication connection with the storage module, the release circuit and the sound production circuit respectively and is used for controlling the release circuit and the sound production circuit according to a target instruction of the storage module.
8. The control device according to claim 7, wherein the authentication request includes: the connection request and the certificate match request.
9. A computer device, comprising:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors are enabled to realize the control method of the electronic firecracker as claimed in any one of claims 1-6.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when executed by a processor, implements the method of controlling an electronic firecracker according to any one of claims 1 to 6.
CN202110532832.8A 2021-05-17 2021-05-17 Control method and device for electronic firecrackers, computer equipment and medium Pending CN113156870A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110532832.8A CN113156870A (en) 2021-05-17 2021-05-17 Control method and device for electronic firecrackers, computer equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110532832.8A CN113156870A (en) 2021-05-17 2021-05-17 Control method and device for electronic firecrackers, computer equipment and medium

Publications (1)

Publication Number Publication Date
CN113156870A true CN113156870A (en) 2021-07-23

Family

ID=76876433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110532832.8A Pending CN113156870A (en) 2021-05-17 2021-05-17 Control method and device for electronic firecrackers, computer equipment and medium

Country Status (1)

Country Link
CN (1) CN113156870A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114570019A (en) * 2022-03-21 2022-06-03 重庆科创职业学院 Electronic firecracker cluster on-demand control method and platform based on Internet of things

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108764871A (en) * 2018-05-31 2018-11-06 张江涛 A kind of electronic firecracker execution method, electronic firecracker, wireless terminal, remote server and computer program product to give bonus
CN109191232A (en) * 2018-07-28 2019-01-11 郭丁杰 A kind of electronic copying firecrackers shared system
CN110787466A (en) * 2019-11-11 2020-02-14 四川长城软件科技股份有限公司 Internet intelligent simulation electronic firecracker
WO2020055045A1 (en) * 2018-09-13 2020-03-19 삼성전자 주식회사 Electronic device for providing iot device control service, and control method therefor
CN210751254U (en) * 2019-09-11 2020-06-16 中山市丰廉电子有限公司 Electronic firecracker control circuit and electronic firecracker
CN210874078U (en) * 2019-08-23 2020-06-30 无锡晶哲科技有限公司 Remote control's electron firecrackers device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108764871A (en) * 2018-05-31 2018-11-06 张江涛 A kind of electronic firecracker execution method, electronic firecracker, wireless terminal, remote server and computer program product to give bonus
CN109191232A (en) * 2018-07-28 2019-01-11 郭丁杰 A kind of electronic copying firecrackers shared system
WO2020055045A1 (en) * 2018-09-13 2020-03-19 삼성전자 주식회사 Electronic device for providing iot device control service, and control method therefor
CN210874078U (en) * 2019-08-23 2020-06-30 无锡晶哲科技有限公司 Remote control's electron firecrackers device
CN210751254U (en) * 2019-09-11 2020-06-16 中山市丰廉电子有限公司 Electronic firecracker control circuit and electronic firecracker
CN110787466A (en) * 2019-11-11 2020-02-14 四川长城软件科技股份有限公司 Internet intelligent simulation electronic firecracker

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114570019A (en) * 2022-03-21 2022-06-03 重庆科创职业学院 Electronic firecracker cluster on-demand control method and platform based on Internet of things
CN114570019B (en) * 2022-03-21 2023-05-12 重庆科创职业学院 Electronic firecracker cluster on-demand control method and platform based on Internet of things

Similar Documents

Publication Publication Date Title
CN110767220B (en) Interaction method, device and equipment of intelligent voice assistant and storage medium
RU2751444C2 (en) Relational visualization of holographic objects
KR102007212B1 (en) Information processing methods, terminals and computer storage media
CN107294793B (en) Replacement method, device and equipment of intelligent household equipment and storage medium
JP2023502583A (en) Virtual item processing method and apparatus
CN104581328B (en) The remote switch control system and control method of a kind of television set
CN106228339B (en) Control method and device for learning mode of mobile equipment and mobile equipment
CN110032361B (en) Experiment simulation method, experiment simulation device, electronic equipment and computer readable storage medium
CN106713954B (en) Video live broadcast starting reminding method and device
US12009011B2 (en) Method and device of presenting audio/video files, computing device, and readable storage medium
CN113156870A (en) Control method and device for electronic firecrackers, computer equipment and medium
US20210398438A1 (en) Programmable education device
CN110807107A (en) Exhibition hall theme one-key switching method and device
US20220185322A1 (en) Method and device for supporting generation of scenarios for testing autonomous driving and/or advanced driver assistance system functionality
CN103647997A (en) Data-resource transmission method and device
EP3171608B1 (en) Playing device grouping control method and user terminal
US11726568B2 (en) Haptics application programming interface
CN110162447B (en) Student tablet state indication method and device, student tablet and storage medium
CN111046367B (en) Voice equipment authentication method and system
WO2021032693A1 (en) Determining applicable light control commands for each of a plurality of lighting devices
CN107422702B (en) Intelligent household appliance user operation guiding method and electronic equipment
CN114257506B (en) Network target range construction method and device, back-end server and readable storage medium
CN115779441A (en) Method and device for sending gain virtual article, mobile terminal and storage medium
KR102672179B1 (en) System for Providing training contents to strengthen response capabilities for fire fighting activity on-scene commander
CN108153574A (en) Applied program processing method, device and electronic 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: 20210723

RJ01 Rejection of invention patent application after publication