CN114286405A - Equipment control method and device, wireless communication module and multimedia player - Google Patents

Equipment control method and device, wireless communication module and multimedia player Download PDF

Info

Publication number
CN114286405A
CN114286405A CN202111583420.3A CN202111583420A CN114286405A CN 114286405 A CN114286405 A CN 114286405A CN 202111583420 A CN202111583420 A CN 202111583420A CN 114286405 A CN114286405 A CN 114286405A
Authority
CN
China
Prior art keywords
communication module
wireless communication
mode
wireless
target device
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
CN202111583420.3A
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.)
Xian Novastar Electronic Technology Co Ltd
Original Assignee
Xian Novastar Electronic Technology 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 Xian Novastar Electronic Technology Co Ltd filed Critical Xian Novastar Electronic Technology Co Ltd
Priority to CN202111583420.3A priority Critical patent/CN114286405A/en
Publication of CN114286405A publication Critical patent/CN114286405A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a device control method and device, a wireless communication module and a multimedia player. Wherein, the method comprises the following steps: acquiring a wireless network connection state between a wireless communication module and target equipment, wherein the target equipment comprises wireless local area network broadcasting equipment, the wireless communication module is currently in a first mode, and the first mode comprises a station mode; under the condition that the wireless network connection state meets a preset condition, the wireless communication module is switched from a first mode to a second mode, wherein the second mode comprises a wireless access point mode. The invention solves the technical problem that the user is easy to lose control in the process of controlling the wireless communication module to switch the modes.

Description

Equipment control method and device, wireless communication module and multimedia player
Technical Field
The invention relates to the field of wireless communication, in particular to a device control method and device, a wireless communication module and a multimedia player.
Background
The wireless communication module in the multimedia device generally includes two working modes, which are a wireless Access Point (AP) mode and a Station (STA) mode, and the wireless communication module can be in only one of the two modes at the same time. Some devices can be connected with the control device of the user in a wired mode, and can also be connected with the wireless module of the control device of the user through a network by adopting a wireless communication module which is set to be in an AP mode by default. However, when the multimedia device needs to be switched to the STA mode to access the public network, the multimedia device is disconnected from the control device of the user, and at this time, if the access of the multimedia device to the public network fails or the user wants to control the multimedia device, the multimedia device can only be controlled in a wired connection manner, which is very inconvenient in many scenarios.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides an equipment control method, an equipment control device, a wireless communication module and a multimedia player, and at least solves the technical problem that a user is easy to lose control in the process of controlling the wireless communication module to switch modes.
According to an aspect of an embodiment of the present invention, there is provided an apparatus control method including: acquiring a wireless network connection state between the wireless communication module and target equipment, wherein the target equipment comprises wireless local area network broadcasting equipment, the wireless communication module is currently in a first mode, and the first mode comprises a site mode; the wireless communication module is switched from the first mode to a second mode under the condition that the wireless network connection state meets a preset condition, wherein the second mode comprises a wireless access point mode.
Optionally, before the obtaining the wireless network connection status between the wireless communication module and the target device, the method further includes: under the condition that the wireless communication module is in the second mode, receiving target device information and a connection instruction sent by a control device, wherein the connection instruction is used for instructing the wireless communication module to establish wireless network connection with the target device; after receiving the connection instruction, the wireless communication module switches from the second mode to the first mode; and according to the target equipment information, the wireless communication module initiates a connection request in the first mode, wherein the connection request is used for establishing wireless network connection with the target equipment.
Optionally, the predetermined condition that the wireless network connection status satisfies includes at least one of: the wireless communication module is in an unconnected state with the target device; a data transmission rate between the wireless communication module and the target device is less than a transmission threshold.
Optionally, the wireless communication module is in an unconnected state with the target device, and includes at least one of: the wireless communication module and the target device are in an unconnected state for more than a first predetermined time; the wireless communication module is disconnected from the target device more than a predetermined number of times within a second predetermined time.
Optionally, after switching the wireless communication module from the first mode to the second mode, the method further includes: and sending the wireless network connection state of the wireless communication module and the target equipment to the control equipment.
Optionally, the target device information at least includes: an SSID of the target device.
Optionally, in a case that the wireless network connection status satisfies the predetermined condition and there is a wired connection between a multimedia player and the target device, the wireless communication module maintains the first mode, where the multimedia player includes the wireless communication module.
According to another aspect of the embodiments of the present invention, there is also provided an apparatus control device, including: the wireless network connection control device comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring a wireless network connection state between a wireless communication module and target equipment, the target equipment comprises wireless local area network broadcast equipment, the wireless communication module is currently in a first mode, and the first mode comprises a site mode; the switching unit is used for switching the wireless communication module from the first mode to a second mode under the condition that the wireless network connection state meets a preset condition, wherein the second mode comprises a wireless access point mode.
According to another aspect of the embodiment of the present invention, there is also provided a wireless communication module, which includes the above-mentioned device control apparatus.
According to still another aspect of the embodiments of the present invention, there is also provided a multimedia player, including the above wireless communication module, for processing multimedia data.
According to still another aspect of the embodiments of the present invention, there is provided a computer-readable storage medium, where the computer-readable storage medium includes a stored program, and when the program runs, the apparatus where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned apparatus control methods.
According to a further aspect of the embodiments of the present invention, there is further provided a processor, wherein the processor is configured to execute a program, and the program executes to perform any one of the above-mentioned device control methods.
In the embodiment of the invention, the wireless network connection state of the wireless communication module and the target equipment in the site mode is acquired, and the wireless communication module is controlled to be switched from the site mode to the wireless access point mode under the condition that the wireless network connection state meets the preset condition by judging whether the wireless network connection state meets the preset condition, so that the purpose of avoiding the wireless communication module from being out of control in the mode switching process is achieved, the technical effect of ensuring that the wireless communication module is always in the state controllable by a user is realized, and the technical problem that the user is easy to be out of control in the mode switching process of controlling the wireless communication module by the user is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 shows a hardware configuration block diagram of a computer terminal for implementing a device control method;
FIG. 2 is a flow chart illustrating an apparatus control method according to an embodiment of the present invention;
fig. 3 is a control flow diagram of a wireless communication module provided in accordance with an alternative embodiment of the present invention;
fig. 4 is a block diagram of a device control apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram of a wireless communication module provided in accordance with an embodiment of the present invention;
fig. 6 is a block diagram of a multimedia player provided according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In accordance with an embodiment of the present invention, there is provided an apparatus control method embodiment, it is noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
The method provided by the first embodiment of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Fig. 1 shows a hardware configuration block diagram of a computer terminal for implementing the device control method. As shown in fig. 1, computer terminal 10 may include one or more (shown as 102a, 102b, … …, 102 n) processors 102 (processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and memory 104 for storing data. Besides, the method can also comprise the following steps: a display, an input/output interface (I/O interface), a Universal Serial BUS (USB) port (which may be included as one of the ports of the BUS), a network interface, a power source, and/or a camera. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the electronic device. For example, the computer terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
It should be noted that the one or more processors 102 and/or other data processing circuitry described above may be referred to generally herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part in software, hardware, firmware, or any combination thereof. Further, the data processing circuit may be a single stand-alone processing module, or incorporated in whole or in part into any of the other elements in the computer terminal 10. As referred to in the embodiments of the application, the data processing circuit acts as a processor control (e.g. selection of a variable resistance termination path connected to the interface).
The memory 104 may be used to store software programs and modules of application software, such as program instructions/data storage devices corresponding to the device control method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by executing the software programs and modules stored in the memory 104, that is, implementing the method of the application program. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the computer terminal 10 via 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 display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with the user interface of the computer terminal 10.
Fig. 2 is a schematic flowchart of a device control method according to an embodiment of the present invention, and as shown in fig. 2, the method includes the following steps:
step S202, a wireless network connection state of the wireless communication module and a target device is obtained, wherein the target device comprises a wireless local area network broadcasting device, the wireless communication module is currently in a first mode, and the first mode comprises a station mode.
In this step, the wireless local area network broadcasting device may include a wireless router or other types of wireless gateways, and the wireless communication module may implement access to the public network by establishing a wireless network connection with the target device. It should be noted that the wireless communication module can support dual modes, but can only be in one mode at a time. The dual mode includes a Station mode and a wireless access point mode, wherein the Station mode is also called as an STA mode (Station mode, STA mode for short), and the device does not accept wireless access when in the STA mode; the wireless Access point mode is also called AP mode (Access point mode, AP mode for short), and a device in the mode can provide wireless Access service and allow other wireless devices to Access.
Step S204, under the condition that the wireless network connection state meets the preset condition, the wireless communication module is switched from a first mode to a second mode, wherein the second mode comprises a wireless access point mode. In this step, the wireless communication module is switched from the first mode to the second mode, so that the wireless control device of the user can establish wireless network connection with the wireless communication module, and further the wireless control device of the user is allowed to always keep the wireless communication module controllable, and the wireless communication module can be established without adopting a wired mode. Optionally, the wireless communication module may be controlled by software to implement mode switching, and the control software may execute a determination action to determine whether the wireless network connection state satisfies a predetermined condition, and control the wireless communication module to switch from the first mode to the second mode according to a determination result.
Through the steps, the wireless network connection state of the wireless communication module in the site mode and the target equipment at present is obtained, whether the wireless network connection state meets the preset condition or not is judged, the wireless communication module is controlled to be switched from the site mode to the wireless access point mode under the condition that the preset condition is met, the purpose of avoiding the out-of-control phenomenon of the wireless communication module in the mode switching process is achieved, the technical effect that the wireless communication module is always in the user controllable state is achieved, and the technical problem that the out-of-control phenomenon easily occurs in the mode switching process of the wireless communication module controlled by a user is solved.
The device control method provided by the embodiment of the invention can be applied to a multimedia player, and the multimedia player comprises a wireless communication module which can be switched between a first mode and a second mode so as to realize wireless network connection with a target device. Optionally, the multimedia player may include a device for supporting the display of network video on a video playback device. The multimedia player can also be integrated within the screen of an advertising machine as a transmission card serving the LED display field. When the wireless communication module in the multimedia player is in a first mode, namely an STA mode, the multimedia player may realize access to a public network by establishing a wireless network connection with a target device, and the target device may be a wireless local area network broadcasting device providing a video source for the multimedia player. When the wireless communication module in the multimedia player is in the second mode, i.e., the AP mode, the multimedia player disconnects from the public network and can provide hot-spot connection services for surrounding users, and becomes a wireless broadcast device, so that a user, such as a maintainer, can access the multimedia player through a hot spot to realize communication with the device, and further can perform maintenance work such as adjusting parameters.
As an alternative embodiment, in the case that the wireless network connection state satisfies the predetermined condition and there is a wired connection between a multimedia player and the target device, the wireless communication module maintains the first mode, wherein the multimedia player includes the wireless communication module. Optionally, the multimedia player and the target device may be connected by a wired connection, in addition to a wireless communication connection, to ensure stability of data transmission. For example, when the wireless network connection state between the multimedia player and the target device is not good, the multimedia player can directly download the multimedia data from the public network in a wired data transmission manner, and at this time, the mode of the wireless communication module does not need to be switched, so that the functional stability of the multimedia player is guaranteed. In addition, under the condition that the multimedia player is in wired connection with the target equipment, a new means can be provided for the connection between the control equipment of the user and the multimedia player, namely, the control equipment of the user establishes connection with the multimedia player through the mobile internet, a means for flexibly controlling the multimedia player is provided for the user, and the user selection is enriched.
As an alternative embodiment, before acquiring the wireless network connection status of the wireless communication module and the target device, the method may further include the following steps: under the condition that the wireless communication module is in the second mode, receiving target device information and a connection instruction sent by the control device, wherein the connection instruction is used for indicating the wireless communication module to establish wireless network connection with the target device; after receiving the connection instruction, the wireless communication module is switched from the second mode to the first mode; according to the target device information, the wireless communication module initiates a connection request in a first mode, wherein the connection request is used for establishing wireless network connection with the target device.
The control device may be a computer, a smart tablet device, and the like, for example, the control device may be a mobile phone, and based on an AP mode of a wireless communication module in the multimedia player, the mobile phone as the control device may communicate with the wireless communication module and send a control instruction to the multimedia player.
In some application scenarios, the wireless communication module is in a second mode, that is, an AP mode by default, and a user can access the control device to the wireless communication module, control the wireless communication module through a wireless network connection between the control device and the wireless communication module, and send an instruction sent by the user and target device information to the wireless communication module. The wireless communication module may first switch its mode from the AP mode to a second mode, i.e., an STA mode, according to a user instruction, and then request establishment of a connection with the target device according to the received target device information. Through the steps, the wireless communication module can be reasonably switched between the AP mode and the STA mode, when the wireless communication module receives the instruction of the user in the AP mode and is switched to the STA mode, connection with the target equipment is tried, and under the condition that connection with the target equipment is unsuccessful, the wireless communication module can be controlled to be switched back to the AP mode from the STA mode, so that the condition that connection fails can be fed back to the user by the wireless communication module and further instructions of the user are waited to be received, and the situation that a multimedia player where the wireless communication module is located is lost is avoided.
As an alternative embodiment, the target device information may include an SSID of the target device. Optionally, the target device information may further include a connection password of the target device. The wireless communication module can scan the devices in the space to obtain a WiFi device list, and then according to the SSID and/or the connection password of the target device, the corresponding device is found from the device list and connection is established. When the target equipment information comprises the SSID of the target equipment, the target equipment can be accessed without a password, and the smooth connection between the multimedia player and a public network can be ensured; when the target device information includes the SSID of the target device and also includes the connection password of the target device, the security of the connection between the multimedia player and the public network can be improved. Optionally, the target device may be a hidden device, which is not displayed in the WiFi list and requires the wireless communication module to actively search for establishing a connection according to the SSID and the connection password of the target device.
As an alternative embodiment, the predetermined condition that the wireless network connection state is satisfied may include that the wireless communication module and the target device are in an unconnected state. When the wireless communication module acquires that the wireless communication module is not connected with the target equipment, the wireless communication module switches the station mode which does not accept wireless access to the wireless communication module back to the wireless access point mode, and allows a user to establish wireless connection with the wireless communication module by adopting the control equipment in the wireless access point mode, so that the problem of out-of-control of the wireless communication module caused by the fact that the wireless communication module is not successfully connected with the target equipment and cannot establish connection with the control equipment in the station mode is avoided.
The predetermined condition that the wireless network connection status satisfies may further include: the data transmission rate between the wireless communication module and the target device is less than the transmission threshold. When the wireless communication module acquires that the data transmission rate between the wireless communication module and the target equipment is smaller than a transmission threshold value, the wireless communication module possibly delays the data transmission with the target equipment, so that a multimedia player where the wireless communication module is located cannot normally receive data, a user cannot normally perform wireless control on the multimedia player, the wireless communication module switches the wireless communication module from a site mode to a wireless access point mode, the user is allowed to establish wireless connection with the wireless communication module by adopting the control equipment in the wireless access point mode, and the problem of out-of-control of the wireless communication module caused by the fact that the wireless communication module is not successfully connected with the target equipment and cannot establish connection with the control equipment in the site mode is avoided.
As an alternative embodiment, the wireless communication module and the target device may be determined to be in an unconnected state by: the wireless communication module and the target device are in an unconnected state for more than a first preset time; the wireless communication module disconnects from the target device more than a predetermined number of times within a second predetermined time. In this optional embodiment, the multiple wireless network connection states may be identified as poor network connection states, which cannot support normal work, and further debugging needs to be performed by the user through the control device, and at this time, the wireless communication module may be switched back to the wireless access point mode, so that the user may connect the wireless communication module with the control device.
As an alternative embodiment, after the wireless communication module is switched from the first mode to the second mode, the wireless network connection status of the wireless communication module and the target device may also be sent to the control device. Optionally, the wireless communication module may broadcast the wireless network connection state with the target device in a broadcast manner, or after the wireless communication module is switched back to the wireless access point mode, the control device establishes a connection with the wireless communication module and then feeds back the wireless network connection state to the control device through the wireless data transmission channel, so that the user can know the wireless network connection state.
Fig. 3 is a control flow chart of a wireless communication module according to an alternative embodiment of the present invention, and as shown in fig. 3, controlling the wireless communication module to perform mode switching may include the following steps:
step S1, the wireless communication module in the wireless access point mode (AP mode) receives the connection instruction and the target device information sent by the control device, wherein the target device information includes the SSID and the connection password of the target device;
step S2, after the wireless communication module receives the connection instruction, the AP mode is closed, and the station mode (STA mode) is opened;
step S3, the wireless communication module in the site mode carries out signal search to obtain a WIFI list, and the WIFI list comprises a plurality of devices which can be connected with the wireless communication module;
step S4, judging whether a target device corresponding to the target device information exists in the WIFI list, if yes, trying to establish connection with the target device by the wireless communication module according to the target device information, and if not, going to step S7;
step S5, waiting for the wireless communication module to establish a wireless network connection with the target device within a predetermined time (e.g. 30 seconds), broadcasting a "connection success" message to the control device if the wireless communication module and the target device establish a wireless network successfully within the predetermined time, and proceeding to step S7 if the wireless network establishment fails within the predetermined time or the wireless network establishment fails within the predetermined time;
step S6, the wireless communication module obtains whether the network connection state with the target device is the connected state and how the network connection quality is;
step S7, when the connection between the wireless communication module and the target device fails, the wireless communication module is controlled to close the STA mode, open the AP mode, and establish a wireless connection with the control device again, so as to prevent the user from losing control over the wireless communication module.
According to an embodiment of the present invention, there is also provided an apparatus control device for implementing the apparatus control method, and fig. 4 is a block diagram of a structure of the apparatus control device according to the embodiment of the present invention, and as shown in fig. 4, the apparatus control device 40 includes: the acquisition unit 42 and the switching unit 44 explain the device control apparatus 40.
An obtaining unit 42, configured to obtain a wireless network connection state between a wireless communication module and a target device, where the target device includes a wireless local area network broadcasting device, the wireless communication module is currently in a first mode, and the first mode includes a station mode;
and a switching unit 44, connected to the acquiring unit 42, configured to switch the wireless communication module from the first mode to a second mode when the wireless network connection status satisfies a predetermined condition, where the second mode includes a wireless access point mode.
It should be noted here that the above-mentioned acquiring unit 42 and switching unit 44 correspond to step S202 to step S204 in embodiment 1, and the two modules are the same as the examples and application scenarios realized by the corresponding steps, but are not limited to the disclosure of embodiment 1. It should be noted that the above modules may be operated in the computer terminal 10 provided in embodiment 1 as a part of the apparatus.
According to an embodiment of the present invention, there is also provided a wireless communication module, and fig. 5 is a block diagram of a structure of the wireless communication module according to the embodiment of the present invention, as shown in fig. 5, the wireless communication module 50 includes: and a device control apparatus 40. Alternatively, the wireless communication module may be a WiFi module, which includes two operation modes, an AP mode and a STA mode, but the WiFi module can only be in one operation mode at a time, and cannot be in the two operation modes at the same time.
According to an embodiment of the present invention, there is also provided a multimedia player, and fig. 6 is a block diagram of a structure of the multimedia player provided according to the embodiment of the present invention, as shown in fig. 6, the multimedia player 60 includes: a wireless communication module 50.
Optionally, the multimedia player comprises a device for supporting the display of network video on a video playing device. The multimedia player can be integrated within the screen of the advertising machine as a transmission card serving the LED display field. In markets, airports and other public places, various advertisement machines exist to transmit diversified information. The multimedia player can provide the connection modes commonly used in the wired mode and the WIFI mode, wherein the WIFI mode can be used for quickly accessing to a market or peripheral WIFI, and then video data can be acquired from a public network. When the multimedia player is in the AP mode of WIFI, hotspot connection can be provided for a user, the user can access the multimedia player through a hotspot to control the equipment, and the equipment is stably connected and communicated with the LED display screen; when the multimedia player is in the STA mode of WIFI, the multimedia player can be conveniently connected with a public network. In the above process, therefore, switching between the AP mode and the STA mode of the multimedia player becomes an urgent requirement.
Due to the complex use environment of the multimedia player, in the process of switching the multimedia player from the AP mode to the STA mode and connecting the multimedia player to the WiFi of the router, there may be situations of failed switching, such as wrong password input, unstable connected WiFi signal, etc., at this time, in order to avoid the runaway of the multimedia player, the user may only connect the multimedia player in a wired manner, sometimes even plug and unplug the wire by disassembling and assembling the advertisement machine, which is very inconvenient.
This embodiment provides a multimedia player that automatically switches modes, and when there is no network cable directly connected, the multimedia player can also be controlled by the wireless control device to switch modes and connect WiFi, because the wireless communication module 50 is built in, after the wireless communication module 50 switches from the AP mode to the STA mode, once SSID or password input errors occur, the problem that the multimedia player cannot connect WiFi or WiFi signals are not good is caused, the wireless communication module 50 can automatically switch from the STA mode back to the AP mode, and the user can still control the multimedia player by using the wireless control device, thereby avoiding the trouble of plugging and unplugging wires of the user.
An embodiment of the present invention may provide a computer device, and optionally, in this embodiment, the computer device may be located in at least one network device of a plurality of network devices of a computer network. The computer device includes a memory and a processor.
The memory may be configured to store software programs and modules, such as program instructions/modules corresponding to the device control method and apparatus in the embodiments of the present invention, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory, so as to implement the device control method. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include memory located remotely from the processor, and these remote memories may be connected to the computer terminal 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 processor can call the information and application program stored in the memory through the transmission device to execute the following steps: acquiring a wireless network connection state between a wireless communication module and target equipment, wherein the target equipment comprises wireless local area network broadcasting equipment, the wireless communication module is currently in a first mode, and the first mode comprises a station mode; under the condition that the wireless network connection state meets a preset condition, the wireless communication module is switched from a first mode to a second mode, wherein the second mode comprises a wireless access point mode.
Optionally, the processor may further execute the program code of the following steps: before acquiring the wireless network connection state of the wireless communication module and the target device, the method further comprises the following steps: under the condition that the wireless communication module is in the second mode, receiving target device information and a connection instruction sent by the control device, wherein the connection instruction is used for indicating the wireless communication module to establish wireless network connection with the target device; after receiving the connection instruction, the wireless communication module is switched from the second mode to the first mode; according to the target device information, the wireless communication module initiates a connection request in a first mode, wherein the connection request is used for establishing wireless network connection with the target device.
Optionally, the processor may further execute the program code of the following steps: the predetermined conditions satisfied by the wireless network connection state include: the wireless communication module is in an unconnected state with the target device.
Optionally, the processor may further execute the program code of the following steps: the wireless communication module is in an unconnected state with the target device, and comprises at least one of the following: the wireless communication module and the target device are in an unconnected state for more than a first preset time; the wireless communication module disconnects from the target device more than a predetermined number of times within a second predetermined time.
Optionally, the processor may further execute the program code of the following steps: after switching the wireless communication module from the first mode to the second mode, the method further comprises: and sending the wireless network connection state of the wireless communication module and the target equipment to the control equipment.
Optionally, the processor may further execute the program code of the following steps: the target device information includes: SSID of the target device, and connection password of the target device.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
Embodiments of the present invention also provide a computer-readable storage medium. Alternatively, in this embodiment, the computer-readable storage medium may be configured to store the program code executed by the device control method provided in embodiment 1.
Optionally, in this embodiment, the computer-readable storage medium may be located in any one of a group of computer terminals in a computer network, or in any one of a group of mobile terminals.
Optionally, in this embodiment, the computer readable storage medium is configured to store program code for performing the following steps: acquiring a wireless network connection state between a wireless communication module and target equipment, wherein the target equipment comprises wireless local area network broadcasting equipment, the wireless communication module is currently in a first mode, and the first mode comprises a station mode; under the condition that the wireless network connection state meets a preset condition, the wireless communication module is switched from a first mode to a second mode, wherein the second mode comprises a wireless access point mode.
Optionally, in this embodiment, the computer readable storage medium is configured to store program code for performing the following steps: before acquiring the wireless network connection state of the wireless communication module and the target device, the method further comprises the following steps: under the condition that the wireless communication module is in the second mode, receiving target device information and a connection instruction sent by the control device, wherein the connection instruction is used for indicating the wireless communication module to establish wireless network connection with the target device; after receiving the connection instruction, the wireless communication module is switched from the second mode to the first mode; according to the target device information, the wireless communication module initiates a connection request in a first mode, wherein the connection request is used for establishing wireless network connection with the target device.
Optionally, in this embodiment, the computer readable storage medium is configured to store program code for performing the following steps: the predetermined conditions satisfied by the wireless network connection state include: the wireless communication module is in an unconnected state with the target device.
Optionally, in this embodiment, the computer readable storage medium is configured to store program code for performing the following steps: the wireless communication module is in an unconnected state with the target device, and comprises at least one of the following: the wireless communication module and the target device are in an unconnected state for more than a first preset time; the wireless communication module disconnects from the target device more than a predetermined number of times within a second predetermined time.
Optionally, in this embodiment, the computer readable storage medium is configured to store program code for performing the following steps: after switching the wireless communication module from the first mode to the second mode, the method further comprises: and sending the wireless network connection state of the wireless communication module and the target equipment to the control equipment.
Optionally, in this embodiment, the computer readable storage medium is configured to store program code for performing the following steps: the target device information includes: SSID of the target device, and connection password of the target device.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit may be a division of a logic function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or may not be executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that it is obvious to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and these modifications and improvements should also be considered as the protection scope of the present invention.

Claims (11)

1. An apparatus control method applied to a wireless communication module, the method comprising:
acquiring a wireless network connection state between the wireless communication module and target equipment, wherein the target equipment comprises wireless local area network broadcasting equipment, the wireless communication module is currently in a first mode, and the first mode comprises a site mode;
the wireless communication module is switched from the first mode to a second mode under the condition that the wireless network connection state meets a preset condition, wherein the second mode comprises a wireless access point mode.
2. The method of claim 1, further comprising, prior to the obtaining the wireless network connection status of the wireless communication module and the target device:
under the condition that the wireless communication module is in the second mode, receiving target device information and a connection instruction sent by a control device, wherein the connection instruction is used for instructing the wireless communication module to establish wireless network connection with the target device;
after receiving the connection instruction, the wireless communication module switches from the second mode to the first mode;
and according to the target equipment information, the wireless communication module initiates a connection request in the first mode, wherein the connection request is used for establishing wireless network connection with the target equipment.
3. The method of claim 1, wherein the predetermined condition satisfied by the wireless network connection status comprises at least one of: the wireless communication module is in an unconnected state with the target device; a data transmission rate between the wireless communication module and the target device is less than a transmission threshold.
4. The method of claim 3, wherein the wireless communication module is in an unconnected state with the target device, comprising at least one of:
the wireless communication module and the target device are in an unconnected state for more than a first predetermined time;
the wireless communication module is disconnected from the target device more than a predetermined number of times within a second predetermined time.
5. The method of claim 2, further comprising, after switching the wireless communication module from the first mode to a second mode: and sending the wireless network connection state of the wireless communication module and the target equipment to the control equipment.
6. The method of claim 2, wherein the target device information comprises at least: an SSID of the target device.
7. The method of claim 1, wherein the wireless communication module maintains the first mode if the wireless network connection status satisfies the predetermined condition and a wired connection exists between a multimedia player and the target device, wherein the multimedia player comprises the wireless communication module.
8. An apparatus control device, characterized by comprising:
the wireless network connection control device comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring a wireless network connection state between a wireless communication module and target equipment, the target equipment comprises wireless local area network broadcast equipment, the wireless communication module is currently in a first mode, and the first mode comprises a site mode;
the switching unit is used for switching the wireless communication module from the first mode to a second mode under the condition that the wireless network connection state meets a preset condition, wherein the second mode comprises a wireless access point mode.
9. A wireless communication module, characterized in that it comprises the device control apparatus of claim 7.
10. A multimedia player, characterized in that it comprises a wireless communication module as claimed in claim 8, said multimedia player being adapted to process multimedia data.
11. A computer-readable storage medium, comprising a stored program, wherein the program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the apparatus control method according to any one of claims 1 to 7.
CN202111583420.3A 2021-12-22 2021-12-22 Equipment control method and device, wireless communication module and multimedia player Pending CN114286405A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111583420.3A CN114286405A (en) 2021-12-22 2021-12-22 Equipment control method and device, wireless communication module and multimedia player

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111583420.3A CN114286405A (en) 2021-12-22 2021-12-22 Equipment control method and device, wireless communication module and multimedia player

Publications (1)

Publication Number Publication Date
CN114286405A true CN114286405A (en) 2022-04-05

Family

ID=80873942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111583420.3A Pending CN114286405A (en) 2021-12-22 2021-12-22 Equipment control method and device, wireless communication module and multimedia player

Country Status (1)

Country Link
CN (1) CN114286405A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202831A (en) * 2014-08-26 2014-12-10 南京熊猫电子股份有限公司 System and method for connecting devices with wireless AP
CN104486762A (en) * 2014-12-22 2015-04-01 广东美的厨房电器制造有限公司 Access control method of intelligent home appliance and intelligent home appliance system
CN104683248A (en) * 2015-02-14 2015-06-03 小米科技有限责任公司 Method and device for switching working mode
CN104853373A (en) * 2015-05-04 2015-08-19 海信集团有限公司 Method and device for switching operating modes of wireless module
US20190104561A1 (en) * 2017-09-29 2019-04-04 Canon Kabushiki Kaisha Communication apparatus, control method, and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202831A (en) * 2014-08-26 2014-12-10 南京熊猫电子股份有限公司 System and method for connecting devices with wireless AP
CN104486762A (en) * 2014-12-22 2015-04-01 广东美的厨房电器制造有限公司 Access control method of intelligent home appliance and intelligent home appliance system
CN104683248A (en) * 2015-02-14 2015-06-03 小米科技有限责任公司 Method and device for switching working mode
CN104853373A (en) * 2015-05-04 2015-08-19 海信集团有限公司 Method and device for switching operating modes of wireless module
US20190104561A1 (en) * 2017-09-29 2019-04-04 Canon Kabushiki Kaisha Communication apparatus, control method, and storage medium

Similar Documents

Publication Publication Date Title
US20200084612A1 (en) System and Method for Multi-SIM Profiles or Embedded SIM
CN102711215A (en) Method and system for automatically connecting wireless network and smart television
US20180091581A1 (en) Method of switching download mode, control method thereof and control system thereof
CN112351417B (en) Device discovery method and device and computer device
CN112219423B (en) Transmission path switching method and device
CN110784939B (en) Data communication method, device and system
CN110784941B (en) Automatic connection method, device and system for CPE and terminal equipment
CN109803454B (en) Data transmission control method and related product
CN103220283A (en) Method, equipment and system for network sharing
CN105981416B (en) The method for managing several profiles in safety element
CN106452828A (en) Provision protocol transmission-based terminal configuration method and system
CN105516972A (en) Network connection method and device
CN114286405A (en) Equipment control method and device, wireless communication module and multimedia player
CN112423051B (en) Shared screen switching method, device, terminal and storage medium
CN114980224B (en) WiFi hotspot switching method, terminal equipment and storage medium
CN106488470B (en) Method, device and terminal for realizing Miracast and wireless hotspot coexistence
CN112399242A (en) Mobile network connection method, device, equipment and medium based on television
CN114173151B (en) Live broadcast stream pushing system, method and device and electronic equipment
CN113068193B (en) Information processing method, device and equipment and storage medium
WO2024193396A1 (en) Device connection management method, related device, system, and storage medium
CN115996480B (en) Networking method, display equipment, internet of things equipment and networking system
US20230309191A1 (en) Emergency call method and apparatus, storage medium, and terminal
CN113472584A (en) Equipment configuration method and device and Internet of things equipment
CN114867056A (en) Data processing method and device and computer equipment
CN112188593A (en) Wireless configuration method and device, storage medium and electronic device

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