Disclosure of Invention
The application aims to provide a terminal, a terminal network distribution method, a terminal network distribution device and a storage medium, so that the operation process of a network distribution is simplified, and the efficiency of the network distribution is improved.
In order to solve the technical problem, the application provides the following technical scheme:
a terminal network distribution method is applied to a target terminal which is already distributed, and comprises the following steps:
when a distribution network instruction is received, a first distribution network broadcast packet is sent out;
receiving terminal information returned by terminals without distribution networks based on the first distribution network broadcast packet;
determining a terminal set of a network to be distributed according to the terminal information of the terminals not distributed with the network;
and sending first distribution network information to each terminal to be distributed in the terminal set to be distributed so that each terminal to be distributed executes distribution network operation based on the first distribution network information.
In a specific embodiment of the present application, after receiving terminal information returned by a terminal not connected with a network based on the first distribution network broadcast packet, and before determining a set of terminals to be distributed according to the terminal information of the terminal not connected with the network, the method further includes:
for each terminal which does not have a distribution network and returns terminal information, authenticating the terminal which does not have the distribution network at present according to the terminal information of the terminal which does not have the distribution network at present;
and if the authentication is not passed, discarding the terminal information of the current distribution network terminal which is not distributed.
In a specific embodiment of the present application, the terminal information includes a random number, and after the authentication is performed on the current distribution network-unconnected terminal, the method further includes:
if the authentication is passed, sending verification information to the current terminal without the distribution network, wherein the verification information carries a random number included in the terminal information of the current terminal without the distribution network;
if the confirmation information returned by the current non-distribution network terminal based on the verification information is received, the terminal information of the current non-distribution network terminal is reserved, and otherwise, the terminal information of the current non-distribution network terminal is discarded.
In a specific embodiment of the present application, the determining, according to the terminal information of the terminal not connected with the network, a set of terminals to be connected with the network includes:
reporting the terminal information of the terminal without the distribution network to an instruction initiator;
and determining a terminal set of the network to be distributed according to the selection information of the instruction initiator.
In a specific embodiment of the present application, after the sending the first distribution network information to each terminal to be distributed in the terminal set to be distributed, the method further includes:
and aiming at each terminal to be distributed in the terminal set to be distributed, if the distribution network completion response information returned by the current terminal to be distributed is not received within the set time length, repeatedly sending first distribution network information to the current terminal to be distributed.
In one embodiment of the present application, the method further includes:
under the condition that the wireless connection of the target terminal is disconnected, if a second distribution network broadcast packet is detected, reporting the terminal information of the target terminal to an initiator of the second distribution network broadcast packet so that the initiator of the second distribution network broadcast packet authenticates the target terminal, and sending the second distribution network information to the target terminal after the authentication is passed;
and executing distribution network operation based on the received second distribution network information.
In one embodiment of the present application, the method further includes:
and locking a wireless network channel under the condition that the second distribution network broadcast packet is detected.
A terminal distribution network device is applied to a distributed target terminal and comprises:
the broadcast module is used for sending out a first distribution network broadcast packet when receiving a distribution network instruction;
the information receiving module is used for receiving terminal information returned by the terminals without the distribution network based on the first distribution network broadcast packet;
the network terminal to be distributed determining module is used for determining a network terminal set to be distributed according to the terminal information of the terminals not distributed;
and the distribution network control module is used for sending first distribution network information to each terminal to be distributed in the terminal set to be distributed so that each terminal to be distributed executes distribution network operation based on the first distribution network information.
A terminal, comprising:
a memory for storing a computer program;
and the processor is used for realizing the steps of the terminal network distribution method when the computer program is executed.
A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the terminal network distribution method according to any of the above.
By applying the technical scheme provided by the embodiment of the application, when a target terminal of a distributed network receives a distribution network instruction, a first distribution network broadcast packet can be sent out, a terminal set to be distributed can be determined according to terminal information returned by a terminal which is not distributed and is based on the first distribution network broadcast packet, and first distribution network information is sent to each terminal to be distributed in the terminal set to be distributed, so that each terminal to be distributed can execute distribution network operation based on the first distribution network information, and can be added into a local area network established by a WiFi router so as to be added into the Internet. The target terminals of the distributed network interact with each network terminal to be distributed in the network terminal set to be distributed, so that a plurality of network terminals to be distributed can be triggered to execute network distribution operation at the same time, a user does not need to manually input network distribution information in the network terminals to be distributed one by one, the network distribution operation process is simplified, and the network distribution efficiency is improved.
Detailed Description
The core of the application is to provide a terminal network distribution method, and the method can be applied to a target terminal of a distributed network. The target terminal can be any one of the terminals of the current distributed network.
The target terminal can be installed with application programs such as a distribution network client and the like, and a user can control the target terminal to execute distribution network operation by inputting distribution network information such as an SSID (Service Set Identifier) and a password of a WiFi (wireless fidelity) router at the distribution network client, so that the target terminal is added into a local area network established by the WiFi router and then added into the Internet.
The method comprises the steps that when a distribution network command is received by a target terminal of a distributed network, a first distribution network broadcast packet can be sent out, a terminal set to be distributed can be determined according to terminal information returned by a terminal which is not distributed and is based on the first distribution network broadcast packet, and first distribution network information is sent to each terminal to be distributed in the terminal set to be distributed, so that each terminal to be distributed can execute distribution network operation based on the first distribution network information, and can be added into a local area network established by a WiFi router so as to be added into the Internet. The target terminals of the distributed network interact with each network terminal to be distributed in the network terminal set to be distributed, so that a plurality of network terminals to be distributed can be triggered to execute network distribution operation at the same time, a user does not need to manually input network distribution information in the network terminals to be distributed one by one, the network distribution operation process is simplified, and the network distribution efficiency is improved.
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, an implementation flowchart of a terminal network distribution method provided in the embodiment of the present application is shown, where the method may include the following steps:
s110: and when the distribution network instruction is received, sending a first distribution network broadcast packet.
In the embodiment of the application, the target terminal is a distributed network terminal. When the user has the distribution network requirement on other terminals without the distribution network, a distribution network instruction can be sent to the target terminal. The distribution network instruction can carry information such as an account number, a password and the like.
After receiving the distribution network instruction, the target terminal can perform validity judgment on the distribution network instruction based on information carried in the distribution network instruction, for example, validity judgment is performed through an account number and a password. And if the distribution network command is judged to be legal, a first distribution network broadcast packet can be sent out. If the distribution network instruction is judged to be illegal, illegal prompt information can be returned to the user, so that the distribution network instruction is sent out after the user inputs information such as an account number, a password and the like again.
The first distribution network broadcast packet sent by the target terminal may be a beacon (a low-power-consumption bluetooth technology) packet.
S120: and receiving terminal information returned by the terminals without the distribution network based on the first distribution network broadcast packet.
And the target terminal sends out a first distribution network broadcast packet when receiving the distribution network instruction. If the non-distribution network terminal exists in the current environment, the non-distribution network terminal can return terminal information to the target terminal based on the first distribution network broadcast packet after detecting the first distribution network broadcast packet. The terminal information may be information such as a Media Access Control Address (MAC) Address and a serial number of the terminal.
And each non-distribution network terminal can lock a wireless network channel under the condition of detecting the first distribution network broadcast packet. To improve the reliability and stability of the connection.
S130: and determining a set of terminals to be distributed according to the terminal information of the terminals not distributed with the network.
After the target terminal receives terminal information returned by the terminal without the distribution network based on the first distribution network broadcast packet, the target terminal can determine a set of terminals to be distributed according to the terminal information of the terminal without the distribution network. If the target terminal can determine the existing terminals which are not connected with the network according to the received terminal information, and all the determined terminals which are not connected with the network are added into the terminal set to be connected with the network. Or, the target terminal may select a part of the terminals without distribution network from the determined terminals without distribution network to be added to the terminal set to be distributed according to a certain selection rule, for example, according to the terminal type.
S140: and sending first distribution network information to each terminal to be distributed in the terminal set to be distributed so that each terminal to be distributed executes distribution network operation based on the first distribution network information.
After determining the terminal set to be configured, the target terminal may send first distribution network information to each terminal to be configured in the terminal set to be configured, where the first distribution network information may include an SSID, a password, and a user password of the WiFi router. After receiving the first distribution network information, each terminal to be configured can execute corresponding distribution network operation based on the first distribution network information to join in a local area network established by the WiFi router, so as to join in the internet.
By applying the method provided by the embodiment of the application, when a target terminal of a distributed network receives a distribution network instruction, a first distribution network broadcast packet can be sent out, a terminal set to be distributed can be determined according to terminal information returned by a terminal not distributed with the network based on the first distribution network broadcast packet, and the first distribution network information is sent to each terminal to be distributed in the terminal set to be distributed, so that each terminal to be distributed can execute distribution network operation based on the first distribution network information, and can be added into a local area network established by a WiFi router so as to be added into the Internet. The target terminals of the distributed network interact with each network terminal to be distributed in the network terminal set to be distributed, so that a plurality of network terminals to be distributed can be triggered to execute network distribution operation at the same time, a user does not need to manually input network distribution information in the network terminals to be distributed one by one, the network distribution operation process is simplified, and the network distribution efficiency is improved.
In an embodiment of the application, after receiving terminal information returned by a terminal not connected with a network based on a first distribution network broadcast packet and before determining a set of terminals to be distributed according to the terminal information of the terminal not connected with the network, the method may further include the following steps:
the method comprises the following steps: for each terminal which does not have a distribution network and returns terminal information, authenticating the terminal which does not have the distribution network currently according to the terminal information of the terminal which does not have the distribution network currently; if the authentication is not passed, executing the step two;
step two: and discarding the terminal information of the current terminal without the distribution network.
For convenience of description, the above two steps are combined for illustration.
In the embodiment of the application, after receiving the terminal information returned by the non-distribution network terminal based on the first distribution network broadcast packet, the target terminal can authenticate the current non-distribution network terminal according to the terminal information of the current non-distribution network terminal for each non-distribution network terminal returning the terminal information. Specifically, the authentication operation may be performed on the current terminal not in the distribution network based on a black and white list or the like obtained in advance by the terminal, so as to obtain an authentication result, or the terminal information of the current terminal not in the distribution network is reported to the authentication server, the authentication operation is performed on the current terminal not in the distribution network through the authentication server, and the authentication result is returned.
After the target terminal determines that the authentication of the current non-distribution network terminal is not passed, the terminal information of the current non-distribution network terminal can be discarded, and the terminal information of the current non-distribution network terminal is not retained. And if the authentication of the current distribution network terminal is determined to pass, the terminal information of the current distribution network terminal can be reserved.
The target terminal can return the authentication result to the current distribution network-unavailable terminal, and if the authentication result is that the authentication is not passed, the current distribution network-unavailable terminal can return the terminal information of the target terminal to the target terminal again so that the target terminal can authenticate the terminal again.
The current non-distribution network terminal is a non-distribution network terminal aimed by the current operation. The operation is executed for each non-distribution network terminal which returns the terminal information, the terminal information of the non-distribution network terminal which fails in authentication is discarded, effective terminal information can be obtained, and then a to-be-distributed network terminal set can be accurately determined according to the terminal information of the non-distribution network terminal.
In an embodiment of the application, the terminal information may include a random number, each terminal without distribution network may generate a random number after receiving the first distribution network broadcast packet, and the terminal information returned to the target terminal includes a corresponding random number. The random numbers included in the terminal information of different terminals not connected with the network are different. And aiming at each non-distribution network terminal returning the terminal information, after the current non-distribution network terminal is authenticated according to the terminal information of the current non-distribution network terminal, if the authentication is passed, sending verification information to the current non-distribution network terminal, wherein the verification information carries a random number included in the terminal information of the current non-distribution network terminal. That is, under the condition that the authentication of the current terminal without the distribution network is passed, the random number included in the terminal information of the current terminal without the distribution network is returned to the current terminal without the distribution network. The current non-distribution network terminal can compare the random number carried in the received verification information with the random number generated by the non-distribution network terminal, if the random number and the random number are consistent, the target terminal can be determined to be a legal distribution network terminal, confirmation information can be returned to the target terminal, and if the random number and the random number are not consistent, the target terminal can be determined not to be a legal distribution network terminal, cancellation information can be returned to the target terminal, or no information can be returned. And if the target terminal receives confirmation information returned by the current non-distribution network terminal based on the verification information, the terminal information of the current non-distribution network terminal is reserved so that the finally determined to-be-distributed network terminal set comprises the current non-distribution network terminal, otherwise, the terminal information of the current non-distribution network terminal is discarded so that the finally determined to-be-distributed network terminal set does not comprise the current non-distribution network terminal.
The target terminal can be verified in legality by the non-distribution network terminal through the verification information, and the safety of a distribution network is guaranteed.
In an embodiment of the present application, determining a terminal set to be configured according to terminal information of terminals not configured to be configured to a network may include the following steps:
the first step is as follows: reporting the terminal information of the terminals without the distribution network to an instruction initiator;
the second step is that: and determining a terminal set of the network to be distributed according to the selection information of the instruction initiator.
For convenience of description, the above two steps are combined for illustration.
In the embodiment of the application, after the target terminal receives the terminal information returned by the non-distribution network terminal based on the first distribution network broadcast packet, the terminal information of the non-distribution network terminal can be reported to the instruction initiator, such as a user sending a distribution network instruction. The terminal information of the terminals without the distribution network can be output in a list mode and the like.
The instruction initiator can select the terminal of the network to be distributed from the terminals of the non-distribution network according to the actual situation and return corresponding selection information to the target terminal.
The target terminal can determine a terminal set to be networked according to the selection information of the instruction initiator. The terminal set to be configured may include a plurality of terminals to be configured.
The terminal information of the terminals without the network distribution is reported to the instruction initiator, and the instruction initiator selects the terminals to be distributed, so that an accurate terminal set to be distributed can be determined.
In an embodiment of the application, among a plurality of distribution network broadcast packets which are not received by a distribution network terminal and return terminal information, a broadcast signal of a target terminal is strongest.
In practical application, a target terminal of a distributed network sends out a first distribution network broadcast packet, and if a plurality of distributed network terminals including the target terminal exist at present, each distributed network terminal may send out the first distribution network broadcast packet when receiving a distribution network instruction. For each non-distribution network terminal, the non-distribution network terminal may receive a plurality of distribution network broadcast packets, and the non-distribution network terminal may select the distribution network terminal with the strongest broadcast signal to connect according to the strength of the broadcast signal, and return terminal information to the distribution network terminal with the strongest broadcast signal. Therefore, the connection reliability can be improved, and channel congestion caused by the connection of the same terminal without the distribution network by a plurality of terminals with the distribution network can be avoided.
In an embodiment of the application, after the first distribution network information is sent to each terminal to be distributed in the terminal set to be distributed, the method may further include the following steps:
and aiming at each terminal to be distributed in the terminal set to be distributed, if the distribution network completion response information returned by the current terminal to be distributed is not received within the set time length, repeatedly sending first distribution network information to the current terminal to be distributed.
In the embodiment of the application, after the target terminal sends the first distribution network information to each to-be-distributed terminal in the to-be-distributed terminal set, if each to-be-distributed terminal can receive the first distribution network information, the distribution network operation can be executed based on the first distribution network information, and corresponding distribution network completion response information is returned.
For each terminal to be configured in the terminal set to be configured, if the target terminal can receive the response information of completing the distribution network returned by the terminal to be configured currently, the success of the distribution network of the terminal to be configured currently is indicated, and if the response information of completing the distribution network returned by the terminal to be configured currently is not received within a set time, the terminal to be configured currently can be considered not to receive the first distribution network information, or the first distribution network information has a packet loss problem in the transmission process, so that the distribution network of the terminal to be configured currently fails, and under the condition, the first distribution network information can be repeatedly sent to the terminal to be configured currently, so that the success rate of the distribution network is improved. If the continuous sending times reach the set threshold, the prompt information aiming at the situation that the current terminal to be configured cannot be configured is returned to the instruction initiator. To facilitate the instruction initiator to check.
And the current network terminal to be configured is the network terminal to be configured for the current operation. And each terminal to be configured in the terminal set to be configured can execute the operation, so that the success rate of the distribution network is improved.
In the embodiment of the application, the target terminal and the terminal to be networked can interact through the WiFi management frame, WiFi connection does not need to be established, and communication can be more efficient.
In one embodiment of the present application, the method may further comprise the steps of:
the method comprises the following steps: under the condition that the wireless connection of the target terminal is disconnected, if a second distribution network broadcast packet is detected, reporting the terminal information of the target terminal to an initiator of the second distribution network broadcast packet so that the initiator of the second distribution network broadcast packet authenticates the target terminal, and sending the second distribution network information to the target terminal after the authentication is passed;
step two: and executing distribution network operation based on the received second distribution network information.
For convenience of description, the above two steps are combined for illustration.
In the embodiment of the application, the target terminal is a terminal already in a network, that is, a WiFi router is already configured and connected to the target terminal. In practical applications, the SSID or password modification may be performed periodically or aperiodically based on security considerations. And once the distribution network information of the WiFi router changes, the target terminal disconnects from the WiFi router. In this case, the WiFi router will send out the second distribution network broadcast packet.
Under the condition that the wireless connection of the target terminal is disconnected, if the second distribution network broadcast packet is detected, the terminal information of the target terminal can be reported to an initiator of the second distribution network broadcast packet, such as a WiFi router. Therefore, the initiator of the second distribution network broadcast packet can authenticate the target terminal. The authentication process may refer to the authentication process of the above embodiment, and is not described in detail. And after the authentication is passed, sending second distribution network information to the target terminal. The second distribution network information may include an updated SSID or password.
After the target terminal receives the second distribution network information, the distribution network operation can be executed based on the second distribution network information, so that the target terminal can be connected to the network again and be on-line.
In one embodiment of the application, the wireless network channel may be locked in the event that a second distribution network broadcast packet is detected. To improve the reliability and stability of the connection.
Corresponding to the above method embodiment, the present application further provides a terminal distribution network device, which is applied to a target terminal that has been distributed, and the terminal distribution network device described below and the terminal distribution network method described above may be referred to in a corresponding manner.
Referring to fig. 2, the apparatus may include the following modules:
thebroadcast module 210 is configured to send a first distribution network broadcast packet when receiving a distribution network instruction;
theinformation receiving module 220 is configured to receive terminal information returned by a terminal without a distribution network based on the first distribution network broadcast packet;
a network-to-be-distributedterminal determining module 230, configured to determine, according to terminal information of terminals not distributed with a network, a network-to-be-distributed terminal set;
and the distributionnetwork control module 240 is configured to send first distribution network information to each terminal to be distributed in the terminal set to be distributed, so that each terminal to be distributed executes distribution network operation based on the first distribution network information.
By applying the device provided by the embodiment of the application, when a target terminal of a distributed network receives a distribution network instruction, a first distribution network broadcast packet can be sent out, a terminal set to be distributed can be determined according to terminal information returned by a non-distribution network terminal based on the first distribution network broadcast packet, and first distribution network information is sent to each terminal to be distributed in the terminal set to be distributed, so that each terminal to be distributed can execute distribution network operation based on the first distribution network information, and can be added into a local area network established by a WiFi router so as to be added into the Internet. The target terminals of the distributed network interact with each network terminal to be distributed in the network terminal set to be distributed, so that a plurality of network terminals to be distributed can be triggered to execute network distribution operation at the same time, a user does not need to manually input network distribution information in the network terminals to be distributed one by one, the network distribution operation process is simplified, and the network distribution efficiency is improved.
In a specific implementation manner of the present application, the system further includes a terminal authentication module and an information processing module;
the terminal authentication module is used for authenticating the current non-distribution network terminal according to the terminal information of the current non-distribution network terminal aiming at each non-distribution network terminal returning the terminal information after receiving the terminal information returned by the non-distribution network terminal based on the first distribution network broadcast packet and before determining the set of the terminals to be distributed according to the terminal information of the non-distribution network terminal; if the authentication is not passed, triggering an information processing module;
and the information processing module is used for discarding the terminal information of the current terminal without the distribution network.
In a specific embodiment of the present application, the terminal information includes a random number, and further includes a verification module, configured to:
after the authentication is carried out on the current terminal without the distribution network, if the authentication is passed, the verification information is sent to the current terminal without the distribution network, and the verification information carries the random number included in the terminal information of the current terminal without the distribution network;
if the confirmation information returned by the current non-distribution network terminal based on the verification information is received, the terminal information of the current non-distribution network terminal is reserved, and otherwise, the terminal information of the current non-distribution network terminal is discarded.
In a specific embodiment of the present application, the to-be-configuredterminal determining module 230 is configured to:
reporting the terminal information of the terminals without the distribution network to an instruction initiator;
and determining a terminal set of the network to be distributed according to the selection information of the instruction initiator.
In a specific embodiment of the present application, in a plurality of distribution network broadcast packets received by a distribution network terminal that does not return terminal information, a broadcast signal of a target terminal is strongest.
In a specific embodiment of the present application, the system further includes an information repeat transmission control module, configured to:
after first distribution network information is sent to each terminal to be distributed in the terminal set to be distributed, if distribution network completion response information returned by the current terminal to be distributed is not received within a set time length for each terminal to be distributed in the terminal set to be distributed, the first distribution network information is repeatedly sent to the current terminal to be distributed.
In a specific embodiment of the present application, the distributionnetwork control module 240 is further configured to:
under the condition that the wireless connection of the target terminal is disconnected, if a second distribution network broadcast packet is detected, reporting the terminal information of the target terminal to an initiator of the second distribution network broadcast packet so that the initiator of the second distribution network broadcast packet authenticates the target terminal, and sending the second distribution network information to the target terminal after the authentication is passed;
and executing distribution network operation based on the received second distribution network information.
In an embodiment of the present application, the method further includes a channel locking module, configured to:
and locking the wireless network channel under the condition that the second distribution network broadcast packet is detected.
Corresponding to the above method embodiment, an embodiment of the present application further provides a terminal, including:
a memory for storing a computer program;
and the processor is used for realizing the steps of the terminal network distribution method when executing the computer program.
As shown in fig. 3, which is a schematic view of a composition structure of a terminal, the terminal may include: aprocessor 10, amemory 11, acommunication interface 12 and acommunication bus 13. Theprocessor 10, thememory 11 and thecommunication interface 12 all communicate with each other through acommunication bus 13.
In the embodiment of the present application, theprocessor 10 may be a Central Processing Unit (CPU), an application specific integrated circuit, a digital signal processor, a field programmable gate array or other programmable logic device, etc.
Theprocessor 10 may call a program stored in thememory 11, and in particular, theprocessor 10 may perform operations in the embodiment of the terminal distribution network method.
Thememory 11 is used for storing one or more programs, the program may include program codes, the program codes include computer operation instructions, in this embodiment, thememory 11 stores at least the program for implementing the following functions:
when a distribution network instruction is received, a first distribution network broadcast packet is sent out;
receiving terminal information returned by terminals without distribution networks based on the first distribution network broadcast packet;
determining a terminal set of a network to be distributed according to terminal information of terminals not distributed with the network;
and sending first distribution network information to each terminal to be distributed in the terminal set to be distributed so that each terminal to be distributed executes distribution network operation based on the first distribution network information.
In one possible implementation, thememory 11 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as an information exchange function and an information processing function), and the like; the data storage area can store data created in the using process, such as distribution network information data, terminal data to be distributed and the like.
Further, thememory 11 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device or other volatile solid state storage device.
Thecommunication interface 12 may be an interface of a communication module for connecting with other devices or systems.
Of course, it should be noted that the structure shown in fig. 3 does not constitute a limitation of the terminal in the embodiment of the present application, and in practical applications, the terminal may include more or less components than those shown in fig. 3, or some components may be combined.
Corresponding to the above method embodiments, the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the terminal network distribution method are implemented.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The principle and the implementation of the present application are explained in the present application by using specific examples, and the above description of the embodiments is only used to help understanding the technical solution and the core idea of the present application. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.