[go: up one dir, main page]

WO2020147645A1 - Link aggregation realization method and related product - Google Patents

Link aggregation realization method and related product Download PDF

Info

Publication number
WO2020147645A1
WO2020147645A1 PCT/CN2020/071252 CN2020071252W WO2020147645A1 WO 2020147645 A1 WO2020147645 A1 WO 2020147645A1 CN 2020071252 W CN2020071252 W CN 2020071252W WO 2020147645 A1 WO2020147645 A1 WO 2020147645A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
network devices
mode information
target
working mode
Prior art date
Application number
PCT/CN2020/071252
Other languages
French (fr)
Chinese (zh)
Inventor
黄园
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2020147645A1 publication Critical patent/WO2020147645A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • H04W76/16Involving different core network technologies, e.g. a packet-switched [PS] bearer in combination with a circuit-switched [CS] bearer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • H04L45/245Link aggregation, e.g. trunking

Definitions

  • This application relates to the field of communication technology, and in particular to a link aggregation implementation method and related products.
  • the embodiments of the present application provide a link aggregation realization method and related products, which can realize link aggregation and improve data transmission efficiency.
  • an embodiment of the present application provides a link aggregation implementation method, which is applied to an electronic device, and the method includes:
  • M wireless networks correspond to M network devices
  • the M wireless networks correspond to the M network devices in a one-to-one correspondence
  • each network device of the M network devices Connect at least one smart device, M is an integer greater than 1;
  • each working mode information in the M working mode information includes at least one corresponding smart device The working mode of each smart device in the
  • an embodiment of the present application provides a link aggregation realization device, which is applied to electronic equipment, and the link aggregation realization device includes:
  • the search unit is configured to perform a network search to obtain M wireless networks, the M wireless networks correspond to M network devices, the M wireless networks correspond to the M network devices in a one-to-one correspondence, and the M network devices Each network device is connected to at least one smart device, and M is an integer greater than 1.
  • the obtaining unit is configured to obtain the network state parameters of each of the M network devices to obtain M network state parameters; and obtain the work of at least one smart device corresponding to each of the M network devices Mode information to obtain M work mode information, and each work mode information in the M work mode information includes the work mode of each smart device in the corresponding at least one smart device;
  • the network access unit is configured to perform link aggregation operations according to at least two target wireless networks corresponding to the at least two target network devices.
  • embodiments of the present application provide an electronic device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be processed by the above
  • the above-mentioned program includes instructions for executing the steps in the first aspect of the embodiments of the present application.
  • an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes the computer to execute the first embodiment of the present application. Part or all of the steps described in one aspect.
  • the embodiments of the present application provide a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute Example part or all of the steps described in the first aspect.
  • the computer program product may be a software installation package.
  • the link aggregation implementation method and related products described in the embodiments of the present application are applied to electronic devices.
  • M wireless networks are obtained, and each of the M network devices corresponding to the M wireless networks is obtained.
  • a network state parameter of a network device M network state parameters are obtained, the working mode information of at least one smart device corresponding to each of the M network devices is obtained, M working mode information is obtained, and according to the M network state parameters and
  • the M working mode information determines at least two target network devices among the M network devices, and performs link aggregation operations based on the at least two target wireless networks corresponding to the at least two target network devices.
  • the network status parameters of the network devices can be And the working mode of the connected smart device determines the wireless network with good network quality, which realizes that at least two wireless networks with good network quality are selected from multiple wireless networks to realize link aggregation, and the data transmission efficiency is improved.
  • FIG. 1A is an exemplary system architecture diagram of a wireless communication system in which an electronic device is located according to an embodiment of the present application;
  • FIG. 1B is a schematic flowchart of a method for implementing link aggregation according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of another method for implementing link aggregation according to an embodiment of the present application
  • FIG. 3 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 4 is a block diagram of the functional unit composition of a link aggregation implementation device provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • the electronic device involved in the embodiments of the application may be an electronic device capable of implementing link aggregation.
  • the electronic device may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices or connected to wireless Other processing equipment of the modem, as well as various forms of user equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal equipment (terminal device), and so on.
  • the mobile network device can be at least one of the following: base stations, servers, handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to wireless modems, as well as various forms of user equipment, mobile Station, terminal equipment, etc.
  • FIG. 1A is an exemplary system architecture diagram of a wireless communication system in which an electronic device is located according to an embodiment of the present application.
  • the electronic device 101 described in the present application can be connected to a mobile data network 103, Data network is a communication network used to transmit data services; Wi-Fi 102, Wi-Fi is a technology that allows electronic devices to connect to a wireless local area network; 2.4G UHF or 5G SHF ISM radio frequency bands are usually used; and Bluetooth 104, A wireless technology standard that enables short-distance data exchange between fixed devices, mobile devices, and building personal area networks.
  • wireless fidelity (Wireless-Fidelity, Wi-Fi), which may also be referred to as Wi-Fi, is a wireless connection method.
  • the electronic device may include a Wi-Fi module (also referred to as a Wi-Fi communication module), so that the electronic device has a Wi-Fi function.
  • Electronic devices can search for Wi-Fi hotspots and connect to wireless networks through Wi-Fi hotspots.
  • the Wi-Fi data link is a data connection path established between the electronic device and the wireless network through the Wi-Fi communication module interface connection.
  • a carrier network such as mobile, China Unicom, or telecommunications, which can save data charges.
  • FIG. 1B is a schematic flowchart of a method for implementing link aggregation according to an embodiment of the present application, which is applied to electronic equipment; as shown in the figure, the method for implementing link aggregation includes:
  • M is an integer greater than 1.
  • the smart home environment includes multiple smart home devices (hereinafter referred to as "smart devices").
  • Each smart device can be connected to a network device, and the network device can provide Wired network or wireless network equipment, for example, a smart TV has a dedicated network device, and the smart TV can be connected to the dedicated network device to realize the network communication function of the smart TV.
  • the smart device can be at least one of the following: Smart TV, smart washing machine, smart air conditioner, smart water heater, smart door, tablet computer, smart phone, smart massage chair, smart dryer, smart rice cooker, smart soy milk maker, smart water dispenser, smart sweeper, smart robot housekeeper, etc. , It is not limited here.
  • the electronic device can start the Wi-Fi module to perform a network search, and then can search for M wireless networks, each wireless network corresponds to a network device, and each network device may be connected to one or more smart devices.
  • the network state parameter may be at least one of the following: signal strength value, data transmission rate, round-trip delay, target bit error rate, etc., which are not limited here.
  • the electronic device performs a wireless network search, it obtains M wireless networks, and each wireless network can correspond to a network device and a network state parameter of the network device.
  • each working mode information in the M working mode information includes at least one corresponding one The working mode of each smart device in the smart device.
  • each work mode information includes the corresponding work mode of at least one smart device.
  • the first network device if the first network device is connected to 3 smart devices, the first network The working mode information corresponding to the device may include 3 working modes corresponding to 3 smart devices.
  • the working mode information corresponding to the second network device may include 5 smart devices.
  • 5 working modes among which, the working mode can include any of the following: working mode, standby mode, shutdown mode, and the working mode can further include at least one of the following: online play, download, call, receive instructions, recording, video, etc.
  • the smart devices connected to the network devices are in different working modes, and the required network resource requirements are also different.
  • the smart TV needs to be in the working mode of online playback and in the standby mode.
  • the demand for network resources is different from that of the smart TV in the mode of displaying the program menu page.
  • the demand for network resources is also different.
  • the smart air conditioner is in the working mode of receiving instructions, and in the standby mode, the required amount of network resources will be different.
  • the network performs link aggregation operations.
  • At least two target wireless networks with better network resources can be selected for link aggregation operations to meet the user's Internet needs.
  • at least two target network devices with better network resources among the M network devices may be determined according to the M network state parameters and the M working mode information.
  • N is an integer greater than 2 and less than M
  • the M network devices may be sorted according to the M work mode information first to obtain the sorted M network devices, where the quality of the network resources of the sorted M network devices ranges from high to Therefore, N target network devices with better network resources can be initially selected, and then the wireless networks of N target network devices can be evaluated according to the N target network state parameters corresponding to the N target network devices, and N In this way, at least two target network devices with higher evaluation values are further screened, and further, link aggregation processing can be performed according to at least two target wireless networks of the at least two target network devices, so that good network quality can be achieved
  • the link aggregation network is conducive to improving the efficiency of data transmission and better meeting the Internet needs of electronic devices.
  • step 41 sorting the M network devices according to the M working mode information to obtain the sorted M network devices may include the following steps:
  • the foregoing preset working mode may include at least one of the following: online playing, downloading, calling, receiving instructions, etc.
  • different preset working modes can be set according to different smart devices, for example, smart TV corresponding to The preset work mode can be the work mode that is played online.
  • the preset work mode corresponding to smart devices such as smart massage chairs, smart dryers, smart rice cookers, smart soymilk machines, smart water dispensers, etc. can be the work mode that receives instructions, smart
  • the preset working mode corresponding to instruction equipment such as washing machine, smart air conditioner, smart water heater, smart door can be call working mode, and the preset working mode corresponding to smart sweeper and smart robot housekeeper can be downloaded working mode or receiving instructions. Mode, this application is not limited.
  • the number of preset working modes included in each working mode information in the M working mode information is determined.
  • the number of preset working modes included in each working mode information in the M working mode information can be counted.
  • the working mode information corresponding to the first network device includes 3 working modes corresponding to 3 smart devices, and among the 3 working modes, the number of preset working modes is 1, then the preset working mode corresponding to the first network device
  • the working mode information corresponding to the second network device may include 5 working modes corresponding to 5 smart devices.
  • the preset number of working modes is 3, and the second network
  • the number of preset working modes corresponding to the device is 3, and further, the M numbers corresponding to the M working mode information can be determined, where the larger the number of the M numbers, the better the quality of the network resources of the corresponding target network device .
  • the M network devices are sorted according to the order of the M numbers from small to large, to obtain the sorted M network devices, and the quality of the network resources of the M network devices is ranked from high to low.
  • step 41 sorting the M network devices according to the M working mode information to obtain the sorted M network devices may include the following steps:
  • the electronic device can pre-store the correspondence between the preset working mode and the network resource demand, and then determine the network resource demand corresponding to the working mode of each smart device according to the correspondence, where, for different smart devices , Different working modes correspond to different network resource requirements. As shown in the following table, it shows the corresponding network resource requirements of a different smart device in different working modes:
  • the first network resource demand corresponding to each working mode in the at least one working mode can be determined to obtain at least one first network resource demand, and then according to the at least one first network resource demand
  • a network resource demand determines the second network resource demand corresponding to the work mode information, and the second network resource demand corresponding to each work mode information can be the sum of the corresponding at least one first network resource demand, so that it can be determined
  • the M second network resource requirements corresponding to the M work mode information, and finally, the M network devices are sorted in the order of the M second network resource requirements from low to high to obtain the sorted M network devices, The quality of the network resources of the M network devices is ranked from high to low.
  • evaluating the wireless networks of the N target network devices according to the N target network state parameters corresponding to the N target network devices to obtain N evaluation values may include the following steps:
  • the evaluation value corresponding to each target network state parameter among the N target network state parameters corresponding to the N target network devices is determined, and N evaluation values are obtained.
  • the network state parameter can be at least one of the following: signal strength value, target data transmission rate, target round-trip delay, target bit error rate, etc.
  • one of the above-mentioned at least one network state parameter and evaluation value can be preset
  • the first corresponding relationship between the signal strength value and the first evaluation value, the second corresponding relationship between the round-trip delay and the second evaluation value, and the data transmission rate and the third evaluation value can be preset.
  • the third correspondence between the values and so on, and then the evaluation value corresponding to each target network state parameter is determined according to the above at least one correspondence.
  • the electronic device may pre-store the first weight corresponding to the first evaluation value, the second weight corresponding to the second evaluation value, and the third weight corresponding to the third evaluation value, the first weight and the second weight
  • the sum of the third weight and the third weight is 1.
  • the weighted calculation can be performed based on the first evaluation value, the second evaluation value, the third evaluation value, the first weight, the second weight, and the third weight to obtain the target wireless
  • the link aggregation implementation method described in the embodiments of the present application is applied to electronic devices, through network search, M wireless networks are obtained, and each of the M network devices corresponding to the M wireless networks is obtained. M network state parameters are obtained, the working mode information of at least one smart device corresponding to each of the M network devices is obtained, and M working mode information is obtained, according to the M network state parameters and M work
  • the mode information determines at least two target network devices among the M network devices, and performs link aggregation operations according to the at least two target wireless networks corresponding to the at least two target network devices.
  • the working mode of the smart device determines a wireless network with better network quality, and realizes that at least two wireless networks with good network quality are selected from multiple wireless networks to realize link aggregation, which improves the efficiency of data transmission.
  • FIG. 2 is a schematic flowchart of a method for implementing link aggregation provided by an embodiment of the present application. As shown in the figure, the method for implementing link aggregation includes:
  • M is an integer greater than 1.
  • each working mode information in the M working mode information includes at least one corresponding one The working mode of each smart device in the smart device.
  • N is an integer greater than 2 and less than M.
  • the link aggregation implementation method described in the embodiments of the present application is applied to electronic devices, through network search, M wireless networks are obtained, and each of the M network devices corresponding to the M wireless networks is obtained.
  • M network state parameters are obtained, the working mode information of at least one smart device corresponding to each network device in the M network devices is obtained, M working mode information is obtained, and the M network Sort the devices, select the top N target network devices among the sorted M network devices, and evaluate the wireless networks of the N target network devices according to the N target network state parameters corresponding to the N target network devices, and get N evaluation values, determine at least two target evaluation values higher than the preset evaluation value among the N evaluation values, and obtain at least two target network devices corresponding to the at least two target evaluation values, according to the corresponding values of the at least two target network devices
  • At least two target wireless networks perform link aggregation operations. In this way, at least two wireless networks with good network quality can be selected from multiple wireless networks to implement link aggregation, which improves data transmission efficiency.
  • FIG. 3 is a schematic structural diagram of an electronic device 300 provided by an embodiment of the present application.
  • the electronic device 300 includes processing 310, memory 320, communication interface 330, and one or more programs 321, wherein the one or more programs 321 are stored in the above-mentioned memory 320 and are configured to be executed by the above-mentioned processor 310, the one or more Each program 321 includes instructions for performing the following steps:
  • M wireless networks correspond to M network devices
  • the M wireless networks correspond to the M network devices in a one-to-one correspondence
  • each network device of the M network devices Connect at least one smart device, M is an integer greater than 1;
  • each working mode information in the M working mode information includes at least one corresponding smart device The working mode of each smart device in the
  • the one or more programs 321 includes instructions for performing the following steps:
  • N is an integer greater than 2 and less than M
  • the one or more programs 321 include Instructions for the following steps:
  • the M network devices are sorted according to the order of the M numbers from small to large to obtain the M network devices after sorting.
  • the one or more programs 321 include steps for executing the following steps The instructions:
  • the M network devices are sorted according to the order of network resource demand from low to high, and the sorted M network devices are obtained.
  • the one The or more programs 321 include instructions for performing the following steps:
  • the evaluation value corresponding to each target network state parameter among the N target network state parameters corresponding to the N target network devices is determined, and N evaluation values are obtained.
  • the electronic device includes a hardware structure and/or a software module corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is performed by hardware or computer software driven hardware depends on the specific application of the technical solution and design constraints. Professional technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered to be beyond the scope of this application.
  • the embodiments of the present application may divide the functional unit of the electronic device according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit.
  • the above integrated unit can be implemented in the form of hardware or software function unit. It should be noted that the division of the units in the embodiments of the present application is schematic, and is only a division of logical functions. In actual implementation, there may be another division manner.
  • FIG. 4 is a block diagram of the functional unit composition of the device 400 for implementing link aggregation involved in an embodiment of the present application.
  • the link aggregation realization apparatus 400 is applied to electronic equipment, and the link aggregation realization apparatus 400 includes a search unit 401, an acquisition unit 402, a determination unit 403, and a network access unit 404, wherein,
  • the search unit 401 is configured to perform a network search to obtain M wireless networks, the M wireless networks correspond to M network devices, the M wireless networks correspond to the M network devices one-to-one, and the M Each of the network devices is connected to at least one smart device, and M is an integer greater than 1;
  • the obtaining unit 402 is configured to obtain the network state parameters of each of the M network devices to obtain M network state parameters; and obtain at least one intelligence corresponding to each of the M network devices Working mode information of the device to obtain M working mode information, each working mode information in the M working mode information includes the working mode of each smart device in the corresponding at least one smart device;
  • the determining unit 403 is configured to determine at least two target network devices among the M network devices according to the M network state parameters and the M working mode information;
  • the network access unit 404 is configured to perform link aggregation operations according to at least two target wireless networks corresponding to the at least two target network devices.
  • N is an integer greater than 2 and less than M
  • the determining unit 403 is specifically configured to:
  • the determining unit 403 is specifically configured to:
  • the M network devices are sorted according to the order of network resource demand from low to high, and the sorted M network devices are obtained.
  • the determining unit 403 specifically Used for:
  • the evaluation value corresponding to each target network state parameter among the N target network state parameters corresponding to the N target network devices is determined, and N evaluation values are obtained.
  • the link aggregation implementation device described in the embodiment of the present application is applied to electronic equipment.
  • M wireless networks are obtained, and each of the M network devices corresponding to the M wireless networks is obtained.
  • M network state parameters are obtained, the working mode information of at least one smart device corresponding to each of the M network devices is obtained, and M working mode information is obtained, according to the M network state parameters and M work
  • the mode information determines at least two target network devices among the M network devices, and performs link aggregation operations according to the at least two target wireless networks corresponding to the at least two target network devices.
  • the working mode of the smart device determines a wireless network with better network quality, and realizes that at least two wireless networks with good network quality are selected from multiple wireless networks to realize link aggregation, which improves the efficiency of data transmission.
  • the embodiment of the present application also provides another electronic device. As shown in FIG. 5, for convenience of description, only parts related to the embodiment of the present application are shown. For specific technical details not disclosed, please refer to the method of the embodiment of the present application section.
  • the electronic device can be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales, sales terminal), a vehicle-mounted computer, etc., taking the electronic device as a mobile phone as an example:
  • the mobile phone includes: a radio frequency (RF) circuit 910, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a wireless fidelity (Wi-Fi) module 970, a processing 980, and power supply 990.
  • RF radio frequency
  • the structure of the mobile phone shown in FIG. 5 does not constitute a limitation on the mobile phone, and may include more or less components than those illustrated, or combine certain components, or have different component arrangements.
  • the RF circuit 910 can be used for information reception and transmission.
  • the RF circuit 910 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, and the like.
  • the RF circuit 910 can also communicate with other devices through a wireless communication network.
  • the above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division) Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), Email, Short Messaging Service (SMS), etc.
  • GSM Global System of Mobile Communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • Email Short Messaging Service
  • the memory 920 may be used to store software programs and modules, and the processor 980 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 920.
  • the memory 920 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, application programs required for at least one function, and the like; the storage data area may store data created according to the use of a mobile phone, etc.
  • the memory 920 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the input unit 930 may be used to receive input digital or character information, and generate key signal input related to user settings and function control of the mobile phone.
  • the input unit 930 may include a fingerprint recognition module 931 and other input devices 932.
  • the fingerprint identification module 931 can collect user fingerprint data on it.
  • the input unit 930 may also include other input devices 932.
  • other input devices 932 may include, but are not limited to, one or more of a touch screen, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), trackball, mouse, joystick, and so on.
  • the display unit 940 may be used to display information input by the user or information provided to the user and various menus of the mobile phone.
  • the display unit 940 may include a display screen 941.
  • the display screen 941 may be configured in the form of a liquid crystal display (Liquid Crystal) (LCD), an organic or inorganic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.
  • LCD liquid crystal display
  • OLED Organic Light-Emitting Diode
  • the mobile phone may also include at least one sensor 950, such as a light sensor, a motion sensor, a pressure sensor, a temperature sensor, and other sensors.
  • the light sensor may include an ambient light sensor (also called a light sensor) and a proximity sensor, wherein the ambient light sensor may adjust the backlight brightness of the mobile phone according to the brightness of the ambient light, thereby adjusting the brightness of the display screen 941, and the proximity sensor may When the mobile phone moves to the ear, the display 941 and/or backlight is turned off.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when at rest, and can be used for applications that recognize mobile phone gestures (such as horizontal and vertical screen switching, magnetic force) (Attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.
  • mobile phone gestures such as horizontal and vertical screen switching, magnetic force) (Attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.
  • other sensors such as gyro, barometer, hygrometer, thermometer, infrared sensor, etc. that can also be configured on mobile phones, they will not be repeated here.
  • the audio circuit 960, the speaker 961, and the microphone 962 can provide an audio interface between the user and the mobile phone.
  • the audio circuit 960 can transmit the electric signal converted from the received audio data to the speaker 961, which is converted into a sound signal for playback by the speaker 961; After being received, it is converted into audio data, and then processed by the audio data playback processor 980, and sent to, for example, another mobile phone via the RF circuit 910, or the audio data is played to the memory 920 for further processing.
  • Wi-Fi is a short-distance wireless transmission technology.
  • the mobile phone can help users send and receive emails, browse web pages, and access streaming media through the Wi-Fi module 970. It provides users with wireless broadband Internet access.
  • FIG. 5 shows the Wi-Fi module 970, it can be understood that it is not a necessary component of a mobile phone, and can be omitted as needed without changing the scope of the essence of the invention.
  • the processor 980 is the control center of the mobile phone, connects various parts of the entire mobile phone with various interfaces and lines, executes or executes the software programs and/or modules stored in the memory 920, and calls the data stored in the memory 920 to execute Various functions and processing data of the mobile phone, so as to monitor the mobile phone as a whole.
  • the processor 980 may include one or more processing units; preferably, the processor 980 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and application programs, etc.
  • the modem processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 980.
  • the mobile phone also includes a power supply 990 (such as a battery) that supplies power to various components.
  • a power supply 990 (such as a battery) that supplies power to various components.
  • the power supply can be logically connected to the processor 980 through the power management system, so as to realize functions such as charging, discharging, and power management through the power management system.
  • the mobile phone may further include a camera 9100, which is used to capture images and videos, and transmit the captured images and videos to the processor 980 for processing.
  • a camera 9100 which is used to capture images and videos, and transmit the captured images and videos to the processor 980 for processing.
  • the mobile phone can also have a Bluetooth module, etc., which will not be repeated here.
  • the method flow of each step may be implemented based on the structure of the mobile phone.
  • An embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes the computer to perform part or all of the steps of any method described in the foregoing method embodiments ,
  • the aforementioned computer includes electronic devices.
  • An embodiment of the present application further provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing the computer program, the computer program is operable to cause the computer to perform any of the methods described in the above embodiments Some or all steps of the method.
  • the computer program product may be a software installation package, and the computer includes an electronic device.
  • the disclosed device may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the above-mentioned units is only a division of logical functions.
  • there may be other division methods for example, multiple units or components may be combined or integrated To another system, or some features can be ignored, or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or software function unit.
  • the technical solution of the present application may essentially be a part that contributes to the existing technology or all or part of the technical solution may be embodied in the form of a software product, and the computer software product is stored in a memory, Several instructions are included to enable a computer device (which may be a personal computer, server, network device, etc.) to perform all or part of the steps of the above methods in various embodiments of the present application.
  • the aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
  • the program may be stored in a computer-readable memory, and the memory may include: a flash disk , Read-Only Memory (English: Read-Only Memory, abbreviation: ROM), Random Access Device (English: Random Access Memory, abbreviation: RAM), magnetic disk or optical disk, etc.
  • ROM Read-Only Memory
  • RAM Random Access Device
  • magnetic disk or optical disk etc.

Landscapes

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

Abstract

Disclosed are a link aggregation realization method and a related product. The method is applied to an electronic device, and comprises: performing network searching to obtain M wireless networks; acquiring a network state parameter of each network device in M network devices corresponding to M wireless networks to obtain M network state parameters; acquiring working mode information of at least one intelligent device corresponding to each network device in M network devices to obtain M pieces of working mode information; determining at least two target network devices in M network devices according to the M network state parameters and the M pieces of working mode information; and performing a link aggregation operation according to at least two target wireless networks corresponding to the at least two target network devices. Therefore, selecting at least two wireless networks with good network quality from a plurality of wireless networks to realize link aggregation can be realized, and data transmission efficiency is improved.

Description

链路聚合实现方法及相关产品Link aggregation implementation method and related products 技术领域Technical field
本申请涉及通信技术领域,具体涉及一种链路聚合实现方法及相关产品。This application relates to the field of communication technology, and in particular to a link aggregation implementation method and related products.
背景技术Background technique
随着移动通信技术的发展,用户对数据通信的需求越来越高,目前市面上的电子设备(如手机、平板电脑等)也越来越倾向于使用链路聚合技术,因此,如何实现链路聚合的问题亟待解决。With the development of mobile communication technology, users’ demand for data communication is getting higher and higher. At present, electronic devices on the market (such as mobile phones, tablet computers, etc.) are more and more inclined to use link aggregation technology. The problem of road aggregation needs to be solved urgently.
发明内容Summary of the invention
本申请实施例提供了一种链路聚合实现方法及相关产品,可以实现链路聚合,提升数据传输效率。The embodiments of the present application provide a link aggregation realization method and related products, which can realize link aggregation and improve data transmission efficiency.
第一方面,本申请实施例提供一种链路聚合实现方法,应用于电子设备,所述方法包括:In a first aspect, an embodiment of the present application provides a link aggregation implementation method, which is applied to an electronic device, and the method includes:
进行网络搜索,得到M个无线网络,所述M个无线网络对应M个网络设备,所述M个无线网络与所述M个网络设备一一对应,所述M个网络设备中每一网络设备连接至少一个智能设备,M为大于1的整数;Perform a network search to obtain M wireless networks, the M wireless networks correspond to M network devices, the M wireless networks correspond to the M network devices in a one-to-one correspondence, and each network device of the M network devices Connect at least one smart device, M is an integer greater than 1;
获取所述M个网络设备中每一网络设备的网络状态参数,得到M个网络状态参数;Acquiring network state parameters of each of the M network devices to obtain M network state parameters;
获取所述M个网络设备中每一网络设备对应的至少一个智能设备的工作模式信息,得到M个工作模式信息,所述M个工作模式信息中每一工作模式信息包含对应的至少一个智能设备中每一智能设备的工作模式;Obtain working mode information of at least one smart device corresponding to each of the M network devices to obtain M working mode information, and each working mode information in the M working mode information includes at least one corresponding smart device The working mode of each smart device in the
根据所述M个网络状态参数和所述M个工作模式信息确定所述M个网络设备中的至少两个目标网络设备,根据所述至少两个目标网络设备对应的至少两个目标无线网络进行链路聚合操作。Determine at least two target network devices among the M network devices according to the M network state parameters and the M work mode information, and perform the process according to the at least two target wireless networks corresponding to the at least two target network devices Link aggregation operation.
第二方面,本申请实施例提供一种链路聚合实现装置,应用于电子设备,所述链路聚合实现装置包括:In the second aspect, an embodiment of the present application provides a link aggregation realization device, which is applied to electronic equipment, and the link aggregation realization device includes:
搜索单元,用于进行网络搜索,得到M个无线网络,所述M个无线网络对应M个网络设备,所述M个无线网络与所述M个网络设备一一对应,所述M个网络设备中每一网络设备连接至少一个智能设备,M为大于1的整数;The search unit is configured to perform a network search to obtain M wireless networks, the M wireless networks correspond to M network devices, the M wireless networks correspond to the M network devices in a one-to-one correspondence, and the M network devices Each network device is connected to at least one smart device, and M is an integer greater than 1.
获取单元,用于获取所述M个网络设备中每一网络设备的网络状态参数,得到M个网络状态参数;以及获取所述M个网络设备中每一网络设备对应的至少一个智能设备的工作模式信息,得到M个工作模式信息,所述M个工作模式信息中每一工作模式信息包含对应的至少一个智能设备中每一智能设备的工作模式;The obtaining unit is configured to obtain the network state parameters of each of the M network devices to obtain M network state parameters; and obtain the work of at least one smart device corresponding to each of the M network devices Mode information to obtain M work mode information, and each work mode information in the M work mode information includes the work mode of each smart device in the corresponding at least one smart device;
确定单元,用于根据所述M个网络状态参数和所述M个工作模式信息确定所述M个网络设备中的至少两个目标网络设备;A determining unit, configured to determine at least two target network devices among the M network devices according to the M network state parameters and the M working mode information;
网络接入单元,用于根据所述至少两个目标网络设备对应的至少两个目标无线网络进行链路聚合操作。The network access unit is configured to perform link aggregation operations according to at least two target wireless networks corresponding to the at least two target network devices.
第三方面,本申请实施例提供一种电子设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面中的步骤的指令。In a third aspect, embodiments of the present application provide an electronic device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be processed by the above The above-mentioned program includes instructions for executing the steps in the first aspect of the embodiments of the present application.
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。According to a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes the computer to execute the first embodiment of the present application. Part or all of the steps described in one aspect.
第五方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a fifth aspect, the embodiments of the present application provide a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute Example part or all of the steps described in the first aspect. The computer program product may be a software installation package.
可以看出,本申请实施例中所描述的链路聚合实现方法及相关产品,应用于电子设备,通过进行网络搜索,得到M个无线网络,获取M个无线网络对应的M个网络设备中每一网络设备的网络状态参数,得到M个网络状态参数,获取M个网络设备中每一网络设备对应的至少一个智能设备的工作模式信息,得到M个工作模式信息,根据M个网络状态参数和M个工作模式信息确定M个网络设备中的至少两个目标网络设备,根据至少两个目标网络设备对应的至少两个目标无线网络进行链路聚合操作,如此,可根据网络设备的网络状态参数以及连接的智能设备的工作模式确定网络质量较好的无线网络,实现了从多个无线网络中选取至少两个网络质量好的无线网络实现链路聚合,提升了数据传输效率。It can be seen that the link aggregation implementation method and related products described in the embodiments of the present application are applied to electronic devices. Through network search, M wireless networks are obtained, and each of the M network devices corresponding to the M wireless networks is obtained. A network state parameter of a network device, M network state parameters are obtained, the working mode information of at least one smart device corresponding to each of the M network devices is obtained, M working mode information is obtained, and according to the M network state parameters and The M working mode information determines at least two target network devices among the M network devices, and performs link aggregation operations based on the at least two target wireless networks corresponding to the at least two target network devices. In this way, the network status parameters of the network devices can be And the working mode of the connected smart device determines the wireless network with good network quality, which realizes that at least two wireless networks with good network quality are selected from multiple wireless networks to realize link aggregation, and the data transmission efficiency is improved.
附图说明BRIEF DESCRIPTION
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings required in the embodiments or the description of the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, without paying any creative labor, other drawings can also be obtained based on these drawings.
图1A是本申请实施例提供的一种电子设备所处无线通信系统的示例系统架构图;FIG. 1A is an exemplary system architecture diagram of a wireless communication system in which an electronic device is located according to an embodiment of the present application;
图1B是本申请实施例提供的一种链路聚合实现方法的流程示意图;1B is a schematic flowchart of a method for implementing link aggregation according to an embodiment of the present application;
图2是本申请实施例提供的另一种链路聚合实现方法的流程示意图;2 is a schematic flowchart of another method for implementing link aggregation according to an embodiment of the present application;
图3是本申请实施例提供的一种电子设备的结构示意图;3 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图4是本申请实施例提供的一种链路聚合实现装置的功能单元组成框图;4 is a block diagram of the functional unit composition of a link aggregation implementation device provided by an embodiment of the present application;
图5是本申请实施例提供的一种电子设备的结构示意图。5 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only It is a part of the embodiments of this application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the scope of protection of the present application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms “first” and “second” in the description and claims of the present application and the above drawings are used to distinguish different objects, not to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally also includes Other steps or units inherent to these processes, methods, products or equipment.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to "embodiments" means that specific features, structures, or characteristics described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art understand explicitly and implicitly that the embodiments described herein can be combined with other embodiments.
本申请实施例所涉及到的电子设备可以是具备链路聚合实现能力的电子设备,该电子设备可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),终端设备(terminal device)等等。移动网络设备可以为以下至少一种:基站、服务器、具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备,移动台,终 端设备等等。The electronic device involved in the embodiments of the application may be an electronic device capable of implementing link aggregation. The electronic device may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices or connected to wireless Other processing equipment of the modem, as well as various forms of user equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal equipment (terminal device), and so on. The mobile network device can be at least one of the following: base stations, servers, handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to wireless modems, as well as various forms of user equipment, mobile Station, terminal equipment, etc.
下面对本申请实施例进行详细介绍。The following describes the embodiments of the application in detail.
请参阅图1A,图1A是本申请实施例提供的一种电子设备所处无线通信系统的示例系统架构图,如图1A所示,本申请所述电子设备101可以连接移动数据网络103,移动数据网络为用于传输数据业务的通信网;Wi-Fi 102,Wi-Fi是一种允许电子设备连接到一个无线局域网的技术;通常使用2.4G UHF或5G SHF ISM射频频段;以及蓝牙104,一种无线技术标准,可实现固定设备、移动设备和楼宇个人域网之间的短距离数据交换等。Please refer to FIG. 1A. FIG. 1A is an exemplary system architecture diagram of a wireless communication system in which an electronic device is located according to an embodiment of the present application. As shown in FIG. 1A, the electronic device 101 described in the present application can be connected to a mobile data network 103, Data network is a communication network used to transmit data services; Wi-Fi 102, Wi-Fi is a technology that allows electronic devices to connect to a wireless local area network; 2.4G UHF or 5G SHF ISM radio frequency bands are usually used; and Bluetooth 104, A wireless technology standard that enables short-distance data exchange between fixed devices, mobile devices, and building personal area networks.
本申请实施例中,无线保真(Wireless-Fidelity,Wi-Fi),也可以称为Wi-Fi、是一种无线连接方式。电子设备可以包括Wi-Fi模块(也可以称为Wi-Fi通信模块),以使电子设备具有Wi-Fi功能。电子设备可以搜索Wi-Fi热点,并通过Wi-Fi热点连接无线网络。Wi-Fi数据链路是电子设备和无线网络之间建立的通过Wi-Fi通信模块接口连接的数据连接通路。当电子设备通过Wi-Fi热点上网时,可以不通过移动、联通、电信等运营商网络上网,可以节省流量费。In the embodiments of the present application, wireless fidelity (Wireless-Fidelity, Wi-Fi), which may also be referred to as Wi-Fi, is a wireless connection method. The electronic device may include a Wi-Fi module (also referred to as a Wi-Fi communication module), so that the electronic device has a Wi-Fi function. Electronic devices can search for Wi-Fi hotspots and connect to wireless networks through Wi-Fi hotspots. The Wi-Fi data link is a data connection path established between the electronic device and the wireless network through the Wi-Fi communication module interface connection. When an electronic device accesses the Internet through a Wi-Fi hotspot, it does not need to access the Internet through a carrier network such as mobile, China Unicom, or telecommunications, which can save data charges.
请参阅图1B,图1B是本申请实施例提供了一种链路聚合实现方法的流程示意图,应用于电子设备;如图所示,本链路聚合实现方法包括:Please refer to FIG. 1B. FIG. 1B is a schematic flowchart of a method for implementing link aggregation according to an embodiment of the present application, which is applied to electronic equipment; as shown in the figure, the method for implementing link aggregation includes:
101、进行网络搜索,得到M个无线网络,所述M个无线网络对应M个网络设备,所述M个无线网络与所述M个网络设备一一对应,所述M个网络设备中每一网络设备连接至少一个智能设备,M为大于1的整数。101. Perform a network search to obtain M wireless networks, the M wireless networks correspond to M network devices, the M wireless networks correspond to the M network devices in a one-to-one correspondence, and each of the M network devices The network device is connected to at least one smart device, and M is an integer greater than 1.
其中,本申请实施例可以应用于智能家居场景,智能家居环境中包括多个智能家居设备(以下简称“智能设备”),每一智能设备可连接一个网络设备,网络设备为可为智能设备提供有线网络或者无线网络的设备,例如,智能电视有专用的网络设备,智能电视可连接该专属配置的网络设备,以实现智能电视的网络通信功能,其中,智能设备可以为以下至少一种:智能电视机、智能洗衣机、智能空调、智能热水器、智能门、平板电脑、智能手机、智能按摩椅、智能烘干机、智能电饭煲、智能豆浆机、智能饮水机、智能扫地机、智能机器人管家等等,在此不作限定。具体实现中,电子设备可以启动Wi-Fi模块,进行网络搜索,进而可搜索到M个无线网络,每一无线网络对应一个网络设备,每一网络设备可能连接了一个或多个智能设备。Among them, the embodiments of the present application can be applied to smart home scenarios. The smart home environment includes multiple smart home devices (hereinafter referred to as "smart devices"). Each smart device can be connected to a network device, and the network device can provide Wired network or wireless network equipment, for example, a smart TV has a dedicated network device, and the smart TV can be connected to the dedicated network device to realize the network communication function of the smart TV. The smart device can be at least one of the following: Smart TV, smart washing machine, smart air conditioner, smart water heater, smart door, tablet computer, smart phone, smart massage chair, smart dryer, smart rice cooker, smart soy milk maker, smart water dispenser, smart sweeper, smart robot housekeeper, etc. , It is not limited here. In specific implementation, the electronic device can start the Wi-Fi module to perform a network search, and then can search for M wireless networks, each wireless network corresponds to a network device, and each network device may be connected to one or more smart devices.
102、获取所述M个网络设备中每一网络设备的网络状态参数,得到M个网络状态参数。102. Obtain network state parameters of each of the M network devices to obtain M network state parameters.
其中,网络状态参数可以为以下至少一种:信号强度值、数据传输速率、往返时延、目标误码率等,在此不作限定。电子设备在进行无线网络搜索时,得到M个无线网络,每一无线网络可以对应一个网络设备以及一个网络设备的网络状态参数。Among them, the network state parameter may be at least one of the following: signal strength value, data transmission rate, round-trip delay, target bit error rate, etc., which are not limited here. When the electronic device performs a wireless network search, it obtains M wireless networks, and each wireless network can correspond to a network device and a network state parameter of the network device.
103、获取所述M个网络设备中每一网络设备对应的至少一个智能设备的工作模式信息,得到M个工作模式信息,所述M个工作模式信息中每一工作模式信息包含对应的至少一个智能设备中每一智能设备的工作模式。103. Obtain working mode information of at least one smart device corresponding to each of the M network devices, to obtain M working mode information, and each working mode information in the M working mode information includes at least one corresponding one The working mode of each smart device in the smart device.
其中,M个工作模式信息中,每一工作模式信息包含对应的至少一个智能设备的工作模式,例如,M个网络设备中,若第一网络设备连接了3个智能设备,则该第一网络设备对应的工作模式信息可包括3个智能设备对应的3个工作模式,若第二网络设备连接了5个智能设备,则该第二网络设备对应的工作模式信息可包括5个智能设备对应的5个工作模式,其中,工作模式可包括以下任意一种:作业模式、待机模式、关机模式,作业模式还可进一步包括以下至少一种:在线播放、下载、通话、接收指令、录音、录像等,本申请实施例中,与网络设备连接的智能设备处于不同的工作模式,需要的网络资源需求量也会不同,例如,智能电视机在进行在线播放的工作模式下,与处于待机模式时需要的网络资源需求量不同,与智能电视处于显示节目菜单页面的模式下,需要的网络资源需求量也 不同。又例如,智能空调在处于接收指令的工作模式下,与处于待机模式下,需要的网络资源需求量也会不同。Among the M work mode information, each work mode information includes the corresponding work mode of at least one smart device. For example, among M network devices, if the first network device is connected to 3 smart devices, the first network The working mode information corresponding to the device may include 3 working modes corresponding to 3 smart devices. If the second network device is connected to 5 smart devices, the working mode information corresponding to the second network device may include 5 smart devices. 5 working modes, among which, the working mode can include any of the following: working mode, standby mode, shutdown mode, and the working mode can further include at least one of the following: online play, download, call, receive instructions, recording, video, etc. In the embodiments of the present application, the smart devices connected to the network devices are in different working modes, and the required network resource requirements are also different. For example, the smart TV needs to be in the working mode of online playback and in the standby mode. The demand for network resources is different from that of the smart TV in the mode of displaying the program menu page. The demand for network resources is also different. For another example, when the smart air conditioner is in the working mode of receiving instructions, and in the standby mode, the required amount of network resources will be different.
104、根据所述M个网络状态参数和所述M个工作模式信息确定所述M个网络设备中的至少两个目标网络设备,根据所述至少两个目标网络设备对应的至少两个目标无线网络进行链路聚合操作。104. Determine at least two target network devices among the M network devices according to the M network state parameters and the M working mode information, and determine according to the at least two target wireless devices corresponding to the at least two target network devices. The network performs link aggregation operations.
本申请实施例中,链路聚合,是设备可以同时使用两个或者两个以上的网口同时进行上网,比如,在手机上通过链路聚合,可以同时使用Wi-Fi和数据网络(数据网络,也可以称为移动数据网络)来进行网络访问,或者,同时使用2个或者2个以上的Wi-Fi网络来实现网络访问。智能链路聚合(Smart Link Aggregation,SLA)功能,指的是把用户的上网请求智能的分配到不同的可上网接口(蜂窝通信模块接口、Wi-Fi通信模块接口)上。链路聚合至少需要两个或两个以上的可用网络,所以SLA的前提条件就是要使Wi-Fi和数据网络共存。因此,可选取至少两个网络资源较好的目标无线网络进行链路聚合操作,以满足用户的上网需求。具体地,可根据M个网络状态参数和M个工作模式信息确定M个网络设备中网络资源较好的至少两个目标网络设备。In the embodiment of the present application, link aggregation means that the device can simultaneously use two or more network ports to surf the Internet at the same time. For example, through link aggregation on a mobile phone, Wi-Fi and data network (data network) can be used at the same time. , May also be referred to as a mobile data network) for network access, or use two or more Wi-Fi networks at the same time to achieve network access. The Smart Link Aggregation (SLA) function refers to intelligently distributing users' Internet access requests to different Internet-accessible interfaces (cellular communication module interface, Wi-Fi communication module interface). Link aggregation requires at least two or more available networks, so the prerequisite for SLA is to make Wi-Fi and data networks coexist. Therefore, at least two target wireless networks with better network resources can be selected for link aggregation operations to meet the user's Internet needs. Specifically, at least two target network devices with better network resources among the M network devices may be determined according to the M network state parameters and the M working mode information.
可选地,上述步骤104中,根据所述M个网络状态参数和所述M个工作模式信息确定所述M个网络设备中的至少两个目标网络设备,可包括如下步骤:Optionally, in the foregoing step 104, determining at least two target network devices among the M network devices according to the M network state parameters and the M working mode information may include the following steps:
41、根据所述M个工作模式信息对所述M个网络设备进行排序,得到排序后的M个网络设备;41. Sort the M network devices according to the M work mode information to obtain sorted M network devices;
42、选取排序后的所述M个网络设备中排序靠前的N个目标网络设备,N为大于2且小于M的整数;42. Select the top N target network devices in the sorted M network devices, where N is an integer greater than 2 and less than M;
43、依据所述N个目标网络设备对应的N个目标网络状态参数对所述N个目标网络设备的无线网络进行评价,得到N个评价值;43. Evaluate the wireless networks of the N target network devices according to the N target network state parameters corresponding to the N target network devices to obtain N evaluation values;
44、确定所述N个评价值中高于预设评价值的至少两个目标评价值,并获取所述至少两个目标评价值对应的至少两个目标网络设备。44. Determine at least two target evaluation values higher than a preset evaluation value among the N evaluation values, and acquire at least two target network devices corresponding to the at least two target evaluation values.
本申请实施例中,可先根据M个工作模式信息对所述M个网络设备进行排序,得到排序后的M个网络设备,其中,排序后的M个网络设备的网络资源的质量由高到低排列,从而,可初步筛选网络资源较好的N个目标网络设备,然后,可根据N个目标网络设备对应的N个目标网络状态参数对N个目标网络设备的无线网络进行评价,得到N个评价值,从而进一步筛选评价值较高的至少两个目标网络设备,进而,可根据至少两个目标网络设备的至少两个目标无线网络进行链路聚合处理,如此,可实现网络质量好的链路聚合网络,有利于提升数据传输效率,更好地满足电子设备的上网需求。In the embodiment of the present application, the M network devices may be sorted according to the M work mode information first to obtain the sorted M network devices, where the quality of the network resources of the sorted M network devices ranges from high to Therefore, N target network devices with better network resources can be initially selected, and then the wireless networks of N target network devices can be evaluated according to the N target network state parameters corresponding to the N target network devices, and N In this way, at least two target network devices with higher evaluation values are further screened, and further, link aggregation processing can be performed according to at least two target wireless networks of the at least two target network devices, so that good network quality can be achieved The link aggregation network is conducive to improving the efficiency of data transmission and better meeting the Internet needs of electronic devices.
可选地,上述步骤41中,根据所述M个工作模式信息对所述M个网络设备进行排序,得到排序后的M个网络设备,可包括如下步骤:Optionally, in step 41, sorting the M network devices according to the M working mode information to obtain the sorted M network devices may include the following steps:
A1、确定所述M个工作模式信息中每一工作模式信息包含的预设工作模式的数量,得到M个数量;A1. Determine the number of preset work modes included in each work mode information in the M work mode information to obtain M numbers;
A2、根据所述M个数量从小到大的顺序将所述M个网络设备进行排序,得到排序后的所述M个网络设备。A2. Sort the M network devices according to the order of the M numbers from small to large to obtain the M network devices after sorting.
其中,上述预设工作模式可包括以下至少一种:在线播放、下载、通话、接收指令等等,具体实现中,可根据不同的智能设备设置不同的预设工作模式,例如,智能电视机对应的预设工作模式可为在线播放的工作模式,智能按摩椅、智能烘干机、智能电饭煲、智能豆浆机、智能饮水机等智能设备对应的预设工作模式可为接收指令的工作模式,智能洗衣机、智能空调、智能热水器、智能门等指令设备对应的预设工作模式可为通话的工作模式,智能扫地机、智能机器人管家对应的预设工作模式可为下载的工作模式或者接收指令的工作模式,本申请不做限制。Among them, the foregoing preset working mode may include at least one of the following: online playing, downloading, calling, receiving instructions, etc. In specific implementation, different preset working modes can be set according to different smart devices, for example, smart TV corresponding to The preset work mode can be the work mode that is played online. The preset work mode corresponding to smart devices such as smart massage chairs, smart dryers, smart rice cookers, smart soymilk machines, smart water dispensers, etc. can be the work mode that receives instructions, smart The preset working mode corresponding to instruction equipment such as washing machine, smart air conditioner, smart water heater, smart door can be call working mode, and the preset working mode corresponding to smart sweeper and smart robot housekeeper can be downloaded working mode or receiving instructions. Mode, this application is not limited.
其中,确定M个工作模式信息中每一工作模式信息包含的预设工作模式的数量,具体实施中,可针对M个工作模式信息中每一工作模式信息统计包括的预设工作模式的数量,例如,第一网络设备对应的工作模式信息包括3个智能设备对应的3个工作模式,其中,3个工作模式中预设工作模式数量为1个,则第一网络设备对应的预设工作模式的数量为1个,又例如,第二网络设备对应的工作模式信息可包括5个智能设备对应的5个工作模式,其中,5个工作模式中预设工作模式数量为3个,第二网络设备对应的预设工作模式的数量为3个,进而,可确定M个工作模式信息对应的M个数量,其中,M个数量中数量越大,对应的目标网络设备的网络资源的质量越好。进一步地,根据M个数量从小到大的顺序将所述M个网络设备进行排序,得到排序后的M个网络设备,M个网络设备的网络资源的质量由高到低排列。Wherein, the number of preset working modes included in each working mode information in the M working mode information is determined. In specific implementation, the number of preset working modes included in each working mode information in the M working mode information can be counted. For example, the working mode information corresponding to the first network device includes 3 working modes corresponding to 3 smart devices, and among the 3 working modes, the number of preset working modes is 1, then the preset working mode corresponding to the first network device For example, the working mode information corresponding to the second network device may include 5 working modes corresponding to 5 smart devices. Among the 5 working modes, the preset number of working modes is 3, and the second network The number of preset working modes corresponding to the device is 3, and further, the M numbers corresponding to the M working mode information can be determined, where the larger the number of the M numbers, the better the quality of the network resources of the corresponding target network device . Further, the M network devices are sorted according to the order of the M numbers from small to large, to obtain the sorted M network devices, and the quality of the network resources of the M network devices is ranked from high to low.
可选地,上述步骤41中,根据所述M个工作模式信息对所述M个网络设备进行排序,得到排序后的M个网络设备,可包括如下步骤:Optionally, in step 41, sorting the M network devices according to the M working mode information to obtain the sorted M network devices may include the following steps:
B1、根据预设的工作模式与网络资源需求量之间的对应关系确定所述M个工作模式信息中每一工作模式信息包含的至少一个工作模式对应的至少一个第一网络资源需求量;B1. Determine at least one first network resource demand corresponding to at least one working mode included in each of the M working mode information according to the correspondence between the preset working mode and the network resource demand;
B2、根据所述M个工作模式信息中每一工作模式信息对应的至少一个第一网络资源需求量确定对应的第二网络资源需求量,得到M个第二网络资源需求量;B2. Determine the corresponding second network resource demand according to at least one first network resource demand corresponding to each work mode information in the M work mode information, to obtain M second network resource demand;
B3、按照所述M个第二网络资源需求量从低到高的顺序将所述M个网络设备进行排序,得到排序后的所述M个网络设备。B3. Sort the M network devices according to the order of the M second network resource requirements from low to high, to obtain the M network devices after sorting.
其中,电子设备中可以预先存储预设的工作模式与网络资源需求量之间的对应关系,然后根据该对应关系确定每一智能设备的工作模式对应的网络资源需求量,其中,针对不同智能设备,不同的工作模式对应的网络资源需求量不同,如下表所示,展示了一种不同智能设备在不同工作模式下对应的网络资源需求量:Among them, the electronic device can pre-store the correspondence between the preset working mode and the network resource demand, and then determine the network resource demand corresponding to the working mode of each smart device according to the correspondence, where, for different smart devices , Different working modes correspond to different network resource requirements. As shown in the following table, it shows the corresponding network resource requirements of a different smart device in different working modes:
Figure PCTCN2020071252-appb-000001
Figure PCTCN2020071252-appb-000001
其中,针对每一工作模式信息中的至少一个工作模式,可确定至少一个工作模式中每一工作模式对应的第一网络资源需求量,得到至少一个第一网络资源需求量,然后根据至少一个第一网络资源需求量确定工作模式信息对应的第二网络资源需求量,每一工作模式 信息对应的第二网络资源需求量可为对应的至少一个第一网络资源需求量之和,从而,可确定M个工作模式信息对应的M个第二网络资源需求量,最后,按照M个第二网络资源需求量从低到高的顺序将M个网络设备进行排序,得到排序后的M个网络设备,M个网络设备的网络资源的质量由高到低排列。Among them, for at least one working mode in each working mode information, the first network resource demand corresponding to each working mode in the at least one working mode can be determined to obtain at least one first network resource demand, and then according to the at least one first network resource demand A network resource demand determines the second network resource demand corresponding to the work mode information, and the second network resource demand corresponding to each work mode information can be the sum of the corresponding at least one first network resource demand, so that it can be determined The M second network resource requirements corresponding to the M work mode information, and finally, the M network devices are sorted in the order of the M second network resource requirements from low to high to obtain the sorted M network devices, The quality of the network resources of the M network devices is ranked from high to low.
可选地,上述步骤43中,依据所述N个目标网络设备对应的N个目标网络状态参数对所述N个目标网络设备的无线网络进行评价,得到N个评价值,可包括如下步骤:Optionally, in the foregoing step 43, evaluating the wireless networks of the N target network devices according to the N target network state parameters corresponding to the N target network devices to obtain N evaluation values may include the following steps:
根据预设的网络状态参数与评价值之间的对应关系,确定所述N个目标网络设备对应的N个目标网络状态参数中每一目标网络状态参数对应的评价值,得到N个评价值。According to the preset correspondence between the network state parameters and the evaluation values, the evaluation value corresponding to each target network state parameter among the N target network state parameters corresponding to the N target network devices is determined, and N evaluation values are obtained.
其中,由于网络状态参数可以为以下至少一种:信号强度值、目标数据传输速率、目标往返时延、目标误码率等,因此,可预先设定上述至少一种网络状态参数与评价值之间的对应关系,例如,可预先设定信号强度值与第一评价值之间的第一对应关系、往返时延与第二评价值之间的第二对应关系以及数据传输速率与第三评价值之间的第三对应关系等等,然后根据上述至少一个对应关系确定每一目标网络状态参数对应的评价值。Wherein, since the network state parameter can be at least one of the following: signal strength value, target data transmission rate, target round-trip delay, target bit error rate, etc., one of the above-mentioned at least one network state parameter and evaluation value can be preset For example, the first corresponding relationship between the signal strength value and the first evaluation value, the second corresponding relationship between the round-trip delay and the second evaluation value, and the data transmission rate and the third evaluation value can be preset. The third correspondence between the values and so on, and then the evaluation value corresponding to each target network state parameter is determined according to the above at least one correspondence.
可选地,在目标无线网络的网络状态参数包括:目标信号强度值、目标数据传输速率、目标往返时延时,针对任一目标网络状态参数确定对应的评价值,可包括如下步骤:Optionally, the network state parameters of the target wireless network include: target signal strength value, target data transmission rate, and target round-trip time delay. Determining the corresponding evaluation value for any target network state parameter may include the following steps:
C1、按照预设的信号强度值与第一评价值之间的第一对应关系,确定所述目标信号强度值对应的第一评价值;C1. Determine the first evaluation value corresponding to the target signal strength value according to the first correspondence between the preset signal strength value and the first evaluation value;
C2、按照预设的数据传输速率与第二评价值之间的第二对应关系,确定所述目标数据传输速率对应的第二评价值;C2, according to the second correspondence between the preset data transmission rate and the second evaluation value, determine the second evaluation value corresponding to the target data transmission rate;
C3、按照预设的往返时延时与第三评价值之间的第三对应关系,确定所述目标往返时延时对应的第三评价值;C3. Determine the third evaluation value corresponding to the target round-trip time delay according to the third correspondence between the preset round-trip time delay and the third evaluation value;
C4、获取所述第一评价值对应的第一权值、所述第二评价值对应的第二权值以及所述第三评价值对应的第三权值,所述第一权值、所述第二权值与所述第三权值之和为1;C4. Obtain a first weight corresponding to the first evaluation value, a second weight corresponding to the second evaluation value, and a third weight corresponding to the third evaluation value. The first weight, the The sum of the second weight and the third weight is 1;
C5、依据所述第一评价值、所述第二评价值、所述第三评价值、所述第一权值、所述第二权值与所述第三权值进行加权运算,得到所述任一目标网络状态参数确定对应的目标评价值。C5. Perform a weighted operation based on the first evaluation value, the second evaluation value, the third evaluation value, the first weight, the second weight, and the third weight to obtain the Any one of the target network state parameters determines the corresponding target evaluation value.
其中,电子设备中可以预先存储第一评价值对应的第一权值、第二评价值对应的第二权值以及第三评价值对应的第三权值,第一权值、第二权值与第三权值之和为1,进而,可以依据第一评价值、第二评价值、第三评价值、第一权值、第二权值与第三权值进行加权运算,得到目标无线网络i的评价值,具体地可以按照如下公式得到目标无线网络i的评价值:目标无线网络i的评价值=第一评价值*第一权值+第二评价值*第二权值+第三评价值*第三权值。Wherein, the electronic device may pre-store the first weight corresponding to the first evaluation value, the second weight corresponding to the second evaluation value, and the third weight corresponding to the third evaluation value, the first weight and the second weight The sum of the third weight and the third weight is 1. Furthermore, the weighted calculation can be performed based on the first evaluation value, the second evaluation value, the third evaluation value, the first weight, the second weight, and the third weight to obtain the target wireless The evaluation value of network i, specifically, the evaluation value of target wireless network i can be obtained according to the following formula: evaluation value of target wireless network i = first evaluation value * first weight + second evaluation value * second weight + first Three evaluation value * third weight.
可以看出,本申请实施例中所描述的链路聚合实现方法,应用于电子设备,通过进行网络搜索,得到M个无线网络,获取M个无线网络对应的M个网络设备中每一网络设备的网络状态参数,得到M个网络状态参数,获取M个网络设备中每一网络设备对应的至少一个智能设备的工作模式信息,得到M个工作模式信息,根据M个网络状态参数和M个工作模式信息确定M个网络设备中的至少两个目标网络设备,根据至少两个目标网络设备对应的至少两个目标无线网络进行链路聚合操作,如此,可根据网络设备的网络状态参数以及连接的智能设备的工作模式确定网络质量较好的无线网络,实现了从多个无线网络中选取至少两个网络质量好的无线网络实现链路聚合,提升了数据传输效率。It can be seen that the link aggregation implementation method described in the embodiments of the present application is applied to electronic devices, through network search, M wireless networks are obtained, and each of the M network devices corresponding to the M wireless networks is obtained. M network state parameters are obtained, the working mode information of at least one smart device corresponding to each of the M network devices is obtained, and M working mode information is obtained, according to the M network state parameters and M work The mode information determines at least two target network devices among the M network devices, and performs link aggregation operations according to the at least two target wireless networks corresponding to the at least two target network devices. In this way, the network status parameters of the network devices and the connected The working mode of the smart device determines a wireless network with better network quality, and realizes that at least two wireless networks with good network quality are selected from multiple wireless networks to realize link aggregation, which improves the efficiency of data transmission.
与上述图1B所示的实施例一致地,请参阅图2,图2是本申请实施例提供的一种链路聚合实现方法的流程示意图,如图所示,本链路聚合实现方法包括:Consistent with the above embodiment shown in FIG. 1B, please refer to FIG. 2, which is a schematic flowchart of a method for implementing link aggregation provided by an embodiment of the present application. As shown in the figure, the method for implementing link aggregation includes:
201、进行网络搜索,得到M个无线网络,所述M个无线网络对应M个网络设备,所 述M个无线网络与所述M个网络设备一一对应,所述M个网络设备中每一网络设备连接至少一个智能设备,M为大于1的整数。201. Perform a network search to obtain M wireless networks, the M wireless networks correspond to M network devices, the M wireless networks correspond to the M network devices in a one-to-one correspondence, and each of the M network devices The network device is connected to at least one smart device, and M is an integer greater than 1.
202、获取所述M个网络设备中每一网络设备的网络状态参数,得到M个网络状态参数。202. Obtain network state parameters of each of the M network devices to obtain M network state parameters.
203、获取所述M个网络设备中每一网络设备对应的至少一个智能设备的工作模式信息,得到M个工作模式信息,所述M个工作模式信息中每一工作模式信息包含对应的至少一个智能设备中每一智能设备的工作模式。203. Obtain working mode information of at least one smart device corresponding to each of the M network devices, and obtain M working mode information, and each working mode information in the M working mode information includes at least one corresponding one The working mode of each smart device in the smart device.
204、根据所述M个工作模式信息对所述M个网络设备进行排序,得到排序后的M个网络设备。204. Sort the M network devices according to the M work mode information to obtain sorted M network devices.
205、选取排序后的所述M个网络设备中排序靠前的N个目标网络设备,N为大于2且小于M的整数。205. Select the top N target network devices in the sorted M network devices, where N is an integer greater than 2 and less than M.
206、依据所述N个目标网络设备对应的N个目标网络状态参数对所述N个目标网络设备的无线网络进行评价,得到N个评价值。206. Evaluate the wireless networks of the N target network devices according to the N target network state parameters corresponding to the N target network devices to obtain N evaluation values.
207、确定所述N个评价值中高于预设评价值的至少两个目标评价值,并获取所述至少两个目标评价值对应的至少两个目标网络设备。207. Determine at least two target evaluation values that are higher than a preset evaluation value among the N evaluation values, and obtain at least two target network devices corresponding to the at least two target evaluation values.
208、根据所述至少两个目标网络设备对应的至少两个目标无线网络进行链路聚合操作。208. Perform a link aggregation operation according to the at least two target wireless networks corresponding to the at least two target network devices.
其中,上述步骤201-208的具体描述可以参照图1B所描述的链路聚合实现方法的相应步骤,在此不再赘述。For specific descriptions of the above steps 201-208, reference may be made to the corresponding steps of the link aggregation implementation method described in FIG. 1B, which will not be repeated here.
可以看出,本申请实施例中所描述的链路聚合实现方法,应用于电子设备,通过进行网络搜索,得到M个无线网络,获取M个无线网络对应的M个网络设备中每一网络设备的网络状态参数,得到M个网络状态参数,获取M个网络设备中每一网络设备对应的至少一个智能设备的工作模式信息,得到M个工作模式信息,根据M个工作模式信息对M个网络设备进行排序,选取排序后的M个网络设备中排序靠前的N个目标网络设备,依据N个目标网络设备对应的N个目标网络状态参数对N个目标网络设备的无线网络进行评价,得到N个评价值,确定N个评价值中高于预设评价值的至少两个目标评价值,并获取至少两个目标评价值对应的至少两个目标网络设备,根据至少两个目标网络设备对应的至少两个目标无线网络进行链路聚合操作,如此,可实现从多个无线网络中选取至少两个网络质量好的无线网络实现链路聚合,提升了数据传输效率。It can be seen that the link aggregation implementation method described in the embodiments of the present application is applied to electronic devices, through network search, M wireless networks are obtained, and each of the M network devices corresponding to the M wireless networks is obtained. M network state parameters are obtained, the working mode information of at least one smart device corresponding to each network device in the M network devices is obtained, M working mode information is obtained, and the M network Sort the devices, select the top N target network devices among the sorted M network devices, and evaluate the wireless networks of the N target network devices according to the N target network state parameters corresponding to the N target network devices, and get N evaluation values, determine at least two target evaluation values higher than the preset evaluation value among the N evaluation values, and obtain at least two target network devices corresponding to the at least two target evaluation values, according to the corresponding values of the at least two target network devices At least two target wireless networks perform link aggregation operations. In this way, at least two wireless networks with good network quality can be selected from multiple wireless networks to implement link aggregation, which improves data transmission efficiency.
与上述图1B、图2所示的实施例一致地,请参阅图3,图3是本申请实施例提供的一种电子设备300的结构示意图,如图所示,所述电子设备300包括处理器310、存储器320、通信接口330以及一个或多个程序321,其中,所述一个或多个程序321被存储在上述存储器320中,并且被配置由上述处理器310执行,所述一个或多个程序321包括用于执行以下步骤的指令:Consistent with the above embodiments shown in FIGS. 1B and 2, please refer to FIG. 3, which is a schematic structural diagram of an electronic device 300 provided by an embodiment of the present application. As shown in the figure, the electronic device 300 includes processing 310, memory 320, communication interface 330, and one or more programs 321, wherein the one or more programs 321 are stored in the above-mentioned memory 320 and are configured to be executed by the above-mentioned processor 310, the one or more Each program 321 includes instructions for performing the following steps:
进行网络搜索,得到M个无线网络,所述M个无线网络对应M个网络设备,所述M个无线网络与所述M个网络设备一一对应,所述M个网络设备中每一网络设备连接至少一个智能设备,M为大于1的整数;Perform a network search to obtain M wireless networks, the M wireless networks correspond to M network devices, the M wireless networks correspond to the M network devices in a one-to-one correspondence, and each network device of the M network devices Connect at least one smart device, M is an integer greater than 1;
获取所述M个网络设备中每一网络设备的网络状态参数,得到M个网络状态参数;Acquiring network state parameters of each of the M network devices to obtain M network state parameters;
获取所述M个网络设备中每一网络设备对应的至少一个智能设备的工作模式信息,得到M个工作模式信息,所述M个工作模式信息中每一工作模式信息包含对应的至少一个智能设备中每一智能设备的工作模式;Obtain working mode information of at least one smart device corresponding to each of the M network devices to obtain M working mode information, and each working mode information in the M working mode information includes at least one corresponding smart device The working mode of each smart device in the
根据所述M个网络状态参数和所述M个工作模式信息确定所述M个网络设备中的至少两个目标网络设备,根据所述至少两个目标网络设备对应的至少两个目标无线网络进行 链路聚合操作。Determine at least two target network devices among the M network devices according to the M network state parameters and the M work mode information, and perform the process according to the at least two target wireless networks corresponding to the at least two target network devices Link aggregation operation.
在一个可能的示例中,在所述根据所述M个网络状态参数和所述M个工作模式信息确定所述M个网络设备中的至少两个目标网络设备方面,所述一个或多个程序321包括用于执行以下步骤的指令:In a possible example, in the aspect of determining at least two target network devices among the M network devices according to the M network state parameters and the M working mode information, the one or more programs 321 includes instructions for performing the following steps:
根据所述M个工作模式信息对所述M个网络设备进行排序,得到排序后的M个网络设备;Sort the M network devices according to the M work mode information to obtain the sorted M network devices;
选取排序后的所述M个网络设备中排序靠前的N个目标网络设备,N为大于2且小于M的整数;Selecting the top N target network devices in the sorted M network devices, where N is an integer greater than 2 and less than M;
依据所述N个目标网络设备对应的N个目标网络状态参数对所述N个目标网络设备的无线网络进行评价,得到N个评价值;Evaluate the wireless networks of the N target network devices according to the N target network state parameters corresponding to the N target network devices to obtain N evaluation values;
确定所述N个评价值中高于预设评价值的至少两个目标评价值,并获取所述至少两个目标评价值对应的至少两个目标网络设备。Determine at least two target evaluation values higher than a preset evaluation value among the N evaluation values, and obtain at least two target network devices corresponding to the at least two target evaluation values.
在一个可能的示例中,在所述根据所述M个工作模式信息对所述M个网络设备进行排序,得到排序后的M个网络设备方面,所述一个或多个程序321包括用于执行以下步骤的指令:In a possible example, in the aspect of sorting the M network devices according to the M working mode information to obtain the sorted M network devices, the one or more programs 321 include Instructions for the following steps:
确定所述M个工作模式信息中每一工作模式信息包含的预设工作模式的数量,得到M个数量;Determine the number of preset work modes included in each work mode information in the M work mode information to obtain M numbers;
根据所述M个数量从小到大的顺序将所述M个网络设备进行排序,得到排序后的所述M个网络设备。The M network devices are sorted according to the order of the M numbers from small to large to obtain the M network devices after sorting.
在一个可能的示例中,在根据所述M个工作模式信息对所述M个网络设备进行排序,得到排序后的M个网络设备方面,所述一个或多个程序321包括用于执行以下步骤的指令:In a possible example, in terms of sorting the M network devices according to the M work mode information to obtain the sorted M network devices, the one or more programs 321 include steps for executing the following steps The instructions:
根据预设的工作模式与网络资源需求量之间的对应关系确定所述M个工作模式信息中每一工作模式信息包含的至少一个工作模式对应的至少一个第一网络资源需求量;Determine at least one first network resource demand corresponding to at least one working mode included in each working mode information in each of the M working mode information according to the correspondence between the preset working mode and the network resource demand;
根据所述M个工作模式信息中每一工作模式信息对应的至少一个第一网络资源需求量确定对应的第一网络资源需求量,得到M个第二网络资源需求量;Determine the corresponding first network resource demand according to at least one first network resource demand corresponding to each work mode information in the M work mode information, and obtain M second network resource demands;
按照网络资源需求量从低到高的顺序将所述M个网络设备进行排序,得到排序后的所述M个网络设备。The M network devices are sorted according to the order of network resource demand from low to high, and the sorted M network devices are obtained.
在一个可能的示例中,在所述依据所述N个目标网络设备对应的N个目标网络状态参数对所述N个目标网络设备的无线网络进行评价,得到N个评价值方面,所述一个或多个程序321包括用于执行以下步骤的指令:In a possible example, in terms of evaluating the wireless networks of the N target network devices according to the N target network state parameters corresponding to the N target network devices to obtain N evaluation values, the one The or more programs 321 include instructions for performing the following steps:
根据预设的网络状态参数与评价值之间的对应关系,确定所述N个目标网络设备对应的N个目标网络状态参数中每一目标网络状态参数对应的评价值,得到N个评价值。According to the preset correspondence between the network state parameters and the evaluation values, the evaluation value corresponding to each target network state parameter among the N target network state parameters corresponding to the N target network devices is determined, and N evaluation values are obtained.
上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The above mainly introduces the solution of the embodiment of the present application from the perspective of the execution process on the method side. It can be understood that, in order to realize the above functions, the electronic device includes a hardware structure and/or a software module corresponding to each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of the examples described in the embodiments provided herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is performed by hardware or computer software driven hardware depends on the specific application of the technical solution and design constraints. Professional technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered to be beyond the scope of this application.
本申请实施例可以根据上述方法示例对电子设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiments of the present application may divide the functional unit of the electronic device according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or software function unit. It should be noted that the division of the units in the embodiments of the present application is schematic, and is only a division of logical functions. In actual implementation, there may be another division manner.
图4是本申请实施例中所涉及的链路聚合实现装置400的功能单元组成框图。该链路聚合实现装置400应用于电子设备,所述链路聚合实现装置400包括搜索单元401、获取单元402、确定单元403和网络接入单元404,其中,FIG. 4 is a block diagram of the functional unit composition of the device 400 for implementing link aggregation involved in an embodiment of the present application. The link aggregation realization apparatus 400 is applied to electronic equipment, and the link aggregation realization apparatus 400 includes a search unit 401, an acquisition unit 402, a determination unit 403, and a network access unit 404, wherein,
所述搜索单元401,用于进行网络搜索,得到M个无线网络,所述M个无线网络对应M个网络设备,所述M个无线网络与所述M个网络设备一一对应,所述M个网络设备中每一网络设备连接至少一个智能设备,M为大于1的整数;The search unit 401 is configured to perform a network search to obtain M wireless networks, the M wireless networks correspond to M network devices, the M wireless networks correspond to the M network devices one-to-one, and the M Each of the network devices is connected to at least one smart device, and M is an integer greater than 1;
所述获取单元402,用于获取所述M个网络设备中每一网络设备的网络状态参数,得到M个网络状态参数;以及获取所述M个网络设备中每一网络设备对应的至少一个智能设备的工作模式信息,得到M个工作模式信息,所述M个工作模式信息中每一工作模式信息包含对应的至少一个智能设备中每一智能设备的工作模式;The obtaining unit 402 is configured to obtain the network state parameters of each of the M network devices to obtain M network state parameters; and obtain at least one intelligence corresponding to each of the M network devices Working mode information of the device to obtain M working mode information, each working mode information in the M working mode information includes the working mode of each smart device in the corresponding at least one smart device;
所述确定单元403,用于根据所述M个网络状态参数和所述M个工作模式信息确定所述M个网络设备中的至少两个目标网络设备;The determining unit 403 is configured to determine at least two target network devices among the M network devices according to the M network state parameters and the M working mode information;
所述网络接入单元404,用于根据所述至少两个目标网络设备对应的至少两个目标无线网络进行链路聚合操作。The network access unit 404 is configured to perform link aggregation operations according to at least two target wireless networks corresponding to the at least two target network devices.
可选地,在所述根据所述M个网络状态参数和所述M个工作模式信息确定所述M个网络设备中的至少两个目标网络设备方面,所述确定单元403具体用于:Optionally, in terms of determining at least two target network devices among the M network devices according to the M network state parameters and the M working mode information, the determining unit 403 is specifically configured to:
根据所述M个工作模式信息对所述M个网络设备进行排序,得到排序后的M个网络设备;Sort the M network devices according to the M work mode information to obtain the sorted M network devices;
选取排序后的所述M个网络设备中排序靠前的N个目标网络设备,N为大于2且小于M的整数;Selecting the top N target network devices in the sorted M network devices, where N is an integer greater than 2 and less than M;
依据所述N个目标网络设备对应的N个目标网络状态参数对所述N个目标网络设备的无线网络进行评价,得到N个评价值;Evaluate the wireless networks of the N target network devices according to the N target network state parameters corresponding to the N target network devices to obtain N evaluation values;
确定所述N个评价值中高于预设评价值的至少两个目标评价值,并获取所述至少两个目标评价值对应的至少两个目标网络设备。Determine at least two target evaluation values higher than a preset evaluation value among the N evaluation values, and obtain at least two target network devices corresponding to the at least two target evaluation values.
可选地,在所述根据所述M个工作模式信息对所述M个网络设备进行排序,得到排序后的M个网络设备方面,所述确定单元403具体用于:Optionally, in the aspect of sorting the M network devices according to the M work mode information to obtain the sorted M network devices, the determining unit 403 is specifically configured to:
确定所述M个工作模式信息中每一工作模式信息包含的预设工作模式的数量,得到M个数量;Determine the number of preset work modes included in each work mode information in the M work mode information to obtain M numbers;
根据所述M个数量从小到大的顺序将所述M个网络设备进行排序,得到排序后的所述M个网络设备。The M network devices are sorted according to the order of the M numbers from small to large to obtain the M network devices after sorting.
可选地,在根据所述M个工作模式信息对所述M个网络设备进行排序,得到排序后的M个网络设备方面,所述确定单元403具体用于:Optionally, in terms of sorting the M network devices according to the M work mode information to obtain the sorted M network devices, the determining unit 403 is specifically configured to:
根据预设的工作模式与网络资源需求量之间的对应关系确定所述M个工作模式信息中每一工作模式信息包含的至少一个工作模式对应的至少一个第一网络资源需求量;Determine at least one first network resource demand corresponding to at least one working mode included in each working mode information in each of the M working mode information according to the correspondence between the preset working mode and the network resource demand;
根据所述M个工作模式信息中每一工作模式信息对应的至少一个第一网络资源需求量确定对应的第一网络资源需求量,得到M个第二网络资源需求量;Determine the corresponding first network resource demand according to at least one first network resource demand corresponding to each work mode information in the M work mode information, and obtain M second network resource demands;
按照网络资源需求量从低到高的顺序将所述M个网络设备进行排序,得到排序后的所述M个网络设备。The M network devices are sorted according to the order of network resource demand from low to high, and the sorted M network devices are obtained.
可选地,在所述依据所述N个目标网络设备对应的N个目标网络状态参数对所述N个目标网络设备的无线网络进行评价,得到N个评价值方面,所述确定单元403具体用于:Optionally, in terms of evaluating the wireless networks of the N target network devices according to the N target network state parameters corresponding to the N target network devices to obtain N evaluation values, the determining unit 403 specifically Used for:
根据预设的网络状态参数与评价值之间的对应关系,确定所述N个目标网络设备对应的N个目标网络状态参数中每一目标网络状态参数对应的评价值,得到N个评价值。According to the preset correspondence between the network state parameters and the evaluation values, the evaluation value corresponding to each target network state parameter among the N target network state parameters corresponding to the N target network devices is determined, and N evaluation values are obtained.
可以看出,本申请实施例中所描述的链路聚合实现装置,应用于电子设备,通过进行 网络搜索,得到M个无线网络,获取M个无线网络对应的M个网络设备中每一网络设备的网络状态参数,得到M个网络状态参数,获取M个网络设备中每一网络设备对应的至少一个智能设备的工作模式信息,得到M个工作模式信息,根据M个网络状态参数和M个工作模式信息确定M个网络设备中的至少两个目标网络设备,根据至少两个目标网络设备对应的至少两个目标无线网络进行链路聚合操作,如此,可根据网络设备的网络状态参数以及连接的智能设备的工作模式确定网络质量较好的无线网络,实现了从多个无线网络中选取至少两个网络质量好的无线网络实现链路聚合,提升了数据传输效率。It can be seen that the link aggregation implementation device described in the embodiment of the present application is applied to electronic equipment. By performing a network search, M wireless networks are obtained, and each of the M network devices corresponding to the M wireless networks is obtained. M network state parameters are obtained, the working mode information of at least one smart device corresponding to each of the M network devices is obtained, and M working mode information is obtained, according to the M network state parameters and M work The mode information determines at least two target network devices among the M network devices, and performs link aggregation operations according to the at least two target wireless networks corresponding to the at least two target network devices. In this way, the network status parameters of the network devices and the connected The working mode of the smart device determines a wireless network with better network quality, and realizes that at least two wireless networks with good network quality are selected from multiple wireless networks to realize link aggregation, which improves the efficiency of data transmission.
本申请实施例还提供了另一种电子设备,如图5所示,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请实施例方法部分。该电子设备可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑等任意终端设备,以电子设备为手机为例:The embodiment of the present application also provides another electronic device. As shown in FIG. 5, for convenience of description, only parts related to the embodiment of the present application are shown. For specific technical details not disclosed, please refer to the method of the embodiment of the present application section. The electronic device can be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales, sales terminal), a vehicle-mounted computer, etc., taking the electronic device as a mobile phone as an example:
图5示出的是与本申请实施例提供的电子设备相关的手机的部分结构的框图。参考图5,手机包括:射频(Radio Frequency,RF)电路910、存储器920、输入单元930、显示单元940、传感器950、音频电路960、无线保真(Wireless Fidelity,Wi-Fi)模块970、处理器980、以及电源990等部件。本领域技术人员可以理解,图5中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。5 is a block diagram of a partial structure of a mobile phone related to an electronic device provided by an embodiment of the present application. Referring to FIG. 5, the mobile phone includes: a radio frequency (RF) circuit 910, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a wireless fidelity (Wi-Fi) module 970, a processing 980, and power supply 990. Those skilled in the art may understand that the structure of the mobile phone shown in FIG. 5 does not constitute a limitation on the mobile phone, and may include more or less components than those illustrated, or combine certain components, or have different component arrangements.
下面结合图5对手机的各个构成部件进行具体的介绍:The following describes each component of the mobile phone in detail with reference to FIG. 5:
RF电路910可用于信息的接收和发送。通常,RF电路910包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路910还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 910 can be used for information reception and transmission. Generally, the RF circuit 910 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 910 can also communicate with other devices through a wireless communication network. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division) Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), Email, Short Messaging Service (SMS), etc.
存储器920可用于存储软件程序以及模块,处理器980通过运行存储在存储器920的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器920可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据手机的使用所创建的数据等。此外,存储器920可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 920 may be used to store software programs and modules, and the processor 980 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 920. The memory 920 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, application programs required for at least one function, and the like; the storage data area may store data created according to the use of a mobile phone, etc. In addition, the memory 920 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
输入单元930可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元930可包括指纹识别模组931以及其他输入设备932。指纹识别模组931,可采集用户在其上的指纹数据。除了指纹识别模组931,输入单元930还可以包括其他输入设备932。具体地,其他输入设备932可以包括但不限于触控屏、物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 930 may be used to receive input digital or character information, and generate key signal input related to user settings and function control of the mobile phone. Specifically, the input unit 930 may include a fingerprint recognition module 931 and other input devices 932. The fingerprint identification module 931 can collect user fingerprint data on it. In addition to the fingerprint recognition module 931, the input unit 930 may also include other input devices 932. Specifically, other input devices 932 may include, but are not limited to, one or more of a touch screen, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), trackball, mouse, joystick, and so on.
显示单元940可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元940可包括显示屏941,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机或无机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示屏941。The display unit 940 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 940 may include a display screen 941. Alternatively, the display screen 941 may be configured in the form of a liquid crystal display (Liquid Crystal) (LCD), an organic or inorganic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.
手机还可包括至少一种传感器950,比如光传感器、运动传感器、压力传感器、温度 传感器以及其他传感器。具体地,光传感器可包括环境光传感器(也称为光线传感器)及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节手机的背光亮度,进而调节显示屏941的亮度,接近传感器可在手机移动到耳边时,关闭显示屏941和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The mobile phone may also include at least one sensor 950, such as a light sensor, a motion sensor, a pressure sensor, a temperature sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor (also called a light sensor) and a proximity sensor, wherein the ambient light sensor may adjust the backlight brightness of the mobile phone according to the brightness of the ambient light, thereby adjusting the brightness of the display screen 941, and the proximity sensor may When the mobile phone moves to the ear, the display 941 and/or backlight is turned off. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when at rest, and can be used for applications that recognize mobile phone gestures (such as horizontal and vertical screen switching, magnetic force) (Attitude calibration), vibration recognition related functions (such as pedometer, tap), etc. As for other sensors such as gyro, barometer, hygrometer, thermometer, infrared sensor, etc. that can also be configured on mobile phones, they will not be repeated here.
音频电路960、扬声器961,传声器962可提供用户与手机之间的音频接口。音频电路960可将接收到的音频数据转换后的电信号,传输到扬声器961,由扬声器961转换为声音信号播放;另一方面,传声器962将收集的声音信号转换为电信号,由音频电路960接收后转换为音频数据,再将音频数据播放处理器980处理后,经RF电路910以发送给比如另一手机,或者将音频数据播放至存储器920以便进一步处理。The audio circuit 960, the speaker 961, and the microphone 962 can provide an audio interface between the user and the mobile phone. The audio circuit 960 can transmit the electric signal converted from the received audio data to the speaker 961, which is converted into a sound signal for playback by the speaker 961; After being received, it is converted into audio data, and then processed by the audio data playback processor 980, and sent to, for example, another mobile phone via the RF circuit 910, or the audio data is played to the memory 920 for further processing.
Wi-Fi属于短距离无线传输技术,手机通过Wi-Fi模块970可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图5示出了Wi-Fi模块970,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。Wi-Fi is a short-distance wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages, and access streaming media through the Wi-Fi module 970. It provides users with wireless broadband Internet access. Although FIG. 5 shows the Wi-Fi module 970, it can be understood that it is not a necessary component of a mobile phone, and can be omitted as needed without changing the scope of the essence of the invention.
处理器980是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器920内的软件程序和/或模块,以及调用存储在存储器920内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器980可包括一个或多个处理单元;优选的,处理器980可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器980中。The processor 980 is the control center of the mobile phone, connects various parts of the entire mobile phone with various interfaces and lines, executes or executes the software programs and/or modules stored in the memory 920, and calls the data stored in the memory 920 to execute Various functions and processing data of the mobile phone, so as to monitor the mobile phone as a whole. Optionally, the processor 980 may include one or more processing units; preferably, the processor 980 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and application programs, etc. The modem processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 980.
手机还包括给各个部件供电的电源990(比如电池),优选的,电源可以通过电源管理系统与处理器980逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power supply 990 (such as a battery) that supplies power to various components. Preferably, the power supply can be logically connected to the processor 980 through the power management system, so as to realize functions such as charging, discharging, and power management through the power management system.
手机还可以包括摄像头9100,摄像头9100用于拍摄图像与视频,并将拍摄的图像和视频传输到处理器980进行处理。The mobile phone may further include a camera 9100, which is used to capture images and videos, and transmit the captured images and videos to the processor 980 for processing.
手机还可以蓝牙模块等,在此不再赘述。The mobile phone can also have a Bluetooth module, etc., which will not be repeated here.
前述图1B、图2所示的实施例中,各步骤方法流程可以基于该手机的结构实现。In the foregoing embodiments shown in FIG. 1B and FIG. 2, the method flow of each step may be implemented based on the structure of the mobile phone.
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括电子设备。An embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes the computer to perform part or all of the steps of any method described in the foregoing method embodiments , The aforementioned computer includes electronic devices.
本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括电子设备。An embodiment of the present application further provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing the computer program, the computer program is operable to cause the computer to perform any of the methods described in the above embodiments Some or all steps of the method. The computer program product may be a software installation package, and the computer includes an electronic device.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the sequence of actions described. Because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the description of each embodiment has its own emphasis. For a part that is not detailed in an embodiment, you can refer to the related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实 现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device may be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above-mentioned units is only a division of logical functions. In actual implementation, there may be other division methods, for example, multiple units or components may be combined or integrated To another system, or some features can be ignored, or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical or other forms.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or software function unit.
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable memory. Based on such an understanding, the technical solution of the present application may essentially be a part that contributes to the existing technology or all or part of the technical solution may be embodied in the form of a software product, and the computer software product is stored in a memory, Several instructions are included to enable a computer device (which may be a personal computer, server, network device, etc.) to perform all or part of the steps of the above methods in various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。A person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing relevant hardware through a program. The program may be stored in a computer-readable memory, and the memory may include: a flash disk , Read-Only Memory (English: Read-Only Memory, abbreviation: ROM), Random Access Device (English: Random Access Memory, abbreviation: RAM), magnetic disk or optical disk, etc.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the present application are described in detail above, and specific examples are used to explain the principle and implementation of the present application. The descriptions of the above embodiments are only used to help understand the method and core idea of the present application; at the same time, Those of ordinary skill in the art, based on the ideas of the present application, may have changes in specific implementations and application scopes. In summary, the content of this specification should not be construed as limiting the present application.

Claims (20)

  1. 一种链路聚合实现方法,其特征在于,应用于电子设备,所述方法包括:A method for implementing link aggregation is characterized in that it is applied to electronic equipment, and the method includes:
    进行网络搜索,得到M个无线网络,所述M个无线网络对应M个网络设备,所述M个无线网络与所述M个网络设备一一对应,所述M个网络设备中每一网络设备连接至少一个智能设备,M为大于1的整数;Perform a network search to obtain M wireless networks, the M wireless networks correspond to M network devices, the M wireless networks correspond to the M network devices in a one-to-one correspondence, and each network device of the M network devices Connect at least one smart device, M is an integer greater than 1;
    获取所述M个网络设备中每一网络设备的网络状态参数,得到M个网络状态参数;Acquiring network state parameters of each of the M network devices to obtain M network state parameters;
    获取所述M个网络设备中每一网络设备对应的至少一个智能设备的工作模式信息,得到M个工作模式信息,所述M个工作模式信息中每一工作模式信息包含对应的至少一个智能设备中每一智能设备的工作模式;Obtain working mode information of at least one smart device corresponding to each of the M network devices to obtain M working mode information, and each working mode information in the M working mode information includes at least one corresponding smart device The working mode of each smart device in the
    根据所述M个网络状态参数和所述M个工作模式信息确定所述M个网络设备中的至少两个目标网络设备,根据所述至少两个目标网络设备对应的至少两个目标无线网络进行链路聚合操作。Determine at least two target network devices among the M network devices according to the M network state parameters and the M work mode information, and perform the process according to the at least two target wireless networks corresponding to the at least two target network devices Link aggregation operation.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述M个网络状态参数和所述M个工作模式信息确定所述M个网络设备中的至少两个目标网络设备,包括:The method according to claim 1, wherein the determining at least two target network devices of the M network devices according to the M network state parameters and the M working mode information comprises:
    根据所述M个工作模式信息对所述M个网络设备进行排序,得到排序后的M个网络设备;Sort the M network devices according to the M work mode information to obtain the sorted M network devices;
    选取排序后的所述M个网络设备中排序靠前的N个目标网络设备,N为大于2且小于M的整数;Selecting the top N target network devices in the sorted M network devices, where N is an integer greater than 2 and less than M;
    依据所述N个目标网络设备对应的N个目标网络状态参数对所述N个目标网络设备的无线网络进行评价,得到N个评价值;Evaluate the wireless networks of the N target network devices according to the N target network state parameters corresponding to the N target network devices to obtain N evaluation values;
    确定所述N个评价值中高于预设评价值的至少两个目标评价值,并获取所述至少两个目标评价值对应的至少两个目标网络设备。Determine at least two target evaluation values higher than a preset evaluation value among the N evaluation values, and obtain at least two target network devices corresponding to the at least two target evaluation values.
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述M个工作模式信息对所述M个网络设备进行排序,得到排序后的M个网络设备,包括:The method according to claim 2, wherein the sorting the M network devices according to the M working mode information to obtain the sorted M network devices comprises:
    确定所述M个工作模式信息中每一工作模式信息包含的预设工作模式的数量,得到M个数量;Determine the number of preset work modes included in each work mode information in the M work mode information to obtain M numbers;
    根据所述M个数量从小到大的顺序将所述M个网络设备进行排序,得到排序后的所述M个网络设备。The M network devices are sorted according to the order of the M numbers from small to large to obtain the M network devices after sorting.
  4. 根据权利要求2所述的方法,其特征在于,所述根据所述M个工作模式信息对所述M个网络设备进行排序,得到排序后的M个网络设备,包括:The method according to claim 2, wherein the sorting the M network devices according to the M working mode information to obtain the sorted M network devices comprises:
    根据预设的工作模式与网络资源需求量之间的对应关系确定所述M个工作模式信息中每一工作模式信息包含的至少一个工作模式对应的至少一个第一网络资源需求量;Determine at least one first network resource demand corresponding to at least one working mode included in each working mode information in each of the M working mode information according to the correspondence between the preset working mode and the network resource demand;
    根据所述M个工作模式信息中每一工作模式信息对应的至少一个第一网络资源需求量确定对应的第一网络资源需求量,得到M个第二网络资源需求量;Determine the corresponding first network resource demand according to at least one first network resource demand corresponding to each work mode information in the M work mode information, and obtain M second network resource demands;
    按照网络资源需求量从低到高的顺序将所述M个网络设备进行排序,得到排序后的所述M个网络设备。The M network devices are sorted according to the order of network resource demand from low to high, and the sorted M network devices are obtained.
  5. 根据权利要求4所述的方法,其特征在于,每一所述工作模式信息包括至少一个工作模式,所述根据所述M个工作模式信息中每一工作模式信息对应的至少一个第一网络资源需求量确定对应的第一网络资源需求量,得到M个第二网络资源需求量,包括:The method according to claim 4, wherein each of the work mode information includes at least one work mode, and the at least one first network resource corresponding to each work mode information in the M work mode information The demand determines the corresponding first network resource demand, and obtains the M second network resource demand, including:
    确定所述M个工作模式信息中每一工作模式信息包括的至少一个工作模式中每一工作模式对应的第一网络资源需求量,得到所述M个工作模式信息中每一工作模式信息对应的至少一个第一网络资源需求量;Determine the first network resource requirement corresponding to each working mode in at least one working mode included in each working mode information in the M working mode information, and obtain the corresponding value for each working mode information in the M working mode information At least one first network resource demand;
    对所述M个工作模式信息中每一工作模式信息对应的至少一个第一网络资源需求量进 行求和,得到M个求和结果,将所述M个求和结果中每一求和结果作为所述M个工作模式信息中每一工作模式信息对应的第二网络资源需求量,得到M个第二网络资源需求量。The sum of at least one first network resource demand corresponding to each of the M work mode information is performed to obtain M sum results, and each of the M sum results is taken as The second network resource demand corresponding to each work mode information in the M work mode information obtains the M second network resource demand.
  6. 根据权利要求2-4任一项所述的方法,其特征在于,所述依据所述N个目标网络设备对应的N个目标网络状态参数对所述N个目标网络设备的无线网络进行评价,得到N个评价值,包括:The method according to any one of claims 2-4, wherein the evaluating the wireless networks of the N target network devices according to the N target network state parameters corresponding to the N target network devices, Obtain N evaluation values, including:
    根据预设的网络状态参数与评价值之间的对应关系,确定所述N个目标网络设备对应的N个目标网络状态参数中每一目标网络状态参数对应的评价值,得到N个评价值。According to the preset correspondence between the network state parameters and the evaluation values, the evaluation value corresponding to each target network state parameter among the N target network state parameters corresponding to the N target network devices is determined, and N evaluation values are obtained.
  7. 根据权利要求6所述的方法,其特征在于,所述目标无线网络的网络状态参数包括:目标信号强度值、目标数据传输速率和目标往返时延,所述确定任一所述目标网络状态参数对应的评价值,包括:The method according to claim 6, wherein the network state parameters of the target wireless network include: a target signal strength value, a target data transmission rate, and a target round-trip delay, and the determination of any one of the target network state parameters The corresponding evaluation values include:
    按照预设的信号强度值与第一评价值之间的第一对应关系,确定所述目标信号强度值对应的第一评价值;Determine the first evaluation value corresponding to the target signal strength value according to the preset first correspondence between the signal strength value and the first evaluation value;
    按照预设的数据传输速率与第二评价值之间的第二对应关系,确定所述目标数据传输速率对应的第二评价值;Determine the second evaluation value corresponding to the target data transmission rate according to the second correspondence between the preset data transmission rate and the second evaluation value;
    按照预设的往返时延时与第三评价值之间的第三对应关系,确定所述目标往返时延时对应的第三评价值;Determine the third evaluation value corresponding to the target round-trip time delay according to the preset third correspondence between the round-trip time delay and the third evaluation value;
    获取所述第一评价值对应的第一权值、所述第二评价值对应的第二权值以及所述第三评价值对应的第三权值,所述第一权值、所述第二权值与所述第三权值之和为1;Acquire a first weight corresponding to the first evaluation value, a second weight corresponding to the second evaluation value, and a third weight corresponding to the third evaluation value, the first weight and the first weight The sum of the second weight and the third weight is 1;
    依据所述第一评价值、所述第二评价值、所述第三评价值、所述第一权值、所述第二权值与所述第三权值进行加权运算,得到所述任一目标网络状态参数确定对应的评价值。Perform a weighting operation according to the first evaluation value, the second evaluation value, the third evaluation value, the first weight value, the second weight value, and the third weight value to obtain the any A target network state parameter determines the corresponding evaluation value.
  8. 根据权利要求2-7任一项所述的方法,其特征在于,所述工作模式包括以下任意一种:作业模式、待机模式或关机模式;所述作业模式包括以下至少一种:在线播放、下载、通话、接收指令、录音和录像。The method according to any one of claims 2-7, wherein the working mode comprises any one of the following: a working mode, a standby mode or a shutdown mode; the working mode comprises at least one of the following: online playing, Download, call, receive instructions, record and video.
  9. 根据权利要求1所述的方法,其特征在于,所述网络状态参数包括以下至少一种:信号强度值、数据传输速率、往返时延和目标误码率。The method according to claim 1, wherein the network state parameter includes at least one of the following: signal strength value, data transmission rate, round trip delay, and target bit error rate.
  10. 一种链路聚合实现装置,其特征在于,应用于电子设备,所述链路聚合实现装置包括:A device for implementing link aggregation is characterized in that it is applied to electronic equipment, and the device for implementing link aggregation includes:
    搜索单元,用于进行网络搜索,得到M个无线网络,所述M个无线网络对应M个网络设备,所述M个无线网络与所述M个网络设备一一对应,所述M个网络设备中每一网络设备连接至少一个智能设备,M为大于1的整数;The search unit is configured to perform a network search to obtain M wireless networks, the M wireless networks correspond to M network devices, the M wireless networks correspond to the M network devices in a one-to-one correspondence, and the M network devices Each network device is connected to at least one smart device, and M is an integer greater than 1.
    获取单元,用于获取所述M个网络设备中每一网络设备的网络状态参数,得到M个网络状态参数;以及获取所述M个网络设备中每一网络设备对应的至少一个智能设备的工作模式信息,得到M个工作模式信息,所述M个工作模式信息中每一工作模式信息包含对应的至少一个智能设备中每一智能设备的工作模式;The obtaining unit is configured to obtain the network state parameters of each of the M network devices to obtain M network state parameters; and obtain the work of at least one smart device corresponding to each of the M network devices Mode information to obtain M work mode information, and each work mode information in the M work mode information includes the work mode of each smart device in the corresponding at least one smart device;
    确定单元,用于根据所述M个网络状态参数和所述M个工作模式信息确定所述M个网络设备中的至少两个目标网络设备;A determining unit, configured to determine at least two target network devices among the M network devices according to the M network state parameters and the M working mode information;
    网络接入单元,用于根据所述至少两个目标网络设备对应的至少两个目标无线网络进行链路聚合操作。The network access unit is configured to perform link aggregation operations according to at least two target wireless networks corresponding to the at least two target network devices.
  11. 根据权利要求10所述的装置,其特征在于,在所述根据所述M个网络状态参数和所述M个工作模式信息确定所述M个网络设备中的至少两个目标网络设备方面,所述确定单元具体用于:The apparatus according to claim 10, wherein in the aspect of determining at least two target network devices among the M network devices according to the M network state parameters and the M working mode information, the The determining unit is specifically used for:
    根据所述M个工作模式信息对所述M个网络设备进行排序,得到排序后的M个网络设备;Sort the M network devices according to the M work mode information to obtain the sorted M network devices;
    选取排序后的所述M个网络设备中排序靠前的N个目标网络设备,N为大于2且小于 M的整数;Selecting the top N target network devices in the sorted M network devices, where N is an integer greater than 2 and less than M;
    依据所述N个目标网络设备对应的N个目标网络状态参数对所述N个目标网络设备的无线网络进行评价,得到N个评价值;Evaluate the wireless networks of the N target network devices according to the N target network state parameters corresponding to the N target network devices to obtain N evaluation values;
    确定所述N个评价值中高于预设评价值的至少两个目标评价值,并获取所述至少两个目标评价值对应的至少两个目标网络设备。Determine at least two target evaluation values higher than a preset evaluation value among the N evaluation values, and obtain at least two target network devices corresponding to the at least two target evaluation values.
  12. 根据权利要求11所述的装置,其特征在于,在所述根据所述M个工作模式信息对所述M个网络设备进行排序,得到排序后的M个网络设备方面,所述确定单元具体用于:The apparatus according to claim 11, wherein in the aspect of sorting the M network devices according to the M work mode information to obtain the sorted M network devices, the determining unit specifically uses in:
    确定所述M个工作模式信息中每一工作模式信息包含的预设工作模式的数量,得到M个数量;Determine the number of preset work modes included in each work mode information in the M work mode information to obtain M numbers;
    根据所述M个数量从小到大的顺序将所述M个网络设备进行排序,得到排序后的所述M个网络设备。The M network devices are sorted according to the order of the M numbers from small to large to obtain the M network devices after sorting.
  13. 根据权利要求11所述的装置,其特征在于,在所述根据所述M个工作模式信息对所述M个网络设备进行排序,得到排序后的M个网络设备方面,所述确定单元具体用于:The apparatus according to claim 11, wherein in the aspect of sorting the M network devices according to the M work mode information to obtain the sorted M network devices, the determining unit specifically uses in:
    根据预设的工作模式与网络资源需求量之间的对应关系确定所述M个工作模式信息中每一工作模式信息包含的至少一个工作模式对应的至少一个第一网络资源需求量;Determine at least one first network resource demand corresponding to at least one working mode included in each working mode information in each of the M working mode information according to the correspondence between the preset working mode and the network resource demand;
    根据所述M个工作模式信息中每一工作模式信息对应的至少一个第一网络资源需求量确定对应的第一网络资源需求量,得到M个第二网络资源需求量;Determine the corresponding first network resource demand according to at least one first network resource demand corresponding to each work mode information in the M work mode information, and obtain M second network resource demands;
    按照网络资源需求量从低到高的顺序将所述M个网络设备进行排序,得到排序后的所述M个网络设备。The M network devices are sorted according to the order of network resource demand from low to high, and the sorted M network devices are obtained.
  14. 根据权利要求13所述的装置,其特征在于,每一所述工作模式信息包括至少一个工作模式,在所述根据所述M个工作模式信息中每一工作模式信息对应的至少一个第一网络资源需求量确定对应的第一网络资源需求量,得到M个第二网络资源需求量方面,所述确定单元具体用于:The apparatus according to claim 13, wherein each of the work mode information includes at least one work mode, and at least one first network corresponding to each work mode information in the M work mode information The resource demand determines the corresponding first network resource demand, and in terms of obtaining M second network resource demand, the determining unit is specifically configured to:
    确定所述M个工作模式信息中每一工作模式信息包括的至少一个工作模式中每一工作模式对应的第一网络资源需求量,得到所述M个工作模式信息中每一工作模式信息对应的至少一个第一网络资源需求量;Determine the first network resource requirement corresponding to each working mode in at least one working mode included in each working mode information in the M working mode information, and obtain the corresponding value for each working mode information in the M working mode information At least one first network resource demand;
    对所述M个工作模式信息中每一工作模式信息对应的至少一个第一网络资源需求量进行求和,得到M个求和结果,将所述M个求和结果中每一求和结果作为所述M个工作模式信息中每一工作模式信息对应的第二网络资源需求量,得到M个第二网络资源需求量。The sum of at least one first network resource demand corresponding to each of the M work mode information is performed to obtain M sum results, and each of the M sum results is taken as The second network resource demand corresponding to each work mode information in the M work mode information obtains the M second network resource demand.
  15. 根据权利要求11-14任一项所述的装置,其特征在于,在所述依据所述N个目标网络设备对应的N个目标网络状态参数对所述N个目标网络设备的无线网络进行评价,得到N个评价值方面,所述确定单元具体用于:The apparatus according to any one of claims 11-14, wherein the wireless network of the N target network devices is evaluated according to the N target network state parameters corresponding to the N target network devices , In terms of obtaining N evaluation values, the determining unit is specifically configured to:
    根据预设的网络状态参数与评价值之间的对应关系,确定所述N个目标网络设备对应的N个目标网络状态参数中每一目标网络状态参数对应的评价值,得到N个评价值。According to the preset correspondence between the network state parameters and the evaluation values, the evaluation value corresponding to each target network state parameter among the N target network state parameters corresponding to the N target network devices is determined, and N evaluation values are obtained.
  16. 根据权利要求1所述的装置,其特征在于,所述目标无线网络的网络状态参数包括:目标信号强度值、目标数据传输速率和目标往返时延,在所述确定任一所述目标网络状态参数对应的评价值方面,所述确定单元具体用于:The device according to claim 1, wherein the network state parameters of the target wireless network include: a target signal strength value, a target data transmission rate, and a target round-trip delay, and when determining any of the target network status Regarding the evaluation value corresponding to the parameter, the determining unit is specifically configured to:
    按照预设的信号强度值与第一评价值之间的第一对应关系,确定所述目标信号强度值对应的第一评价值;Determine the first evaluation value corresponding to the target signal strength value according to the preset first correspondence between the signal strength value and the first evaluation value;
    按照预设的数据传输速率与第二评价值之间的第二对应关系,确定所述目标数据传输速率对应的第二评价值;Determine the second evaluation value corresponding to the target data transmission rate according to the second correspondence between the preset data transmission rate and the second evaluation value;
    按照预设的往返时延时与第三评价值之间的第三对应关系,确定所述目标往返时延时 对应的第三评价值;Determine the third evaluation value corresponding to the target round-trip time delay according to the preset third correspondence between the round-trip time delay and the third evaluation value;
    获取所述第一评价值对应的第一权值、所述第二评价值对应的第二权值以及所述第三评价值对应的第三权值,所述第一权值、所述第二权值与所述第三权值之和为1;Acquire a first weight corresponding to the first evaluation value, a second weight corresponding to the second evaluation value, and a third weight corresponding to the third evaluation value, the first weight and the first weight The sum of the second weight and the third weight is 1;
    依据所述第一评价值、所述第二评价值、所述第三评价值、所述第一权值、所述第二权值与所述第三权值进行加权运算,得到所述任一目标网络状态参数确定对应的评价值。Perform a weighting operation according to the first evaluation value, the second evaluation value, the third evaluation value, the first weight value, the second weight value, and the third weight value to obtain the any A target network state parameter determines the corresponding evaluation value.
  17. 根据权利要求1所述的装置,其特征在于所述工作模式包括以下任意一种:作业模式、待机模式或关机模式;所述作业模式包括以下至少一种:在线播放、下载、通话、接收指令、录音和录像。The device according to claim 1, wherein the working mode comprises any one of the following: working mode, standby mode or shutdown mode; the working mode comprises at least one of the following: online playing, downloading, calling, receiving instructions , Audio and video recording.
  18. 一种电子设备,其特征在于,包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-9任一项所述的方法中的步骤的指令。An electronic device, characterized in that it includes a processor, a memory, a communication interface, and one or more programs, the one or more programs are stored in the memory, and are configured to be executed by the processor, The program includes instructions for performing the steps in the method of any one of claims 1-9.
  19. 一种计算机可读存储介质,其特征在于,存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-9任一项所述的方法。A computer-readable storage medium, characterized by storing a computer program for electronic data exchange, wherein the computer program causes a computer to execute the method according to any one of claims 1-9.
  20. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如权利要求1-9任一项所述的方法。A computer program product, characterized in that the computer program product includes a non-transitory computer-readable storage medium storing a computer program, the computer program being operable to cause a computer to execute the computer program according to any one of claims 1-9 The method described.
PCT/CN2020/071252 2019-01-14 2020-01-09 Link aggregation realization method and related product WO2020147645A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910033357.2A CN109618420A (en) 2019-01-14 2019-01-14 Link Aggregation Implementation Method and Related Products
CN201910033357.2 2019-01-14

Publications (1)

Publication Number Publication Date
WO2020147645A1 true WO2020147645A1 (en) 2020-07-23

Family

ID=66016804

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/071252 WO2020147645A1 (en) 2019-01-14 2020-01-09 Link aggregation realization method and related product

Country Status (2)

Country Link
CN (1) CN109618420A (en)
WO (1) WO2020147645A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112469099A (en) * 2020-11-25 2021-03-09 维沃移动通信有限公司 Networking control method, networking control device, electronic equipment and storage medium
CN114339833A (en) * 2021-12-27 2022-04-12 上海旷通科技有限公司 Method and equipment for configuring route based on wireless network real-time information
CN116347482A (en) * 2023-04-12 2023-06-27 北京智享嘉网络信息技术有限公司 Automatic network optimization method and system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109618420A (en) * 2019-01-14 2019-04-12 Oppo广东移动通信有限公司 Link Aggregation Implementation Method and Related Products

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104782223A (en) * 2012-10-19 2015-07-15 富士通株式会社 Wireless communication in multi-RAT system
CN106304278A (en) * 2015-05-19 2017-01-04 中兴通讯股份有限公司 Network selecting method, device and mobile terminal
US20170325251A1 (en) * 2016-05-06 2017-11-09 Qualcomm Incorporated Radio access technology (rat) aggregation on a shared communication medium
CN109618420A (en) * 2019-01-14 2019-04-12 Oppo广东移动通信有限公司 Link Aggregation Implementation Method and Related Products

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104782223A (en) * 2012-10-19 2015-07-15 富士通株式会社 Wireless communication in multi-RAT system
CN106304278A (en) * 2015-05-19 2017-01-04 中兴通讯股份有限公司 Network selecting method, device and mobile terminal
US20170325251A1 (en) * 2016-05-06 2017-11-09 Qualcomm Incorporated Radio access technology (rat) aggregation on a shared communication medium
CN109618420A (en) * 2019-01-14 2019-04-12 Oppo广东移动通信有限公司 Link Aggregation Implementation Method and Related Products

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112469099A (en) * 2020-11-25 2021-03-09 维沃移动通信有限公司 Networking control method, networking control device, electronic equipment and storage medium
CN112469099B (en) * 2020-11-25 2023-06-23 维沃移动通信有限公司 Networking control method, networking control device, electronic equipment and storage medium
CN114339833A (en) * 2021-12-27 2022-04-12 上海旷通科技有限公司 Method and equipment for configuring route based on wireless network real-time information
CN114339833B (en) * 2021-12-27 2023-10-03 上海旷通科技有限公司 Method and equipment for configuring route based on real-time information of wireless network
CN116347482A (en) * 2023-04-12 2023-06-27 北京智享嘉网络信息技术有限公司 Automatic network optimization method and system
CN116347482B (en) * 2023-04-12 2023-09-01 北京智享嘉网络信息技术有限公司 Automatic network optimization method and system

Also Published As

Publication number Publication date
CN109618420A (en) 2019-04-12

Similar Documents

Publication Publication Date Title
CN111741513B (en) Network distribution method of Internet of things equipment and related equipment
WO2020147645A1 (en) Link aggregation realization method and related product
CN106686626B (en) WiFi roaming setting method and terminal equipment
CN106454404B (en) A kind of methods, devices and systems playing live video
CN103402190B (en) Method and device for selecting network as well as terminal
US11973684B2 (en) Link aggregation implementation method and related product
CN110428782B (en) Brightness adjusting method and related product
CN107947825A (en) Antenna selection circuit and mobile terminal
CN106792993A (en) Channel scanning method and mobile terminal
CN108271142A (en) Wireless fidelity Wi-Fi scanning method and related products
CN106604314A (en) Network access method and terminal equipment for WiFi roaming
CN111294625B (en) Method, device, terminal equipment and storage medium for combining equipment service capability
CN106358254A (en) Network access control method and equipment
CN107766139A (en) Application management method and device
CN109922539B (en) Network connection method and related product
CN105898839A (en) Communication network access method and device
CN107817988A (en) Push message management method and related products
CN108055366A (en) Terminal call interface processing method, mobile terminal and computer readable storage medium
CN109144705A (en) Application management method, mobile terminal and computer readable storage medium
CN106793010A (en) A network access method and device
CN109617802B (en) Link Aggregation Implementation Method and Related Products
CN106507447A (en) A Wi-Fi hotspot connection method and mobile terminal
CN105007609B (en) A kind of methods, devices and systems that Wireless LAN is added
CN107291453A (en) Component display method and related product
CN107291328A (en) Interface display method and related product

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: 20741475

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: 20741475

Country of ref document: EP

Kind code of ref document: A1