[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN107222406B - Network management method and device and intelligent equipment - Google Patents

Network management method and device and intelligent equipment Download PDF

Info

Publication number
CN107222406B
CN107222406B CN201710571225.6A CN201710571225A CN107222406B CN 107222406 B CN107222406 B CN 107222406B CN 201710571225 A CN201710571225 A CN 201710571225A CN 107222406 B CN107222406 B CN 107222406B
Authority
CN
China
Prior art keywords
network
application
frequency band
determining
currently
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201710571225.6A
Other languages
Chinese (zh)
Other versions
CN107222406A (en
Inventor
余钱红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Yuanxin Junsheng Technology Co ltd
Original Assignee
Yuanxin Technology
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 Yuanxin Technology filed Critical Yuanxin Technology
Priority to CN201710571225.6A priority Critical patent/CN107222406B/en
Publication of CN107222406A publication Critical patent/CN107222406A/en
Application granted granted Critical
Publication of CN107222406B publication Critical patent/CN107222406B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/302Route determination based on requested QoS
    • H04L45/306Route determination based on the nature of the carried application
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/803Application aware
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/805QOS or priority aware
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service

Landscapes

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

Abstract

The embodiment of the invention provides a network management method, a network management device and intelligent equipment, wherein the method comprises the following steps: after receiving a network-based data transmission request of an application, determining a pre-stored routing strategy of the application; the routing strategy of the application comprises at least one network which the application has right to use, the priority of various networks and the priority of corresponding various routes; determining a network which can be currently used by the application according to the routing strategy of the application, the opened network and a preset network mutual exclusion strategy; and transmitting the data of the application according to the network which is currently used by the application. By utilizing the embodiment of the invention, a currently usable network can be more flexibly and properly allocated to the application; therefore, the probability of overlapping frequency bands among openable networks in the intelligent equipment can be greatly reduced, the interference among the networks is reduced, and the network transmission quality is improved; and the network access provided by the intelligent equipment can be more fully utilized, and the utilization level of various networks of the intelligent equipment is improved.

Description

Network management method and device and intelligent equipment
Technical Field
The invention relates to the technical field of intelligent equipment, in particular to a network management method and device and intelligent equipment.
Background
With the development of the internet of things technology, more and more network communication modules are integrated into the intelligent device.
Although the intelligent device supports multiple networks, network communication modules corresponding to the multiple networks in the intelligent device are often in an idle state at present, which results in low utilization level of the multiple networks of the intelligent device.
Disclosure of Invention
The invention provides a network management method, a network management device and intelligent equipment aiming at the defects of the existing mode, and aims to solve the problem that the utilization level of various networks supported by the intelligent equipment is low in the prior art so as to fully utilize the various networks supported by the intelligent equipment.
An embodiment of the present invention provides a network management method according to a first aspect, including:
after receiving a network-based data transmission request of an application, determining a pre-stored routing strategy of the application; the routing strategy of the application comprises at least one network which the application has right to use, the priority of various networks and the priority of corresponding various routes;
determining a network which can be currently used by the application according to the routing strategy of the application, the opened network and a preset network mutual exclusion strategy;
and transmitting the data of the application according to the network which is currently used by the application.
An embodiment of the present invention further provides, according to a second aspect, a network management apparatus, including:
the routing strategy determining module is used for determining a prestored routing strategy of the application after receiving a network-based data transmission request of the application; the routing strategy of the application comprises at least one network which the application has right to use, the priority of various networks and the priority of corresponding various routes;
the currently available network determining module is used for determining a currently available network of the application according to the routing strategy of the application, the opened network and a preset network mutual exclusion strategy;
and the transmission module is used for transmitting the data of the application according to the network which can be used by the application currently.
According to a third aspect, an embodiment of the present invention further provides an intelligent device, including:
a memory, a processor, and a display unit;
at least one middle layer program stored in the memory and executed by the processor to implement the steps of:
after receiving a network-based data transmission request of an application, determining a pre-stored routing strategy of the application; the routing strategy of the application comprises at least one network which the application has right to use, the priority of various networks and the priority of corresponding various routes;
determining a network which can be currently used by the application according to the routing strategy of the application, the opened network and a preset network mutual exclusion strategy;
and transmitting the data of the application according to the network which is currently used by the application.
In the embodiment of the invention, a routing strategy is customized for each application in advance; when the application needs to transmit network data, a currently usable network can be more flexibly and properly allocated to the application according to at least one network which the application has the right to use in the routing strategies, the priorities of various networks and the priorities of corresponding routes, and the opened network and a preset network mutual exclusion strategy; therefore, the probability of overlapping frequency bands among openable networks in the intelligent equipment can be greatly reduced, the interference among the networks is reduced, and the network transmission quality is improved; and the network access provided by the intelligent equipment can be more fully utilized, and the utilization level of various networks of the intelligent equipment is improved.
In addition, in the embodiment of the present invention, whether each network that the application has the right to use belongs to the currently assignable network is determined step by step according to the priorities of various networks in the routing policy of the application, and the network that is determined as being involved as the network that the application can use currently is determined. Since the priorities of various networks of the application are selected by the user in advance, the personalized preference and the use habit of the user are often reflected. Therefore, the network with higher priority is selected to be used for transmitting the data of the application as much as possible according to the step-by-step judgment of the priority, so that the personalized preference and the use habit of the user can be met as much as possible under the condition of keeping the network transmission quality and fully utilizing the network access provided by the intelligent equipment, and the experience of the user can be improved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart illustrating a network management method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of one example of a smart device framework architecture of an embodiment of the present invention;
fig. 3 is a flowchart illustrating a method for determining a routing policy applied in an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for managing a network according to an embodiment of the present invention;
FIG. 5 is a block diagram of an internal structure of a network management device according to an embodiment of the present invention;
fig. 6 is a schematic frame diagram of an example of the internal structure of the smart device according to the embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative only and should not be construed as limiting the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
As will be appreciated by those skilled in the art, a "terminal" as used herein includes both devices having a wireless signal receiver, which are devices having only a wireless signal receiver without transmit capability, and devices having receive and transmit hardware, which have devices having receive and transmit hardware capable of two-way communication over a two-way communication link. Such a device may include: a cellular or other communication device having a single line display or a multi-line display or a cellular or other communication device without a multi-line display; PCS (Personal Communications Service), which may combine voice, data processing, facsimile and/or data communication capabilities; a PDA (Personal Digital Assistant), which may include a radio frequency receiver, a pager, internet/intranet access, a web browser, a notepad, a calendar and/or a GPS (Global Positioning System) receiver; a conventional laptop and/or palmtop computer or other device having and/or including a radio frequency receiver. As used herein, a "terminal" or "terminal device" may be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or situated and/or configured to operate locally and/or in a distributed fashion at any other location(s) on earth and/or in space. As used herein, a "terminal Device" may also be a communication terminal, a web terminal, a music/video playing terminal, such as a PDA, an MID (Mobile Internet Device) and/or a Mobile phone with music/video playing function, or a smart tv, a set-top box, etc.
The embodiment of the invention provides a network management method, the flow schematic diagram of which is shown in figure 1, and the method comprises the following steps: s101, after receiving a network-based data transmission request of an application, determining a pre-stored routing strategy of the application; the routing strategy of the application comprises at least one network which the application has right to use, the priority of various networks and the priority of corresponding various routes; s102, determining a network which can be currently used by the application according to the routing strategy of the application, the opened network and a preset network mutual exclusion strategy; s103, transmitting the data of the application according to the network which is currently used by the application.
Therefore, in the embodiment of the invention, the routing strategy is customized for each application in advance; when the application needs to transmit network data, a currently usable network can be more flexibly and properly allocated to the application according to at least one network which the application has the right to use in the routing strategies, the priorities of various networks and the priorities of corresponding routes, and the opened network and a preset network mutual exclusion strategy; therefore, the network access provided by the intelligent equipment can be more fully utilized, and the utilization level of various networks of the intelligent equipment is improved.
The technical solution of the embodiments of the present invention is specifically described below with reference to the accompanying drawings.
The embodiment of the invention provides intelligent equipment.
The intelligent device in the embodiment of the invention comprises: intelligent terminal equipment and intelligent non-terminal equipment.
The intelligent terminal equipment can comprise intelligent mobile terminal equipment and relatively fixed intelligent terminal equipment. The intelligent mobile terminal device may include at least one of: smart phones, tablet computers, two-in-one computers, notebook computers, electronic readers, smart wearable devices, and the like.
The relatively stationary smart terminal device may include at least one of: desktop computers (e.g., desktop computers equipped with various network communication modules), smart cameras, automobile data recorders, and so forth.
The intelligent non-terminal device may include a server (e.g., a server equipped with various network communication modules) and the like.
The intelligent equipment in the embodiment of the invention is provided with at least one network communication module for supporting respective network; i.e. the smart device may support at least one network. The at least one network comprises at least one of: wireless local area network, mobile communication network, bluetooth, network conforming to zigbee protocol, near field communication network.
The Wireless local area network may be specifically a WiFi (Wireless Fidelity) local area network.
The mobile communication network may comprise at least one of: a 2G (2nd-Generation wireless telephone technology, second Generation wireless telephone technology) mobile communication network, a 3G (3rd-Generation wireless telephone technology, third Generation wireless telephone technology) mobile communication network, and an LTE (Long Term Evolution) mobile communication network.
The 2G mobile communication network may comprise at least one of: a GSM (Global System for Mobile Communication) network, and a GPRS (General Packet Radio Service) network. The 3G mobile communication network may comprise at least one of: TD-SCDMA (Time Division-Synchronous Code Division Multiple Access) network, WCDMA (Wideband Code Division Multiple Access) network, CDMA (Code Division Multiple Access) 2000 network. The LTE mobile communication network includes at least one of: TDD-LTE (Time Division duplex-Long Term Evolution) network, FDD-LTE (frequency Division duplex-Long Term Evolution) network.
Bluetooth may specifically be a Bluetooth network. The network conforming to the Zigbee protocol may specifically be a Zigbee network. The Near Field Communication network may specifically be an NFC (Near Field Communication) network.
The intelligent device in the embodiment of the invention is provided with a plurality of programs, including: kernel, middle layer program, framework layer program, application layer program, etc.
The kernel in the embodiment of the present invention may be a kernel of a conventional operating system or a modification thereof, such as a kernel of Linux or Unix system; or may be a kernel or improvement thereof based on a derivative operating system of a legacy operating system.
The middle layer program in the embodiment of the present invention is located between the kernel and the framework layer, interacts with the kernel and the framework layer, and is mainly used for determining and storing routing policies of a plurality of applications, implementing a network management method, and the like.
The application layer program, application for short, interacts with the middle layer program through the framework layer program. For ease of understanding, the following may take the form of omitting the framework layer procedures.
The intelligent device in the embodiment of the invention stores various data, including: identification related to a plurality of applications, routing policy of each application, network mutual exclusion policy and the like. Preferably, these data may be stored in the middle layer.
Fig. 2 is a schematic diagram of an example of a framework structure of a smart device according to an embodiment of the present invention. APP (Application) represents an Application of an Application layer; frame layers are not shown; a connectivity manager program or service belonging to the middle tier program; the APP interacts with a connectivity manager; mark APP is stored in the middle layer and represents information such as an identifier related to the APP received and stored by the connectivity manager; the configrule is stored in the middle layer and represents information such as the routing policy of the APP and the network mutual exclusion policy, which are determined and stored by the connectivity manager. kernel represents a kernel, and contains rtwifi, rtlte, rtzigbee and rtblue to respectively represent the routing of a WiFi network, an LTE network, a Zigbee network and a bluetooth network; WIFI, LTE, ZIGBEE, and BLUETOOTH denote a WIFI local area network, an LTE network, a ZIGBEE network, and a BLUETOOTH network, respectively. The connectivity manager can interact with rtwifi, rtlte, rtzigbee or rtblue, and correspondingly accesses to a WiFi local area network, an LTE network, a Zigbee network and a Bluetooth network.
The method for determining the network mutual exclusion policy in the present invention is described below. Preferably, the network mutual exclusion policy may be determined by an intermediate layer program (e.g., connectivity manager) in the embodiment of the present invention.
Preferably, information such as frequency ranges of various networks and information such as frequency ranges of each frequency band in the network can be collected in advance. For example, the frequency ranges of the frequency bands of the LTE network, the frequency ranges of the WiFi local area network 2.4G (mega) frequency band and the 5G frequency band, the frequency range of the 2.4G frequency band of the Zigbee network, and the like are collected.
And for the frequency bands of any two networks, determining whether the frequency range overlapped between the frequency bands of the two networks exceeds a preset repetition frequency range threshold value. The repetition frequency range threshold may be predetermined based on experimental data, empirical data, historical data, and/or actual conditions.
When the overlapped frequency range between the frequency bands of the two networks exceeds a preset re-frequency range threshold value, determining that the frequency bands of the two networks are mutually exclusive, namely, only allowing the frequency band of one of the frequency bands of the two networks to be usable or allocable at the same time.
For example, for the 2.4G band of the WiFi local area network and the 2.4G band of the Zigbee network, the two are mutually exclusive, and only the 2.4G band of the WiFi local area network or the 2.4G band of the Zigbee network is allowed to be used or allocated at the same time.
When the overlapping frequency range between the frequency bands of the two networks does not exceed the preset re-frequency range threshold, determining that the frequency bands of the two networks can coexist, namely allowing the frequency bands of the two networks to be used or to be distributed at the same time.
For example, for a 5G band of a WiFi local area network and a 2.4G band of a Zigbee network, both may coexist, and the 5G band of the WiFi local area network and the 2.4G band of the Zigbee network are allowed to be used or both may be allocated at the same time.
Thereby obtaining the network mutual exclusion strategy of the embodiment of the invention. The network mutual exclusion policy may include: at least one set of mutually exclusive network frequency bands and only one frequency band in each set of mutually exclusive network frequency bands is allowed to be used or allocated. In the frequency bands of each mutually exclusive network group, the frequency range of the overlapping frequency bands of any two networks exceeds the threshold value of the repetition frequency range. For example, the mutually exclusive network bands include a 2.4G band of a WiFi local area network and a 2.4G band of a Zigbee network.
Preferably, the middle layer program (e.g., connectivity manager) determines the network mutual exclusion policy and stores the determined network mutual exclusion policy in the middle layer.
In the embodiment of the invention, the applied routing policy comprises at least one network which the application has the right to use, the priority of each network and the priority of each corresponding route. The applied routing policy further comprises: the priority of each network that the application has access to.
The following specifically describes a method for determining a routing policy applied in the embodiment of the present invention. Preferably, the routing policy of each application may be determined by an intermediate layer program (e.g., connectivity manager). A flow chart of a method for determining a routing policy applied in the embodiment of the present invention is shown in fig. 3, and includes the following steps:
s301: and when receiving a network authority application request of the application, determining at least one network applied by the application.
Preferably, the application sends a network permission application request to a middle tier program (e.g., connectivity manager) during the installation process. The network authority application request of the application comprises at least one network applied by the application.
Preferably, each application sends a network permission application request to the connectivity manager of the middle layer through a corresponding socket channel. The applied identifiers correspond to the identifiers of the socket channels one to one.
When the middle layer program receives the network authority application request of the application, at least one network applied by the application is analyzed from the network authority application request. For example, the APP1 is resolved for using the 5G band of the WiFi local area network, the LTE network, and the Zigbee network.
The middle layer program generates a unique mark of the application for each application; for example, the socket mark1 of APP1 is given by the UID of APP1 as the only mark of APP 1.
And storing at least one network applied by each application in correspondence with the unique mark of the application. Further, it may be stored in the intermediate layer.
S302: and determining at least one network which the application is authorized to use according to the at least one network applied by the application, the multiple networks supported by the intelligent equipment and a preset network mutual exclusion strategy.
Preferably, the middle layer program detects all networks supported by the intelligent device to which the middle layer program belongs, and obtains a plurality of networks supported by the intelligent device.
Comparing at least one network applied by the application with various networks supported by the intelligent equipment, and screening the network supported by the intelligent equipment from the at least one network applied by the application as at least one network possibly applied by the application.
And determining at least one network which the application is authorized to use from the at least one network which the application may apply for according to the network mutual exclusion strategy.
For example, at least one network that an application may apply to includes: a 2.4G frequency band of a WiFi local area network, a 5G frequency band of the WiFi local area network, a specified frequency band of an LTE network and a 2.4G frequency band of a Zigbee network; and the appointed frequency band of the LTE network and the frequency bands of other networks can coexist, and mutual exclusion does not occur. Determining at least one network which is authorized to be used by the application according to the network mutual exclusion strategy, wherein the network can be a 2.4G frequency band of a WiFi local area network, a 5G frequency band of the WiFi local area network and an appointed frequency band of an LTE network; or a 5G frequency band of a WiFi local area network, a specified frequency band of an LTE network, and a 2.4G frequency band of a Zigbee network. The specified frequency band of the LTE network may specifically be a frequency band that does not mutually exclusive with the 2.4G frequency band.
S303: a network priority configuration interface is displayed for at least one network to which the application has access.
The middle layer program displays a network priority configuration interface, and displays various networks which the application has the right to use and priority input fields of the various networks in the network priority configuration interface.
Preferably, the middle layer program displays a network priority configuration interface, and displays various networks which the application has the right to use and candidate priorities corresponding to the various networks in the network priority configuration interface.
S304: after the priorities of various networks input by a user are received through the network priority configuration interface, the priorities of various networks which the application is authorized to use are determined.
Preferably, the middle layer program determines the priority of the various networks which the application has the right to use after receiving the priority of the various networks input by the user through the priority input field of the various networks in the network priority configuration interface.
For example, the priority order of the various networks that APP1 is determined to have rights to use is: the 5G frequency band of the WiFi local area network, the designated frequency band of the LTE network and the 2.4G frequency band of the Zigbee network. The specified frequency band of the LTE network may specifically be a frequency band that does not mutually exclusive with the 2.4G frequency band.
Preferably, when the user selects the candidate priorities corresponding to the various networks in the network priority configuration interface, the middle layer program receives a selection instruction of the user for the priorities of the various networks through the network priority configuration interface, and determines the priorities of the various networks which the application has right to use.
For example, the candidate priorities corresponding to the 5G frequency band of the WiFi local area network, the designated frequency band of the LTE network, and the 2.4G frequency band of the Zigbee network in the network priority configuration interface are respectively selected as the first priority, the second priority, and the third priority by the user, then the intermediate layer program receives the priorities respectively selected by the user for the 5G frequency band of the WiFi local area network, the designated frequency band of the LTE network, and the 2.4G frequency band of the Zigbee network through the network priority configuration interface, and determines that the priorities of the 5G frequency band of the WiFi local area network, the designated frequency band of the LTE network, and the 2.4G frequency band of the Zigbee network to which the application is entitled to use are respectively the first priority, the second priority, and the third priority.
S305: and determining the priority of each route corresponding to each network which the application has the right to use.
Preferably, the intermediate layer program determines the priority of each route corresponding to each network that the application has the right to use according to the priority of each network that the application has the right to use. The priorities of the various networks correspond one-to-one with the priorities of the routes corresponding to the various networks.
Further, the order in which the route is used by the label 1 (i.e., APP1) is rt _ wifi > rt _ lte > rt _ zigbee; and the rt _ wifi, the rt _ lte and the rt _ zigbee respectively represent the corresponding routes of the three networks.
In the embodiment of the present invention, each network is configured with a DNS (Domain Name System) file corresponding to the network. For example, the DNS file of a WiFi local area network is WiFi _ resolve. The DNS file of the network comprises DNS information corresponding to the network, and the DNS information comprises a network address of a DNS server corresponding to the network.
The following develops and introduces a network management method in the embodiment of the present invention, and a flow diagram of the method is shown in fig. 4, and the method includes the following steps:
s401: a network-based data transfer request for an application is received.
Preferably, the middle layer program receives a network-based data transmission request of the application through a socket channel corresponding to the application. Further, the data transfer request may include data to be transferred by the application over the network.
S402: and determining the currently allocable network according to the opened network and a preset network mutual exclusion strategy.
Preferably, the middle layer program detects at least one opened network (according to a user instruction or an application request) in the intelligent device to which the middle layer program belongs.
And the middle layer program acquires a predetermined and stored network mutual exclusion strategy.
And determining the currently allocable network according to the opened network and a preset network mutual exclusion strategy. Currently assignable networks may include: a network that is not currently open (in the present smart device).
Further, according to the started network and a preset network mutual exclusion strategy, a current unallocated network is determined, and the current unallocated network is prohibited from being started.
For example, when the 2.4G frequency band of the WiFi local area network that is already turned on in the smart device, but the frequency band that does not mutually exclude the 2.4G frequency band in the LTE network and the 2.4G frequency band of the Zigbee network are not turned on, it is determined that the currently allocable network may include the 2.4G frequency band of the WiFi local area network (that is currently turned on) and the frequency band that does not mutually exclude the 2.4G frequency band in the LTE network (that is not currently turned on) according to the already turned on network and a preset network mutual exclusion policy. The frequency bands in LTE that are not mutually exclusive with the 2.4G frequency band may include the 1880-1890Mhz frequency band in band 39 and/or the frequency band corresponding to band 3. And the 2.4G frequency band of the Zigbee network is determined as a currently unallocated network, and is prohibited from being turned on.
For another example, when the 2.4G frequency band of the WiFi local area network and the 2.4G frequency band of the Zigbee network that have been turned on in the smart device but the frequency band that does not mutually exclude the 2.4G frequency band in the LTE network is not turned on, it is determined that the currently allocable network may include the frequency band that does not mutually exclude the 2.4G frequency band in LTE (currently not turned on) according to the turned on network and a preset network mutual exclusion policy; and determining that the currently allocable network further comprises a 2.4G frequency band of one of a 2.4G frequency band (currently opened) of a WiFi local area network and a 2.4G frequency band (currently opened) of a Zigbee network according to the opened network and a preset network mutual exclusion strategy.
Further, for mutually exclusive frequency bands between different networks, for example, for a 2.4G frequency band of a WiFi local area network and a 2.4G frequency band of a Zigbee network, the frequency band of one of the networks may be selected as a part of a currently assignable network by using the following methods.
First, the frequency band of a network can be randomly selected from mutually exclusive frequency bands among different activated networks to be used as a part of the currently allocable network. And taking the frequency band of the other network which is not selected as the current unallocated network, and forbidding the current unallocated network to be started.
Second, the frequency band of the network that is turned on last (i.e. turned on last on the time axis) can be selected from the mutually exclusive frequency bands among the different networks that have been turned on, as a part of the currently assignable network. The frequency band of other networks which are started previously (i.e. not started last) is taken as the current unallocated network, and the current unallocated network is prohibited from being started.
And thirdly, selecting one of the frequency bands of the networks according to the sources of the opening instructions of the mutually exclusive frequency bands among the different opened networks. For example, when the start command of the frequency band of some networks is from the request of the application itself, and the start command of the frequency band of other networks is from the human-computer interaction interface (i.e. directly input by the user), the frequency band of the network from which the start command is from the human-computer interaction interface (i.e. from the user) is selected as a part of the currently assignable network. And taking the frequency band of the other network with the opening instruction from the application request (namely from the non-user) as the current unallocated network, and forbidding the current unallocated network to be opened.
S403: according to the priorities of various networks in the applied routing strategy, whether each network which the application has the right to use belongs to the currently distributable network is judged step by step; when the presence determination result is yes, step S404 is executed; when the judgment results are no, step S406 is executed.
Preferably, after receiving the network-based data transmission request of the application, the middle layer program determines the routing policy of the application from the pre-stored routing policies of the plurality of applications in the middle layer.
The applied routing policies include: at least one network to which the application is entitled, priorities of various networks to which the application is entitled, and priorities of respective DNS files corresponding to the various networks to which the application is entitled.
And judging whether the network corresponding to the priority belongs to the currently allocable network or not for the network corresponding to each priority which is used by the application according to the sequence of the priorities of the various networks in the applied routing strategy from high to low. When the presence determination result is yes, step S404 is executed; when the judgment results are no, step S406 is executed.
For example, a network to which smart devices are currently assignable includes: the 2.4G frequency band of the WiFi local area network, and the specified frequency band of the LTE network (i.e. the frequency band in the LTE network that does not mutually exclude the 2.4G frequency band). Currently unallocated networks include: the 5G frequency band of the WiFi local area network and the 2.4G frequency band of the Zigbee network. Routing policies of APP1 indicate that APP1 has access to a variety of networks including: a 5G frequency band of the WiFi local area network, a specified frequency band of the LTE network and a 2.4G frequency band of the Zigbee network; the priority of the various networks that APP1 has access to is in order from high to low: the 5G frequency band of the WiFi local area network, the designated frequency band of the LTE network and the 2.4G frequency band of the Zigbee network. The specified frequency band of the LTE network may specifically be a frequency band that does not mutually exclusive with the 2.4G frequency band.
According to the priority sequence from high to low of various networks which the APP1 has the right to use, comparing the 5G frequency band of the WiFi local area network with the APP1 with the highest (or first) priority with the currently allocable network, and judging whether the 5G frequency band of the WiFi local area network belongs to the currently allocable network; and judging that the 5G frequency band of the WiFi local area network does not belong to the currently allocable network. Comparing the assigned frequency band of the APP1 LTE network with the current allocable network, and judging whether the assigned frequency band of the LTE network belongs to the current allocable network; if the specified frequency band of the LTE network is determined to belong to the currently allocable network, that is, if the determination result is yes, step S404 is executed.
For example, a network to which smart devices are currently assignable includes: the 2.4G frequency band of the WiFi local area network, and the specified frequency band of the LTE network (i.e. the frequency band in the LTE network that does not mutually exclude the 2.4G frequency band). Currently unallocated networks include: the 5G frequency band of the WiFi local area network and the 2.4G frequency band of the Zigbee network. The routing policy of the APP2 shows that the priority of various networks of the various networks that the APP2 has the right to use is in the order from high to low: the 2.4G frequency band of the Zigbee network, the 5G frequency band of the WiFi local area network and the designated frequency band of the LTE network. The specified frequency band of the LTE network may specifically be a frequency band that does not mutually exclusive with the 2.4G frequency band.
According to the sequence of high priority to low priority of various networks which the APP2 has right to use, firstly comparing the 2.4G frequency band of the Zigbee network with the APP2 with the highest (or first) priority with the currently allocable network, and judging whether the 2.4G frequency band of the Zigbee network belongs to the currently allocable network; the first judgment result is that the 2.4G frequency band of the Zigbee network does not belong to the currently allocable network. Comparing the APP2 frequency band of 5G of the WiFi local area network with the current allocable network, and judging whether the frequency band of 5G of the WiFi local area network belongs to the current allocable network; and judging that the 5G frequency band of the WiFi local area network does not belong to the currently allocable network according to the second judgment result. Then, comparing the designated frequency band of the LTE network with the APP2, and judging whether the designated frequency band of the LTE network belongs to the currently allocable network; if the third determination result is that the specified frequency band of the LTE network belongs to the currently allocable network, that is, if the determination result is yes, step S404 is executed.
For example, a network to which smart devices are currently assignable includes: the 2.4G frequency band of the WiFi local area network, and the specified frequency band of the LTE network (i.e. the frequency band in the LTE network that does not mutually exclude the 2.4G frequency band). Currently unallocated networks include: the 5G frequency band of the WiFi local area network and the 2.4G frequency band of the Zigbee network. The routing policy of the APP3 shows that the priority of various networks of the various networks that the APP3 has the right to use is in the order from high to low: the 5G frequency band of the WiFi local area network and the 2.4G frequency band of the Zigbee network.
According to the priority sequence from high to low of various networks which the APP3 has the right to use, comparing the 5G frequency band of the WiFi local area network with the APP3 with the highest (or first) priority with the currently allocable network, and judging whether the 5G frequency band of the WiFi local area network belongs to the currently allocable network; the first judgment result is that the 5G frequency band of the WiFi local area network is judged not to belong to the currently allocable network. Comparing the 2.4G frequency band of the Zigbee network with the APP3 with the second highest (or second) priority (actually, the last priority) with the currently allocable network, and determining whether the 2.4G frequency band of the Zigbee network belongs to the currently allocable network; if the second determination result (actually, the last determination result) is that the 2.4G frequency band of the Zigbee network does not belong to the currently assignable network, that is, the determination results are all negative, and step S406 is executed.
S404: and taking the network which is judged to be the involved network as the network which can be currently used by the application.
Specifically, the network involved in the above steps is determined as a result of the determination, and is a network that the application has the right to use and belongs to the currently assignable network.
In this step, preferably, the middle layer program regards the network which the application has the right to use and belongs to the currently assignable network as the currently available network of the application.
S405: and transmitting the data of the application according to the network which is currently used by the application.
In the embodiment of the invention, each network is configured with the DNS file corresponding to the network. The DNS file stores DNS information for the corresponding network, which may include a network address of a DNS server. The DNS file is updated in real time.
Preferably, the middle layer program (e.g., connectivity manager) updates DNS files corresponding to various networks in the smart device in real time. Specifically, the middle layer program monitors the routing information of each network reported by the kernel, and updates the DNS file corresponding to each network. For example, a WiFi local area network corresponds to a DNS file named WiFi _ resolve.
Preferably, the intermediate layer program determines a route and a DNS file corresponding to a network which can be currently used by the application; and transmitting the data of the application according to the route and the DNS file.
Further, the middle layer program analyzes current DNS information (including a network address of a DNS server) from a DNS file corresponding to a network which can be used currently by the application; determining a route corresponding to a network which can be used currently; and transmitting the data to be transmitted through the network, which is related to the data transmission request of the application, according to the routing and the analyzed DNS information.
For example, the data transmission request of APP1 indicates that APP1 needs to access www.bing.com, the connectivity manager parses DNS information recorded in WiFi _ resolve.conf from a DNS file WiFi _ resolve.conf corresponding to a WiFi local area network that APP1 can currently use, further parses an IP (Internet Protocol) address of a corresponding DNS server from the DNS information, and then transmits data to the parsed IP address according to the route rt _ WiFi. Therefore, the route corresponding to the selected network (path) can be ensured to be matched with the DNS server, and the domain name in the data transmitted through the route can be resolved by the corresponding (correct) DNS server, so that the reliability of data transmission can be improved.
S406: and feeding back the information which is available without the network at present to the application sending the data transmission request.
Preferably, after determining in step S403 that the determination result is negative (that is, each network that the application has the right to use does not belong to the currently assignable network), the middle layer program determines that the application is currently available without a network, generates information that the application is currently available without a network, and feeds back the information to the application that sends the data transmission request. Further, the middle tier program stops responding to the received data transfer request of the application (e.g., ignores the data transfer request).
Based on the foregoing network management method, an embodiment of the present invention further provides a network management apparatus, which is disposed in the intelligent device in the embodiment of the present invention, and a schematic frame diagram of an internal structure of the network management apparatus is shown in fig. 5, where the network management apparatus includes: a routing policy determination module 501, a currently available network determination module 502, and a transmission module 503.
The routing policy determining module 501 is configured to determine a pre-stored routing policy of an application after receiving a network-based data transmission request of the application; the routing strategy of the application comprises at least one network which the application has right to use, the priority of various networks and the priority of corresponding various routes. Wherein the at least one network comprises at least one of: wireless local area network, mobile communication network, bluetooth, network conforming to zigbee protocol, near field communication network.
The currently available network determining module 502 is configured to determine a network currently available to the application according to the routing policy of the application, the opened network, and a preset network mutual exclusion policy. The network mutual exclusion strategy comprises the following steps: at least one set of mutually exclusive network frequency bands and only one frequency band in each set of mutually exclusive network frequency bands is allowed to be used or allocated.
The transmission module 503 is configured to transmit data of the application according to a network currently available for the application.
Preferably, the currently available network determining module 502 is specifically configured to determine a currently assignable network according to an opened network and a preset network mutual exclusion policy; according to the priorities of various networks in the routing strategy of the application, whether each network which the application has the right to use belongs to the currently allocable network is judged step by step; and if the judgment result is yes, taking the network which is judged to be the related network as the network which can be currently used by the application.
Preferably, the routing policy determining module 501 is further configured to determine the applied routing policy in advance by: when a network authority application request of an application is received, determining at least one network applied by the application; and determining at least one network which the application is authorized to use according to the at least one network applied by the application, the multiple networks supported by the intelligent equipment and a preset network mutual exclusion strategy.
Preferably, the routing policy determining module 501 is further configured to display a network priority configuration interface of at least one network that the application has right to use; after receiving the priorities of various networks input by a user through a network priority configuration interface, determining the priorities of various networks which are authorized to be used by the application; and determining the priority of each route corresponding to each network which the application has the right to use.
The transmission module 503 is specifically configured to determine a route and a domain name system file corresponding to a network currently available for the application; the domain name system file is updated in real time; and transmitting the data of the application according to the route and the domain name system file.
The above-mentioned routing policy determining module 501, the currently available network determining module 502 and the implementing method of the function of the transmitting module 503 may refer to the step flows shown in fig. 3 and 4 and the specific contents of the previous methods, which are not described herein again.
Fig. 6 is a schematic frame diagram of an example of an internal structure of an intelligent device, and for convenience of description, only a part related to the embodiment of the present invention is shown, and details of the technology are not disclosed, please refer to a method part of the embodiment of the present invention. The intelligent device may be any intelligent device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, etc., taking the mobile phone in the intelligent device as an example:
fig. 6 is a block diagram illustrating a partial structure of a mobile phone related to a smart device provided by an embodiment of the present invention. Referring to fig. 6, the handset includes: a Radio Frequency (RF) circuit 610, a memory 620, an input unit 630, a display unit 640, a bluetooth module 650, a Zigbee module 660, a wireless fidelity (WiFi) module 670, a processor 680, and a power supply 690. Radio Frequency (RF) circuit 610, memory 620, input unit 630, display unit 640, bluetooth module 650, Zigbee module 660, wireless fidelity (WiFi) module 670, and power supply 690 are all electrically connected to processor 680. Those skilled in the art will appreciate that the handset configuration shown in fig. 6 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 6:
the RF circuit 610 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then processes the received downlink information to the processor 680; in addition, the data for designing uplink is transmitted to the base station. In general, RF circuit 610 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 circuitry 610 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 620 may be used to store software programs and modules, and the processor 680 may execute various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 620. The memory 620 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 620 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 630 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 630 may include a touch panel 631 and other input devices 632. The touch panel 631, also referred to as a touch screen, may collect touch operations of a user (e.g., operations of the user on the touch panel 631 or near the touch panel 631 by using any suitable object or accessory such as a finger or a stylus) thereon or nearby, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 631 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 680, and can receive and execute commands sent by the processor 680. In addition, the touch panel 631 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 630 may include other input devices 632 in addition to the touch panel 631. In particular, other input devices 632 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 640 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 640 may include a Display panel 641, and optionally, the Display panel 641 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 631 can cover the display panel 641, and when the touch panel 631 detects a touch operation thereon or nearby, the touch panel is transmitted to the processor 680 to determine the type of the touch event, and then the processor 680 provides a corresponding visual output on the display panel 641 according to the type of the touch event. Although in fig. 6, the touch panel 631 and the display panel 641 are two independent components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 631 and the display panel 641 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include a bluetooth module 650, a Zigbee module 660, and a WiFi module 670. The mobile phone may wirelessly communicate with the respective network via the bluetooth module 650, the Zigbee module 660, and/or the WiFi module 670. WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the Bluetooth module 650, the Zigbee module 660 and/or the WiFi module 670, and provides wireless broadband Internet access for the user.
The processor 680 is a control center of the mobile phone, and connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 620 and calling data stored in the memory 620, thereby performing overall monitoring of the mobile phone. Optionally, processor 680 may include one or more processing units; preferably, the processor 680 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 680.
The handset also includes a power supply 690 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 680 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
Although not shown, the mobile phone may further include a camera, a near field communication module, and the like, which are not described in detail herein.
In the embodiment of the present invention, the memory 620 of the smart device further stores programs and data such as a kernel, at least one middle layer program, a framework layer program, and a plurality of applications; at least one intermediate layer program that when executed by the processor 680 performs the steps of:
after receiving a network-based data transmission request of an application, determining a pre-stored routing strategy of the application; the routing strategy of the application comprises at least one network which the application has right to use, the priority of various networks and the priority of corresponding various routes;
determining a network which can be currently used by the application according to the routing strategy of the application, the opened network and a preset network mutual exclusion strategy;
and transmitting the data of the application according to the network which is currently used by the application.
Preferably, in the step of determining a currently usable network of the application according to the routing policy of the application, the opened network, and the preset network mutual exclusion policy, at least one intermediate layer program specifically includes the following steps:
determining a currently allocable network according to the opened network and a preset network mutual exclusion strategy;
according to the priorities of various networks in the routing strategy of the application, whether each network which the application has the right to use belongs to the currently allocable network is judged step by step;
and if the judgment result is yes, taking the network which is judged to be the related network as the network which can be currently used by the application.
Preferably, the at least one intermediate layer program implements the steps of: the applied routing policy is predetermined by:
when a network authority application request of an application is received, determining at least one network applied by the application;
and determining at least one network which the application is authorized to use according to the at least one network applied by the application, the multiple networks supported by the intelligent equipment and a preset network mutual exclusion strategy.
Preferably, during the step of implementing the predetermined applied routing policy, the at least one intermediate layer program further implements the following steps:
displaying a network priority configuration interface of at least one network to which the application has access;
after receiving the priorities of various networks input by a user through a network priority configuration interface, determining the priorities of various networks which are authorized to be used by the application;
and determining the priority of each route corresponding to each network which the application has the right to use.
Preferably, in the step of implementing the step of transmitting the data of the application according to the network currently usable by the application, at least one middle layer program specifically implements the following steps:
determining a route and a domain name system file corresponding to a network which can be used currently by the application; the domain name system file is updated in real time;
and transmitting the data of the application according to the route and the domain name system file.
In the embodiment of the invention, a routing strategy is customized for each application in advance; when the application needs to transmit network data, a currently usable network can be more flexibly and properly allocated to the application according to at least one network which the application has the right to use in the routing strategies, the priorities of various networks and the priorities of corresponding routes, and the opened network and a preset network mutual exclusion strategy; therefore, the probability of overlapping frequency bands among openable networks in the intelligent equipment can be greatly reduced, the interference among the networks is reduced, and the network transmission quality is improved; and the network access provided by the intelligent equipment can be more fully utilized, and the utilization level of various networks of the intelligent equipment is improved.
In addition, in the embodiment of the present invention, whether each network that the application has the right to use belongs to the currently assignable network is determined step by step according to the priorities of various networks in the routing policy of the application, and the network that is determined as being involved as the network that the application can use currently is determined. Since the priorities of various networks of the application are selected by the user in advance, the personalized preference and the use habit of the user are often reflected. Therefore, the network with higher priority is selected to be used for transmitting the data of the application as much as possible according to the step-by-step judgment of the priority, so that the personalized preference and the use habit of the user can be met as much as possible under the condition of keeping the network transmission quality and fully utilizing the network access provided by the intelligent equipment, and the experience of the user can be improved.
Those skilled in the art will appreciate that the present invention includes apparatus directed to performing one or more of the operations described in the present application. These devices may be specially designed and manufactured for the required purposes, or they may comprise known devices in general-purpose computers. These devices have stored therein computer programs that are selectively activated or reconfigured. Such a computer program may be stored in a device (e.g., computer) readable medium, including, but not limited to, any type of disk including floppy disks, hard disks, optical disks, CD-ROMs, and magnetic-optical disks, ROMs (Read-Only memories), RAMs (Random Access memories), EPROMs (Erasable Programmable Read-Only memories), EEPROMs (Electrically Erasable Programmable Read-Only memories), flash memories, magnetic cards, or optical cards, or any type of media suitable for storing electronic instructions, and each coupled to a bus. That is, a readable medium includes any medium that stores or transmits information in a form readable by a device (e.g., a computer).
It will be understood by those within the art that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. Those skilled in the art will appreciate that the computer program instructions may be implemented by a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, implement the features specified in the block or blocks of the block diagrams and/or flowchart illustrations of the present disclosure.
Those of skill in the art will appreciate that various operations, methods, steps in the processes, acts, or solutions discussed in the present application may be alternated, modified, combined, or deleted. Further, various operations, methods, steps in the flows, which have been discussed in the present application, may be interchanged, modified, rearranged, decomposed, combined, or eliminated. Further, steps, measures, schemes in the various operations, methods, procedures disclosed in the prior art and the present invention can also be alternated, changed, rearranged, decomposed, combined, or deleted.
The foregoing is only a partial embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (6)

1. A method of network management, comprising:
after receiving a network-based data transmission request of an application, determining a pre-stored routing strategy of the application; the routing strategy of the application comprises at least one network which the application has right to use, the priority of various networks and the priority of corresponding various routes; the applied routing policy is predetermined by: displaying a network priority configuration interface of at least one network to which the application has access; after receiving the priorities of various networks input by a user through the network priority configuration interface, determining the priorities of various networks which the application has the right to use; determining the priority of each route corresponding to each network which the application has the right to use; when a network authority application request of the application is received, determining at least one network applied by the application; determining at least one network which the application is authorized to use according to the at least one network applied by the application, the multiple networks supported by the intelligent equipment and a preset network mutual exclusion strategy;
determining a currently allocable network according to the opened network and a preset network mutual exclusion strategy;
the determining a currently assignable network according to the started network and a preset network mutual exclusion policy includes:
randomly selecting a frequency band of a network from mutually exclusive frequency bands among different started networks as a part of a currently allocable network; or, selecting the frequency band of the last opened network from mutually exclusive frequency bands among different opened networks as a part of the current distributable network; or, according to the source of the mutually exclusive frequency band opening instruction between different opened networks, selecting one of the network frequency bands; if the starting instruction of the network frequency band is from the application request or the user input, taking the frequency band of the network with the starting instruction from the user input as a part of the currently allocable network, and taking the frequency band of the network with the starting instruction from the application request as the currently unallocated network;
according to the priorities of various networks in the routing strategy of the application, whether each network which the application has the right to use belongs to the currently allocable network is judged step by step;
if the judgment result is yes, taking the network which is judged to be the related network as the network which can be used by the application at present;
and transmitting the data of the application according to the network which is currently used by the application.
2. The method of claim 1, wherein transmitting data for the application based on the network currently available to the application comprises:
determining a route and a domain name system file corresponding to a network which can be used currently by the application; the domain name system file is updated in real time;
and transmitting the data of the application according to the route and the domain name system file.
3. The method according to any of claims 1-2, wherein the at least one network comprises at least one of: wireless local area network, mobile communication network, bluetooth, network conforming to zigbee protocol, near field communication network.
4. The method according to any of claims 1-2, wherein the network mutual exclusion policy comprises:
at least one set of mutually exclusive network frequency bands and only one frequency band in each set of mutually exclusive network frequency bands is allowed to be used or allocated.
5. A network management apparatus, comprising:
the routing strategy determining module is used for determining a prestored routing strategy of the application after receiving a network-based data transmission request of the application; the routing strategy of the application comprises at least one network which the application has right to use, the priority of various networks and the priority of corresponding various routes; the applied routing policy is predetermined by: displaying a network priority configuration interface of at least one network to which the application has access; after receiving the priorities of various networks input by a user through the network priority configuration interface, determining the priorities of various networks which the application has the right to use; determining the priority of each route corresponding to each network which the application has the right to use; when a network authority application request of the application is received, determining at least one network applied by the application; determining at least one network which the application is authorized to use according to the at least one network applied by the application, the multiple networks supported by the intelligent equipment and a preset network mutual exclusion strategy;
the currently available network determining module is used for determining a currently available network of the application according to the routing strategy of the application, the opened network and a preset network mutual exclusion strategy;
the transmission module is used for transmitting the data of the application according to the network which can be used by the application at present;
the currently available network determining module is specifically used for determining currently allocable networks according to the started networks and a preset network mutual exclusion strategy;
the determining a currently assignable network according to the started network and a preset network mutual exclusion policy includes:
randomly selecting a frequency band of a network from mutually exclusive frequency bands among different started networks as a part of a currently allocable network; or, selecting the frequency band of the last opened network from mutually exclusive frequency bands among different opened networks as a part of the current distributable network; or, according to the source of the mutually exclusive frequency band opening instruction between different opened networks, selecting one of the network frequency bands; if the starting instruction of the network frequency band is from the application request or the user input, taking the frequency band of the network with the starting instruction from the user input as a part of the currently allocable network, and taking the frequency band of the network with the starting instruction from the application request as the currently unallocated network;
according to the priorities of various networks in the routing strategy of the application, whether each network which the application has the right to use belongs to the currently allocable network is judged step by step; and if the judgment result is yes, taking the network which is judged to be the related network as the network which can be currently used by the application.
6. A smart device, comprising:
a memory, a processor, and a display unit;
at least one middle tier program stored in the memory and executed by the processor to implement the steps of:
after receiving a network-based data transmission request of an application, determining a pre-stored routing strategy of the application; the routing strategy of the application comprises at least one network which the application has right to use, the priority of various networks and the priority of corresponding various routes; the applied routing policy is predetermined by: displaying a network priority configuration interface of at least one network to which the application has access; after receiving the priorities of various networks input by a user through the network priority configuration interface, determining the priorities of various networks which the application has the right to use; determining the priority of each route corresponding to each network which the application has the right to use; when a network authority application request of the application is received, determining at least one network applied by the application; determining at least one network which the application is authorized to use according to the at least one network applied by the application, the multiple networks supported by the intelligent equipment and a preset network mutual exclusion strategy;
determining a currently allocable network according to the opened network and a preset network mutual exclusion strategy;
the determining a currently assignable network according to the started network and a preset network mutual exclusion policy includes:
randomly selecting a frequency band of a network from mutually exclusive frequency bands among different started networks as a part of a currently allocable network; or, selecting the frequency band of the last opened network from mutually exclusive frequency bands among different opened networks as a part of the current distributable network; or, according to the source of the mutually exclusive frequency band opening instruction between different opened networks, selecting one of the network frequency bands; if the starting instruction of the network frequency band is from the application request or the user input, taking the frequency band of the network with the starting instruction from the user input as a part of the currently allocable network, and taking the frequency band of the network with the starting instruction from the application request as the currently unallocated network;
according to the priorities of various networks in the routing strategy of the application, whether each network which the application has the right to use belongs to the currently allocable network is judged step by step;
if the judgment result is yes, taking the network which is judged to be the related network as the network which can be used by the application at present;
and transmitting the data of the application according to the network which is currently used by the application.
CN201710571225.6A 2017-07-13 2017-07-13 Network management method and device and intelligent equipment Active CN107222406B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710571225.6A CN107222406B (en) 2017-07-13 2017-07-13 Network management method and device and intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710571225.6A CN107222406B (en) 2017-07-13 2017-07-13 Network management method and device and intelligent equipment

Publications (2)

Publication Number Publication Date
CN107222406A CN107222406A (en) 2017-09-29
CN107222406B true CN107222406B (en) 2021-06-15

Family

ID=59953360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710571225.6A Active CN107222406B (en) 2017-07-13 2017-07-13 Network management method and device and intelligent equipment

Country Status (1)

Country Link
CN (1) CN107222406B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112272398B (en) * 2020-11-13 2024-01-19 Oppo广东移动通信有限公司 Data transmission method and device, electronic equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050175030A1 (en) * 2004-02-09 2005-08-11 Palmsource, Inc. System and method of format negotiation in a computing device
CN103533611A (en) * 2012-07-06 2014-01-22 华为技术有限公司 Methods for selecting wireless access network and sending network selecting strategy and device
CN104661322A (en) * 2013-11-20 2015-05-27 中兴通讯股份有限公司 Application internet access processing method and device as well as terminal
CN106332307B (en) * 2015-07-03 2020-01-10 华为技术有限公司 Method for accessing application program to network and mobile terminal
CN105338569B (en) * 2015-09-30 2018-12-25 宇龙计算机通信科技(深圳)有限公司 A kind of multiple-bearer data transmission method and device

Also Published As

Publication number Publication date
CN107222406A (en) 2017-09-29

Similar Documents

Publication Publication Date Title
CN109391648B (en) Method and device for associating application with network slice and communication system
CN111066306B (en) Method for sharing data in local area network and electronic equipment
EP4432274A2 (en) Control method applied to screen projection scenario and related device
CN107820331B (en) Call method, device, computer equipment and readable storage medium
CN105630615B (en) cross-system application control method and intelligent terminal
EP2437463B1 (en) Apparatus and method for providing service in service zone
US11956703B2 (en) Context-based dynamic policy system for mobile devices and supporting network infrastructure
US8588807B2 (en) System and method for dynamically managing connections using a coverage database
CN111740811B (en) BWP activation control method, user equipment and base station
CN106851654B (en) Pseudo base station identification method, pseudo base station identification device and terminal
US11023296B2 (en) Method for managing multiple operating systems in a terminal
US7769009B1 (en) Automatic peer to peer mobile device data replication
EP2649859B1 (en) Automatically enabling wireless communication
CN112911556A (en) Method for establishing classic Bluetooth connection between dual-mode Bluetooth devices and dual-mode Bluetooth device
KR102500710B1 (en) Method for establishing hotspot connection, and terminal device
CN104793849A (en) Application icon display method and device
CN105320882A (en) Method and device for controlling permission of application programs
CN106201484A (en) The collocation method of application program, device and terminal unit
CN110928394A (en) Screen display method and electronic equipment
CN107222406B (en) Network management method and device and intelligent equipment
CN106203015A (en) The collocation method of application program, device and terminal unit
CN105978789B (en) Message pushing system and method
CN107615826B (en) Method for determining network type in wireless communication network, access point equipment, terminal equipment and wireless network controller
CN109992322B (en) Application program unloading method and device, storage medium and terminal
CN106162606A (en) A kind of method for switching network and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210721

Address after: 100080 room 401-3, 4th floor, building 1, yard 1, Danling street, Haidian District, Beijing

Patentee after: Beijing Yuanxin Junsheng Technology Co.,Ltd.

Address before: 100176 room 2222, building D, building 33, 99 Kechuang 14th Street, Beijing Economic and Technological Development Zone, Beijing

Patentee before: BEIJING YUANXIN SCIENCE & TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20170929

Assignee: Yuanxin Information Technology Group Co.,Ltd.

Assignor: Beijing Yuanxin Junsheng Technology Co.,Ltd.

Contract record no.: X2021110000024

Denomination of invention: Network management method, device and intelligent device

Granted publication date: 20210615

License type: Common License

Record date: 20210804

EE01 Entry into force of recordation of patent licensing contract