CN114258037B - Network control method and device and electronic equipment - Google Patents

Network control method and device and electronic equipment Download PDF

Info

Publication number
CN114258037B
CN114258037B CN202011000675.8A CN202011000675A CN114258037B CN 114258037 B CN114258037 B CN 114258037B CN 202011000675 A CN202011000675 A CN 202011000675A CN 114258037 B CN114258037 B CN 114258037B
Authority
CN
China
Prior art keywords
terminal
network
target terminal
terminals
group
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
CN202011000675.8A
Other languages
Chinese (zh)
Other versions
CN114258037A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202011000675.8A priority Critical patent/CN114258037B/en
Priority to PCT/CN2021/114025 priority patent/WO2022062796A1/en
Publication of CN114258037A publication Critical patent/CN114258037A/en
Application granted granted Critical
Publication of CN114258037B publication Critical patent/CN114258037B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/04Communication route or path selection, e.g. power-based or shortest path routing based on wireless node resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/32Connectivity information management, e.g. connectivity discovery or connectivity update for defining a routing cluster membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

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

Abstract

The application provides a network control method, a network control device and electronic equipment, and relates to the technical field of communication. The method comprises the following steps: determining network capabilities of at least two terminals under the same local area network; determining a first target terminal and a second target terminal according to the network capability, wherein the first target terminal and the second target terminal are at least one terminal in the terminal group, and the network capability of the first target terminal is stronger than that of the second target terminal; and sending a first message to the second target terminal, wherein the first message comprises identification information of the first target terminal, the identification information carries IP address information of the first target terminal, and the first message is used for indicating the second target terminal to take the first target terminal as a next hop route. The method can dynamically adjust the routes of the terminals based on the network capacities of different terminals in the same local area network, find the optimal route, reduce the network delay, improve the network transmission speed and further improve the Internet surfing experience.

Description

Network control method and device and electronic equipment
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a network control method, a device, and an electronic device.
Background
With the rapid development of intelligent devices, the number of terminals owned by people is also increasing, such as mobile phones, pads, watches, computers, and the like. At present, when people use the owned terminals to surf the internet in a local area network (such as a home or office wireless network environment, etc.), if the situation that network signals are unstable or a plurality of terminals perform channel competition, etc. occurs in the local area network, the network of the local area network is unstable, so that network delay is increased, network transmission speed is reduced, and people are difficult to continuously use the terminals to browse or download information on the network.
Disclosure of Invention
The embodiment of the application provides a network control method, a network control device and electronic equipment, which can dynamically adjust the route of a terminal based on the network capacities of different terminals in the same local area network, find the optimal route, reduce network delay, improve network transmission speed and further improve Internet surfing experience.
In a first aspect, an embodiment of the present application provides a network control method, where the method includes: determining network capabilities of at least two terminals under the same local area network; determining a first target terminal and a second target terminal according to the network capability, wherein the first target terminal and the second target terminal are at least one terminal in a terminal group, and the network capability of the first target terminal is stronger than that of the second target terminal; and sending a first message to the second target terminal, wherein the first message comprises identification information of the first target terminal, the identification information carries IP address information of the first target terminal, and the first message is used for indicating the second target terminal to take the first target terminal as a next hop route. Therefore, based on the network capability of different terminals under the same local area network, the routing of the terminals is dynamically adjusted, the network delay is reduced, the network transmission speed is improved, and the Internet surfing experience is further improved.
In one possible implementation, determining network capabilities of at least two terminals in a terminal group under the same local area network includes: acquiring equipment state information of at least two terminals, wherein the equipment state information comprises one or more of an operator type, a network type, network signal strength, a network load, a processor load and electric quantity; network capabilities of the at least two terminals are determined based on the device state information of the at least two terminals. Thereby, the network capability of the terminal is determined based on the device status information of the terminal.
In one possible implementation manner, the method is applied to a master terminal in a terminal group, and obtains device state information of at least two terminals, and includes: generating first equipment state information and sending the first equipment state information to a database server so that the database server distributes the first equipment state information to slave terminals in a terminal group; and receiving second equipment state information of the slave terminal forwarded by the database server, wherein the second state information is generated after the slave terminal receives the first equipment state information and is sent to the database server. Thereby, the master terminal obtains the equipment state information of the slave terminal.
In one possible implementation, the network capability is derived from a weighted combination of information included in the device state information using weight factors. From this, the network capabilities of the terminal are calculated.
In one possible implementation, determining network capabilities of at least two terminals in a terminal group under the same local area network includes: and receiving first data packets sent by at least two terminals, wherein the first data packets comprise network capability. Thereby, the network capability of the terminal is obtained.
In one possible implementation, determining the first target terminal and the second target terminal according to the network capability includes: ordering network capabilities of at least two terminals, and determining a first target terminal and a second target terminal based on the ordering result. Thereby, the first target terminal and the second target terminal are determined.
In one possible implementation, before sending the first message to the second target terminal, the method includes: sending a second message to the first target terminal, wherein the second message is used for indicating the first target terminal to start network sharing; and receiving a third message fed back by the first target terminal, wherein the third message comprises information that the first target terminal has successfully started network sharing. Therefore, the second target terminal is informed to start network sharing.
In one possible implementation manner, before the method is applied to the first terminal in the terminal group and the network capabilities of at least two terminals in the terminal group under the same local area network are determined, the method includes: and sharing the group identification information of the trusted group to at least one second terminal so that the at least one second terminal joins the trusted group based on the group identification information, wherein the trusted group is established by the first terminal, and the terminals in the trusted group form a terminal group. Thus, a terminal capable of dynamically adjusting the route is determined.
In one possible implementation manner, the group identification information carries network information of a network shared by the first terminal, wherein the first terminal is a next hop route of the second terminal, and the network information comprises a password and an identity of the network shared by the first terminal. Thereby, the second terminal is added into the trusted group when the second terminal is connected with the network hotspot of the first terminal.
In a second aspect, an embodiment of the present application provides a network control method, applied to a first target terminal, where the method includes: receiving a second message sent by electronic equipment, wherein the second message is used for indicating a first target terminal to start network sharing, and the electronic equipment comprises a terminal or a server; starting network sharing; receiving a second data packet sent by a second target terminal, wherein the second data packet comprises a target network address, and the first target terminal and the second target terminal are both terminals in the same local area network; the second data packet is forwarded to the destination host indicated by the destination network address. Thereby, the first target terminal is realized as the next hop route of the second target terminal.
In one possible implementation manner, before receiving the first message sent by the electronic device, the method further includes: and sending a third data packet to the electronic equipment, wherein the first data packet comprises the network capability of the first target terminal. Thus, the electronic equipment obtains the network capability of the first target terminal.
In a third aspect, an embodiment of the present application provides a network control method, applied to a second target terminal, where the method includes: receiving a first message sent by electronic equipment, wherein the electronic equipment comprises a terminal or a server, the first message comprises identification information of a first target terminal, the identification information carries IP address information of the first target terminal, the first message is used for indicating a second target terminal to take the first target terminal as a next hop route, and the first target terminal and the second target terminal are both terminals in the same local area network; and sending a second data packet to the first target terminal, wherein the second data packet comprises a destination network address. Thus, the second target terminal dynamically adjusts the route.
In one possible implementation manner, before receiving the first message sent by the electronic device, the method further includes: and sending a first data packet to the electronic equipment, wherein the first data packet comprises the network capability of the second target terminal. Thereby, the electronic equipment obtains the network capability of the second target terminal.
In a fourth aspect, an embodiment of the present application provides a network control device, where the device includes:
the determining unit is configured to determine network capabilities of at least two terminals under the same local area network, and determine a first target terminal and a second target terminal according to the network capabilities, wherein the first target terminal and the second target terminal are at least one terminal in a terminal group, and the network capabilities of the first target terminal are stronger than those of the second target terminal;
the first sending unit is configured to send a first message to the second target terminal, wherein the first message comprises identification information of the first target terminal, the identification information carries IP address information of the first target terminal, and the first message is used for indicating the second target terminal to take the first target terminal as a next hop route.
In a possible implementation, the determining unit is further configured to:
acquiring equipment state information of at least two terminals, wherein the equipment state information comprises one or more of an operator type, a network type, network signal strength, a network load, a processor load and electric quantity;
network capabilities of the at least two terminals are determined based on the device state information of the at least two terminals.
In one possible implementation, the apparatus is disposed at a master terminal in the terminal group, and the determining unit is further configured to:
generating first equipment state information and sending the first equipment state information to a database server so that the database server distributes the first equipment state information to slave terminals in a terminal group;
and receiving second equipment state information of the slave terminal forwarded by the database server, wherein the second state information is generated after the slave terminal receives the first equipment state information and is sent to the database server.
In one possible implementation, the network capability is derived from a weighted combination of information included in the device state information using weight factors.
In a possible implementation, the determining unit is further configured to:
and receiving first data packets sent by at least two terminals, wherein the first data packets comprise network capability.
In a possible implementation, the determining unit is further configured to:
ordering network capabilities of at least two terminals, and determining a first target terminal and a second target terminal based on the ordering result.
In one possible implementation, the first transmitting unit is further configured to:
Sending a second message to the first target terminal, wherein the second message is used for indicating the first target terminal to start network sharing;
and receiving a third message fed back by the first target terminal, wherein the third message comprises information that the first target terminal has successfully started network sharing.
In one possible implementation, the apparatus is disposed at a first terminal in the terminal group, and the determining unit is further configured to:
and sharing the group identification information of the trusted group to at least one second terminal so that the at least one second terminal joins the trusted group based on the group identification information, wherein the trusted group is established by the first terminal, and the terminals in the trusted group form a terminal group.
In one possible implementation manner, the group identification information carries network information of a network shared by the first terminal, wherein the first terminal is a next hop route of the second terminal, and the network information comprises a password and an identity of the network shared by the first terminal.
In a fifth aspect, an embodiment of the present application provides a network control device deployed at a first target terminal, where the device includes:
the first receiving unit is configured to receive a second message sent by the electronic equipment, wherein the second message is used for indicating the first target terminal to start network sharing, and the electronic equipment comprises a terminal or a server;
The starting unit is configured to start network sharing;
the second receiving unit is configured to receive a second data packet sent by a second target terminal, wherein the second data packet comprises a target network address, and the first target terminal and the second target terminal are both terminals in the same local area network;
and a forwarding unit configured to forward the second data packet to the destination host indicated by the destination network address.
In one possible implementation, the apparatus further includes:
and the second sending unit is configured to send a third data packet to the electronic device before the first receiving unit receives the second message, wherein the first data packet comprises the network capability of the first target terminal.
In a sixth aspect, an embodiment of the present application provides a network control device deployed at a second target terminal, where the device includes:
the third receiving unit is configured to receive a first message sent by electronic equipment, the electronic equipment comprises a terminal or a server, the first message comprises identification information of a first target terminal, the identification information carries IP address information of the first target terminal, the first message is used for indicating a second target terminal to take the first target terminal as a next hop route, and the first target terminal and the second target terminal are both terminals in the same local area network;
And a third transmitting unit configured to transmit a second data packet to the first target terminal, the second data packet including the destination network address.
In one possible implementation, the third sending unit is further configured to:
and sending a first data packet to the electronic equipment, wherein the first data packet comprises the network capability of the second target terminal.
In a seventh aspect, embodiments of the present application provide an electronic device including a touch screen, a memory, one or more processors, a plurality of application programs, and one or more programs; wherein one or more programs are stored in the memory; the one or more processors, when executing the one or more programs, cause the electronic device to implement the methods provided in the above aspects.
In an eighth aspect, embodiments of the present application provide an electronic device, including the apparatus provided in the above aspect.
In a ninth aspect, embodiments of the present application provide a computer storage medium having instructions stored therein, which when run on a computer, cause the computer to perform the method provided in the above aspect.
In a tenth aspect, embodiments of the present application provide a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method provided above.
In an eleventh aspect, embodiments of the present application provide a chip comprising at least one processor and an interface;
an interface for providing program instructions or data to at least one processor;
at least one processor is configured to execute program line instructions to implement the methods provided in the above aspects.
Drawings
Fig. 1a and fig. 1b together form an application scenario schematic diagram provided in the embodiments of the present application;
fig. 2a and fig. 2b together form another application scenario schematic provided in the embodiments of the present application;
fig. 3 is a schematic hardware structure of a terminal according to an embodiment of the present application;
fig. 4 is a schematic software structure of a terminal according to an embodiment of the present application;
FIG. 5a is a schematic diagram of an interface for creating trusted groups provided by embodiments of the present application;
FIG. 5b is a schematic diagram of a graphic code according to an embodiment of the present application;
fig. 5c is an interface schematic diagram of a network hotspot opening according to an embodiment of the present application;
fig. 6 is a schematic communication diagram for determining network capability of a terminal according to an embodiment of the present application;
fig. 7 is a schematic diagram of another communication for determining network capability of a terminal according to an embodiment of the present application;
fig. 8 is a schematic communication diagram of a terminal indicating network sharing and network borrowing according to an embodiment of the present application;
Fig. 9a is a schematic diagram of a network configuration of a terminal according to an embodiment of the present application;
fig. 9b is a schematic diagram of a network configuration of another terminal according to an embodiment of the present application;
fig. 10 is a schematic diagram of communication between terminals according to an embodiment of the present application
Fig. 11 is a schematic communication diagram of a terminal after routing adjustment according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a network control device according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of another network control device according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of still another network control device according to an embodiment of the present application;
fig. 15 is a schematic structural diagram of a chip according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be described below with reference to the accompanying drawings.
In the description of embodiments of the present application, words such as "exemplary," "such as" or "for example," are used to indicate by way of example, illustration, or description. Any embodiment or design described herein as "exemplary," "such as" or "for example" is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary," "such as" or "for example," etc., is intended to present related concepts in a concrete fashion.
In the description of the embodiments of the present application, the term "and/or" is merely an association relationship describing an association object, and indicates that three relationships may exist, for example, a and/or B may indicate: a alone, B alone, and both A and B. In addition, unless otherwise indicated, the term "plurality" means two or more. For example, a plurality of systems means two or more systems, and a plurality of screen terminals means two or more screen terminals.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating an indicated technical feature. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
Fig. 1a and fig. 1b together form an application scenario schematic diagram provided in the embodiments of the present application. As shown in fig. 1a, the terminal 11, the terminal 12 and the terminal 13 are under the same local area network and all perform network communication through the routing device 21. If the network signal of the network provided by the routing device 21 is unstable, one of the terminals 11, 12 and 13, such as the terminal 11, may determine a terminal with strong network capability, such as the terminal 13, and determine a terminal with poor network capability, such as the terminal 12, based on the network capability of each terminal. The terminal 11 may then communicate with the terminal 13, causing the terminal 13 to initiate network sharing. After the terminal 13 starts network sharing, the terminal 11 may communicate with the terminal 12 to send information of the terminal 13, such as an IP address, to the terminal 12. Thereafter, as shown in fig. 1b, the terminal 12 may change its network configuration information, such as gateway information, DNS information, etc., according to the information of the terminal 13, thereby taking the terminal 13 as the next hop route of the terminal 12, so that the terminal 12 may perform network communication through the terminal 13. Therefore, by means of the dynamic route adjustment mode, network transmission delay is reduced, network transmission efficiency is improved, and internet surfing experience is further improved. Wherein the arrows in fig. 1a and 1b point to the flow of data representing the uplink of the terminal.
Fig. 2a and fig. 2b together form another application scenario schematic diagram provided in the embodiments of the present application. As shown in fig. 2a, the terminal 11 opens a network hotspot, and the terminal 12, the terminal 13 and the terminal 14 jointly use the network hotspot opened by the terminal 11 to perform network communication, where the terminal 11, the terminal 12, the terminal 13 and the terminal 14 are located under the same local area network. If the network signal of the network provided by the terminal 11 is unstable, one of the terminals 11, 12, 13 and 14, such as the terminal 11, may determine a terminal with strong network capability, such as the terminal 14, and determine a terminal with poor network capability, such as the terminal 13, based on the network capability of each terminal. The terminal 11 may then communicate with the terminal 14, causing the terminal 14 to turn on network sharing. After the terminal 14 starts network sharing, the terminal 11 may communicate with the terminal 13 to send information of the terminal 14, such as an IP address, to the terminal 13. Thereafter, as shown in fig. 2b, the terminal 13 may change its network configuration information, such as gateway information, DNS information, etc., according to the information of the terminal 14, thereby taking the terminal 14 as the next hop route of the terminal 13, so that the terminal 13 may perform network communication through the terminal 14. Therefore, by means of the dynamic route adjustment mode, network transmission delay is reduced, network transmission efficiency is improved, and internet surfing experience is further improved. Wherein the arrows in fig. 2a and 2b point to the flow of data representing the uplink of the terminal.
In some examples, the terminal may be a cell phone, tablet, digital camera, personal digital assistant (personal digital assistant, PDA), wearable device, smart television, smart screen, or other electronic device. Exemplary embodiments of the electronic device include, but are not limited to, electronic devices that carry iOS, android, windows, hong System (Harmony OS), or other operating systems. The electronic device may also be other electronic devices such as a laptop computer (laptop) or the like having a touch-sensitive surface, e.g. a touch panel. The type of the electronic device is not particularly limited in the embodiments of the present application.
The following describes a schematic hardware structure of a terminal in an embodiment of the present application.
Fig. 3 shows a schematic diagram of the hardware structure of the terminal. As shown in fig. 3, the terminal 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display 194, a subscriber identity module (subscriber identification module, SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
In some embodiments, a route management module (not shown) may also be included in the terminal 100. The route management module may be used to implement configuration route forwarding functions, for example, to start an IP forwarding function, to start a DNS forwarding function, to start a NET forwarding function, and the like; and/or for implementing a routing adjustment function, for example, adjusting DNS information and gateway information of one of the terminals 100 based on an IP address of the terminal. In one example, the route management module may be further configured to implement a data forwarding function, for example, forwarding a data packet sent by one of the terminals to a destination host indicated by a destination network address carried in the data packet.
It should be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the terminal 100. In other embodiments of the present application, terminal 100 may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, for example, the processor 110 may include one or more of an application processor (application processor, AP), a modem (modem), a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural-network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
A memory may also be provided in the processor 110 for storing instructions and data. In some examples, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, the instruction or data can be directly called from the memory to avoid repeated access, reduce the waiting time of the processor 110 and improve the efficiency of the system. In some examples, the processor 110 may be configured to determine a terminal with strong network capabilities and a terminal with poor network capabilities, or determine the network capabilities of the terminal 100 itself, or the like, based on the network capabilities of the respective terminals.
In some examples, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (PulseCodeModulation, PCM) interface, a universal asynchronous receiver Transmitter (Universal Asynchronous Receiver/Transmitter, UART) interface, a mobile industry processor interface (MobileIndustryProcessor Interface, MIPI), a General purpose input/output (gpio), a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (Universal Serial Bus, USB) interface, among others.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some examples of wired charging, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some examples of wireless charging, the charge management module 140 may receive wireless charging input through a wireless charging coil of the terminal 100. The charging management module 140 may also supply power to other electronic devices through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle times, battery health (leakage, impedance), and other parameters. In other examples, the power management module 141 may also be provided in the processor 110. In other examples, the power management module 141 and the charge management module 140 may also be provided in the same device.
The wireless communication function of the terminal 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in terminal 100 may be configured to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other examples, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the terminal 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from at least two antennas including the antenna 1, filter, amplify, etc., the received electromagnetic waves, and transmit to a modem for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some examples, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some examples, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some examples, the modem may be a stand-alone device. In other examples, the modem may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110. In other examples, mobile communication module 150 may be a module in a modem.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wirelesslocal area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., applied on the terminal 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some examples, antenna 1 and mobile communication module 150 of terminal 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that terminal 100 may communicate with a network and other devices through wireless communication techniques. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), fifth generation, new radio, NR), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
Terminal 100 implements display functions via a GPU, display 194, and application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crysta ldisplay, LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Miniled, a Micro-OLED, a quantum dot light-emitting diode (quantumdot light emitting diodes, QLED), or the like. In some examples, the terminal 100 may include one or more display screens 194.
The terminal 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display 194, an application processor, and the like.
The ISP is used to process data fed back by the camera 193. For example, when shooting, a shutter is opened, light is transmitted to a camera photosensitive element through a lens, an optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to an ISP for processing and is converted into an image visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some examples, the ISP may be provided in the camera 193.
The camera 193 is used to capture still images or videos, for example, capture facial feature information, posture feature information, and the like of a person. The object passes through the lens to generate an optical image which is projected onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a complementary metal oxide semiconductor (ComplementaryMetalOxideSemiconductor, CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some examples, terminal 100 may include one or more cameras 193.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the terminal 100 selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, etc.
Video codecs are used to compress or decompress digital video. The terminal 100 may support one or more video codecs. In this way, the terminal 100 may play or record video in a variety of encoding formats, such as: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to realize the memory capability of the extension terminal 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The processor 110 executes various functional applications of the terminal 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data (e.g., audio data, phonebook, etc.) created during use of the terminal 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The terminal 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some examples, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The terminal 100 can listen to music or to handsfree calls through the speaker 170A.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When the terminal 100 receives a telephone call or voice message, it is possible to receive voice by approaching the receiver 170B to the human ear.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to the microphone 170C. The terminal 100 may be provided with at least one microphone 170C. In other examples, the terminal 100 may be provided with two microphones 170C, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the terminal 100 may be further provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the source of sound, implement directional recording functions, etc.
The earphone interface 170D is used to connect a wired earphone. The headset interface 170D may be a USB interface 130 or a 3.5mm open mobile electronic device platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
The pressure sensor 180A is used for sensing a pressure signal, and can convert the pressure signal into an electrical signal. In some examples, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a capacitive pressure sensor comprising at least two parallel plates with conductive material. The capacitance between the electrodes changes when a force is applied to the pressure sensor 180A. The terminal 100 determines the strength of the pressure according to the change of the capacitance. When a touch operation is applied to the display 194, the terminal 100 detects the intensity of the touch operation according to the pressure sensor 180A. The terminal 100 may also calculate the location of the touch based on the detection signal of the pressure sensor 180A. In some examples, touch operations that act on the same touch location, but at different touch operation strengths, may correspond to different operation instructions. For example: and executing an instruction for checking the short message when the touch operation with the touch operation intensity smaller than the first pressure threshold acts on the short message application icon. And executing an instruction for newly creating the short message when the touch operation with the touch operation intensity being greater than or equal to the first pressure threshold acts on the short message application icon.
The gyro sensor 180B may be used to determine a motion gesture of the terminal 100. In some examples, the angular velocity of terminal 100 about three axes (i.e., x, y, and z axes) may be determined by gyro sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the terminal 100 is used to collect user feature information in the environment, the gyro sensor 180B detects the shake angle of the terminal 100, calculates the distance to be compensated by the lens module according to the angle, and makes the lens counteract the shake of the terminal 100 through the reverse motion, so as to realize anti-shake.
The air pressure sensor 180C is used to measure air pressure. In some examples, terminal 100 calculates altitude from barometric pressure values measured by barometric pressure sensor 180C, aiding in positioning and navigation.
The acceleration sensor 180E may detect the magnitude of acceleration of the terminal 100 in various directions (typically three axes). The magnitude and direction of gravity may be detected when the terminal 100 is stationary. The method can also be used for identifying the gesture of the terminal, and is applied to applications such as horizontal and vertical screen switching, pedometers and the like.
A distance sensor 180F for measuring a distance. The terminal 100 may measure the distance by infrared or laser. In some examples, when user characteristic information of a user in an environment is collected using a terminal, the terminal 100 may range using the distance sensor 180F to achieve quick focus.
The ambient light sensor 180L is used to sense ambient light level. The terminal 100 may adaptively adjust the brightness of the display 194 according to the perceived ambient light level.
The fingerprint sensor 180H is used to collect a fingerprint. The terminal 100 can utilize the collected fingerprint characteristics to realize fingerprint unlocking, access an application lock, fingerprint photographing, fingerprint incoming call answering and the like.
The temperature sensor 180J is for detecting temperature. In some examples, terminal 100 performs a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the terminal 100 performs a reduction in performance of a processor located near the temperature sensor 180J in order to reduce power consumption for implementing thermal protection. In other embodiments, when the temperature is below another threshold, the terminal 100 heats the battery 142 to avoid the terminal 100 from being abnormally shut down due to low temperatures. In other embodiments, when the temperature is below a further threshold, terminal 100 performs boosting of the output voltage of battery 142 to avoid abnormal shutdown caused by low temperatures.
The touch sensor 180K, also referred to as a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may be disposed on the surface of the terminal 100 at a different location than the display 194.
The keys 190 include a power key, a volume key, an input keyboard, and the like. The keys 190 may be mechanical keys. Or may be a touch key. The terminal 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the terminal 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., video playback, audio playback, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects by touching different areas of the display screen 194. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The software system of the terminal 100 may employ a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In this embodiment, taking an Android system with a layered architecture as an example, a software structure of the terminal 100 is illustrated.
Fig. 4 is a schematic software structure of the terminal 100 according to the embodiment of the present application.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, and a kernel layer, respectively.
The application layer may include a series of application packages, among other things. As shown in fig. 4, applications such as cameras, gallery, calendar, call, map, navigation, bluetooth, music, video, short message, etc. may be installed in the application layer. In some embodiments of the present application, the application programs further include group applications. The group application may provide an interface for the terminal 100 to set the trusted group, for example, to let the user set a name, password, etc. for setting the trusted group.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions. As shown in fig. 4, the application framework layer may further include a window manager, a content provider, a phone manager, a resource manager, a group management service, a view system, and the like, which is not limited in any way by the embodiments of the present application.
Wherein the group management service may be used to provide group management functionality. For example, device status information for each terminal is stored, network capabilities of each terminal device are evaluated, an optimal route is selected, and so on.
Android run time includes a core library and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media library (MediaLibraries), three-dimensional graphics processing library (e.g., openGL ES), 2D graphics engine (e.g., SGL), status monitoring service, etc.
The surface manager may be used to manage the display subsystem and provide a fusion of 2D and 3D layers for multiple applications.
The media library may support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The status monitoring service may be used to monitor device status information of the terminal 100, for example, operator type, network signal strength, network load, processor load, power, etc. of the terminal 100. After the device status information of the terminal 100 is monitored, data such as the device status information may be transmitted to the group application service.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The technical scheme provided by the application is described in detail below with reference to the accompanying drawings.
(1) Determining dynamically adjustable routing terminal
The user can preset the terminal capable of dynamically adjusting the route so as to improve the network security. For example, a trusted group is created, wherein group members in the trusted group can dynamically adjust the route.
For example, in a first scenario, with continued reference to fig. 1a, terminal 11, terminal 12 and terminal 13 are all in network communication via routing device 21. At this time, the owner of the terminal 11 may create a trusted group through the terminal 11, as shown in fig. 5a, may select "create a trusted group" from "route settings" in the terminal 11, and then, as shown in fig. 5b, may generate a graphic code, such as a two-dimensional code, on the terminal 11, where the graphic code may include group information such as an identity identifier and a password of the trusted group; then, the other terminals can join the trusted group created by the terminal 11 by scanning the graphic code. It will be appreciated that the terminal 11 may be referred to as a group owner and that other terminals in the trusted group may be referred to as group members. In addition, in addition to sharing the group information of the trusted group by using the graphic code, other manners may be used for sharing, for example, after the owner of the terminal 11 selects "create the trusted group", the terminal 11 may generate a group link; thereafter, the owner of the terminal 11 may send the group link to the terminals 12 and 13 by means of a short message or the like; finally, the terminal 12 and the terminal 13 click on the group link, i.e. can join the trusted group. It should be understood that the group link includes group information such as an identity, a password, etc. of the trusted group.
In a second scenario, with continued reference to fig. 2a, terminal 11 opens a network hotspot, and terminals 12, 13 and 14 together use the network hotspot opened by terminal 11 for network communication. At this time, as shown in fig. 5c, the owner of the terminal 11 may choose to turn on the hot spot and set the password. Thereafter, as shown in fig. 5b, the terminal 11 may generate a graphic code, such as a two-dimensional code, where the graphic code may include personal hotspot information such as an id of the hotspot (i.e. the wireless network), a password, and an id of the trusted group. Then, the other terminals can join the wireless network and trusted group created by the terminal 11 by scanning the graphic code. It will be appreciated that the terminal 11 may be referred to as a group owner and that other terminals in the trusted group may be referred to as group members. In addition, other manners may be used to share the personal hotspot information besides using the graphic code, for example, after the owner of the terminal 11 selects to turn on the hotspot, the terminal 11 may generate a hotspot link; thereafter, the owner of the terminal 11 may send the hot spot link to the terminals 12 and 13 by means of short messages or the like; finally, the terminals 12 and 13 click on the hot spot link, i.e. can join the wireless network and trusted group created by the joining terminal 11. It should be understood that the hotspot link includes personal hotspot information such as an identity of the hotspot (i.e., the wireless network), a password, and an identity of the trusted group.
(2) Determining network capabilities of terminals in trusted groups
Referring to fig. 6, fig. 6 is a schematic communication diagram for determining network capability of a terminal according to an embodiment of the present application. As shown in fig. 6, the method comprises the following steps:
step S101, the master terminal and the slave terminal generate respective device status information.
Specifically, the master terminal 11 and the slave terminal 12 may each generate their own device status information in real time or intermittently, where the device status information includes one or more of an operator type, a network signal strength, a network load, a processor load, and an electric quantity. In addition, the device state information can also include an identity of the terminal, so as to distinguish the source of the device state information. The slave terminal 12 may then transmit its own device status information to the master terminal 11.
It should be noted that, in the embodiment of the present application, the master terminal 11 may be understood as a terminal that performs a routing decision, where the routing decision may be understood as determining that one terminal uses a network of another terminal; the slave terminal 12 may be understood as a terminal that does not need to make a routing decision, wherein the slave terminal 12 may be comprised of one or more terminals.
In one example, the master terminal 11 may default to be the group master of the trusted group. Further, each terminal may compete to become the master terminal 11, for example, if one of the terminals has a high data processing capability, it may compete to become the master terminal 11.
Step S102, the slave terminal sends the device state information to the master terminal.
Specifically, the slave terminal 12 may transmit its own device status information to the master terminal 11. In one example, communication data packets between the slave terminal 12 and the master terminal 11 may be forwarded to the respective terminals via a routing device. In another example, the slave terminal 12 and the master terminal 11 may communicate with each other by means of bluetooth, wi-fi direct, universal serial bus (Universal Serial Bus, USB), or the like. It will be appreciated that the user may set the data communication method between the slave terminal 12 and the master terminal 11 in advance, for example, set the communication method in which the data packet is forwarded by the routing device, set the communication method using bluetooth, or the like.
Step S103, the master terminal determines the network capability of each of the master terminal and the slave terminal based on the corresponding device state information of each of the master terminal and the slave terminal.
Specifically, the master terminal 11, upon receiving the device state information of the slave terminal 12, may determine the network capabilities of the respective terminals (i.e., the master terminal 11 and the slave terminal 12) based on its own device state information and the device state information of the slave terminal 12. In one example, weights of different types of information in the equipment state information can be calibrated in advance, and then the different types of information are weighted and combined to obtain the network capability of the terminal; that is, the information included in the device status information of the terminal may be weighted and combined by using the weight distribution factor to obtain the network capability of the terminal.
In some embodiments, in order to reduce the processing load of the master terminal, the device state information transmitted between the master terminal and the slave terminal may be optionally forwarded using a database server. The details are described below.
Referring to fig. 7, fig. 7 is a schematic diagram of another communication for determining network capability of a terminal according to an embodiment of the present application. As shown in fig. 7, the method comprises the following steps:
step S201, the master terminal generates first device status information.
Step S202, the master terminal sends the first device state information to a database server.
Specifically, the master terminal 11 may transmit its own first device state information to the database server 21 through the network. The first device state information may include one or more of an operator type, a network signal strength, a network load, a processor load, and an electric quantity of the main terminal 11. In addition, the first device status information may further include an identity of the master terminal 11.
Step S203, the database server forwards the first device status information to the slave terminal.
Step S204, generating second device state information from the terminal.
Step S205, the slave terminal transmits the second device status information to the database server.
Specifically, the slave terminal 12 may transmit the second device state information of its own to the database server 21 after generating the second device state information. The second device state information may include one or more of a carrier type, a network signal strength, a network load, a processor load, and an electric quantity of the slave terminal. In addition, the second device state information may further include an identity of the slave terminal 12 and an identity of the master terminal 11; wherein the identity of the slave terminal 12 is a source for facilitating the differentiation of the second device state information by the master terminal 11, and the identity of the master terminal 11 is a forwarding address for facilitating the determination of the second device state information by the database server 21.
Step S206, the database server forwards the second device state information to the main terminal.
Step S207, the master terminal determines the network capability of each of the master terminal and the slave terminal based on the device state information corresponding to each of the master terminal and the slave terminal. For the manner of determining the network capability, see the description above, and will not be repeated here.
In some embodiments, both the master terminal and the slave terminal may determine their own network capabilities based on their own device state information. The slave terminal can send the network capability of the slave terminal to the master terminal, so that the master terminal can directly determine the network capability of the slave terminal without determining the equipment state information of the slave terminal, and then the network capability of the slave terminal is obtained, thereby reducing the processing load of the master terminal and improving the processing efficiency.
In this solution, when determining the network capability of the terminal, the network capability of the terminal may be determined by other devices, for example, a server, where the terminal needs to send its own device state information to a corresponding server, so that the server determines the network capability of the terminal based on the device state information of the terminal. In addition, if the network capability is determined by the terminal itself, the terminal may send its own network capability to the corresponding server so that the server knows the network capability of the terminal.
(3) Routing decisions
After determining the network capabilities of the master terminal and the slave terminal, the master terminal or other devices (such as a server and the like) can determine the terminal with strong network capabilities and the terminal with weak network capabilities according to the network capabilities of the master terminal and the slave terminal. For example, the network capability is ranked based on the strength of the network capability, and then, based on the ranking result, the terminal with strong network capability and the terminal with weak network capability can be determined. For convenience of description, a terminal with strong network capability will be referred to as a first target terminal, and a terminal with weak network capability will be referred to as a second target terminal.
The master terminal or other device (e.g., server) may then send a second message to the first target terminal, which may be used to instruct the first target terminal to initiate network sharing. After the first target terminal successfully starts network sharing, the master terminal or other devices (such as a server and the like) may send a first message to the second target terminal, where the first message may be used to instruct the second target terminal to use the first target terminal as a next hop route, where the first message may include identification information of the first target terminal, where the identification information may carry IP address information of the first target terminal. The second target terminal may then adjust the route based on the first message to take the first target terminal as its next hop route.
In some embodiments, the master terminal may carry the IP address of the second target terminal in the second message, so that after the first target terminal starts network sharing, the first target terminal may directly communicate with the second target terminal, and the message does not need to be forwarded by the master terminal.
In some embodiments, the master terminal or other devices (such as a server) may also determine, based on network information in the environment, etc., a type of network opened by the first target terminal, for example, to open a 4G or 5G network for sharing. For example, if the 4G network signal of the environment in which the master terminal or other device is currently located is stronger than the 5G network signal, the master terminal or other device may determine that the network type turned on by the first target terminal is a 4G network.
It can be understood that the first target terminal may record the initial network configuration information when the network sharing is started, and the network configuration information after the network sharing is started, and restore the network configuration information to the initial network configuration information after the network sharing is ended. Similarly, the second target terminal may record the initial network configuration information before the second target terminal adjusts the route and the network configuration information after the second target terminal adjusts the route, and restore the network configuration information to the initial network configuration information after the first target terminal finishes network sharing.
The following describes an example in which the master terminal sends a message for instructing to start network sharing and network borrowing.
Fig. 8 is a communication schematic diagram of a terminal indicating network sharing and network borrowing according to an embodiment of the present application. As shown in fig. 8, the method comprises the following steps:
step S301, the master terminal sends a second message to the first target terminal.
Specifically, the master terminal 11 may send the second message to the first target terminal 13 after making the routing decision. The second message may be used to instruct the first target terminal 13 to turn on network sharing.
Step S302, a first target terminal starts network sharing.
Specifically, after the first target terminal 13 receives the second message, network sharing is started. The first target terminal 13 may configure a routing forwarding function in its system kernel, for example, turn on an IP forwarding function, turn on a DNS forwarding function, turn on a NET forwarding function, and the like.
Step S303, the first target terminal feeds back a third message to the main terminal.
Specifically, after the first target terminal 13 successfully starts network sharing, the third message is fed back to the master terminal 11. The third message includes information that the first target terminal 13 has successfully opened network sharing.
Step S304, the main terminal sends a first message to the second target terminal.
Specifically, after knowing that the first target terminal 13 has successfully turned on network sharing, the master terminal 11 may send a first message to the second target terminal 14. The first message may include identification information of the first target terminal 13, where the identification information may carry IP address information of the first target terminal 13. Wherein the first message may be used to instruct the second target terminal 14 to route the first target terminal as a next hop.
Step S305, the second target terminal adjusts the route.
Specifically, after the second target terminal 14 receives the first message, the route may be adjusted, so that the first target terminal 13 is used as the next hop route. In one example, when the second target terminal 14 adjusts the route, the IP address information of the first target terminal 13 may be used as gateway information thereof, and the system kernel of the second target terminal 14 automatically obtains corresponding DNS information, so as to implement the next-hop route using the first target terminal 13 as the second target terminal. For example, as shown in fig. 9a, the initial gateway of the second target terminal 14 is 192.168.1.11, and the initial DNS is 1.1.1.1; if the IP address information of the first target terminal 13 is 192.168.2.21, as shown in fig. 9b, the second target terminal 14 may update its gateway to 192.168.2.21, and automatically obtain a new DNS, which is 2.2.2.2.
Step S306, the second target terminal feeds back a fourth message to the main terminal.
Specifically, after the second target terminal 14 successfully adjusts the route, the fourth message may be fed back to the master terminal 11. Wherein the fourth message comprises information that the second target terminal 14 has successfully adjusted the route.
It can be understood that if the first target terminal 13 fails to feed back the start-up, the first target terminal may be redetermined, for example, a terminal with a stronger network capability may be selected as the first target terminal, which may be specific to the actual situation and is not limited herein.
In some embodiments, the master terminal or other device (e.g., a server) may send the first message directly to the second target terminal after determining the first target terminal and the second target terminal. At this time, after receiving the first message, the second target terminal may communicate with the first target terminal to use the first target terminal as its next hop route. For easy understanding, fig. 10 is a schematic diagram of communication between terminals according to an embodiment of the present application, as shown in fig. 10, and includes the following steps:
step S401, the second target terminal sends a fifth message to the first target terminal.
Specifically, after receiving the first message, the second target terminal 14 may directly communicate with the first target terminal 13, and may send a fifth message to the first target terminal 13, where the fifth message may be used to instruct the first target terminal 13 to start network sharing.
In step S402, the first target terminal starts network sharing.
Step S403, the first target terminal feeds back the third message to the second target terminal.
And step S404, the second target terminal adjusts the route.
In some embodiments, after the second target terminal adjusts the route, it may then be networked through the first target terminal. Specifically, as shown in fig. 11, the method comprises the following steps:
step S501, the second target terminal sends a second data packet to the first target terminal.
Specifically, after the second destination terminal 14 adjusts the route, a second data packet may be sent to the second destination terminal 13, where the second data packet includes the destination network address.
In step S502, the first target terminal forwards the second data packet to the destination host indicated by the destination network address.
Specifically, after receiving the second data packet, the first target terminal 13 may check the destination network address and then look up the routing table. After the first destination terminal 13 finds the routing table entry matching the destination network address, the first destination terminal 13 forwards the second data packet to the destination host 15 indicated by the destination network address according to the egress and interface information indicated by the table.
Based on the network control method in the above embodiment, the embodiment of the present application further provides a network control device. Referring to fig. 12, fig. 12 is a schematic structural diagram of a network control device according to an embodiment of the present application, and as shown in fig. 12, the network control device 200 includes:
a determining unit 21, configured to determine network capabilities of at least two terminals under the same local area network, and determine a first target terminal and a second target terminal according to the network capabilities, where the first target terminal and the second target terminal are at least one terminal in a terminal group, and the network capability of the first target terminal is stronger than the network capability of the second target terminal;
the first sending unit 22 is configured to send a first message to the second target terminal, where the first message includes identification information of the first target terminal, where the identification information carries IP address information of the first target terminal, and the first message is used to instruct the second target terminal to use the first target terminal as a next hop route.
In one example, the determining unit 21 is further configured to:
acquiring equipment state information of at least two terminals, wherein the equipment state information comprises one or more of an operator type, a network type, network signal strength, a network load, a processor load and electric quantity;
Network capabilities of the at least two terminals are determined based on the device state information of the at least two terminals.
In one example, the apparatus is deployed at a master terminal in the terminal group, and the determining unit 21 is further configured to:
generating first equipment state information and sending the first equipment state information to a database server so that the database server distributes the first equipment state information to slave terminals in a terminal group;
and receiving second equipment state information of the slave terminal forwarded by the database server, wherein the second state information is generated after the slave terminal receives the first equipment state information and is sent to the database server.
In one example, the network capability is derived from a weighted combination of information included in the device state information using weight factors.
In one example, the determining unit 21 is further configured to:
and receiving first data packets sent by at least two terminals, wherein the first data packets comprise network capability.
In one example, the determining unit 21 is further configured to:
ordering network capabilities of at least two terminals, and determining a first target terminal and a second target terminal based on the ordering result.
In one example, the first transmitting unit 22 is further configured to:
Sending a second message to the first target terminal, wherein the second message is used for indicating the first target terminal to start network sharing;
and receiving a third message fed back by the first target terminal, wherein the third message comprises information that the first target terminal has successfully started network sharing.
In one example, the apparatus is disposed at a first terminal in the terminal group, and the determining unit 21 is further configured to:
and sharing the group identification information of the trusted group to at least one second terminal so that the at least one second terminal joins the trusted group based on the group identification information, wherein the trusted group is established by the first terminal, and the terminals in the trusted group form a terminal group.
In one example, the group identifier information carries network information of a network shared by the first terminal, where the first terminal is a next hop route of the second terminal, and the network information includes a password and an identity of the network shared by the first terminal.
It should be understood that, the foregoing apparatus is used to perform the method in the foregoing embodiment, and corresponding program modules in the apparatus implement principles and technical effects similar to those described in the foregoing method, and reference may be made to corresponding processes in the foregoing method for the working process of the apparatus, which are not repeated herein.
Based on the network control method in the foregoing embodiment, the embodiment of the present application further provides a network control device, where the network control device is disposed at the first target terminal. Referring to fig. 13, fig. 13 is a schematic structural diagram of another network control device according to an embodiment of the present application, and as shown in fig. 13, the network control device 300 includes:
the first receiving unit 31 is configured to receive a second message sent by an electronic device, where the second message is used to instruct the first target terminal to start network sharing, and the electronic device includes a terminal or a server;
an opening unit 32 configured to open network sharing;
a second receiving unit 33, configured to receive a second data packet sent by a second target terminal, where the second data packet includes a destination network address, and the first target terminal and the second target terminal are both terminals in the same local area network;
and a forwarding unit 34 configured to forward the second data packet to the destination host indicated by the destination network address.
In one example, the apparatus further comprises:
and the second sending unit is configured to send a third data packet to the electronic device before the first receiving unit receives the second message, wherein the first data packet comprises the network capability of the first target terminal.
It should be understood that, the foregoing apparatus is used to perform the method in the foregoing embodiment, and corresponding program modules in the apparatus implement principles and technical effects similar to those described in the foregoing method, and reference may be made to corresponding processes in the foregoing method for the working process of the apparatus, which are not repeated herein.
Based on the network control method in the foregoing embodiment, the embodiment of the present application further provides a network control device, where the network control device is disposed at the second target terminal. Referring to fig. 14, fig. 14 is a schematic structural diagram of yet another network control device according to an embodiment of the present application, and as shown in fig. 14, the network control device 400 includes:
a third receiving unit 41, configured to receive a first message sent by an electronic device, where the electronic device includes a terminal or a server, the first message includes identification information of a first target terminal, where the identification information carries IP address information of the first target terminal, and the first message is used to instruct a second target terminal to use the first target terminal as a next hop route, where the first target terminal and the second target terminal are both terminals in the same local area network;
a third sending unit 42 is configured to send a second data packet to the first target terminal, the second data packet comprising the destination network address.
In one example, the third transmitting unit 41 is further configured to:
and sending a first data packet to the electronic equipment, wherein the first data packet comprises the network capability of the second target terminal.
It should be understood that, the foregoing apparatus is used to perform the method in the foregoing embodiment, and corresponding program modules in the apparatus implement principles and technical effects similar to those described in the foregoing method, and reference may be made to corresponding processes in the foregoing method for the working process of the apparatus, which are not repeated herein.
Based on the network control method in the above embodiment, the embodiment of the present application further provides an electronic device, where the electronic device includes a touch screen, a memory, one or more processors, a plurality of application programs, and one or more programs; wherein one or more programs are stored in the memory; the one or more processors, when executing the one or more programs, cause the electronic device to implement the methods provided in the above aspects.
The application also provides electronic equipment, which comprises the network control device provided by the aspect.
Based on the network control method in the above embodiment, the embodiment of the present application further provides a chip. Referring to fig. 15, fig. 15 is a schematic structural diagram of a chip according to an embodiment of the present application. Chip 1500 includes one or more processors 1501 and interface circuitry 1502. Optionally, the chip 1500 may further include a bus 1503. Wherein:
The processor 1501 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuitry in hardware in the processor 1501 or by instructions in software. The processor 1501 described above may be a general purpose processor, a digital communicator (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The methods and steps disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The interface circuit 1502 may be used for transmitting or receiving data, instructions, or information, and the processor 1501 may process using the data, instructions, or other information received by the interface circuit 1502 and may transmit process completion information through the interface circuit 1502.
Optionally, the chip further comprises a memory, which may include read only memory and random access memory, and provides operating instructions and data to the processor. A portion of the memory may also include non-volatile random access memory (NVRAM).
Optionally, the memory stores executable software modules or data structures and the processor may perform corresponding operations by invoking operational instructions stored in the memory (which may be stored in an operating system).
Alternatively, the chip may be used in a communication apparatus (including a master node and a slave node) according to an embodiment of the present application. Alternatively, the interface circuit 1502 may be configured to output the execution result of the processor 1501. Reference may be made to the foregoing embodiments for a data transmission method provided in one or more embodiments of the present application, which are not described herein.
It should be noted that, the functions corresponding to the processor 1501 and the interface circuit 1502 may be implemented by a hardware design, a software design, or a combination of hardware and software, which is not limited herein.
It will be appreciated that the steps of the method embodiments described above may be performed by logic circuitry in the form of hardware in a processor or instructions in the form of software. The processor may be a CPU, digital signal processor (digital signal processor, DSP), application specific integrated circuit (application specific integrated circuit, ASIC), field programmable gate array (field programmable gate array, FPGA), or other programmable logic device such as discrete gates, transistor logic, or discrete hardware components.
It is to be appreciated that the processor in embodiments of the present application may be a central processing unit (central processing unit, CPU), but may also be other general purpose processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits (application specific integrated circuit, ASIC), field programmable gate arrays (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. The general purpose processor may be a microprocessor, but in the alternative, it may be any conventional processor.
The method steps in the embodiments of the present application may be implemented by hardware, or may be implemented by a processor executing software instructions. The software instructions may be comprised of corresponding software modules that may be stored in random access memory (random access memory, RAM), flash memory, read-only memory (ROM), programmable ROM (PROM), erasable programmable PROM (EPROM), electrically erasable programmable EPROM (EEPROM), registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted across a computer-readable storage medium. The computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
It will be appreciated that the various numerical numbers referred to in the embodiments of the present application are merely for ease of description and are not intended to limit the scope of the embodiments of the present application.

Claims (30)

1. A method of network control, the method comprising:
determining network capability of at least two terminals in a terminal group under the same local area network, wherein the terminal group comprises a plurality of terminals, and the terminals are connected to the same wireless network;
under the condition that the wireless network is unstable, a first target terminal and a second target terminal are determined according to the network capability, wherein the first target terminal and the second target terminal are at least one terminal in the terminal group, and the network capability of the first target terminal is stronger than that of the second target terminal;
and sending a first message to the second target terminal, wherein the first message comprises identification information of the first target terminal, the identification information carries IP address information of the first target terminal, and the first message is used for indicating the second target terminal to take the first target terminal as a next hop route.
2. The method of claim 1, wherein determining network capabilities of at least two terminals in a group of terminals under a same local area network comprises:
Acquiring equipment state information of the at least two terminals, wherein the equipment state information comprises one or more of an operator type, a network type, network signal strength, a network load, a processor load and electric quantity;
network capabilities of the at least two terminals are determined based on the device state information of the at least two terminals.
3. The method according to claim 2, wherein the method is applied to a master terminal in the terminal group, and the acquiring the device state information of the at least two terminals includes:
generating first equipment state information and sending the first equipment state information to a database server so that the database server distributes the first equipment state information to slave terminals in the terminal group;
and receiving second equipment state information of the slave terminal forwarded by the database server, wherein the second equipment state information is generated after the slave terminal receives the first equipment state information and is sent to the database server.
4. A method according to claim 2 or 3, characterized in that the network capabilities result from a weighted combination of information included in the device status information using weight factors.
5. The method of claim 1, wherein determining network capabilities of at least two terminals in a group of terminals under a same local area network comprises:
and receiving a first data packet sent by the at least two terminals, wherein the first data packet comprises the network capability.
6. The method according to any of claims 1-3, 5, wherein said determining a first target terminal and a second target terminal according to said network capabilities comprises:
ordering the network capabilities of the at least two terminals, and determining the first target terminal and the second target terminal based on the ordering result.
7. The method according to any of claims 1-3, 5, characterized in that before said sending the first message to the second target terminal, it comprises:
sending a second message to the first target terminal, wherein the second message is used for indicating the first target terminal to start network sharing;
and receiving a third message fed back by the first target terminal, wherein the third message comprises information that the first target terminal has successfully started network sharing.
8. The method according to any of claims 1-3, 5, wherein the method is applied to a first terminal in the terminal group, and before determining the network capabilities of at least two terminals in the terminal group under the same local area network, comprises:
And sharing group identification information of a trusted group to at least one second terminal so that the at least one second terminal joins the trusted group based on the group identification information, wherein the trusted group is established by the first terminal, and terminals in the trusted group form the terminal group.
9. The method of claim 8, wherein the group identification information carries network information of a network shared by the first terminal, wherein the first terminal is a next hop route of the second terminal, and the network information includes a password and an identity of the network shared by the first terminal.
10. A network control method, applied to a first target terminal, comprising:
receiving a second message sent by electronic equipment under the condition that a wireless network is unstable, wherein the second message is used for indicating the first target terminal to start network sharing, and the electronic equipment comprises a terminal or a server;
starting network sharing;
receiving a second data packet sent by a second target terminal, wherein the second data packet comprises a target network address, the first target terminal and the second target terminal are terminals in a terminal group in the same local area network, the terminal group comprises a plurality of terminals, the plurality of terminals are connected to the same wireless network, the first target terminal and the second target terminal are determined according to the network capacity of the terminals in the terminal group, and the network capacity of the first target terminal is higher than that of the second target terminal;
Forwarding the second data packet to a destination host indicated by the destination network address.
11. The method of claim 10, wherein prior to receiving the second message sent by the electronic device, further comprising:
and sending a third data packet to the electronic equipment, wherein the third data packet comprises the network capability of the first target terminal.
12. A network control method, applied to a second target terminal, comprising:
under the condition that a wireless network is unstable, receiving a first message sent by electronic equipment, wherein the electronic equipment comprises a terminal or a server, the first message comprises identification information of a first target terminal, the identification information carries IP address information of the first target terminal, the first message is used for indicating the second target terminal to take the first target terminal as a next hop route, the first target terminal and the second target terminal are terminals in a terminal group in the same local area network, the terminal group comprises a plurality of terminals, the terminals are connected to the same wireless network, the first target terminal and the second target terminal are determined according to the network capability of the terminals in the terminal group, and the network capability of the first target terminal is stronger than that of the second target terminal;
And sending a second data packet to the first target terminal, wherein the second data packet comprises a destination network address.
13. The method of claim 12, wherein prior to receiving the first message sent by the electronic device, further comprising:
and sending a first data packet to the electronic equipment, wherein the first data packet comprises the network capability of the second target terminal.
14. A network control device, the device comprising:
a determining unit configured to determine network capabilities of at least two terminals in a terminal group under the same local area network, wherein the terminal group comprises a plurality of terminals, the plurality of terminals are connected to the same wireless network, and a first target terminal and a second target terminal are determined according to the network capabilities under the condition that the wireless network is unstable, wherein the first target terminal and the second target terminal are at least one terminal in the terminal group, and the network capabilities of the first target terminal are stronger than those of the second target terminal;
the first sending unit is configured to send a first message to the second target terminal, wherein the first message comprises identification information of the first target terminal, the identification information carries IP address information of the first target terminal, and the first message is used for indicating the second target terminal to take the first target terminal as a next hop route.
15. The apparatus of claim 14, wherein the determining unit is further configured to:
acquiring equipment state information of the at least two terminals, wherein the equipment state information comprises one or more of an operator type, a network type, network signal strength, a network load, a processor load and electric quantity;
network capabilities of the at least two terminals are determined based on the device state information of the at least two terminals.
16. The apparatus of claim 15, wherein the apparatus is deployed at a master terminal in the terminal group, and wherein the determining unit is further configured to:
generating first equipment state information and sending the first equipment state information to a database server so that the database server distributes the first equipment state information to slave terminals in the terminal group;
and receiving second equipment state information of the slave terminal forwarded by the database server, wherein the second equipment state information is generated after the slave terminal receives the first equipment state information and is sent to the database server.
17. The apparatus according to claim 15 or 16, wherein the network capability is derived from a weighted combination of information included in the device status information using a weight factor.
18. The apparatus of claim 14, wherein the determining unit is further configured to:
and receiving a first data packet sent by the at least two terminals, wherein the first data packet comprises the network capability.
19. The apparatus according to any of claims 14-16, 18, wherein the determining unit is further configured to:
ordering the network capabilities of the at least two terminals, and determining the first target terminal and the second target terminal based on the ordering result.
20. The apparatus according to any of claims 14-16, 18, wherein the first transmitting unit is further configured to:
sending a second message to the first target terminal, wherein the second message is used for indicating the first target terminal to start network sharing;
and receiving a third message fed back by the first target terminal, wherein the third message comprises information that the first target terminal has successfully started network sharing.
21. The apparatus according to any of claims 14-16, 18, wherein the apparatus is deployed at a first terminal in the group of terminals, the determining unit being further configured to:
and sharing group identification information of a trusted group to at least one second terminal so that the at least one second terminal joins the trusted group based on the group identification information, wherein the trusted group is established by the first terminal, and terminals in the trusted group form the terminal group.
22. The apparatus of claim 21, wherein the group identification information carries network information of a network shared by the first terminal, wherein the first terminal is a next hop route of the second terminal, and the network information includes a password and an identity of the network shared by the first terminal.
23. A network control device, deployed at a first target terminal, the device comprising:
the first receiving unit is configured to receive a second message sent by the electronic equipment under the condition that the wireless network is unstable, wherein the second message is used for indicating the first target terminal to start network sharing, and the electronic equipment comprises a terminal or a server;
the starting unit is configured to start network sharing;
the second receiving unit is configured to receive a second data packet sent by a second target terminal, wherein the second data packet comprises a destination network address, the first target terminal and the second target terminal are terminals in a terminal group in the same local area network, the terminal group comprises a plurality of terminals, the plurality of terminals are connected to the same wireless network, the first target terminal and the second target terminal are determined according to the network capability of the terminals in the terminal group, and the network capability of the first target terminal is stronger than that of the second target terminal;
And the forwarding unit is configured to forward the second data packet to a destination host indicated by the destination network address.
24. The apparatus of claim 23, wherein the apparatus further comprises:
and the second sending unit is configured to send a third data packet to the electronic equipment before the first receiving unit receives the second message, wherein the third data packet comprises the network capability of the first target terminal.
25. A network control device, deployed at a second target terminal, the device comprising:
a third receiving unit, configured to receive a first message sent by an electronic device under an unstable wireless network, where the electronic device includes a terminal or a server, where the first message includes identification information of a first target terminal, where the identification information carries IP address information of the first target terminal, and the first message is used to instruct the second target terminal to use the first target terminal as a next hop route, where the first target terminal and the second target terminal are both terminals in a terminal group in the same local area network, the terminal group includes a plurality of terminals, and a plurality of the terminals are connected to the same wireless network, and the network capabilities of the first target terminal and the second target terminal are determined according to the network capabilities of the terminals in the terminal group and are stronger than those of the second target terminal;
And a third transmitting unit configured to transmit a second data packet to the first target terminal, the second data packet including a destination network address.
26. The apparatus of claim 25, wherein the third transmitting unit is further configured to:
and sending a first data packet to the electronic equipment, wherein the first data packet comprises the network capability of the second target terminal.
27. An electronic device includes a touch screen, a memory, one or more processors, a plurality of applications, and one or more programs; wherein the one or more programs are stored in the memory; wherein the one or more processors, when executing the one or more programs, cause the electronic device to implement the method of any of claims 1-13.
28. An electronic device comprising the apparatus of any one of claims 14-26.
29. A computer storage medium having instructions stored therein which, when executed on a computer, cause the computer to perform the method of any of claims 1-13.
30. A chip comprising at least one processor and an interface;
The interface is used for providing program instructions or data for the at least one processor;
the at least one processor is configured to execute the program line instructions to implement the method of any one of claims 1-13.
CN202011000675.8A 2020-09-22 2020-09-22 Network control method and device and electronic equipment Active CN114258037B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011000675.8A CN114258037B (en) 2020-09-22 2020-09-22 Network control method and device and electronic equipment
PCT/CN2021/114025 WO2022062796A1 (en) 2020-09-22 2021-08-23 Network control method, apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011000675.8A CN114258037B (en) 2020-09-22 2020-09-22 Network control method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN114258037A CN114258037A (en) 2022-03-29
CN114258037B true CN114258037B (en) 2024-04-12

Family

ID=80788411

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011000675.8A Active CN114258037B (en) 2020-09-22 2020-09-22 Network control method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN114258037B (en)
WO (1) WO2022062796A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115243080B (en) * 2022-09-21 2022-12-20 腾讯科技(深圳)有限公司 Data processing method, device, equipment and storage medium
CN116684517B (en) * 2022-09-29 2024-06-14 荣耀终端有限公司 Method and device for sending response message
CN116113071B (en) * 2023-04-13 2023-06-27 深圳开鸿数字产业发展有限公司 Data transmission method, main terminal equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2439967A1 (en) * 2009-06-08 2012-04-11 ZTE Corporation Method and device for forward transferring router request message
CN104602289A (en) * 2015-02-12 2015-05-06 广东欧珀移动通信有限公司 MPP node self recovery method, device and system and intelligent terminal
CN107659999A (en) * 2017-10-31 2018-02-02 青岛海信电器股份有限公司 WIFI connection methods and equipment
CN111277505A (en) * 2020-01-13 2020-06-12 深圳市康冠智能科技有限公司 Multi-terminal joint control method, device, equipment and storage medium based on local area network

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103716393A (en) * 2013-12-27 2014-04-09 深圳天珑无线科技有限公司 Resource sharing method and device and terminal used for LAN communication
CN105307184A (en) * 2014-06-17 2016-02-03 中兴通讯股份有限公司 Method, device and system for managing mobile hotspots
CN105792385B (en) * 2016-02-29 2020-01-10 宇龙计算机通信科技(深圳)有限公司 Communication method and device based on wireless local area network
AU2019203849C1 (en) * 2019-03-04 2021-04-29 Advanced New Technologies Co., Ltd. Updating blockchain world state merkle patricia trie subtree

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2439967A1 (en) * 2009-06-08 2012-04-11 ZTE Corporation Method and device for forward transferring router request message
CN104602289A (en) * 2015-02-12 2015-05-06 广东欧珀移动通信有限公司 MPP node self recovery method, device and system and intelligent terminal
CN107659999A (en) * 2017-10-31 2018-02-02 青岛海信电器股份有限公司 WIFI connection methods and equipment
CN111277505A (en) * 2020-01-13 2020-06-12 深圳市康冠智能科技有限公司 Multi-terminal joint control method, device, equipment and storage medium based on local area network

Also Published As

Publication number Publication date
CN114258037A (en) 2022-03-29
WO2022062796A1 (en) 2022-03-31

Similar Documents

Publication Publication Date Title
WO2020000448A1 (en) Flexible screen display method and terminal
CN111866950B (en) Method and communication device for data transmission in MEC
CN114258037B (en) Network control method and device and electronic equipment
CN111182614B (en) Method and device for establishing network connection and electronic equipment
US11843712B2 (en) Address book-based device discovery method, audio and video communication method, and electronic device
CN111371849A (en) Data processing method and electronic equipment
CN113973398B (en) Wireless network connection method, electronic equipment and chip system
CN113472477B (en) Wireless communication system and method
CN114816442A (en) Processing method and device for distributed application
KR102524305B1 (en) Connection establishment method and terminal device
WO2022095712A1 (en) Data sharing method, apparatus and system, and electronic device
CN112335294B (en) Emergency call method and user terminal
CN114928898B (en) Method and device for establishing session based on WiFi direct connection
CN114173286B (en) Method and device for determining test path, electronic equipment and readable storage medium
CN113676902B (en) System, method and electronic equipment for providing wireless internet surfing
CN113141637B (en) Multipath transmission control method and control device
CN114860820A (en) Optimization method and device for technical business of data warehouse and electronic equipment
CN117062252B (en) Data transmission method and electronic equipment
CN116346982B (en) Method for processing audio, electronic device and readable storage medium
CN114173317B (en) Method for transmitting data and electronic equipment
CN117692693A (en) Multi-screen display method and related equipment
CN116680001A (en) Starting method of camera application, readable storage medium and electronic equipment
CN115802326A (en) Bluetooth connection method and electronic equipment
CN116980864A (en) Communication method, electronic equipment and system
CN116938950A (en) Data transmission method, electronic equipment and storage medium

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