Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the method for controlling a home device, the server, and the computer-readable storage medium provided in the present application are described in further detail below with reference to the accompanying drawings and the detailed description.
In the related art, an intelligent household appliance is usually provided with an entity key or a virtual key for a distribution network, and a user presses the distribution network key to enable the household appliance to enter a to-be-distributed mode so as to wait for acquiring distribution network data for networking.
After the household appliance is distributed with a network, the household appliance establishes heartbeat connection with the server, and periodically sends the current state of the household appliance to the server; the user terminal establishes long connection with the server, periodically pulls the state of the household appliance from the server, or receives the running state of the household appliance pushed by the server.
The inventor of the application discovers through long-term research that in the actual use process of the household electrical appliance, a user may mistakenly touch a distribution network key without subjective awareness, or a child or a pet presses the distribution network key under the condition that the user is unaware of the user, so that the networked household electrical appliance enters the off-line state of a network to be distributed again. Therefore, on one hand, the user needs to manually distribute the network for the household electrical appliance again, the program is complicated, the user can be mistaken for automatic offline of the household electrical appliance, and the confidence and the patience of the user on the intelligent household electrical appliance are reduced.
On the other hand, since the home appliance periodically feeds back the current state of the home appliance to the server, the user terminal also periodically obtains the state of the home appliance from the server, the server cannot sense the actual state of the home appliance in time, and the state of the home appliance obtained by the user terminal is delayed from the current actual state of the home appliance, which may cause the state of the home appliance displayed on the user terminal to be asynchronous with the actual state. For example, the household appliance enters the offline state of the network to be distributed due to the fact that the user mistakenly touches the network distribution key, the server senses that the household appliance is offline (one or more heartbeat cycles do not receive heartbeat packets sent by the household appliance) and the user terminal obtains the state of the household appliance, the user terminal still displays the controllable state that the household appliance is online, if the user controls the household appliance through the user terminal during the period, the household appliance cannot respond, for example, the user turns off the air conditioner through the user terminal, and the air conditioner is still in the on state due to the fact that the air conditioner is offline and cannot receive an instruction for turning off the air conditioner, great misunderstanding and inconvenience are brought to the user.
To solve the above technical problem, the present application provides the following embodiments:
referring to fig. 1 and fig. 2, fig. 1 is a schematic structural diagram of an embodiment of a control system of a home appliance provided in the present application; fig. 2 is an interaction flow diagram of a control system of a home appliance provided in the present application.
The control system 10 of the home appliance includes a home appliance 11, a user terminal 12, and a server 13. The home appliance 11 establishes a communication connection with the server 13 through, for example, a WIFI wireless network, and the user terminal 12 establishes a communication connection with the server 13 through, for example, a WIFI wireless network, a third generation mobile communication technology (3G), a fourth generation mobile communication technology (4G), or a fifth generation mobile communication technology (5G).
The home device 11 includes at least a first home device 111 and a second home device 112. The home device 11 may be an intelligent appliance with a networking function, for example, a communication module (not shown) is installed in the first home device 111 and the second home device 112, and the first home device 111 and the second home device 112 may access the internet based on the communication module and/or perform networking with each other based on the communication module. The first household electrical appliance 111 and the second household electrical appliance 112 may be white household electrical appliances such as a refrigerator, an air conditioner, a washing machine, a range hood, a dish washer or a water heater, black household electrical appliances such as a television or a sound, or any one of small household electrical appliances such as an induction cooker, an electric kettle, a sweeping robot, an electric cooker, an electric fan, a soybean milk machine, a juice extractor, an electric lamp, an intelligent socket or an intelligent curtain.
For example, the first home device 111 and the second home device 112 both belong to the same user, and the first home device 111 and the second home device 112 are both distributed and registered under the user account of the user.
The first and second home devices 111 and 112 may be appliances in the same area. For example, the first home device 111 and the second home device 112 are both located in a living room area, a kitchen area, a room area, a balcony area, a toilet area, or the like. Generally, the home devices in the same area are closer in physical space, and the message transmission efficiency and success rate between the home devices 11 are higher. Of course, the first home device 111 and the second home device 112 may also be appliances in different areas, and the application is not limited thereto.
The user terminal 12 is, for example, a smartphone, a tablet computer, a notebook computer, or a smart wearable device. The user terminal 12 runs, for example, a home appliance control program such as american society APP. The home appliance control program of the user terminal 12 has, for example, a user account registered therein, and the first home appliance device 111 and the second home appliance device 112 are registered under the user account. Based on the home appliance control program logged in to the user account, the user can acquire the operating state of the home appliance 11 and control the home appliance 11 through the user terminal 12.
A user may issue some operation to generate an offline trigger signal while using the first home device 111 or while cleaning the first home device 111. In response to the offline trigger signal, the first home device 111 enters a non-networking state, such as a network to be connected or offline, from the networking state. The offline trigger signal is generated, for example, by the first home device 111 recognizing that the user presses a certain key for a long time or multiple times, combines the keys, and issues a gesture command or a voice command.
Before entering the non-networking state from the networking state, the first home device 111 sends an enter non-networking state message to the server 13 to notify the server 13 to enter the non-networking state. The message entering the non-networking state carries the first identity identifier of the first home device 111. Or, the first home device 111 does not send the message of entering the non-networking state to the server 13, and when the server 13 needs to interact with the first home device, it finds that the first home device 111 is in the non-networking state.
The server 13 maintains, for example, a device operation state table of the home device 11. The operation status table of the home devices 11 includes, for example, a device identifier, a device name, a device status, a device communication address, and the like of each home device 11. Optionally, the device operation status table may further include a region where the device is located, such as a living room region, a kitchen region, a room region, a balcony region, or a toilet region. The area where the equipment is located can be manually added by a user when the user is distributing a network for the household appliance 11, or can be automatically identified by the server 13 according to the appliance type of the household appliance 11, for example, a dishwasher and a range hood are kitchen appliances, and the area where the equipment is located is a kitchen area; the water heater is a bath appliance, and the area of the water heater is a toilet area; the intelligent clothes hanger is an airing electric appliance, and the area is a balcony area and the like.
After acquiring the message that the first home device 111 enters the non-networking state, the server 13 modifies the device state of the first home device 111 in the device operation state table to the non-networking state, and records the time when the first home device 111 enters the non-networking state. In the preset time when the first household appliance 111 enters the non-networking state, the server 13 does not notify the user terminal 12 that the first household appliance 111 enters the non-networking state, during which the first household appliance 111 on the user terminal 12 still displays the online state, and the user can send a control instruction to the first household appliance 111 through the user terminal 12.
The user may not perceive his own operation as causing the first home device 111 to enter the non-networking state and still control the first home device 111 through the user terminal 12. The user terminal 12 recognizes the operation of the user with respect to the first home appliance 111, generates a second control instruction with respect to the first home appliance 111, and then transmits the second control instruction to the server 13.
After receiving the second control instruction, the server 13 analyzes the second control instruction to obtain the first device identifier and the user account of the first home appliance device 111. The server 13 inquires that the first home device 111 has entered the non-networking state according to the first device identifier; alternatively, the server 13 sends the second control command to the first home device 111, but the first home device 111 does not respond after timeout, so as to determine that the first home device 111 is in the non-networking state.
After determining that the first home device 111 is in the non-networking state, the server 13 generates a first control instruction based on the second control instruction. Specifically, the server 13 adds the first identity identifier to the second control command to obtain the first control command.
The server 13 further stores a binding relationship between a user account and the home devices 11, for example, the server 13 obtains a home device list bound to the user account based on the user account, and selects one or some home devices 11 in a networking state as the second home device 112. Optionally, the server 13 may also preferentially select, as the second home device 112, the home device 11 that is in the same area as the first home device 111 and in the networking state, according to the area to which the first home device 111 belongs. For example, when the first household appliance 111 is a range hood, the area of the first household appliance 111 is a kitchen area, and a dishwasher located in the kitchen area may be selected as the second household appliance 112.
Since the first home device 111 is already in the non-networking state, it cannot receive the first control command directly sent to it by the server 13. The server 13 sends the first control command to the second home device 112, and the second home device 112 sends the first control command to the first home device 111.
After receiving the first control instruction, the second home appliance 112 parses the first control instruction, determines that the first control instruction is not initiated for itself, and sends the first control instruction to the first home appliance 111.
There are various methods for the second home device 112 to send the first control command to the first home device 111. For example, the second home device 112 may broadcast the first control command in a wireless broadcast manner. To explain that the wireless broadcast is the bluetooth broadcast, the first home appliance 111 scans the bluetooth broadcast and receives a first control instruction carried in the bluetooth broadcast. Also for example, the second home device 112 establishes a peer-to-peer communication connection with the first home device 111. For example, after entering the non-networking state, the first household appliance 111 enters the WIFI AP mode, the second household appliance 112 establishes a WIFI connection with the first household appliance 111 in the WIFI AP mode, and sends the first control instruction to the first household appliance 111 through the WIFI connection.
After receiving the first control command, the first home device 111 executes the first control command. Specifically, the first household appliance 111 parses the first control instruction to obtain the first identification, determines that the first control instruction is legal, and then executes an operation corresponding to the first control instruction. Therefore, even if the first home appliance 111 is in a non-networking state and is inconsistent with the online state displayed by the user terminal, the first control instruction sent by the user can still be executed, so that the actual operation state of the home appliance is kept consistent with the operation state of the home appliance on the user terminal, and the user can still control the home appliance through the user terminal 12 without sensing that the first home appliance 111 is offline. In this period, the user is not informed that the first home appliance 111 is offline, and the user does not need to newly distribute a network for the first home appliance 111, so that user operations can be reduced, and the use efficiency of controlling the first home appliance 111 can be improved.
After entering the non-networking state, the first home device 111 still receives the first control instruction sent by the user through the user terminal, which indicates that the operation of the user that has caused the first home device 111 to go offline may be triggered by an error. Therefore, the first home device 111 can further automatically connect back to the wireless routing device to return from the non-networking state to the networking state. In the process, the user cannot sense the offline of the first home appliance 111, and the influence of the offline of the first home appliance 111 on the user is reduced.
Based on the control system of the household appliance, the application also provides an embodiment of a control method of the household appliance.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating a first embodiment of a method for controlling a home appliance according to the present application. The execution main body of the embodiment is a first household appliance, and the embodiment includes the following steps:
s310: the first household appliance obtains an offline trigger signal.
When the first household appliance equipment acquires the off-line trigger signal, the first household appliance equipment is still in a networking state.
The offline trigger signal is generated, for example, when the first home appliance recognizes that the user presses a certain key for a long time or for multiple times, combines the keys, and issues a gesture command or a voice command.
S320: and the first household appliance responds to the offline trigger signal and enters a non-networking state from a networking state.
The first household appliance responds to the offline trigger signal, the first household appliance is disconnected from the wireless routing device, and the first household appliance enters the non-networking state from the networking state.
After the first household appliance enters the non-networking state, the first household appliance still maintains a communicable state. The non-networking state may be, for example, the first home device being in a softAP mode, a promiscuous mode, or a wireless broadcast scan mode, such that the first home device is capable of networking with other home devices.
S330: and the first household appliance receives the first control instruction forwarded by the second household appliance.
Since the first home device is already in the non-networking state, the first control instruction directly sent by the server cannot be received. Thus, the server sends the first control command to the second home device, which forwards the first control command to the first home device.
The server stores the binding relationship between the user account and the household appliances, for example, and acquires a household appliance list bound to the user account based on the user account, and selects one or more household appliances in a networking state as second household appliances. Optionally, the server may also preferentially select, as the second home device, one or more home devices that are in the same area as the first home device and are in a networking state, according to the area to which the first home device belongs. For example, when the first household appliance is a range hood, the area of the first household appliance is a kitchen area, and a dishwasher located in the kitchen area can be selected as the second household appliance. The server also stores, for example, a local area network networking status between the home appliances located in the same home (for example, a bluetooth (tm) network is used between the home appliances), and selects a home appliance that is in a networking status and has already formed a local area network with the first home appliance as the second home appliance.
The first control instruction is generated and sent to the second household appliance based on the second control instruction after the server determines that the first household appliance enters the non-networking state. And the second control instruction is a control instruction of the first household appliance sent to the server by the user terminal.
The server determines that the first household appliance is in the non-networking state in various ways, and may be configured to actively send a message of entering the non-networking mode to the server before the first household appliance enters the non-networking state, record a message that the first household appliance enters the non-networking state, and determine that the first household appliance is in the non-networking state based on the non-networking message when the server receives the second control instruction. Or when the server receives the second control instruction, the second control instruction is sent to the first household appliance, and if the first household appliance does not respond after time out, the first household appliance is determined to be in a non-networking state.
The second control instruction is different from the first control instruction in that the first control instruction also carries a first identity identifier of the first household appliance, and the second control instruction does not carry the first identity identifier.
The first household appliance utilizes the first identity identification mark to verify whether the first control instruction is legal or not, so that the first household appliance is prevented from being bound by a distribution network of other user terminals, or being controlled by instructions sent by other user terminals or mistakenly executing instructions for controlling other household appliances when the first household appliance is in a non-networking state.
The method for the server to obtain the first identity identifier is various, and the first household appliance may be sent to the server before entering the non-networking state, or may be generated by the server according to a preset rule.
There are various methods for receiving the first control instruction sent by the second home appliance by the first home appliance.
For example, the second home device may broadcast the first control instruction in a wireless broadcast manner. The wireless broadcast may be a bluetooth broadcast, a ZigBee broadcast, or a LoRa broadcast. The wireless broadcast is used as the bluetooth broadcast for explanation, and the first household appliance can receive the first control instruction carried in the bluetooth broadcast by scanning the bluetooth broadcast.
For example, the second home device establishes a peer-to-peer communication connection with the first home device. For example, after entering the non-networking state, the first household appliance enters the WIFI AP mode, the second household appliance establishes a WIFI connection with the first household appliance in the WIFI AP mode, and sends the first control instruction to the first household appliance through the WIFI connection.
S340: the first household appliance executes the first control instruction.
And after receiving the first control instruction, the first household appliance executes the first control instruction. Specifically, the first home appliance analyzes the first control instruction, and checks whether the first control instruction carries the first identity identifier or whether the first identity identifier is accurate. When the first control instruction carries the first identity identification and the first identity identification is accurate, it can be determined that the first control instruction is legal, and the first household appliance executes the operation corresponding to the first control instruction.
In the event that the server is not actively notified before the first home device enters the non-networked state. The first identity identifier may be generated by the server according to a preset rule. And the first household appliance generates a second identification mark according to the same preset rule, and compares the first identification mark with the second identification mark. If the first identity identifier is consistent with the second identity identifier, it may be determined that the first control command is issued by the bound user account, but not by other user accounts.
The predetermined rule is, for example, a set of random values or a hardware identifier of the first home device is calculated using a specified algorithm, thereby obtaining the first identity or the second identity. The specified algorithm may be a hash algorithm. Specifically, the server uses a first algorithm to calculate a Media Access Control Address (MAC) of the first home appliance device, and adds an obtained value as a first identity identifier to the second Control instruction to obtain the first Control instruction. And the first household appliance uses a second algorithm to calculate the MAC of the first household appliance, and the obtained value is used as a second identity. Or the server generates a group of random numbers, the server uses a first algorithm to calculate the random numbers, the obtained value is used as a first identity identifier and added into a second control instruction, and the random numbers are added into the second control instruction to obtain a first control instruction. The first household appliance analyzes the first control instruction to obtain a first identity and a random number, and the random number is operated by a second algorithm, so that the obtained value is used as a second identity.
If the first identity identifier is consistent with the second identity identifier, it is indicated that the first algorithm and the second algorithm are the same algorithm and the parameters thereof are the same, and it can be proved that the first control instruction is sent based on a trusted user account, and the first household appliance can execute the first control instruction.
The first household appliance receives the first control instruction, and the user is indicated to have the requirement of controlling the first household appliance through the user terminal. Therefore, the first home device can further automatically loop back to the wireless routing device to return from the non-networking state to the networking state. After the first household appliance device recovers the networking state, a message for recovering the networking state can be sent to the server, so that the server modifies the running state of the first household appliance device into the networking state.
In this embodiment, when the first home appliance enters the non-networked state from the networked state, the second home appliance receives a control instruction sent from the user terminal to the first home appliance. Therefore, even if the first household appliance is in a non-networking state and is inconsistent with the online state displayed by the user terminal, the first control instruction sent by the user can still be executed, so that the actual running state of the household appliance is kept consistent with the running state of the household appliance on the user terminal, and the household appliance can still be controlled by the user terminal under the condition that the user does not sense the offline state of the first household appliance. The user does not need to manually control the first household appliance to redistribute the network, the control flow of the first household appliance after being off-line can be simplified, and the user can not sense the off-line of the first household appliance. And moreover, the first control instruction carries the first identity identification, so that the safety of the first household appliance can be improved.
In some embodiments, to improve the efficiency of obtaining the first control instruction by the first home device, the first home device sends a message of entering a non-networked state to the server before entering the non-networked state. Therefore, when the server receives the second control instruction, the first household appliance can be rapidly judged to be in the non-networking state, and the communication time with the first household appliance and the time for waiting for the response of the first household appliance are saved.
Referring to fig. 4, fig. 4 is a flowchart illustrating a second embodiment of a method for controlling a home appliance according to the present application. The execution main body of this embodiment is the first home appliance, and this embodiment is the first embodiment of the home appliance-based control method, so the same steps are not described herein again. The embodiment comprises the following steps:
s410: the first household appliance device acquires an offline trigger signal.
S420: and the first household appliance responds to the offline trigger signal and enters a non-networking state from a networking state.
S430: the first home device sends a message of entering a non-networking state to the server.
The first household appliance device actively sends a message of entering the non-networking state to the server so as to inform the server that the first household appliance device enters the non-networking state. The first household appliance enters a non-networking state, and the first household appliance cannot establish communication connection with the server.
Wherein the non-networked message includes a first identity identifier of the first home device. The first identification is generated by the first home device in response to an event that the first home device will enter a non-networking state.
Optionally, after receiving the message of entering the non-networking state of the first home appliance, the server records the time of entering the non-networking state of the first home appliance, so as to count the time of the first home appliance in the non-networking state. In the preset time period when the first household appliance is in the non-networking state, the server does not inform the user terminal that the first household appliance is in the non-networking state, so that the first household appliance is still displayed in the online state on the user terminal, and a user can send a control instruction to the first household appliance through the user terminal. The server determines that the first household appliance still does not receive a second control instruction sent by the user terminal after the first household appliance exceeds the preset time, or does not recover to a networking state after the first household appliance exceeds the preset time, and the fact that the first household appliance is powered off is indicated, or an offline trigger signal sent by the first household appliance is that a user subjectively wants the first household appliance to be offline, the server sends an offline message of the first household appliance to the user terminal, so that the user terminal displays the offline of the first household appliance, at the moment, the user cannot control the first household appliance through the user terminal, and inconvenience brought to the user due to the fact that the user cannot control the first household appliance through the user terminal is reduced.
Optionally, the first home device also records the time when the first home device enters the non-networking state, and counts the time when the first home device is in the non-networking state. And when the first household appliance determines that the first household appliance enters the non-networking state for the preset time, the first household appliance is connected back to the wireless routing device and accesses the Internet again to recover the networking state. Specifically, the first household appliance stores the distribution network information, for example, and when the first household appliance determines that the first household appliance has entered the non-networking state for a preset time, the first household appliance accesses the wireless routing device by using the distribution network information to re-network, and the non-networking state is recovered to the networking state.
The preset time is, for example, 10 minutes, 15 minutes, 30 minutes, 60 minutes, or 120 minutes, and may be 1 day, 2 days, or one week.
S440: and the first household appliance receives the first control instruction forwarded by the second household appliance.
The first control instruction carries a first identity identification.
The first control instruction is obtained by the server receiving a second control instruction from the user terminal to the first household appliance, determining that the time of the first household appliance in the non-networking state is within the preset time according to the message of entering the non-networking state, and adding the first identification mark into the second control instruction.
The method for receiving the first control command by the first home device is the same as S330, and therefore, the description thereof is omitted.
S450: the first household appliance executes the first control instruction.
And after the first household appliance verifies that the first control instruction is legal, executing the first control instruction.
Specifically, the first household appliance analyzes the first control instruction, and checks whether the control instruction carries the first identity identification. And if the first control instruction carries the first identity identification, the first household appliance executes the first control instruction.
S460: the first home device loops back to the wireless routing device to restore the networking state.
The present application does not limit the execution sequence of S450 and S460, and S450 may be executed first and S460 is executed later, S460 may be executed first and S450 is executed later, or S450 and S460 may be executed simultaneously.
The first home device of this embodiment sends a message of entering a non-networking state to the server before entering the non-networking state. Therefore, when the server receives the second control instruction, the first household appliance can be rapidly judged to be in a non-networking state, and the communication time with the first household appliance and the time for waiting for the response of the first household appliance are saved.
Referring to fig. 5, fig. 5 is a schematic flowchart illustrating a method for controlling a home appliance according to a third embodiment of the present application. The execution subject of this embodiment is a server, and this embodiment is based on the first embodiment of the control method of the home appliance and the second embodiment of the control method of the home appliance, so the same steps are not described herein again. The embodiment comprises the following steps:
s510: and the server receives a second control instruction of the first household appliance sent by the user terminal.
The user terminal is logged in a user account, and household appliances bound with the user account are displayed on the user terminal. The household appliances bound with the user account at least comprise a first household appliance and a second household appliance. The second control instruction is generated by the user terminal through operations of recognizing user voice, gestures, clicking corresponding positions of a screen or pressing corresponding keys and the like.
The second control instruction may be an instruction for controlling the first household appliance to be turned on or off, to be shifted up or down, or to change the operating mode of the first household appliance.
And after the user terminal generates a second control instruction, sending the second control instruction to the server.
And the server receives a second control instruction sent by the user terminal, analyzes the second control instruction and obtains a target household appliance of the second control instruction, namely the first household appliance.
S520: the server determines that the first home device is in a non-networking state.
The server determines that the first household appliance is in the non-networking state in various ways, and may be configured to actively send a message of entering the non-networking mode to the server before the first household appliance enters the non-networking state, record a message that the first household appliance enters the non-networking state, and determine that the first household appliance is in the non-networking state based on the non-networking message when the server receives the second control instruction. Or when the server receives the second control instruction, the second control instruction is sent to the first household appliance, and if the first household appliance does not respond after time out, the first household appliance is determined to be in a non-networking state.
S530: the server generates a first control instruction based on the second control instruction.
The specific process of the server generating the first control instruction may refer to the first embodiment S330 or the second embodiment S440 of the control method of the home appliance.
S540: and the server sends the first control instruction to the second household appliance so that the second household appliance sends the first control instruction to the first household appliance.
The specific process of the server sending the first control instruction to the second home device may refer to the first embodiment S330 or the second embodiment S440 of the control method of the home device.
The first embodiment and the second embodiment of the method for controlling a home appliance are implemented by a home appliance, so that the present application further provides a home appliance, please refer to fig. 6, where fig. 6 is a schematic structural diagram of an embodiment of a home appliance provided in the present application. The home device 600 of the present embodiment may include a processor 601 and a communication circuit 602 connected to each other. The communication circuit 602 is configured to be in communication connection with a second home appliance, receive a first control instruction forwarded by the second home appliance, and acquire an offline trigger signal. The processor 601 is configured to enter a non-networking state from a networking state in response to the offline trigger signal, and execute the first control instruction.
The processor 601 may be an integrated circuit chip having signal processing capability. The processor 601 may also be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The third embodiment of the method for controlling a home appliance is implemented by a server, and therefore the present application further provides a server, please refer to fig. 7, where fig. 7 is a schematic structural diagram of an embodiment of the server provided in the present application. The server 700 of the present embodiment may include a processor 701, a memory 702, and a communication circuit 703 connected to each other. The communication circuit 703 is configured to establish a communication connection with the user terminal and the second home appliance, receive a second control instruction sent by the user terminal to the first home appliance, and send the first control instruction to the second home appliance. The processor 701 is configured to determine that the first home device is in a non-networking state, generate a first control instruction based on the second control instruction, and control to send the first control instruction to the second home device, so that the second home device sends the first control instruction to the first home device, and the memory 702 is configured to store the second control instruction.
The processor 701 may be an integrated circuit chip having signal processing capability. The processor 701 may also be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor 701 may be any conventional processor or the like.
For the method of the above embodiment, it may exist in the form of a computer program, so that the present application provides a computer readable storage medium, please refer to fig. 8, and fig. 8 is a schematic structural diagram of an embodiment of the computer readable storage medium provided in the present application. The computer-readable storage medium 800 of the present embodiment stores therein a computer program 801 that can be executed to implement the method in the above-described embodiments.
The computer-readable storage medium 800 may be a medium that can store program instructions, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, or may also be a server that stores the program instructions, and the server may send the stored program instructions to other devices for operation, or may self-execute the stored program instructions.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a module or a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not 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, devices or units, and may be in an electrical, mechanical or other form.
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 network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present application 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 application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in 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, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the purpose of illustrating embodiments of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application or are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.