Abstract:
A ZIGBEE network-based data transmission method used to resolve a problem, that when a ZIGBEE network to which interference is relatively large is used to perform data transmission, a relatively low success rate of data transmission may be caused. The method includes, when detecting that a current working channel is interfered, acquiring, by a first routing node, interference energy intensities of remaining channels, determining that channels whose interference energy intensities are less than a first threshold are available switching channels, and sending a channel report message to an upper-layer routing node, where the channel report message includes all available switching channels, receiving a channel switching message sent by the upper-layer routing node, and switching to a target switching channel indicated by the channel switching message and receiving data using the target switching channel.
Abstract:
The present invention relates to a reset method and a network device. The method includes: receiving, by an SPI Flash, a reset instruction sent by a processor; and performing reset processing corresponding to the reset instruction according to the reset instruction, where the reset instruction includes interrupting a current operation, recording interruption state information when the current operation is interrupted, and setting a current state to a state of responding to a read instruction of the processor; after finishing the reset operation, sending, by the processor, a read instruction to the SPI Flash, and receiving interruption state information sent by the SPI Flash according to the read instruction; and then determining, according to the interruption state information, whether the interrupted operation in the SPI Flash needs to be continued, and if yes, sending an instruction of continuing the interrupted operation to the SPI Flash.
Abstract:
An embodiment method for reading a BIOS includes receiving a reset signal of a processor, and generating a first start address or a second start address according to the reset signal, and reading a BIOS in a storage chip according to the first start address or the second start address. The first start address corresponds to a storage address of a primary BIOS stored in the storage chip, and the second start address corresponds to a storage address of a backup BIOS stored in the storage chip. When reading the BIOS, the processor may generate the first start address or the second start address according to the reset signal, so as to read the primary BIOS or the backup BIOS, which may improve universality of BIOS reading.
Abstract:
A packet transmission method and an apparatus pertain to the field of network technologies. The method includes obtaining, by a terminal device, a source IP (Internet Protocol) address in a to-be-transmitted packet and N IP addresses of the terminal device, where N is an integer, and when the source IP address in the to-be-transmitted packet is different from any one of the N IP addresses of the terminal device, determining that the source IP address in the to-be-transmitted packet is forged, and prohibiting transmitting the to-be-transmitted packet. The application can solve the problem that a virus such as Trojan in the terminal device may be prevented from forging a source IP address of another device to randomly transfer an attack packet in the network to improve network security.
Abstract:
A packet transmission method and an apparatus pertain to the field of network technologies. The method includes obtaining, by a terminal device, a source IP (Internet Protocol) address in a to-be-transmitted packet and N IP addresses of the terminal device, where N is an integer, and when the source IP address in the to-be-transmitted packet is different from any one of the N IP addresses of the terminal device, determining that the source IP address in the to-be-transmitted packet is forged, and prohibiting transmitting the to-be-transmitted packet. The application can solve the problem that a virus such as Trojan in the terminal device may be prevented from forging a source IP address of another device to randomly transfer an attack packet in the network to improve network security.
Abstract:
A ZIGBEE network-based data transmission method used to resolve a problem, that when a ZIGBEE network to which interference is relatively large is used to perform data transmission, a relatively low success rate of data transmission may be caused. The method includes, when detecting that a current working channel is interfered, acquiring, by a first routing node, interference energy intensities of remaining channels, determining that channels whose interference energy intensities are less than a first threshold are available switching channels, and sending a channel report message to an upper-layer routing node, where the channel report message includes all available switching channels, receiving a channel switching message sent by the upper-layer routing node, and switching to a target switching channel indicated by the channel switching message and receiving data using the target switching channel.
Abstract:
A packet transmission method and an apparatus pertain to the field of network technologies. The method includes obtaining, by a terminal device, a source IP (Internet Protocol) address in a to-be-transmitted packet and N IP addresses of the terminal device, where N is an integer, and when the source IP address in the to-be-transmitted packet is different from any one of the N IP addresses of the terminal device, determining that the source IP address in the to-be-transmitted packet is forged, and prohibiting transmitting the to-be-transmitted packet. The application can solve the problem that a virus such as Trojan in the terminal device may be prevented from forging a source IP address of another device to randomly transfer an attack packet in the network to improve network security.