WO2021212906A1 - 网络端口分配方法、装置、电子设备和计算机可用介质 - Google Patents

网络端口分配方法、装置、电子设备和计算机可用介质 Download PDF

Info

Publication number
WO2021212906A1
WO2021212906A1 PCT/CN2020/140644 CN2020140644W WO2021212906A1 WO 2021212906 A1 WO2021212906 A1 WO 2021212906A1 CN 2020140644 W CN2020140644 W CN 2020140644W WO 2021212906 A1 WO2021212906 A1 WO 2021212906A1
Authority
WO
WIPO (PCT)
Prior art keywords
port
type
target
initial
network
Prior art date
Application number
PCT/CN2020/140644
Other languages
English (en)
French (fr)
Inventor
唐杰
朱建垣
徐洪伟
巫锦辉
刘洪钊
吴春凤
Original Assignee
珠海格力电器股份有限公司
珠海联云科技有限公司
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 珠海格力电器股份有限公司, 珠海联云科技有限公司 filed Critical 珠海格力电器股份有限公司
Publication of WO2021212906A1 publication Critical patent/WO2021212906A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Definitions

  • the present disclosure relates to the technical field of network ports, and in particular to network port allocation methods, devices, electronic equipment, and computer usable media.
  • both smart devices and servers are equipped with wireless network ports for data transmission.
  • the network interfaces of smart devices and servers correspond one-to-one.
  • Current smart devices generally only have one type of network port, but with the development of technology, multiple network ports of smart devices have become a major trend. Therefore, how to make the server use different network ports to receive data for different smart devices to avoid Crowded data transmission has also become a technical problem to be solved.
  • the purpose of the embodiments of the present disclosure is to provide a network port allocation method, device, electronic equipment, and computer usable medium, so as to solve the problem of a decrease in the data transmission rate of a network port of the same network port type.
  • the specific technical solutions are as follows:
  • a network port allocation method is provided, the method is applied to a server, and the method includes:
  • the target data and the initial port type allocate a target network port of the target port type to the smart device, and send target port information to the smart device, and the target port information is set to indicate the smart device Continue to send target data through the network port of the target port type.
  • the determining the initial port type that matches the device type includes:
  • the method further includes:
  • the determining the initial port type according to the port type corresponding to the target transmission rate includes:
  • a second port type corresponding to the currently available network type of the smart device is determined, and the second port type is used as the initial port type.
  • the allocating a target network port of a target port type to the smart device according to the target data and the initial port type includes:
  • a network port with a priority higher than the initial port type is used as the target network port;
  • the initial network port is used as the target network port.
  • the method further includes:
  • the basic information further includes manufacturer information of the smart device, and the method further includes:
  • the present disclosure provides a network port allocation method, the method is applied to a smart device, and the method includes:
  • the device type of the device is sent to the server through the terminal, so that the server determines the initial port type that matches the device type, and uses the network port of the initial port type as the initial network port corresponding to the device ;
  • the method further includes:
  • the currently available network type is sent to the server, so that the server determines the initial network port corresponding to the device based on the device type of the device and the currently available network type.
  • the method further includes:
  • the communication module includes a Bluetooth module or a WIFI module
  • the method further includes:
  • the network disconnection information is sent to the terminal through the communication module.
  • the present disclosure provides a network port allocation system, the system includes: smart devices, servers, and terminals;
  • the smart device is configured to establish a communication connection with the terminal through a communication module, and send the device type of the device to the terminal;
  • the terminal is configured to send the device type of the smart device to the server;
  • the server is configured to receive basic information of the smart device, where the basic information includes the device type of the smart device; determine an initial port type that matches the device type, and set the initial port type As the initial network port corresponding to the smart device; sending initial port information to the smart device;
  • the smart device is further configured to send target data to the server according to the network port of the initial port type corresponding to the initial port information;
  • the server is further configured to receive target data sent by the smart device; according to the target data and the initial port type, allocate a target network port of the target port type to the smart device, and send the target port information to The smart device;
  • the smart device is further configured to receive target port information sent by the server, and continue to send target data to the server according to the network port of the target port type corresponding to the target port information.
  • the present disclosure provides a network port allocation device, the device is applied to a server, and the device includes:
  • the first receiving module is configured to receive basic information of the smart device sent by the terminal, where the basic information includes the device type of the smart device;
  • a determining module configured to determine an initial port type matching the device type, and use the network port of the initial port type as the initial network port corresponding to the smart device;
  • the first sending module is configured to send initial port information to the smart device, and the initial port information is set to instruct the smart device to send target data through the network port of the initial port type;
  • a second receiving module configured to receive target data sent by the smart device through the initial network port
  • the allocation module is configured to allocate a target network port of the target port type to the smart device according to the target data and the initial port type, and send target port information to the smart device, and the target port information is set To instruct the smart device to continue sending target data through the network port of the target port type.
  • the present disclosure provides a network port allocation device, the device is applied to a smart device, and the device includes:
  • connection module is set to establish a communication connection with the terminal through the communication module
  • the second sending module is configured to send the device type of the device to the server through the terminal, so that the server determines the initial port type matching the device type, and sends the network port of the initial port type As the initial network port corresponding to this device;
  • the third receiving module is configured to receive the initial port information sent by the server, and send target data to the server according to the network port of the initial port type corresponding to the initial port information, so that the server will Target data and the initial port type, allocating a target network port to the device;
  • the fourth receiving module is configured to receive the target port information sent by the server, and continue to send target data according to the network port of the target port type corresponding to the target port information.
  • the present disclosure provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete mutual communication through the communication bus;
  • the memory is set to store computer programs
  • the processor is configured to implement any of the steps of the method when it is configured to execute the program stored in the memory.
  • the present disclosure provides a computer-readable storage medium with a computer program stored in the computer-readable storage medium, and the computer program implements any of the method steps when executed by a processor.
  • the embodiment of the present disclosure provides a network port allocation method.
  • the present disclosure receives the device type of the smart device sent by the terminal through the server, the server determines the initial port type matching the device type, and uses the network port of the initial port type as the smart device corresponding The initial network port of the smart device, and the initial port information is sent to the smart device.
  • the initial port information is set to instruct the smart device to send target data through the network port of the initial port type.
  • the server receives the target data sent by the smart device through the initial network port, and according to the target data And the initial port type, the smart device is assigned a target network port of the target port type, and the target port information is sent to the smart device.
  • the target port information is set to instruct the smart device to continue to send target data through the network port of the target port type.
  • FIG. 1 is a system diagram of a network port allocation provided by an embodiment of the disclosure
  • FIG. 2 is a flowchart of a method for allocating network ports according to an embodiment of the present disclosure
  • FIG. 3 is a flowchart of a method for allocating target network ports according to an embodiment of the present disclosure
  • FIG. 4 is a flowchart of a method for reallocating network ports according to an embodiment of the present disclosure
  • FIG. 5 is a flowchart of another method for network port allocation according to an embodiment of the present disclosure.
  • FIG. 6 is a flowchart of a method for disconnecting a communication connection with a terminal according to an embodiment of the disclosure
  • FIG. 7 is a schematic diagram of a network port allocation device provided by an embodiment of the disclosure.
  • FIG. 8 is another schematic diagram of a network port allocation device provided by an embodiment of the disclosure.
  • FIG. 9 is a schematic diagram of an electronic device provided by an embodiment of the disclosure.
  • the embodiment of the present disclosure provides a network port distribution method, which can be applied to a network port distribution system.
  • the system includes: a smart device, a server, and a terminal.
  • the smart device establishes a communication connection with the terminal through a communication module.
  • the device type of the device is sent to the server through the terminal.
  • the server receives the device type sent by the terminal, determines the initial port type that matches the device type, and uses the network port of the initial port type as the initial network port corresponding to the smart device; Send the initial port information to the smart device.
  • the smart device sends the target data to the server according to the network port of the initial port type corresponding to the initial port information; the server receives the target data sent by the smart device, and based on the target data and the initial port type, it is the smart device Allocate the target network port of the target port type, and send the target port information to the smart device; the smart device receives the target port information sent by the server, and continues to send the target data to the server according to the network port of the target port type corresponding to the target port information.
  • the embodiments of the present disclosure provide a method for allocating network ports, which can be applied to smart devices or servers, and is set to allocate network ports to smart devices.
  • Step 201 Receive basic information of the smart device sent by the terminal, where the basic information includes the device type of the smart device.
  • the server has multiple network ports, and each network port has a different port type.
  • the server can allocate network ports to different smart devices.
  • the smart device sends the basic information of the smart device to the server through the terminal, and the server receives the basic information of the smart device sent by the terminal.
  • the port type can include NB-IoT (Narrow Band Internet of Things), Bluetooth, 4G, WIFI, 3G and 5G, etc.
  • the basic information can be the MAC (Media Access Control, media access control) encoding of the smart device, and the MAC encoding includes the device type of the smart device.
  • Step 202 Determine the initial port type that matches the device type, and use the network port of the initial port type as the initial network port corresponding to the smart device.
  • the server determines the initial port type of the smart device according to the device type of the smart device and the currently available network type, and uses the network port of the initial port type as the initial network port corresponding to the smart device.
  • determining the initial port type that matches the device type includes: determining the target transmission rate corresponding to the device type of the smart device; and determining the corresponding relationship with the target transmission rate according to the preset correspondence relationship between the transmission rate and the port type The initial port type is determined according to the port type corresponding to the target transmission rate.
  • different smart devices have different transmission rates corresponding to their device types.
  • the server determines the port type corresponding to the target transmission rate of the smart device according to the preset correspondence between the transmission rate and the port type, and The port type corresponding to the target transmission rate determines the initial port type.
  • smart meters and environmental monitors correspond to the low-level required transmission rate, and the corresponding initial port type is NB; humidifiers and smart curtains correspond to the intermediate-level required transmission rate, and the corresponding initial port type is Bluetooth or 4G; smart driving equipment , The transmission rate of medical equipment corresponding to advanced requirements, and the corresponding initial port type is WIFI or 5G.
  • the server determines the initial port type corresponding to the smart device, which specifically includes two methods:
  • Method 1 The server uses the port type corresponding to the target transmission rate of the smart device as the initial port type corresponding to the smart device. If the port type corresponding to the target transmission rate includes two or more types, the server can select any one of the port types corresponding to the target transmission rate as the initial port type; if the port type corresponding to the target transmission rate includes only one type, Then the server uses this port type as the initial port type.
  • the server can choose WIFI or 5G as the initial port type of the smart driving device; if the transmission rate of the medical device is high, the corresponding The port type is only 5G, so the server chooses 5G as the initial port type for medical equipment.
  • Method 2 The server obtains the currently available network type of the smart device, and determines the first port type corresponding to the transmission rate of the smart device according to the preset corresponding relationship between the transmission rate and the port type; The second port type corresponding to the currently available network type of the device, using the second port type as the initial port type.
  • the smart device obtains the currently available network type in the environment, and determines the first port type corresponding to the transmission rate of the smart device according to the preset corresponding relationship between the transmission rate and the port type;
  • the second port type corresponding to the currently available network type of the device, using the second port type as the initial port type.
  • the first port type includes two or more types
  • the second port type may include one type or two or more types. If the second port type includes two or more types, the server arbitrarily selects one of the types as The initial port type.
  • the smart device is a smart driving device
  • the currently available network type when the smart driving device is outdoors is 5G.
  • the intelligent driving device corresponds to the transmission rate required by the advanced requirements, and the corresponding first port type is WIFI or 5G. Since the currently available network type of the intelligent driving device is 5G, the server selects 5G as the initial port of the intelligent driving device among WIFI and 5G. type.
  • the currently available network type of the smart water meter is WIFI or 4G.
  • the first port type corresponding to the smart driving water meter is WIFI, 4G or Bluetooth. Since the currently available network type of the smart driving device is WIFI or 4G, the server selects WIFI or 4G as the initial port type of the smart driving device.
  • Step 203 Send the initial port information to the smart device.
  • the initial port information is set to instruct the smart device to send the target data through the network port of the initial port type.
  • the server After the server determines the initial network port, it sends the initial port information to the smart device.
  • the smart device receives the initial port information sent by the server, and sends the target data to the server according to the network port of the initial port type corresponding to the initial port information.
  • the port type of the network port through which the smart device sends the target data for the first time is the same as the port type of the initial network port of the server, and both are the initial port type.
  • the target data is the picture, temperature, brightness, video, speed and other data sent by the smart device.
  • Step 204 Receive the target data sent by the smart device through the initial network port.
  • the server receives the target data sent by the smart device through the initial network port.
  • Step 205 According to the target data and the initial port type, assign a target network port of the target port type to the smart device, and send the target port information to the smart device.
  • the target port information is set to instruct the smart device to continue sending target data through the network port of the target port type.
  • the server after receiving the target data sent by the smart device, allocates a target network port of the target port type to the smart device according to the target data and the initial port type.
  • the server sends the target port information to the smart device, and the smart device receives the target port information sent by the server, and continues to send the target data according to the network port of the target port type corresponding to the target port information.
  • the server also sends the target port information to the terminal, and the terminal receives the target port information sent by the server, and receives the target data according to the network port of the target port type corresponding to the target port information.
  • allocating the target network port of the target port type to the smart device includes:
  • Step 301 Determine the data volume of the target data.
  • the server receives the target data sent by the smart device, and determines the data volume of the target data.
  • Step 302 Determine whether the data amount of the target data exceeds a preset threshold.
  • the server determines whether the data volume of the target data exceeds the preset threshold, and if the server determines that the data volume of the target data exceeds the preset threshold, step 303 is executed; if the server determines that the data volume of the target data does not exceed the preset threshold Threshold, then go to step 304.
  • Step 303 According to the preset priority sequence of the port types, a network port with a priority higher than the initial port type is used as the target network port.
  • the server uses a network port with a priority higher than the initial port type as the target network port according to the preset priority order of the port types.
  • the server uses a network port whose priority is only one level higher than the initial port type as the target network port.
  • the server can also select the port with the least number of connected smart devices as the target network port among the network ports with higher priority than the initial port type.
  • the priority order of port types from high to low is: WIFI, 5G, Bluetooth, 4G, NB-IoT, 3G
  • the initial network port of the humidifier is Bluetooth or 4G
  • the server determines the target of the humidifier If the amount of data exceeds the preset threshold, the port type with priority higher than Bluetooth and 4G is 5G, and the server selects 5G as the target network port of the humidifier.
  • Step 304 Use the initial network port as the target network port.
  • the server uses the initial network port as the target network port.
  • the initial network port of the humidifier is Bluetooth or 4G. If the server determines that the amount of target data of the humidifier does not exceed the preset threshold, the server selects Bluetooth or 4G as the target network port of the humidifier.
  • Step 401 If the number of devices connected to the target network port exceeds the preset threshold, the network ports are re-determined among the network ports whose priority is lower than the target port type according to the preset priority order of the port types.
  • the server after the server allocates the target network port of the target port type to the smart device, if the server confirms that the number of devices connected to the target network port exceeds the preset threshold, it means that the device of the target network port may experience data transmission If the rate drops, the server will re-determine the network ports among the network ports whose priority is lower than the target port type according to the preset priority order of the port types.
  • the server uses a network port whose priority is one level lower than the target port type as the re-determined network port.
  • the server can also choose the port with the least number of connected smart devices as the target network port among the network ports whose priority is lower than the initial port type.
  • the initial network port of the humidifier is Bluetooth or 4G. If the server confirms that the number of devices connected to Bluetooth or 4G exceeds the preset threshold, the server will take the priority lower than Bluetooth and 4G NB-IoT as a re-determined network port.
  • Step 402 Send network port change information to the smart device, where the network port change information is set to instruct the smart device to continue sending target data according to the re-determined network port.
  • the server after the server re-determines the network port, it sends the network port change information to the smart device, and the smart device receives the network port change information sent by the server, and continues to send according to the re-determined network port corresponding to the network port change information Target data.
  • the server also sends network port change information to the terminal, and the terminal receives the network port change information sent by the server, and receives target data according to the re-determined network port corresponding to the network port change information.
  • the server After the server re-determines the humidifier's network port as NB-IoT, it sends network port change information to the humidifier.
  • the humidifier also uses the NB-IoT port to continue sending target data; the server also sends network port change information to the terminal, The terminal also uses the NB-IoT port to receive target data.
  • the basic information further includes manufacturer information of the smart device
  • the method further includes: determining a client corresponding to the manufacturer information; and sending the received target data to the client of the terminal.
  • the MAC code also includes manufacturer information.
  • the server determines the client corresponding to the manufacturer information according to the received manufacturer information, and sends the received target data to the client of the terminal, so that the user can The client corresponding to the manufacturer information views the received target data.
  • Step 501 Establish a communication connection with the terminal through the communication module.
  • the smart device before the smart device sends basic information to the server through the terminal, the smart device establishes a communication connection with the terminal through a communication module.
  • the communication module may be a WIFI module or a Bluetooth module.
  • Step 502 Send the device type of the device to the server through the terminal, so that the server determines the initial port type matching the device type, and uses the network port of the initial port type as the initial network port corresponding to the device.
  • Step 503 Receive the initial port information sent by the server, and send target data to the server according to the network port of the initial port type corresponding to the initial port information, so that the server allocates the target network port to the device according to the target data and the initial port type.
  • Step 504 Receive the target port information sent by the server, and continue to send target data according to the network port of the target port type corresponding to the target port information.
  • the server allocates the target network port to the smart device, and the specific process of allocating the target network port has been described in detail above, and will not be repeated this time.
  • the method further includes the following steps: obtaining the currently available network type; sending the currently available network type to the server so that the server can determine the initial network port corresponding to the device based on the device type of the device and the currently available network type .
  • the smart device obtains the currently available network type, and sends the currently available network type to the server, so that the server determines the initial network port corresponding to the device based on the device type of the device and the currently available network type.
  • the specific process of determining the initial network port has been described in detail above, and will not be repeated this time.
  • the method further includes the following steps:
  • Step 601 Establish a network connection with the server through the target network port.
  • the smart device determines the network port of the target port type corresponding to the target port information, it establishes a network connection with the server through the target network port.
  • Step 602 If it is detected that the network connection is in a stable state, control the communication module that establishes a communication connection with the terminal to enter the dormant state.
  • the communication module includes a Bluetooth module or a WIFI module.
  • the smart device if it detects that the network connection is in a stable state, it controls the communication module that establishes a communication connection with the terminal to enter the dormant state to reduce the power consumption of the smart device and the terminal.
  • the communication module includes a Bluetooth module or WIFI Module.
  • Step 603 When the dormant state reaches the preset duration, disconnect the communication connection with the terminal.
  • the dormant state of the communication module when the dormant state of the communication module reaches the preset duration, it means that the network connection between the target network port and the server is stable, and the smart device disconnects the communication connection with the terminal.
  • the method further includes: if it is detected that the network connection is disconnected, sending network disconnection information to the terminal through the communication module.
  • the smart device after the smart device establishes a network connection with the server, and the smart device has not disconnected the communication connection with the terminal, if the smart device detects that the network connection is disconnected, it sends the disconnection information to the Terminal, so that users know the disconnection information.
  • the embodiments of the present disclosure also provide a network port allocation device applied to a server. As shown in FIG. 7, the device includes:
  • the first receiving module 701 is configured to receive basic information of the smart device sent by the terminal, where the basic information includes the device type of the smart device;
  • the first determining module 702 is configured to determine an initial port type matching the device type, and use the network port of the initial port type as the initial network port corresponding to the smart device;
  • the first sending module 703 is set to send initial port information to the smart device, and the initial port information is set to instruct the smart device to send target data through a network port of the initial port type;
  • the second receiving module 704 is configured to receive the target data sent by the smart device through the initial network port;
  • the allocation module 705 is set to allocate the target network port of the target port type to the smart device according to the target data and the initial port type, and send the target port information to the smart device, and the target port information is set to instruct the smart device to pass the target port type The network port continues to send target data.
  • the determining module 702 is specifically configured to:
  • the port type corresponding to the target transmission rate is determined, and the initial port type is determined according to the port type corresponding to the target transmission rate.
  • the device further includes:
  • the first obtaining module is set to obtain the currently available network type of the smart device
  • the first determining module 702 is specifically set to:
  • the second port type corresponding to the currently available network type of the smart device is determined, and the second port type is used as the initial port type.
  • the allocation module 705 is specifically configured to:
  • the network port with the priority higher than the initial port type is used as the target network port;
  • the initial network port is used as the target network port.
  • the device further includes:
  • the basic information further includes manufacturer information of the smart device, and the method further includes:
  • the second determining module is set to determine the client corresponding to the manufacturer information
  • the second sending module is configured to send the received target data to the client terminal of the terminal.
  • the present disclosure also provides a network port allocation device. As shown in FIG. 8, the method is applied to a smart device, and the device includes:
  • the first connection module 801 is configured to establish a communication connection with the terminal through the communication module;
  • the third sending module 802 is configured to send the device type of the device to the server through the terminal, so that the server determines the initial port type that matches the device type, and uses the network port of the initial port type as the initial network corresponding to the device port;
  • the third receiving module 803 is configured to receive the initial port information sent by the server, and send the target data to the server according to the network port of the initial port type corresponding to the initial port information, so that the server is based on the target data and the initial port type.
  • the equipment allocates the target network port;
  • the fourth receiving module 804 is configured to receive the target port information sent by the server, and continue to send the target data according to the network port of the target port type corresponding to the target port information.
  • the device further includes:
  • the second obtaining module is set to obtain the currently available network type
  • the fourth sending module is configured to send the currently available network type to the server, so that the server determines the initial network port corresponding to the device based on the device type of the device and the currently available network type.
  • the device further includes:
  • the second connection module is set to establish a network connection with the server through the target network port
  • the control module is set to control the communication module that establishes the communication connection with the terminal to enter the dormant state if it detects that the network connection is in a stable state, wherein the communication module includes a Bluetooth module or a WIFI module;
  • the disconnect module is set to disconnect the communication connection with the terminal when the dormant state reaches a preset duration.
  • the device further includes:
  • the fifth sending module is configured to send network disconnection information to the terminal through the communication module if it is detected that the network connection is disconnected.
  • the embodiment of the present disclosure provides a network port allocation method.
  • the present disclosure receives the device type of the smart device sent by the terminal through the server; the server determines the initial port type that matches the device type, and uses the network port of the initial port type as the smart device corresponding The initial network port; and send the initial port information to the smart device, and receive the target data sent by the smart device through the initial network port.
  • the present disclosure can reduce the number of smart devices in the same network port, improve the stability of the network, and speed up data transmission rate.
  • an embodiment of the present disclosure also provides an electronic device, as shown in FIG. 9, including a processor 901, a communication interface 902, a memory 903, and a communication bus 904.
  • the memories 903 communicate with each other through the communication bus 904,
  • the memory 903 is set to store computer programs
  • the processor 901 is configured to execute the program stored in the memory 903 to implement the above steps.
  • the communication bus mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the communication bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
  • the communication interface is set for communication between the above-mentioned electronic device and other devices.
  • the memory may include random access memory (Random Access Memory, RAM), and may also include non-volatile memory (Non-Volatile Memory, NVM), such as at least one disk storage.
  • RAM Random Access Memory
  • NVM non-Volatile Memory
  • the memory may also be at least one storage device located far away from the aforementioned processor.
  • the above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (Network Processor, NP), etc.; it can also be a digital signal processor (Digital Signal Processing, DSP), a dedicated integrated Circuit (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • CPU central processing unit
  • NP Network Processor
  • DSP Digital Signal Processing
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • FPGA Field-Programmable Gate Array
  • a computer-readable storage medium stores a computer program, which when executed by a processor, implements the steps of any of the above methods. .
  • a computer program product containing instructions is also provided, which when running on a computer, causes the computer to execute any method in the above-mentioned embodiments.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

本公开提供了一种网络端口分配方法,属于网络端口技术领域。方法包括:接收终端发送的智能设备的基本信息;确定与所述设备类型相匹配的初始端口类型,将所述初始端口类型的网络端口作为所述智能设备对应的初始网络端口;发送初始端口信息至所述智能设备;通过所述初始网络端口接收所述智能设备发送的目标数据;根据所述目标数据和所述初始端口类型,为所述智能设备分配目标端口类型的目标网络端口,并发送目标端口信息至所述智能设备,所述目标端口信息被设置为指示所述智能设备通过所述目标端口类型的网络端口继续发送目标数据。本公开可以减少同一网路端口内的智能设备的数量,提高网络的稳定性,加快数据传输速率。

Description

网络端口分配方法、装置、电子设备和计算机可用介质
本公开要求于2020年04月21日提交中国专利局、申请号为202010317847.8、发明名称为“网络端口分配方法、装置、电子设备和计算机可用介质”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。
技术领域
本公开涉及网络端口技术领域,尤其涉及网络端口分配方法、装置、电子设备和计算机可用介质。
背景技术
目前智能设备和服务器均设有无线网络端口,用来传输数据,智能设备和服务器的网络接口是一一对应的。目前的智能设备一般只具有一种网络端口,但随着科技的发展,智能设备的多网络端口已成为大趋势,因此,如何使服务器针对不同的智能设备采用不同的网络端口来接收数据,避免数据传输拥挤,也成为一个要解决的技术问题。
发明内容
本公开实施例的目的在于提供网络端口分配方法、装置、电子设备和计算机可用介质,以解决同一网络端口类型的网络端口的数据传输速率下降的问题。具体技术方案如下:
第一方面,提供了一种网络端口分配方法,所述方法应用于服务器,所述方法包括:
接收终端发送的智能设备的基本信息,其中,所述基本信息包括所述智能设备的设备类型;
确定与所述设备类型相匹配的初始端口类型,将所述初始端口类 型的网络端口作为所述智能设备对应的初始网络端口;
发送初始端口信息至所述智能设备,所述初始端口信息被设置为指示所述智能设备通过所述初始端口类型的网络端口发送目标数据;
通过所述初始网络端口接收所述智能设备发送的目标数据;
根据所述目标数据和所述初始端口类型,为所述智能设备分配目标端口类型的目标网络端口,并发送目标端口信息至所述智能设备,所述目标端口信息被设置为指示所述智能设备通过所述目标端口类型的网络端口继续发送目标数据。
在一些实施方式中,所述确定与所述设备类型相匹配的初始端口类型包括:
确定与所述智能设备的设备类型对应的目标传输速率;
根据预设的传输速率与端口类型的对应关系,确定与所述目标传输速率对应的端口类型,根据所述目标传输速率对应的端口类型确定初始端口类型。
在一些实施方式中,所述方法还包括:
获取所述智能设备的当前可用网络类型;
所述根据所述目标传输速率对应的端口类型确定初始端口类型包括:
根据预设的传输速率与端口类型的对应关系,确定与所述智能设备的传输速率对应的第一端口类型;
在所述第一端口类型中,确定与所述智能设备的当前可用网络类型对应的第二端口类型,将所述第二端口类型作为所述初始端口类型。
在一些实施方式中,所述根据所述目标数据和所述初始端口类型,为所述智能设备分配目标端口类型的目标网络端口包括:
确定所述目标数据的数据量;
判断所述目标数据的数据量是否超过预设阈值;
若所述目标数据的数据量超过预设阈值,则根据预设的端口类型的优先级排列顺序,将优先级高于所述初始端口类型的网络端口作为目标网络端口;
若所述目标数据的数据量未过预设阈值,则将所述初始网络端口作为目标网络端口。
在一些实施方式中,所述根据所述目标数据和所述初始端口类型,为所述智能设备分配目标端口类型的目标网络端口之后,所述方法还包括:
若接入所述目标网络端口的设备的数量超过预设阈值,则根据预设的端口类型的优先级排列顺序,在优先级低于所述目标端口类型的网络端口中,重新确定网络端口;
发送网络端口变更信息至所述智能设备,其中,所述网络端口变更信息被设置为指示所述智能设备根据重新确定的网络端口继续发送目标数据。
在一些实施方式中,所述基本信息还包括所述智能设备的厂商信息,所述方法还包括:
确定与所述厂商信息对应的客户端;
将接收到的所述目标数据发送至所述终端的所述客户端。
第二方面,本公开提供了一种网络端口分配方法,所述方法应用于智能设备,所述方法包括:
通过通信模块与终端建立通讯连接;
通过所述终端将本设备的设备类型发送至服务器,以使所述服务 器确定与所述设备类型相匹配的初始端口类型,并将所述初始端口类型的网络端口作为本设备对应的初始网络端口;
接收所述服务器发送的初始端口信息,并根据与所述初始端口信息对应的初始端口类型的网络端口发送目标数据至所述服务器,以使所述服务器根据所述目标数据和所述初始端口类型,为本设备分配目标网络端口;
接收所述服务器发送的目标端口信息,并根据与所述目标端口信息对应的目标端口类型的网络端口继续发送目标数据。
在一些实施方式中,所述方法还包括:
获取当前可用网络类型;
将所述当前可用网络类型发送至服务器,以使所述服务器基于所述本设备的设备类型和所述当前可用网络类型确定本设备对应的初始网络端口。
在一些实施方式中,所述根据与所述目标端口信息对应的目标端口类型的网络端口继续发送目标数据之后,所述方法还包括:
通过所述目标网络端口与所述服务器建立网络连接;
若检测到所述网络连接处于稳定状态,则控制与所述终端建立通讯连接的所述通信模块进入休眠状态,其中,所述通信模块包括蓝牙模块或WIFI模块;
在所述休眠状态达到预设时长时,断开与所述终端之间的通信连接。
在一些实施方式中,所述通过所述目标网络端口与所述服务器建立网络连接之后,所述方法还包括:
若检测到所述网络连接断开,则通过所述通信模块发送断网信息 至所述终端。
第三方面,本公开提供了一种网络端口分配系统,所述系统包括:智能设备、服务器、终端;
所述智能设备,被设置为通过通信模块与所述终端建立通讯连接,并将本设备的设备类型发送至所述终端;
所述终端,被设置为将所述智能设备的设备类型发送至服务器;
所述服务器,被设置为接收所述智能设备的基本信息,其中,所述基本信息包括所述智能设备的设备类型;确定与所述设备类型相匹配的初始端口类型,将所述初始端口类型的网络端口作为所述智能设备对应的初始网络端口;发送初始端口信息至所述智能设备;
所述智能设备,还被设置为根据与所述初始端口信息对应的初始端口类型的网络端口发送目标数据至所述服务器;
所述服务器,还被设置为接收所述智能设备发送的目标数据;根据所述目标数据和所述初始端口类型,为所述智能设备分配目标端口类型的目标网络端口,并发送目标端口信息至所述智能设备;
所述智能设备,还被设置为接收所述服务器发送的目标端口信息,根据与所述目标端口信息对应的目标端口类型的网络端口继续发送目标数据至所述服务器。
第四方面,本公开提供了一种网络端口分配装置,所述装置应用于服务器,所述装置包括:
第一接收模块,被设置为接收终端发送的智能设备的基本信息,其中,所述基本信息包括所述智能设备的设备类型;
确定模块,被设置为确定与所述设备类型相匹配的初始端口类型,将所述初始端口类型的网络端口作为所述智能设备对应的初始网络端 口;
第一发送模块,被设置为发送初始端口信息至所述智能设备,所述初始端口信息被设置为指示所述智能设备通过所述初始端口类型的网络端口发送目标数据;
第二接收模块,被设置为通过所述初始网络端口接收所述智能设备发送的目标数据;
分配模块,被设置为根据所述目标数据和所述初始端口类型,为所述智能设备分配目标端口类型的目标网络端口,并发送目标端口信息至所述智能设备,所述目标端口信息被设置为指示所述智能设备通过所述目标端口类型的网络端口继续发送目标数据。
第五方面,本公开提供了一种网络端口分配装置,所述装置应用于智能设备,所述装置包括:
连接模块,被设置为通过通信模块与终端建立通讯连接;
第二发送模块,被设置为通过所述终端将本设备的设备类型发送至服务器,以使所述服务器确定与所述设备类型相匹配的初始端口类型,并将所述初始端口类型的网络端口作为本设备对应的初始网络端口;
第三接收模块,被设置为接收所述服务器发送的初始端口信息,并根据与所述初始端口信息对应的初始端口类型的网络端口发送目标数据至所述服务器,以使所述服务器根据所述目标数据和所述初始端口类型,为本设备分配目标网络端口;
第四接收模块,被设置为接收所述服务器发送的目标端口信息,并根据与所述目标端口信息对应的目标端口类型的网络端口继续发送目标数据。
第六方面,本公开提供了一种电子设备,包括处理器、通信接口、 存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;
存储器,被设置为存放计算机程序;
处理器,被设置为执行存储器上所存放的程序时,实现任一所述的方法步骤。
第七方面,本公开提供了一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现任一所述的方法步骤。
本公开实施例有益效果:
本公开实施例提供了一种网络端口分配方法,本公开通过服务器接收终端发送的智能设备的设备类型,服务器确定与设备类型相匹配的初始端口类型,将初始端口类型的网络端口作为智能设备对应的初始网络端口,并发送初始端口信息至智能设备,初始端口信息被设置为指示智能设备通过初始端口类型的网络端口发送目标数据,服务器通过初始网络端口接收智能设备发送的目标数据,根据目标数据和初始端口类型,为智能设备分配目标端口类型的目标网络端口,并发送目标端口信息至智能设备,目标端口信息被设置为指示智能设备通过目标端口类型的网络端口继续发送目标数据。本公开通过为智能设备分配目标网络端口,使不同的智能设备采用与其设备类型和目标数据相匹配的端口,可以减少同一网络端口内的智能设备的数量,加快数据传输速率。
当然,实施本公开的任一产品或方法并不一定需要同时达到以上的所有优点。
附图说明
为了更清楚地说明本公开实施例或相关技术中的技术方案,下面将对实施例或相关技术描述中所需要使用的附图作简单地介绍,显而 易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本公开实施例提供的一种网络端口分配的系统图;
图2为本公开实施例提供的一种网络端口分配方法的流程图;
图3为本公开实施例提供的分配目标网络端口的方法流程图;
图4为本公开实施例提供的重新分配网络端口的方法流程图;
图5为本公开实施例提供的一种网络端口分配的另一方法流程图;
图6为本公开实施例提供的断开与终端的通讯连接的方法流程图;
图7为本公开实施例提供的一种网络端口分配装置的示意图;
图8为本公开实施例提供的一种网络端口分配装置的另一示意图;
图9为本公开实施例提供的一种电子设备示意图;
具体实施方式
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
本公开实施例提供了一种网络端口分配方法,可以应用于一种网络端口分配系统,如图1所示,系统包括:智能设备、服务器、终端,智能设备通过通信模块与终端建立通讯连接,并通过终端将本设备的设备类型发送至服务器,服务器接收终端发送的设备类型,确定与设备类型相匹配的初始端口类型,并将初始端口类型的网络端口作为智能设备对应的初始网络端口;服务器发送初始端口信息至智能设备,智能设备根据与初始端口信息对应的初始端口类型的网络端口发送目标数据至服务器;服务器接收智能设备发送的目标数据,并根据目标数据和初始端口类型,为智能设备分配目标端口类型的目标网络端口,并发送目标端口信息至智能设备;智能设备接收服务器发送的目标端 口信息,根据与目标端口信息对应的目标端口类型的网络端口继续发送目标数据至服务器。
本公开实施例提供了一种网络端口分配方法,可以应用于为智能设备,也可以应用于服务器,被设置为为智能设备分配网络端口。
下面将结合具体实施方式,以服务器为例,对本公开实施例提供的一种网络端口分配方法进行详细的说明,如图2所示,具体步骤如下:
步骤201:接收终端发送的智能设备的基本信息,其中,基本信息包括智能设备的设备类型。
在本公开实施例中,服务器具有多个网络端口,每个网络端口的端口类型不同,服务器可以分别为不同的智能设备分配网络端口。智能设备通过终端发送智能设备的基本信息至服务器,服务器接收终端发送的智能设备的基本信息,
其中,端口类型可以包括NB-IoT(Narrow Band Internet of Things,窄宽物联网)、蓝牙、4G、WIFI、3G和5G等。基本信息可以为智能设备的MAC(Media Access Control,媒体存取控制)编码,MAC编码包括智能设备的设备类型。
步骤202:确定与设备类型相匹配的初始端口类型,将初始端口类型的网络端口作为智能设备对应的初始网络端口。
在本公开实施例中,服务器根据智能设备的设备类型和当前可用网络类型,确定智能设备的初始端口类型,将初始端口类型的网络端口作为智能设备对应的初始网络端口。
在一些实施方式中,确定与设备类型相匹配的初始端口类型包括:确定与智能设备的设备类型对应的目标传输速率;根据预设的传输速率与端口类型的对应关系,确定与目标传输速率对应的端口类型,根据目标传输速率对应的端口类型确定初始端口类型。
在本公开实施例中,不同智能设备根据其设备类型对应有不同的传输速率,服务器根据预设的传输速率与端口类型的对应关系,确定与智能设备的目标传输速率对应的端口类型,并根据目标传输速率对应的端口类型确定初始端口类型。
举例来说,智能电表,环境监测仪对应低级要求的传输速率,对应的初始端口类型为NB;加湿器、智能窗帘对应中级要求的传输速率,对应的初始端口类型为蓝牙或4G;智能驾驶设备,医疗设备对应高级要求的传输速率,对应的初始端口类型为WIFI或5G。
服务器确定与智能设备对应的初始端口类型,具体包括两种方式:
方式一:服务器将与智能设备的目标传输速率对应的端口类型,作为智能设备对应的初始端口类型。若目标传输速率对应的端口类型包括两种以上类型,那么服务器可以从目标传输速率对应的端口类型中选择任意一种类型作为初始端口类型;若目标传输速率对应的端口类型只包括一种类型,那么服务器将该端口类型作为初始端口类型。
举例来说,智能驾驶设备的传输速率要求高,对应的端口类型为WIFI或5G,那么服务器可以选择WIFI或选择5G作为智能驾驶设备的初始端口类型;如果医疗设备的传输速率要求高,对应的端口类型只有5G,那么服务器选择5G作为医疗设备的初始端口类型。
方式二:服务器获取智能设备的当前可用网络类型,根据预设的传输速率与端口类型的对应关系,确定与智能设备的传输速率对应的第一端口类型;在第一端口类型中,确定与智能设备的当前可用网络类型对应的第二端口类型,将第二端口类型作为初始端口类型。
智能设备获取所处环境中的当前可用网络类型,根据预设的传输速率与端口类型的对应关系,确定与智能设备的传输速率对应的第一端口类型;在第一端口类型中,确定与智能设备的当前可用网络类型对应的第二端口类型,将第二端口类型作为初始端口类型。其中,第 一端口类型包括两种以上类型,第二端口类型可以包括一种类型,也可以包括两种以上类型,若第二端口类型包括两种以上类型,那么服务器任意选取其中一种类型作为初始端口类型。
举例来说,智能设备为智能驾驶设备,智能驾驶设备在室外时的当前可用网络类型为5G。智能驾驶设备对应高级要求的传输速率,对应的第一端口类型为WIFI或5G,由于智能驾驶设备的当前可用网络类型为5G,那么将服务器在WIFI和5G中选取5G作为智能驾驶设备的初始端口类型。
智能水表的当前可用网络类型为WIFI或4G。智能驾驶水表对应的第一端口类型为WIFI、4G或蓝牙,由于智能驾驶设备的当前可用网络类型为WIFI或4G,那么将服务器选取WIFI或4G作为智能驾驶设备的初始端口类型。
步骤203:发送初始端口信息至智能设备。
在本公开实施例中,初始端口信息被设置为指示智能设备通过初始端口类型的网络端口发送目标数据。
服务器确定初始网络端口后,发送初始端口信息至智能设备,智能设备接收服务器发送的初始端口信息,并根据与初始端口信息对应的初始端口类型的网络端口发送目标数据至服务器。其中,智能设备首次发送目标数据的网络端口的端口类型与服务器的初始网络端口的端口类型相同,均为初始端口类型。目标数据为智能设备发送的图片、温度、亮度、视频、速度等数据。
步骤204:通过初始网络端口接收智能设备发送的目标数据。
在本公开实施例中,服务器通过初始网络端口接收智能设备发送的目标数据。
步骤205:根据目标数据和初始端口类型,为智能设备分配目标端 口类型的目标网络端口,并发送目标端口信息至智能设备。
目标端口信息被设置为指示智能设备通过目标端口类型的网络端口继续发送目标数据。
在本公开实施例中,服务器接收智能设备发送的目标数据后,根据目标数据和初始端口类型,为智能设备分配目标端口类型的目标网络端口。服务器发送目标端口信息至智能设备,智能设备接收服务器发送的目标端口信息,并根据与目标端口信息对应的目标端口类型的网络端口继续发送目标数据。
服务器还发送目标端口信息至终端,终端接收服务器发送的目标端口信息,并根据与目标端口信息对应的目标端口类型的网络端口接收目标数据。
在一些实施方式中,如图3所示,根据目标数据和初始端口类型,为智能设备分配目标端口类型的目标网络端口包括:
步骤301:确定目标数据的数据量。
在本公开实施例中,服务器接收智能设备发送的目标数据,并确定目标数据的数据量。
步骤302:判断目标数据的数据量是否超过预设阈值。
在本公开实施例中,服务器判断目标数据的数据量是否超过预设阈值,若服务器判定目标数据的数据量超过预设阈值,则执行步骤303;若服务器判定目标数据的数据量未超过预设阈值,则执行步骤304。
步骤303:根据预设的端口类型的优先级排列顺序,将优先级高于初始端口类型的网络端口作为目标网络端口。
在本公开实施例中,若服务器判定目标数据的数据量超过预设阈值,则服务器根据预设的端口类型的优先级排列顺序,将优先级高于 初始端口类型的网络端口作为目标网络端口。在本公开实施例中,服务器将优先级只高于初始端口类型一个级别的网络端口作为目标网络端口。服务器也可以在优先级高于初始端口类型的网络端口中,选择接入的智能设备数量最少的一个端口作为目标网络端口。
举例来说,端口类型的优先级由高到低的排列顺序为:WIFI、5G、蓝牙、4G、NB—IoT、3G,加湿器的初始网络端口为蓝牙或4G,若服务器判定加湿器的目标数据的数据量超过预设阈值,那么优先级高于蓝牙和4G的端口类型为5G,服务器选择5G作为加湿器的目标网络端口。
步骤304:将初始网络端口作为目标网络端口。
在本公开实施例中,若服务器判定目标数据的数据量未超过预设阈值,服务器将初始网络端口作为目标网络端口。
举例来说,加湿器的初始网络端口为蓝牙或4G,若服务器判定加湿器的目标数据的数据量未超过预设阈值,那么服务器选择蓝牙或4G作为加湿器的目标网络端口。
在一些实施方式中,如图4所示,根据目标数据和初始端口类型,为智能设备分配目标端口类型的目标网络端口之后,还包括如下步骤:
步骤401:若接入目标网络端口的设备的数量超过预设阈值,则根据预设的端口类型的优先级排列顺序,在优先级低于目标端口类型的网络端口中,重新确定网络端口。
在本公开实施例中,服务器为智能设备分配目标端口类型的目标网络端口之后,如果服务器确认接入目标网络端口的设备的数量超过预设阈值,表示该目标网络端口的设备可能会出现数据传输速率下降的可能,那么服务器根据预设的端口类型的优先级排列顺序,在优先级低于目标端口类型的网络端口中,重新确定网络端口。
在本公开实施例中,服务器将优先级低于目标端口类型一个级别的网络端口,作为重新确定的网络端口。服务器也可以在优先级低于初始端口类型的网络端口中,选择接入的智能设备数量最少的一个端口作为目标网络端口
举例来说,加湿器的初始网络端口为蓝牙或4G,如果服务器确认接入蓝牙或4G的设备的数量超过预设阈值,那么服务器将优先级低于蓝牙和4G的NB—IoT作为重新确定的网络端口。
步骤402:发送网络端口变更信息至智能设备,其中,网络端口变更信息被设置为指示智能设备根据重新确定的网络端口继续发送目标数据。
在本公开实施例中,服务器重新确定网络端口后,发送网络端口变更信息至智能设备,智能设备接收服务器发送的网络端口变更信息,并根据与网络端口变更信息对应的重新确定的网络端口继续发送目标数据。
服务器还发送网络端口变更信息至终端,终端接收服务器发送的网络端口变更信息,并根据与网络端口变更信息对应的重新确定的网络端口接收目标数据。
举例来说,服务器重新确定加湿器的网络端口为NB—IoT后,发送网络端口变更信息至加湿器,加湿器也采用NB—IoT端口继续发送目标数据;服务器还发送网络端口变更信息至终端,终端也采用NB—IoT端口接收目标数据。
在一些实施方式中,基本信息还包括智能设备的厂商信息,方法还包括:确定与厂商信息对应的客户端;将接收到的目标数据发送至终端的客户端。
在本公开实施例中,MAC编码还包括厂商信息,服务器根据接收 到的厂商信息,确定与厂商信息对应的客户端,并将接收到的目标数据发送至终端的客户端,以使用户根据与厂商信息对应的客户端查看接收到的目标数据。
下面将结合具体实施方式,以智能设备为例,如图5所示,对本公开实施例提供的一种网络端口分配方法进行详细的说明,具体步骤如下:
步骤501:通过通信模块与终端建立通讯连接。
在本公开实施例中,智能设备通过终端向服务器发送基本信息之前,智能设备通过通信模块与终端建立通讯连接,具体的,通信模块可以为WIFI模块或蓝牙模块。
步骤502:通过终端将本设备的设备类型发送至服务器,以使服务器确定与设备类型相匹配的初始端口类型,并将初始端口类型的网络端口作为本设备对应的初始网络端口。
步骤503:接收服务器发送的初始端口信息,并根据与初始端口信息对应的初始端口类型的网络端口发送目标数据至服务器,以使服务器根据目标数据和初始端口类型,为本设备分配目标网络端口。
步骤504:接收服务器发送的目标端口信息,并根据与目标端口信息对应的目标端口类型的网络端口继续发送目标数据。
在本公开实施例中,服务器为智能设备分配目标网络端口,具体分配目标网络端口的过程已经进行在上文详细描述,此次不再赘述。
在一些实施方式中,该方法还包括如下步骤:获取当前可用网络类型;将当前可用网络类型发送至服务器,以使服务器基于本设备的设备类型和当前可用网络类型确定本设备对应的初始网络端口。
在本公开实施例中,智能设备获取当前可用网络类型,将当前可用网络类型发送至服务器,以使服务器基于本设备的设备类型和当前 可用网络类型确定本设备对应的初始网络端口。具体确定初始网络端口的过程已经进行在上文详细描述,此次不再赘述。
在一些实施方式中,如图6所示,接收服务器发送的目标端口信息,并根据与目标端口信息对应的目标端口类型的网络端口继续发送目标数据之后,方法还包括如下步骤:
步骤601:通过目标网络端口与服务器建立网络连接。
在本公开实施例中,智能设备确定目标端口信息对应的目标端口类型的网络端口后,通过目标网络端口与服务器建立网络连接。
步骤602:若检测到网络连接处于稳定状态,则控制与终端建立通讯连接的通信模块进入休眠状态。
其中,通信模块包括蓝牙模块或WIFI模块。
在本公开实施例中,智能设备若检测到网络连接处于稳定状态,则控制与终端建立通讯连接的通信模块进入休眠状态,减少智能设备和终端的电量消耗,其中,通信模块包括蓝牙模块或WIFI模块。
步骤603:在休眠状态达到预设时长时,断开与终端之间的通信连接。
在本公开实施例中,在通信模块的休眠状态达到预设时长时,表示目标网络端口与服务器之间的网络连接稳定,则智能设备断开与终端之间的通信连接。
在一些实施方式中,通过目标网络端口与服务器建立网络连接之后,还包括:若检测到网络连接断开,则通过通信模块发送断网信息至终端。
在本公开实施例中,智能设备与服务器建立网络连接后,智能设备还未断开与终端之间的通信连接时,若智能设备检测到网络连接断 开,则通过通信模块发送断网信息至终端,以使用户得知断网信息。
基于相同的技术构思,本公开实施例还提供了一种网络端口分配装置,应用于服务器,如图7所示,该装置包括:
第一接收模块701,被设置为接收终端发送的智能设备的基本信息,其中,基本信息包括智能设备的设备类型;
第一确定模块702,被设置为确定与设备类型相匹配的初始端口类型,将初始端口类型的网络端口作为智能设备对应的初始网络端口;
第一发送模块703,被设置为发送初始端口信息至智能设备,初始端口信息被设置为指示智能设备通过初始端口类型的网络端口发送目标数据;
第二接收模块704,被设置为通过初始网络端口接收智能设备发送的目标数据;
分配模块705,被设置为根据目标数据和初始端口类型,为智能设备分配目标端口类型的目标网络端口,并发送目标端口信息至智能设备,目标端口信息被设置为指示智能设备通过目标端口类型的网络端口继续发送目标数据。
在一些实施方式中,确定模块702具体被设置为:
确定与智能设备的设备类型对应的目标传输速率;
根据预设的传输速率与端口类型的对应关系,确定与目标传输速率对应的端口类型,根据目标传输速率对应的端口类型确定初始端口类型。
在一些实施方式中,装置还包括:
第一获取模块,被设置为获取智能设备的当前可用网络类型;
第一确定模块702具体被设置为:
根据预设的传输速率与端口类型的对应关系,确定与智能设备的传输速率对应的第一端口类型;
在第一端口类型中,确定与智能设备的当前可用网络类型对应的第二端口类型,将第二端口类型作为初始端口类型。
在一些实施方式中,分配模块705具体被设置为:
确定目标数据的数据量;
判断目标数据的数据量是否超过预设阈值;
若目标数据的数据量超过预设阈值,则根据预设的端口类型的优先级排列顺序,将优先级高于初始端口类型的网络端口作为目标网络端口;
若目标数据的数据量未过预设阈值,则将初始网络端口作为目标网络端口。
在一些实施方式中,装置还包括:
若接入目标网络端口的设备的数量超过预设阈值,则根据预设的端口类型的优先级排列顺序,在优先级低于目标端口类型的网络端口中,重新确定网络端口;
发送网络端口变更信息至智能设备,其中,网络端口变更信息被设置为指示智能设备根据重新确定的网络端口继续发送目标数据。
在一些实施方式中,基本信息还包括智能设备的厂商信息,方法还包括:
第二确定模块,被设置为确定与厂商信息对应的客户端;
第二发送模块,被设置为将接收到的目标数据发送至终端的客户端。
本公开还提供了一种网络端口分配装置,如图8所示,方法应用于智能设备,装置包括:
第一连接模块801,被设置为通过通信模块与终端建立通讯连接;
第三发送模块802,被设置为通过终端将本设备的设备类型发送至服务器,以使服务器确定与设备类型相匹配的初始端口类型,并将初始端口类型的网络端口作为本设备对应的初始网络端口;
第三接收模块803,被设置为接收服务器发送的初始端口信息,并根据与初始端口信息对应的初始端口类型的网络端口发送目标数据至服务器,以使服务器根据目标数据和初始端口类型,为本设备分配目标网络端口;
第四接收模块804,被设置为接收服务器发送的目标端口信息,并根据与目标端口信息对应的目标端口类型的网络端口继续发送目标数据。
在一些实施方式中,装置还包括:
第二获取模块,被设置为获取当前可用网络类型;
第四发送模块,被设置为将当前可用网络类型发送至服务器,以使服务器基于本设备的设备类型和当前可用网络类型确定本设备对应的初始网络端口。
在一些实施方式中,装置还包括:
第二连接模块,被设置为通过目标网络端口与服务器建立网络连接;
控制模块,被设置为若检测到网络连接处于稳定状态,则控制与终端建立通讯连接的通信模块进入休眠状态,其中,通信模块包括蓝牙模块或WIFI模块;
断开模块,被设置为在休眠状态达到预设时长时,断开与终端之间的通信连接。
在一些实施方式中,装置还包括:
第五发送模块,被设置为若检测到网络连接断开,则通过通信模块发送断网信息至终端。
本公开实施例提供了一种网络端口分配方法,本公开通过服务器接收终端发送的智能设备的设备类型;服务器确定与设备类型相匹配的初始端口类型,将初始端口类型的网络端口作为智能设备对应的初始网络端口;并发送初始端口信息至智能设备,通过初始网络端口接收智能设备发送的目标数据,本公开可以减少同一网路端口内的智能设备的数量,提高网络的稳定性,加快数据传输速率。
基于相同的技术构思,本公开实施例还提供了一种电子设备,如图9所示,包括处理器901、通信接口902、存储器903和通信总线904,其中,处理器901,通信接口902,存储器903通过通信总线904完成相互间的通信,
存储器903,被设置为存放计算机程序;
处理器901,被设置为执行存储器903上所存放的程序时,实现上述步骤。
上述电子设备提到的通信总线可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
通信接口被设置为上述电子设备与其他设备之间的通信。
存储器可以包括随机存取存储器(Random Access Memory,RAM),也可以包括非易失性存储器(Non-Volatile Memory,NVM), 例如至少一个磁盘存储器。在一些实施方式中,存储器还可以是至少一个位于远离前述处理器的存储装置。
上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processing,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。
在本公开提供的又一实施例中,还提供了一种计算机可读存储介质,该计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述任一方法的步骤。
在本公开提供的又一实施例中,还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述实施例中任一方法。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本公开实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如, DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下,在其它实施例中实现。因此,本公开将不会被限制于本文所示的这些实施例,而是要符合与本文所申请的原理和新颖特点相一致的最宽的范围。

Claims (15)

  1. 一种网络端口分配方法,所述方法应用于服务器,所述方法包括:
    接收终端发送的智能设备的基本信息,其中,所述基本信息包括所述智能设备的设备类型;
    确定与所述设备类型相匹配的初始端口类型,将所述初始端口类型的网络端口作为所述智能设备对应的初始网络端口;
    发送初始端口信息至所述智能设备,所述初始端口信息被设置为指示所述智能设备通过所述初始端口类型的网络端口发送目标数据;
    通过所述初始网络端口接收所述智能设备发送的目标数据;
    根据所述目标数据和所述初始端口类型,为所述智能设备分配目标端口类型的目标网络端口,并发送目标端口信息至所述智能设备,所述目标端口信息被设置为指示所述智能设备通过所述目标端口类型的网络端口继续发送目标数据。
  2. 根据权利要求1所述的方法,其中,所述确定与所述设备类型相匹配的初始端口类型包括:
    确定与所述智能设备的设备类型对应的目标传输速率;
    根据预设的传输速率与端口类型的对应关系,确定与所述目标传输速率对应的端口类型,根据所述目标传输速率对应的端口类型确定初始端口类型。
  3. 根据权利要求2所述的方法,其中,所述方法还包括:
    获取所述智能设备的当前可用网络类型;
    所述根据所述目标传输速率对应的端口类型确定初始端口类型包括:
    根据预设的传输速率与端口类型的对应关系,确定与所述智能设备的传输速率对应的第一端口类型;
    在所述第一端口类型中,确定与所述智能设备的当前可用网络类型对应的第二端口类型,将所述第二端口类型作为所述初始端口类型。
  4. 根据权利要求1所述的方法,其中,所述根据所述目标数据和所述初始端口类型,为所述智能设备分配目标端口类型的目标网络端口包括:
    确定所述目标数据的数据量;
    判断所述目标数据的数据量是否超过预设阈值;
    若所述目标数据的数据量超过预设阈值,则根据预设的端口类型的优先级排列顺序,将优先级高于所述初始端口类型的网络端口作为目标网络端口;
    若所述目标数据的数据量未过预设阈值,则将所述初始网络端口作为目标网络端口。
  5. 根据权利要求1所述的方法,其中,所述根据所述目标数据和所述初始端口类型,为所述智能设备分配目标端口类型的目标网络端口之后,所述方法还包括:
    若接入所述目标网络端口的设备的数量超过预设阈值,则根据预设的端口类型的优先级排列顺序,在优先级低于所述目标端口类型的网络端口中,重新确定网络端口;
    发送网络端口变更信息至所述智能设备,其中,所述网络端口变更信息被设置为指示所述智能设备根据重新确定的网络端口继续发送目标数据。
  6. 根据权利要求1所述的方法,其中,所述基本信息还包括所述智 能设备的厂商信息,所述方法还包括:
    确定与所述厂商信息对应的客户端;
    将接收到的所述目标数据发送至所述终端的所述客户端。
  7. 一种网络端口分配方法,所述方法应用于智能设备,所述方法包括:
    通过通信模块与终端建立通讯连接;
    通过所述终端将本设备的设备类型发送至服务器,以使所述服务器确定与所述设备类型相匹配的初始端口类型,并将所述初始端口类型的网络端口作为本设备对应的初始网络端口;
    接收所述服务器发送的初始端口信息,并根据与所述初始端口信息对应的初始端口类型的网络端口发送目标数据至所述服务器,以使所述服务器根据所述目标数据和所述初始端口类型,为本设备分配目标网络端口;
    接收所述服务器发送的目标端口信息,并根据与所述目标端口信息对应的目标端口类型的网络端口继续发送目标数据。
  8. 根据权利要求7所述的方法,其中,所述方法还包括:
    获取当前可用网络类型;
    将所述当前可用网络类型发送至服务器,以使所述服务器基于所述本设备的设备类型和所述当前可用网络类型确定本设备对应的初始网络端口。
  9. 根据权利要求7所述的方法,其中,所述根据与所述目标端口信息对应的目标端口类型的网络端口继续发送目标数据之后,所述方法还包括:
    通过所述目标网络端口与所述服务器建立网络连接;
    若检测到所述网络连接处于稳定状态,则控制与所述终端建立通讯连接的所述通信模块进入休眠状态,其中,所述通信模块包括蓝牙模块或WIFI模块;
    在所述休眠状态达到预设时长时,断开与所述终端之间的通信连接。
  10. 根据权利要求9所述的方法,其中,所述通过所述目标网络端口与所述服务器建立网络连接之后,所述方法还包括:
    若检测到所述网络连接断开,则通过所述通信模块发送断网信息至所述终端。
  11. 一种网络端口分配系统,所述系统包括:智能设备、服务器、终端;
    所述智能设备,被设置为通过通信模块与所述终端建立通讯连接,并将本设备的设备类型发送至所述终端;
    所述终端,被设置为将所述智能设备的设备类型发送至服务器;
    所述服务器,被设置为接收所述智能设备的基本信息,其中,所述基本信息包括所述智能设备的设备类型;确定与所述设备类型相匹配的初始端口类型,将所述初始端口类型的网络端口作为所述智能设备对应的初始网络端口;发送初始端口信息至所述智能设备;
    所述智能设备,还被设置为根据与所述初始端口信息对应的初始端口类型的网络端口发送目标数据至所述服务器;
    所述服务器,还被设置为接收所述智能设备发送的目标数据;根据所述目标数据和所述初始端口类型,为所述智能设备分配目标端口类型的目标网络端口,并发送目标端口信息至所述智能设备;
    所述智能设备,还被设置为接收所述服务器发送的目标端口信息, 根据与所述目标端口信息对应的目标端口类型的网络端口继续发送目标数据至所述服务器。
  12. 一种网络端口分配装置,所述装置应用于服务器,所述装置包括:
    第一接收模块,被设置为接收终端发送的智能设备的基本信息,其中,所述基本信息包括所述智能设备的设备类型;
    确定模块,被设置为确定与所述设备类型相匹配的初始端口类型,将所述初始端口类型的网络端口作为所述智能设备对应的初始网络端口;
    第一发送模块,被设置为发送初始端口信息至所述智能设备,所述初始端口信息被设置为指示所述智能设备通过所述初始端口类型的网络端口发送目标数据;
    第二接收模块,被设置为通过所述初始网络端口接收所述智能设备发送的目标数据;
    分配模块,被设置为根据所述目标数据和所述初始端口类型,为所述智能设备分配目标端口类型的目标网络端口,并发送目标端口信息至所述智能设备,所述目标端口信息被设置为指示所述智能设备通过所述目标端口类型的网络端口继续发送目标数据。
  13. 一种网络端口分配装置,所述装置应用于智能设备,所述装置包括:
    连接模块,被设置为通过通信模块与终端建立通讯连接;
    第二发送模块,被设置为通过所述终端将本设备的设备类型发送至服务器,以使所述服务器确定与所述设备类型相匹配的初始端口类型,并将所述初始端口类型的网络端口作为本设备对应的初始网络端口;
    第三接收模块,被设置为接收所述服务器发送的初始端口信息,并根据与所述初始端口信息对应的初始端口类型的网络端口发送目标数据至所述服务器,以使所述服务器根据所述目标数据和所述初始端口类型,为本设备分配目标网络端口;
    第四接收模块,被设置为接收所述服务器发送的目标端口信息,并根据与所述目标端口信息对应的目标端口类型的网络端口继续发送目标数据。
  14. 一种电子设备,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;
    存储器,被设置为存放计算机程序;
    处理器,被设置为执行存储器上所存放的程序时,实现权利要求1-6或7-10任一所述的方法步骤。
  15. 一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-6或7-10任一所述的方法步骤。
PCT/CN2020/140644 2020-04-21 2020-12-29 网络端口分配方法、装置、电子设备和计算机可用介质 WO2021212906A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010317847.8 2020-04-21
CN202010317847.8A CN111586714B (zh) 2020-04-21 2020-04-21 网络端口分配方法、装置、电子设备和计算机可用介质

Publications (1)

Publication Number Publication Date
WO2021212906A1 true WO2021212906A1 (zh) 2021-10-28

Family

ID=72111599

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/140644 WO2021212906A1 (zh) 2020-04-21 2020-12-29 网络端口分配方法、装置、电子设备和计算机可用介质

Country Status (2)

Country Link
CN (1) CN111586714B (zh)
WO (1) WO2021212906A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114629862A (zh) * 2022-03-17 2022-06-14 树根互联股份有限公司 一种端口连接系统、方法及计算机设备
CN116846517A (zh) * 2023-08-31 2023-10-03 之江实验室 一种网络数据的传输方法、装置、存储介质及电子设备

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111586714B (zh) * 2020-04-21 2021-07-20 珠海格力电器股份有限公司 网络端口分配方法、装置、电子设备和计算机可用介质
CN112671909B (zh) * 2020-12-25 2022-10-21 中标慧安信息技术股份有限公司 物联网规则链的应用方法和系统

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215500A (zh) * 2010-04-09 2011-10-12 中兴通讯股份有限公司 Ap与通讯模块的端口服务配置的动态变换方法及装置
US20150222711A1 (en) * 2012-10-19 2015-08-06 Zte Corporation Method, Device and Terminal for Implementing Internet of Things Application
CN105388861A (zh) * 2015-09-25 2016-03-09 深圳一电航空技术有限公司 物联网设备的控制方法及系统
CN107483715A (zh) * 2017-07-04 2017-12-15 上海小蚁科技有限公司 终端与设备通信的方法和系统、终端、存储介质
CN207399210U (zh) * 2017-07-24 2018-05-22 中国移动通信集团广东有限公司 传输设备
US20180309786A1 (en) * 2017-04-24 2018-10-25 Caligo Systems Ltd. MOVING TARGET DEFENSE FOR SECURING INTERNET OF THINGS (IoT)
CN111586714A (zh) * 2020-04-21 2020-08-25 珠海格力电器股份有限公司 网络端口分配方法、装置、电子设备和计算机可用介质

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020083475A1 (en) * 2000-12-27 2002-06-27 Earl Hennenhoefer Intelligent device system and method for distribution of digital signals on a wideband signal distribution system
CN104519097B (zh) * 2013-09-29 2019-05-07 中兴通讯股份有限公司 端口块资源的获取、端口块资源的分配方法及装置
CN204031464U (zh) * 2014-08-27 2014-12-17 深圳市讯方通信技术有限公司 一种物联网网关
CN104202334B (zh) * 2014-09-16 2018-11-16 广州猎豹网络科技有限公司 一种建立网络连接的方法及装置
US9886410B1 (en) * 2015-02-04 2018-02-06 Amazon Technologies, Inc. Dynamic function assignment to I/O device interface port
CN104967880B (zh) * 2015-05-29 2019-04-30 董遂武 一种在无线网络中均匀分发视频的方法和设备
CN105007587B (zh) * 2015-06-01 2019-01-22 中国科学院信息工程研究所 一种具有网络选择功能的多网络覆盖设备及方法
US10275036B2 (en) * 2016-01-04 2019-04-30 Sphero, Inc. Modular sensing device for controlling a self-propelled device
CN105792208A (zh) * 2016-02-29 2016-07-20 华为技术有限公司 一种控制设备接入的方法、相关设备及系统
KR102628856B1 (ko) * 2017-01-04 2024-01-25 삼성전자주식회사 전자 장치 간 콘텐츠 공유 시스템 및 전자 장치의 콘텐츠 공유 방법
CN108347357B (zh) * 2017-01-24 2021-03-02 腾讯科技(深圳)有限公司 一种数据通信方法、应用客户端、加速节点服务器及系统
CN107087292B (zh) * 2017-03-10 2021-01-01 北方工业大学 一种移动终端适应性传输数据的方法
CN107566226B (zh) * 2017-07-31 2020-11-17 歌尔科技有限公司 一种控制智能家居的方法、装置和系统
CN108196457A (zh) * 2018-01-24 2018-06-22 苏州金螳螂文化发展股份有限公司 一种智能家居控制系统
CN108738097A (zh) * 2018-05-18 2018-11-02 珠海格力电器股份有限公司 一种降低功耗的方法及装置
US10531436B1 (en) * 2018-09-12 2020-01-07 Capital One Services, Llc Multiple network connections to increase data throughput of mobile device
CN110099414A (zh) * 2019-04-18 2019-08-06 深圳壹账通智能科技有限公司 网络资源传输方法、装置、计算机设备和存储介质
CN110351195A (zh) * 2019-08-15 2019-10-18 赛尔网络有限公司 一种网络拥塞控制方法、装置、设备及介质
CN110475291A (zh) * 2019-08-22 2019-11-19 惠州市新一代工业互联网创新研究院 基于5g通信技术的应用流量管控、安全排查系统和方法
CN110784939B (zh) * 2019-11-04 2022-01-21 上海庆科信息技术有限公司 数据通信方法、装置及系统
CN110930666A (zh) * 2019-11-25 2020-03-27 广东诚安时代消防科技有限公司 智慧城市消防安全预警系统

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215500A (zh) * 2010-04-09 2011-10-12 中兴通讯股份有限公司 Ap与通讯模块的端口服务配置的动态变换方法及装置
US20150222711A1 (en) * 2012-10-19 2015-08-06 Zte Corporation Method, Device and Terminal for Implementing Internet of Things Application
CN105388861A (zh) * 2015-09-25 2016-03-09 深圳一电航空技术有限公司 物联网设备的控制方法及系统
US20180309786A1 (en) * 2017-04-24 2018-10-25 Caligo Systems Ltd. MOVING TARGET DEFENSE FOR SECURING INTERNET OF THINGS (IoT)
CN107483715A (zh) * 2017-07-04 2017-12-15 上海小蚁科技有限公司 终端与设备通信的方法和系统、终端、存储介质
CN207399210U (zh) * 2017-07-24 2018-05-22 中国移动通信集团广东有限公司 传输设备
CN111586714A (zh) * 2020-04-21 2020-08-25 珠海格力电器股份有限公司 网络端口分配方法、装置、电子设备和计算机可用介质

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114629862A (zh) * 2022-03-17 2022-06-14 树根互联股份有限公司 一种端口连接系统、方法及计算机设备
CN114629862B (zh) * 2022-03-17 2023-09-19 树根互联股份有限公司 一种端口连接系统、方法及计算机设备
CN116846517A (zh) * 2023-08-31 2023-10-03 之江实验室 一种网络数据的传输方法、装置、存储介质及电子设备
CN116846517B (zh) * 2023-08-31 2024-01-02 之江实验室 一种网络数据的传输方法、装置、存储介质及电子设备

Also Published As

Publication number Publication date
CN111586714A (zh) 2020-08-25
CN111586714B (zh) 2021-07-20

Similar Documents

Publication Publication Date Title
WO2021212906A1 (zh) 网络端口分配方法、装置、电子设备和计算机可用介质
US10708739B2 (en) Selectively transferring one or more services in multi-subscriber identity module (SIM)-multi-standby electronic device
WO2018103405A1 (zh) 识别接入点和热点的方法及相关产品
WO2020098411A1 (zh) 电磁干扰控制方法及相关装置
WO2020102928A1 (zh) 一种无线信号发送方法、无线信号发送装置及终端设备
CN109309735B (zh) 连接处理方法、服务器、系统及存储介质
WO2022257425A1 (zh) 传输速率控制方法、装置、电子设备和可读存储介质
US20140286323A1 (en) Wireless network system and connecting method thereof
CN112306939A (zh) 一种总线调用方法、装置、设备及存储介质
WO2019041371A1 (zh) 物联网基于连接数量的路由器切换方法及装置
WO2019047708A1 (zh) 资源配置方法及相关产品
CN105577573B (zh) 一种信息处理方法及电子设备
CN111277505B (zh) 基于局域网的多终端联控方法、装置、设备及存储介质
JP2013255219A (ja) インターネットにアクセスする方法および装置
WO2022037455A1 (zh) 无线通信方法、装置、系统及存储介质
WO2019015040A1 (zh) 基于信号强度的频点选取方法及物联网终端
CN104427118A (zh) 一种内容推荐的方法及移动终端
US10212215B2 (en) Apparatus and method for providing metadata with network traffic
CN103249004B (zh) 群播群组的管理方法及应用其的无线网络装置
WO2023221708A1 (zh) Pdn拨号及配置方法、系统、装置、设备及存储介质
WO2020074003A1 (zh) 一种移动终端共享网络连接的方法及移动终端
US20190109789A1 (en) Infrastructure and components to provide a reduced latency network with checkpoints
CN106488537B (zh) 一种发送方法、装置及移动终端
WO2021103331A1 (zh) 网络资源调度方法、装置、存储介质及移动终端
CN108712513A (zh) 网络地址设置方法、装置、终端设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20932381

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20932381

Country of ref document: EP

Kind code of ref document: A1