CN109219088B - Network sharing method and network sharing device - Google Patents

Network sharing method and network sharing device Download PDF

Info

Publication number
CN109219088B
CN109219088B CN201811393946.3A CN201811393946A CN109219088B CN 109219088 B CN109219088 B CN 109219088B CN 201811393946 A CN201811393946 A CN 201811393946A CN 109219088 B CN109219088 B CN 109219088B
Authority
CN
China
Prior art keywords
network
target object
mobile data
data network
module
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
CN201811393946.3A
Other languages
Chinese (zh)
Other versions
CN109219088A (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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
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 Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201811393946.3A priority Critical patent/CN109219088B/en
Publication of CN109219088A publication Critical patent/CN109219088A/en
Application granted granted Critical
Publication of CN109219088B publication Critical patent/CN109219088B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Abstract

The application provides a network sharing method and a network sharing device. The network sharing method comprises the following steps: starting a mobile data network, wherein the mobile data network comprises a first network and a second network; monitoring the use condition of a first target object on the mobile data network, and monitoring the use condition of a second target object on the mobile data network; and allocating the first network and the second network according to the use condition of the first target object and the second target object to the mobile data network. According to the embodiment of the application, the internet speed of the target object can be improved, and the mobile data traffic can be saved.

Description

Network sharing method and network sharing device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a network sharing method and a network sharing apparatus.
Background
The dual-card dual-standby bi-pass means that one mobile terminal can simultaneously connect signals from two communication networks by placing two cards, and with the continuous development of 4G networks, people pursue the dual-card dual-standby dual-LTE mobile terminal. Although the dual LTE mobile terminals can meet the requirement of people for surfing the internet and talking at the same time, the data network still can select only one SIM card. Usually, the data traffic goes through a sim card to meet the individual needs of the user. However, after the user shares the data traffic through the wifi hotspot, it is unknown whether the network speed can also meet the personal requirements. If the network is shared by multiple people, wherein, someone watches the screen, and plays games, and someone browses the web page, the access of the multiple people naturally causes data network congestion and delay increase, which not only brings bad experience to hot spot access users, but also brings bad experience to the network sharing object.
Disclosure of Invention
The embodiment of the application provides a network sharing method, which comprises the following steps:
starting a mobile data network, wherein the mobile data network comprises a first network and a second network;
monitoring the use condition of a first target object on the mobile data network, and monitoring the use condition of a second target object on the mobile data network;
and allocating the first network and the second network according to the use condition of the first target object and the second target object to the mobile data network.
The network sharing method provided by the embodiment of the application comprises the steps that firstly, a mobile data network is started, wherein the mobile data network comprises a first network and a second network; then, monitoring the use condition of a first target object on the mobile data network, and monitoring the use condition of a second target object on the mobile data network; and finally, distributing the first network and the second network according to the use conditions of the first target object and the second target object to the mobile data network. By monitoring the use conditions of the first target object and the second target object to the mobile data network, the corresponding first network and the second network are adaptively distributed, so that the internet surfing speed of the first target object and the second target object can be improved, and the mobile data traffic can be saved.
An embodiment of the present application provides a network sharing apparatus, where the network sharing apparatus includes:
the system comprises a starting module, a sending module and a receiving module, wherein the starting module is used for starting a mobile data network, and the mobile data network comprises a first network and a second network;
the monitoring module is used for monitoring the use condition of a first target object on the mobile data network and monitoring the use condition of a second target object on the mobile data network;
and the distribution module is used for distributing the first network and the second network according to the use condition of the first target object and the second target object to the mobile data network.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a first network sharing method according to an embodiment of the present application.
Fig. 2 is a flowchart illustrating a second network sharing method according to an embodiment of the present application.
Fig. 3 is a flowchart illustrating a third network sharing method according to an embodiment of the present application.
Fig. 4 is a flowchart illustrating a fourth network sharing method according to an embodiment of the present application.
Fig. 5 is a flowchart illustrating a fifth network sharing method according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a first network sharing device according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of a second network sharing device according to an embodiment of the present application.
Fig. 8 is a schematic structural diagram of a third network sharing device according to an embodiment of the present application.
Fig. 9 is a schematic structural diagram of a fourth network sharing device according to an embodiment of the present application.
Fig. 10 is a schematic structural diagram of a fifth network sharing device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art without any inventive effort based on the embodiments in the present application are within the scope of protection of the present application.
Referring to fig. 1, the network sharing method includes, but is not limited to, steps S100, S200, and S300, and the steps S100, S200, and S300 are described in detail as follows.
S100: and starting a mobile data network, wherein the mobile data network comprises a first network and a second network.
The mobile data network refers to a network using mobile data traffic, and the mobile data traffic refers to data traffic generated by accessing the internet through mobile communication technologies such as GPRS and LTE or using related data value-added services. The mobile data network is started by a network sharing object, and the network sharing object refers to a transmitter of the mobile data network.
The first network and the second network are both mobile data networks, and the first network and the second network are independent of each other, and the first network and the second network can be used as hotspot sharing mobile data networks at the same time, or only one of the first network and the second network can be used as a hotspot sharing mobile data network.
S200: and monitoring the use condition of the first target object on the mobile data network, and monitoring the use condition of the second target object on the mobile data network.
One of the first target object and the second target object may be a network sharing object, and the other one is a network receiving object. The first target object and the second target object may also both be network reception objects.
The service conditions of the mobile data network comprise network receiving speed when the mobile data network is used and total time length when the mobile data network is used, and mobile data traffic corresponding to the mobile data network can be calculated through the network receiving speed when the mobile data network is used and the total time length when the mobile data network is used, so that the service conditions of the first target object and the second target object on the mobile data network can be judged, and the corresponding first network and the second network can be reasonably distributed.
Specifically, the monitoring of the usage of the mobile data network by the first target object includes "monitoring a traffic usage value of the first target object accessing the mobile data network within a preset time period to obtain the traffic usage value of the target object accessing the mobile data network", which specifically includes but is not limited to the following steps I and II, and the following description is provided with respect to the steps I and II.
I. And calculating the total time length of the first target object accessing the mobile data network in a preset time period, and counting the network receiving speed of the first target object in the preset time period.
The network receiving speed of the first target object in the preset time period is the average network receiving speed of the first target object in the preset time period.
And II, performing integral operation on the network receiving speed of the first target object in a preset time period to the preset time period to obtain a flow use value of the first target object accessing the mobile data network.
Specifically, assuming that the network receiving speed of the first target object to the mobile data network within the preset time period is AkB/s, the upper limit value of the preset time period is T1, and the lower limit value of the preset time period is T2, then the traffic usage value T of the first target object accessing the mobile data network may be calculated by using the following calculation formula.
Figure BDA0001874694370000041
Where a represents an average speed of network reception of the first target object over a preset time period.
S300: and allocating the first network and the second network according to the use condition of the first target object and the second target object to the mobile data network.
And according to the calculated mobile data traffic corresponding to the mobile data network used by the first target object and the second target object, further allocating the first network and the second network to the first target object and the second target object, so that the first target object and the second target object can have better internet surfing experience, and the networks are relatively stable.
With continued reference to fig. 2, the "S300: assigning the first network and the second network according to the usage of the mobile data network by the first target object and the second target object includes, but is not limited to, steps S310 and S320, and the detailed description about steps S310 and S320 is as follows.
S310: and judging whether the first target object is a network sharing object.
Specifically, when the first target object opens the mobile data network, and the mobile data network is used as a traffic hotspot to share the mobile data network to the outside, and the first target object is using the mobile data network, the first target object is considered to be a network sharing object, that is, a transmitter of the mobile data network.
S320: and when the first target object is a network sharing object, accessing the first target object to the first network, performing network sharing by taking the second network as a flow hotspot, and accessing the second target object to the second network.
And when the first target object is a network sharing object, providing the first network for the first target object to use, wherein the first network is not used for traffic hotspot sharing, providing the second network for the second target object to use, and performing network sharing by taking the second network as a traffic hotspot. Because the first network and the second network are independent of each other, the first network is not used for sharing the mobile data network, and the first network is provided for the network sharing object to use, the internet speed of the network sharing object is not interfered by the second target object, and the network sharing object can be ensured to have good internet experience.
Further, when the network sharing object is accessed to the first network, the second target object is accessed to the second network, the first network is not used for sharing the mobile data network, and the second network is used as a flow hotspot for network sharing, the first surplus limit of the first network and the second surplus limit of the second network are monitored, and when the first surplus limit is monitored to be smaller than the first limit and the second surplus limit is monitored to be larger than the second limit, a preset flow value in the second surplus limit of the second network is transferred to the first network for the network sharing object to use, so that the network sharing object is preferentially ensured to have good internet experience.
Continuing to refer to fig. 3, when both the first network and the second network are used as traffic hotspots for network sharing, the "S300: assigning the first network and the second network according to the usage of the mobile data network by the first target object and the second target object further includes, but is not limited to, steps S330 and S340, and the detailed description about steps S330 and S340 is as follows.
S330: detecting a first usage amount of the mobile data network by the first target object and a second usage amount of the mobile data network by the second target object.
When the first network and the second network are both used as flow hotspots for network sharing, the first target object and the second target object are both receivers of the mobile data network, at the moment, the first usage of the mobile data network by the first target object is detected, the second usage of the mobile data network by the second target object is detected, and the demand conditions of the first target object and the second target object on the mobile data network can be judged by detecting the usage of the mobile data network by the first target object and the second target object, so that the first network and the second network are reasonably distributed.
S340: and when the first usage amount is larger than the second usage amount and the first total flow amount of the first network is larger than the second total flow amount of the second network, accessing the first target object to the first network and accessing the second target object to the second network.
When the first usage amount of the first target object is larger than the second usage amount of the second target object, and the first traffic total amount of the first network is larger than the second traffic total amount of the second network, the first target object and the second target object are respectively accessed into the first network and the second network, so that a network with more traffic total amount can be accessed to an object with larger usage amount of the mobile data network, better internet experience is ensured, and the situation of insufficient traffic during internet surfing is avoided.
Further, when the first target object is accessed to a first network and the second target object is accessed to a second network, monitoring a first residual amount of the first target object after the first target object is used by the first network and monitoring a second residual amount of the second target object after the second target object is used by the second network, and when the first residual amount is smaller than the second residual amount, transmitting a preset flow value in the second network to the first network, so that a third residual amount corresponding to the first network under the current condition is equal to a fourth residual amount corresponding to the second network under the current condition, thereby avoiding the situation that the shared mobile data flow of the first network or the second network is insufficient, and ensuring that both the first target object and the second target object can surf the internet normally.
Referring to fig. 4, when the account numbers and passwords of the first network and the second network are the same, the "S340: when the first usage amount is greater than the second usage amount, and the first traffic total amount of the first network is greater than the second traffic total amount of the second network, accessing the first target object to the first network and accessing the second target object to the second network "includes, but is not limited to, steps S341, S342, and S343, and the detailed descriptions about steps S341, S342, and S343 are as follows.
S341: and establishing a first database according to the authorized object of the first network and establishing a second database according to the authorized object of the second network, wherein the first database and the second database both comprise the network protocol address and the physical address of the authorized object.
The network Protocol Address is also called an IP Address (Internet Protocol Address). The physical Address is also called a MAC Address (Media Access Control Address) and translates to a Media Access Control Address, also called a lan Address. The network protocol address and the physical address can be used as identification codes of authorized objects. For a device on the network, such as a computer or a router, its IP address is variable (but must be unique) while the MAC address is not. Any IP address can be assigned to a host as required, for example, a computer on the LAN can be assigned an IP address of 192.168.0.112 or 192.168.0.200. Once any network device (such as network card, router) is produced, its MAC address is always unique and cannot be changed by the user. The IP address is composed of 4 8-bit groups separated by dots, for example 192.168.0.1 is an IP address, which is written in dotted decimal format. The MAC address is 48 bits (6 bytes) in length, and is usually represented by 12 16-ary numbers, and every 2 16-ary numbers are separated by a colon, such as: 08-00-20-0A-8C-6D is a MAC address, where the first 6 digits, 16 digits, 08:00:20, represent the number of the network hardware manufacturer, which is assigned by the Institute of Electrical and Electronics Engineers (IEEE), and the last 3 digits, 16 digits, 0A:8C:6D, represents the serial number of a network product (e.g., network card) manufactured by the manufacturer. Each network manufacturer must ensure that each ethernet device it manufactures has the same first three bytes and a different last three bytes. This ensures that every ethernet device in the world has a unique MAC address.
S342: comparing the received first protocol address and first physical address of the first target object with the first database, and comparing the received second protocol address and second physical address of the second target object with the second database.
S343: and when the first protocol address and the first physical address of the first target object are successfully compared with the first database and the second protocol address and the second physical address of the second target object are successfully compared with the second database, allowing the first target object to access the first network and allowing the second target object to access the second network.
Specifically, in an implementation manner, when a first protocol address of a first target object is compared with a first database and a network protocol address of an authorized user, the first protocol address is subjected to priority division according to keywords and is sequentially divided into a first level and a second level, information of the first level in the first protocol address is sent to the first database and is compared with the first protocol address of the authorized user, then information of the second level is sent to the first database and is compared with the first protocol address of the authorized user, wherein the information of the first level comprises english letters, and the information of the second level comprises numbers. And after the first level information and the second level information are compared, searching an authorized user matched with the first target object from the first database, and if the first level information and the second level information are completely consistent with the information of one authorized user in the first database, considering that the first target object is the authorized user of the first network. Otherwise, the first target object is considered not to be an authorized user of the first network.
In a preferred embodiment, while the first protocol address is divided according to the first level and the second level, the first protocol address can be divided according to the first standard and the second standard, wherein the information of the first level and the information of the second level which are compared are continuous information under the first standard; and under the second standard, the information of the first level and the information of the second level which are compared are discontinuous information. For example, if the first protocol address is 08-00-20-0A-8C-6D, the first level of information is ACD, the second level of information is 080020086, and the first level of information and the second level of information to be compared are continuous information under the first criterion, that is, only a few continuous letters in the ACD can be sent together to the first database to be compared with the network protocol address of the authorized user; alternatively, 080020086 the consecutive numbers are sent together to the first database to be compared with the network protocol address of the authorized user. When the ACD is in the second standard, the ACD may send several discontinuous letters together to the first database to compare with the network protocol address of the authorized user, for example, the AD is sent to the first database to compare with the network protocol address of the authorized user; alternatively, 080020086 are sent together to the first database to be compared with the network protocol address of the authorized user, such as 00000 is sent to the first database to be compared with the network protocol address of the authorized user.
In another embodiment, when the first protocol address of the first target object is sent to the first database and compared with the network protocol address of the authorized user, the first protocol address of the first target object is sent to the first database in the form of a binary code, the length of the character string of the binary code corresponding to the first protocol address of the first target object is matched with the length of the character string of the binary code corresponding to the network protocol address of the authorized user in the first database, if the length of the character string of the binary code corresponding to the first protocol address of the first target object is not successfully matched with the length of the character string of the binary code corresponding to the network protocol address of the authorized user in the first database, the specific number of the character string of the binary code corresponding to the first protocol address of the first target object is not compared, the first target object is considered not to be an authorized user of the first network. Otherwise, comparing the character string number of the binary code corresponding to the first protocol address of the first target object with the character string number of the binary code corresponding to the network protocol address of the authorized user in the first database, if the same character string number of the binary code is compared in the network protocol address of the authorized user, considering the first target object as the authorized user of the first network, and otherwise, considering the first target object as not the authorized user of the first network.
Similarly, when the first physical address of the first target object is compared with the first database, the method is also adopted for comparison, so that the comparison accuracy is ensured, and meanwhile, the comparison efficiency is improved, which is not repeated herein.
With continuing reference to fig. 5, when both the first network and the second network are used as traffic hotspots for network sharing, the "S200: monitoring the usage of the mobile data network by the first target object "includes, but is not limited to, steps S210, S220, and S230, and the steps S210, S220, and S230 are described in detail as follows.
S210: and establishing a first habit list according to the living habits of the first target object in using the mobile data network in a preset time period, wherein the first habit list comprises the corresponding relation between the time period of using the mobile data network by the first target object and the consumed flow.
For example, statistics is carried out on the traffic consumption of the first target object in one day, the first target object is in an operating state at 08:00-12:00 and 14:00-18:00, and the first target object is considered not to use the mobile data network, that is, the traffic consumption of the first target object is 0. The method comprises the steps that a first target object is in a network game time period from 18:00 to 19:00, the flow consumed by the first target object is considered to be a first numerical value, in a video watching time period from 20:00 to 21:00, the flow consumed by the first target object is considered to be a second numerical value, in a webpage browsing time period from 21:00 to 22:00, the flow consumed by the first target object is considered to be a third numerical value, wherein the second numerical value is larger than the first numerical value, and the first numerical value is larger than the third numerical value. The rest time period is in rest or diet state, and the mobile data network is not used.
S220: and adjusting the network transmission speed of the first target object accessing the mobile data network within a preset time period according to the first habit list and the residual quantity of the mobile data network.
S230: when the remaining amount of the mobile data network is greater than or equal to a preset flow threshold value, when the flow consumption of the first target object to the mobile data network is greater than or equal to a preset flow value, setting the network transmission speed of the first target object accessing the mobile data network as a first transmission speed, and when the flow consumption of the first target object to the mobile data network is less than the preset flow value, setting the network transmission speed of the first target object accessing the mobile data network as a second transmission speed, wherein the first transmission speed is greater than the second transmission speed.
The flow consumed by the first target object is considered to be a first value when the first target object is in the online game time period of 18:00-19:00, the flow consumed by the first target object is considered to be a second value when the first target object is in the video watching time period of 20:00-21:00, and the flow consumed by the first target object is considered to be a third value when the first target object is in the webpage browsing time period of 21:00-22:00, wherein the second value is larger than the first value, and the first value is larger than the third value. Thus, the network transmission speed of the first target object accessing the mobile data network is set to a first speed during a time period from 20:00 to 21:00, to a second speed during a time period from 18:00 to 19:00, and to a first target object accessing the mobile data network
And in the time period of 21:00-22:00, setting the network transmission speed of the first target object accessing the mobile data network to be a third speed, wherein the first speed is greater than the second speed, and the second speed is greater than the third speed.
And under the condition that the residual quantity of the mobile data network is smaller than a preset flow threshold value, adjusting the information integrity and the resolution of a display interface when the first target object is accessed to the mobile data network, so that partial images in the display interface are not displayed, and the resolution of the display interface is smaller than the preset resolution.
Specifically, under the condition that the residual amount of the mobile quantity network is smaller than a preset flow threshold value, when the first target object is in a webpage browsing time period, the integrity of webpage display is adjusted, so that no picture information is displayed in the webpage; when the first target object is in a video watching time period, adjusting the image definition of the video so as to enable the image definition of the video to be smaller than a preset definition.
The network sharing method provided by the embodiment of the application comprises the steps that firstly, a mobile data network is started, wherein the mobile data network comprises a first network and a second network; then, monitoring the use condition of a first target object on the mobile data network, and monitoring the use condition of a second target object on the mobile data network; and finally, distributing the first network and the second network according to the use conditions of the first target object and the second target object to the mobile data network. By monitoring the use conditions of the first target object and the second target object to the mobile data network, the corresponding first network and the second network are adaptively distributed, so that the internet surfing speed of the first target object and the second target object can be improved, and the mobile data traffic can be saved.
With continued reference to fig. 6, the network sharing device 10 includes, but is not limited to, the start module 100, the monitor module 200, and the distribution module 300, which are described below with reference to the start module 100, the monitor module 200, and the distribution module 300.
The starting module 100 is configured to start a mobile data network, where the mobile data network includes a first network and a second network.
The monitoring module 200 is configured to monitor a usage of the mobile data network by a first target object, and monitor a usage of the mobile data network by a second target object.
An allocating module 300, configured to allocate the first network and the second network according to the usage of the mobile data network by the first target object and the second target object.
With continued reference to fig. 7, the allocating module 300 includes, but is not limited to, a determining module 310 and a first accessing module 320, and the following description is provided with respect to the determining module 310 and the first accessing module 320.
The determining module 310 is configured to determine whether the first target object is a network sharing object.
The first access module 320 is configured to, when the first target object is a network sharing object, access the first target object to the first network, perform network sharing by using the second network as a traffic hotspot, and access the second target object to the second network.
With continued reference to fig. 8, when the first network and the second network are both used as traffic hotspots for network sharing, the allocation module 300 further includes, but is not limited to, a detection module 330 and a second access module 340, which are described below with respect to the detection module 330 and the second access module 340.
The detecting module 330 is configured to detect a first usage amount of the mobile data network by the first target object and a second usage amount of the mobile data network by the second target object.
A second accessing module 340, configured to access the first target object to the first network and access the second target object to the second network when the first usage amount is greater than the second usage amount and the first total traffic amount of the first network is greater than the second total traffic amount of the second network.
Referring to fig. 9, when the account numbers and passwords of the first network and the second network are the same, the second access module 340 includes, but is not limited to, a first establishing module 341, a comparing module 342, and an access allowing module 343, which are described below with respect to the first establishing module 341, the comparing module 342, and the access allowing module 343.
A first establishing module 341, configured to establish a first database according to the authorized object of the first network, and establish a second database according to the authorized object of the second network, where the first database and the second database both include a network protocol address and a physical address of the authorized object.
A comparing module 342, configured to compare the received first protocol address and the first physical address of the first target object with the first database, and compare the received second protocol address and the second physical address of the second target object with the second database.
An access allowing module 343, configured to, when the first protocol address and the first physical address of the first target object are successfully compared with the first database, and the second protocol address and the second physical address of the second target object are successfully compared with the second database, allow the first target object to access the first network, and allow the second target object to access the second network.
Continuing to refer to fig. 10, when the first network and the second network are both used as traffic hotspots for network sharing, the monitoring module 200 includes, but is not limited to, a second establishing module 210, a regulating module 220, and a setting module 230, which are described below with respect to the second establishing module 210, the regulating module 220, and the setting module 230.
A second establishing module 210, configured to establish a first habit list according to a living habit of the first target object using the mobile data network within a preset time period, where the first habit list includes a correspondence between the time period when the first target object uses the mobile data network and a consumed flow.
An adjusting module 220, configured to adjust a network transmission speed of the first target object accessing the mobile data network within a preset time period according to the first habit list and the remaining amount of the mobile data network.
A setting module 230, configured to set a network transmission speed at which the first target object accesses the mobile data network to a first transmission speed when traffic consumption of the first target object on the mobile data network is greater than or equal to a preset traffic value under the condition that a remaining amount of the mobile data network is greater than or equal to a preset traffic threshold, and set a network transmission speed at which the first target object accesses the mobile data network to a second transmission speed when the traffic consumption of the first target object on the mobile data network is less than the preset traffic value, where the first transmission speed is greater than the second transmission speed.
The setting module 230 is further configured to, when the remaining amount of the mobile data network is smaller than a preset flow threshold, adjust information integrity and resolution of a display interface when the first target object accesses the mobile data network, so that a partial image in the display interface is not displayed, and the resolution of the display interface is smaller than a preset resolution.
In the network sharing apparatus 10 provided in the embodiment of the present application, a mobile data network is first started, where the mobile data network includes a first network and a second network; then, monitoring the use condition of a first target object on the mobile data network, and monitoring the use condition of a second target object on the mobile data network; and finally, distributing the first network and the second network according to the use conditions of the first target object and the second target object to the mobile data network. By monitoring the use conditions of the first target object and the second target object to the mobile data network, the corresponding first network and the second network are adaptively distributed, so that the internet surfing speed of the first target object and the second target object can be improved, and the mobile data traffic can be saved.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (8)

1. A network sharing method, the network sharing method comprising:
starting a mobile data network, wherein the mobile data network comprises a first network and a second network;
monitoring the use condition of a first target object on the mobile data network, and monitoring the use condition of a second target object on the mobile data network;
judging whether the first target object is a network sharing object or not; when the first target object is a network sharing object and the first network is not used as a flow hotspot for network sharing, accessing the first target object to the first network and the second network is used as a flow hotspot for network sharing, accessing the second target object to the second network, monitoring a first surplus limit of the first network and a second surplus limit of the second network, and when the first surplus limit is monitored to be smaller than the first limit and the second surplus limit is monitored to be larger than the second limit, transmitting a preset flow value in the second surplus limit of the second network to the first network; alternatively, the first and second electrodes may be,
when the first network and the second network are both used as traffic hotspots for network sharing, detecting a first usage amount of the first target object to the mobile data network and a second usage amount of the second target object to the mobile data network; and when the first usage amount is larger than the second usage amount and the first total flow amount of the first network is larger than the second total flow amount of the second network, accessing the first target object to the first network and accessing the second target object to the second network.
2. The network sharing method according to claim 1, wherein the accessing the first target object to the first network and the accessing the second target object to the second network when the account numbers and passwords of the first network and the second network are the same and the "when the first usage amount is greater than the second usage amount and the first total traffic amount of the first network is greater than the second total traffic amount of the second network" includes:
establishing a first database according to an authorized object of the first network and establishing a second database according to an authorized object of the second network, wherein the first database and the second database both comprise a network protocol address and a physical address of the authorized object;
comparing the received first protocol address and first physical address of the first target object with the first database, and comparing the received second protocol address and second physical address of the second target object with the second database;
and when the first protocol address and the first physical address of the first target object are successfully compared with the first database and the second protocol address and the second physical address of the second target object are successfully compared with the second database, allowing the first target object to access the first network and allowing the second target object to access the second network.
3. The network sharing method of claim 1, wherein the monitoring usage of the mobile data network by the first target object when the first network and the second network are both used as traffic hotspots for network sharing comprises:
establishing a first habit list according to the living habits of the first target object in using the mobile data network within a preset time period, wherein the first habit list comprises the corresponding relation between the time period of using the mobile data network by the first target object and the consumed flow;
adjusting the network transmission speed of the first target object accessing the mobile data network within a preset time period according to the first habit list and the surplus of the mobile data network;
when the remaining amount of the mobile data network is greater than or equal to a preset flow threshold value, when the flow consumption of the first target object to the mobile data network is greater than or equal to a preset flow value, setting the network transmission speed of the first target object accessing the mobile data network as a first transmission speed, and when the flow consumption of the first target object to the mobile data network is less than the preset flow value, setting the network transmission speed of the first target object accessing the mobile data network as a second transmission speed, wherein the first transmission speed is greater than the second transmission speed.
4. The network sharing method according to claim 3, wherein when the remaining amount of the mobile data network is smaller than a preset traffic threshold, the information integrity and the resolution of the display interface when the first target object accesses the mobile data network are adjusted, so that a part of images in the display interface are not displayed, and the resolution of the display interface is smaller than a preset resolution.
5. A network sharing apparatus, the network sharing apparatus comprising:
the system comprises a starting module, a sending module and a receiving module, wherein the starting module is used for starting a mobile data network, and the mobile data network comprises a first network and a second network;
the monitoring module is used for monitoring the use condition of a first target object on the mobile data network and monitoring the use condition of a second target object on the mobile data network;
the judging module is used for judging whether the first target object is a network sharing object or not; a first access module, configured to, when the first target object is a network sharing object and the first network is not used as a traffic hotspot for network sharing, access the first target object to the first network, use the second network as a traffic hotspot for network sharing, access the second target object to the second network, monitor a first remaining quota of the first network and a second remaining quota of the second network, and forward a preset traffic value in the second remaining quota of the second network to the first network when it is monitored that the first remaining quota is less than the first quota and the second remaining quota is greater than the second quota; alternatively, the first and second electrodes may be,
when the first network and the second network are both used as traffic hotspots for network sharing, the system further comprises a detection module and a second access module,
the detection module is used for detecting a first usage amount of the first target object to the mobile data network and a second usage amount of the second target object to the mobile data network;
the second access module is configured to access the first target object to the first network and access the second target object to the second network when the first usage amount is greater than the second usage amount and the first traffic total amount of the first network is greater than the second traffic total amount of the second network.
6. The network sharing apparatus of claim 5, wherein when the account numbers and passwords of the first network and the second network are the same, the second access module comprises:
the first establishing module is used for establishing a first database according to an authorized object of the first network and establishing a second database according to an authorized object of the second network, wherein the first database and the second database both comprise a network protocol address and a physical address of the authorized object;
a comparison module, configured to compare the received first protocol address and first physical address of the first target object with the first database, and compare the received second protocol address and second physical address of the second target object with the second database;
and the access permitting module is used for permitting the first target object to access the first network and permitting the second target object to access the second network when the first protocol address and the first physical address of the first target object are successfully compared with the first database and the second protocol address and the second physical address of the second target object are successfully compared with the second database.
7. The network sharing device of claim 5, wherein when the first network and the second network are both used as traffic hotspots for network sharing, the monitoring module comprises:
a second establishing module, configured to establish a first habit list according to a living habit of the first target object using the mobile data network within a preset time period, where the first habit list includes a correspondence between the time period when the first target object uses the mobile data network and a consumed flow;
the adjusting module is used for adjusting the network transmission speed of the first target object accessing the mobile data network within a preset time period according to the first habit list and the surplus of the mobile data network;
the device comprises a setting module, a transmission module and a processing module, wherein the setting module is used for setting the network transmission speed of the first target object accessing the mobile data network as a first transmission speed when the flow consumption of the first target object to the mobile data network is greater than or equal to a preset flow value under the condition that the residual quantity of the mobile data network is greater than or equal to the preset flow threshold value, and setting the network transmission speed of the first target object accessing the mobile data network as a second transmission speed when the flow consumption of the first target object to the mobile data network is less than the preset flow value, wherein the first transmission speed is greater than the second transmission speed.
8. The network sharing device according to claim 7, wherein when the remaining amount of the mobile data network is smaller than a preset traffic threshold, the information integrity and the resolution of the display interface when the first target object accesses the mobile data network are adjusted, so that a part of images in the display interface are not displayed, and the resolution of the display interface is smaller than a preset resolution.
CN201811393946.3A 2018-11-21 2018-11-21 Network sharing method and network sharing device Active CN109219088B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811393946.3A CN109219088B (en) 2018-11-21 2018-11-21 Network sharing method and network sharing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811393946.3A CN109219088B (en) 2018-11-21 2018-11-21 Network sharing method and network sharing device

Publications (2)

Publication Number Publication Date
CN109219088A CN109219088A (en) 2019-01-15
CN109219088B true CN109219088B (en) 2021-08-17

Family

ID=64993997

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811393946.3A Active CN109219088B (en) 2018-11-21 2018-11-21 Network sharing method and network sharing device

Country Status (1)

Country Link
CN (1) CN109219088B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113423106B (en) * 2020-03-03 2023-08-22 华为技术有限公司 Mobile network hotspot sharing method and device and hotspot sharing equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102711181A (en) * 2012-06-05 2012-10-03 深圳市中兴移动通信有限公司 Method for mobile terminal to realize network shunt by utilizing multilink
CN104869558A (en) * 2014-02-21 2015-08-26 中国科学院深圳先进技术研究院 Network flow sharing method, device and mobile terminals
CN106376046A (en) * 2015-07-21 2017-02-01 中兴通讯股份有限公司 Multi-subscriber identity module (SIM) card flow polling processing method and apparatus
CN106792491A (en) * 2017-03-03 2017-05-31 北京珠穆朗玛移动通信有限公司 Network share method and mobile terminal based on double card
WO2017128520A1 (en) * 2016-01-29 2017-08-03 宇龙计算机通信科技(深圳)有限公司 Data traffic sharing method, device, system, and terminal
CN108391025A (en) * 2018-01-30 2018-08-10 努比亚技术有限公司 A kind of network access management method, mobile terminal and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102711181A (en) * 2012-06-05 2012-10-03 深圳市中兴移动通信有限公司 Method for mobile terminal to realize network shunt by utilizing multilink
CN104869558A (en) * 2014-02-21 2015-08-26 中国科学院深圳先进技术研究院 Network flow sharing method, device and mobile terminals
CN106376046A (en) * 2015-07-21 2017-02-01 中兴通讯股份有限公司 Multi-subscriber identity module (SIM) card flow polling processing method and apparatus
WO2017128520A1 (en) * 2016-01-29 2017-08-03 宇龙计算机通信科技(深圳)有限公司 Data traffic sharing method, device, system, and terminal
CN106792491A (en) * 2017-03-03 2017-05-31 北京珠穆朗玛移动通信有限公司 Network share method and mobile terminal based on double card
CN108391025A (en) * 2018-01-30 2018-08-10 努比亚技术有限公司 A kind of network access management method, mobile terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN109219088A (en) 2019-01-15

Similar Documents

Publication Publication Date Title
CN106604403B (en) Miracast protocol-based channel selection method and system
CN109618372B (en) Data transmission method and related device
KR102060373B1 (en) Method and apparatus for connecting short-distance wireless communication in terminal
CN106658652B (en) Method and device for connecting WiFi hotspot
US20150110077A1 (en) Method and apparatus for causing information related to mutual communication property between a terminal and access points of a wireless network to be used in connecting to the wireless network
US10743252B2 (en) Method for identifying access point and hotspot and terminal
US7154877B2 (en) System and method for best effort scheduling
US6400726B1 (en) Allocation to a plurality of elements of authorizations for access to a shared resource
CN108881012B (en) Link aggregation method and related product
CN112055176B (en) Negotiation transmission method based on video code stream, electronic equipment and computer readable storage medium
US11178624B2 (en) Method of adjusting transmission power of terminal, mobile terminal, and storage device
WO2017054362A1 (en) Method and device for multicarrier data transmission
CN111885733B (en) Resource allocation method, device, storage medium and network equipment
KR20110003511A (en) A method and apparatus for processing the access of user terminal in a fixed access network
CN109275197B (en) Communication connection establishing method, base station, terminal and storage medium
CN106658358A (en) Network sharing method, network sharing device and terminal
KR20220116425A (en) Data cache mechanism through dual SIP phones
CN114816308B (en) Information partition display method and related equipment
US20050169294A1 (en) Dynamic network load balancing method and system
CN109219088B (en) Network sharing method and network sharing device
CN115119324A (en) Resource scheduling method and device
CN105915648B (en) Resource scheduling method and device based on cache platform
CN101674330A (en) Service interaction method and device thereof
CN114157710A (en) Communication strategy configuration method, device, storage medium and equipment
US9986457B2 (en) Mobile terminal device, wireless communication method for mobile terminal device, carrier server device, and communication speed control method in carrier server device

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