CN112153660A - Method and device for terminal network communication - Google Patents

Method and device for terminal network communication Download PDF

Info

Publication number
CN112153660A
CN112153660A CN202011008118.0A CN202011008118A CN112153660A CN 112153660 A CN112153660 A CN 112153660A CN 202011008118 A CN202011008118 A CN 202011008118A CN 112153660 A CN112153660 A CN 112153660A
Authority
CN
China
Prior art keywords
network
module
network module
external
account information
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.)
Pending
Application number
CN202011008118.0A
Other languages
Chinese (zh)
Inventor
张乐
雷艳兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Ruying Intelligent Technology Co ltd
Original Assignee
Beijing Ruying Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Ruying Intelligent Technology Co ltd filed Critical Beijing Ruying Intelligent Technology Co ltd
Priority to CN202011008118.0A priority Critical patent/CN112153660A/en
Publication of CN112153660A publication Critical patent/CN112153660A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/24Cell structures
    • H04W16/26Cell enhancers or enhancement, e.g. for tunnels, building shadow
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices
    • H04W88/10Access point devices adapted for operation in multiple networks, e.g. multi-mode access points
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/14Backbone network devices

Abstract

The invention discloses a method and a device for terminal network communication, which are used for realizing the routing function provided by terminal equipment. The method is applied to terminal equipment, and the terminal equipment comprises a first network module and a second network module; the method comprises the following steps: under the condition that the first network module is connected with an external network, configuring account information for the second network module; establishing a routing path between the first network module and the second network module; and driving the second network module to output a wireless signal.

Description

Method and device for terminal network communication
Technical Field
The present invention relates to the field of computer and communication technologies, and in particular, to a method and an apparatus for terminal network communication.
Background
Routers have long provided wireless network services to indoor locations such as homes. However, the radio signal of the router has a limited radiation area, and is greatly affected especially in the case of a shield.
Disclosure of Invention
The invention provides a method and a device for terminal network communication, which are used for realizing the routing function provided by terminal equipment.
The invention provides a terminal network communication method, which is applied to terminal equipment, wherein the terminal equipment comprises a first network module and a second network module; the method comprises the following steps:
under the condition that the first network module is connected with an external network, configuring account information for the second network module;
establishing a routing path between the first network module and the second network module;
and driving the second network module to output a wireless signal.
Optionally, the account information is the same as or different from the account information of the external network.
Optionally, before configuring account information for the second network module, the method further includes:
receiving a trigger operation for starting the network sharing mode.
Optionally, the method further includes:
receiving first information sent by external equipment through the second network module, and sending the first information to an external network through the first network module;
and receiving second information sent by an external network through the first network module, and sending the second information to the external equipment through the second network module.
Optionally, the first network module is a wireless communication module; the external network is a local area network;
the first network module is connected with an external network and comprises:
and driving the first network module to be connected with the local area network in a wireless mode.
The invention provides a terminal network communication device, which is applied to terminal equipment, wherein the terminal equipment comprises a first network module and a second network module; the device further comprises:
the configuration module is used for configuring account information for the second network module under the condition that the first network module is connected with an external network;
the establishing module is used for establishing a routing path between the first network module and the second network module;
and the first driving module is used for driving the second network module to output a wireless signal.
Optionally, the account information is the same as or different from the account information of the external network.
Optionally, the apparatus further comprises:
and the receiving module is used for receiving the triggering operation of starting the network sharing mode.
Optionally, the apparatus further comprises:
the first transmission module is used for receiving first information sent by external equipment through the second network module and sending the first information to an external network through the first network module;
and the second transmission module is used for receiving second information sent by an external network through the first network module and sending the second information to the external equipment through the second network module.
Optionally, the first network module is a wireless communication module; the external network is a local area network;
the device further comprises:
and the second driving module is used for driving the first network module to be connected with the local area network in a wireless mode.
The invention provides a terminal network communication device, which is applied to terminal equipment, wherein the terminal equipment comprises a first network module and a second network module; the method comprises the following steps:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
under the condition that the first network module is connected with an external network, configuring account information for the second network module;
establishing a routing path between the first network module and the second network module;
and driving the second network module to output a wireless signal.
The present invention provides a computer readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects: the embodiment realizes the routing function on the terminal equipment, equivalently enlarges the network coverage range, and is convenient for other terminal equipment to connect the network.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a flowchart of a method for terminal network communication according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for network communication of a terminal according to an embodiment of the present invention;
FIG. 3 is a flowchart of a method for network communication of a terminal according to an embodiment of the present invention;
FIG. 4 is a block diagram of an apparatus for network communication of a terminal according to an embodiment of the present invention;
FIG. 5 is a block diagram of a device for network communication of a terminal according to an embodiment of the present invention;
FIG. 6 is a block diagram of a device for network communication of a terminal according to an embodiment of the present invention;
fig. 7 is a diagram illustrating a structure of a device for network communication of a terminal according to an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
In the related art, the radiation area of the wireless signal of the router is limited, and especially in the case of a shelter, the wireless signal is greatly affected.
In order to solve the above problem, the present embodiment implements a routing function on the terminal device, which is equivalent to enlarging a network coverage area, and is convenient for other terminal devices to connect to a network.
Referring to fig. 1, the method for terminal network communication in this embodiment includes:
step 101: and under the condition that the first network module is connected with an external network, configuring account information for the second network module.
Step 102: establishing a routing path between the first network module and the second network module.
Step 103: and driving the second network module to output a wireless signal.
The embodiment is realized by terminal equipment, and the terminal equipment can be access control equipment, household central control equipment, a mobile phone, a computer and the like. The terminal device comprises a first network module and a second network module. The first network module may be connected to an external network, which may be a local area network provided by the router, i.e. the first network module may be connected to the router. Alternatively, the external network may be a mobile communication network, and the first network module may be connected to a base station or the like. The first network module and the external network can be in wired connection or wireless connection. For example, the first network module is a 5G port and the second network module is a 2.4G port.
In this embodiment, account information is configured for the second network module, a routing path between the first network module and the second network module is established, and the second network module is driven, so that the terminal device is used as a router, and the first network module and the second network module simultaneously operate to provide network services for other terminal devices.
Optionally, the account information is the same as or different from the account information of the external network.
In this embodiment, the account information configured for the second network module may be the same as the account information of the external network. The other device can automatically connect to the second network module if the account information of the external network is stored locally, and connect to the external network through the second network module.
If the account information may be different from the account information of the external network, the account information of the second network module needs to be configured for other devices.
Optionally, before configuring account information for the second network module, the method further includes: step a 1.
Step A1: receiving a trigger operation for starting the network sharing mode.
The terminal device in this embodiment supports a normal mode and a network sharing mode, and in the normal mode, the first network module may be in a working state and connected to an external network, and the second network module is in a dormant state. In the network sharing mode, the first network module and the second network module are both in a working state, and the terminal device starts a routing function. The embodiment provides an entrance of a network sharing mode, and a user can select whether the terminal device starts a routing function.
Optionally, the method further includes: step B1-step B2.
Step B1: and receiving first information sent by external equipment through the second network module, and sending the first information to an external network through the first network module.
Step B2: and receiving second information sent by an external network through the first network module, and sending the second information to the external equipment through the second network module.
Wherein, the step B1 and the step B2 can be performed synchronously.
In this embodiment, after the second network module is driven to provide the external network service, the terminal device may serve as a router to provide the external device with the routing service, and forward information between the external device and the external network.
Optionally, the first network module is a wireless communication module; the external network is a local area network.
The first network module is connected with an external network and comprises: step C1.
Step C1: and driving the first network module to be connected with the local area network in a wireless mode.
The embodiment can simultaneously drive the first network module and the second network module to work.
The implementation process is described in detail by the following embodiments.
Referring to fig. 2, the method for terminal network communication in this embodiment includes:
step 201: and driving the first network module to be connected with the local area network in a wireless mode.
Step 202: receiving a trigger operation for starting the network sharing mode.
Step 203: and under the condition that the first network module is connected with an external network, configuring account information for the second network module.
Step 204: establishing a routing path between the first network module and the second network module.
Step 205: and driving the second network module to output a wireless signal.
Referring to fig. 3, the method for terminal network communication in this embodiment includes:
step 301: and driving the first network module to be connected with the local area network in a wireless mode.
Step 302: receiving a trigger operation for starting the network sharing mode.
Step 303: and under the condition that the first network module is connected with an external network, configuring account information for the second network module.
Step 304: establishing a routing path between the first network module and the second network module.
Step 305: and driving the second network module to output a wireless signal.
Step 306: and receiving first information sent by external equipment through the second network module, and sending the first information to an external network through the first network module.
Step 307: and receiving second information sent by an external network through the first network module, and sending the second information to the external equipment through the second network module.
The above embodiments can be freely combined according to actual needs.
The implementation of the terminal network communication is described through the above description, and the implementation process can be implemented by a device, and the internal structure and function of the device are described below.
Referring to fig. 4, the apparatus for network communication of a terminal in this embodiment is applied to a terminal device, where the terminal device includes a first network module and a second network module; the device further comprises: a configuration module 401, a setup module 402 and a first driver module 403.
A configuration module 401, configured to configure account information for the second network module when the first network module is connected to an external network.
An establishing module 402, configured to establish a routing path between the first network module and the second network module.
A first driving module 403, configured to drive the second network module to output a wireless signal.
Optionally, the account information is the same as or different from the account information of the external network.
Optionally, as shown in fig. 5, the apparatus further includes: a receiving module 501.
A receiving module 501, configured to receive a trigger operation for starting a network sharing mode.
Optionally, as shown in fig. 6, the apparatus further includes: a first transmission module 601 and a second transmission module 602.
The first transmission module 601 is configured to receive first information sent by an external device through the second network module, and send the first information to an external network through the first network module.
A second transmission module 602, configured to receive second information sent from an external network through the first network module, and send the second information to the external device through the second network module.
Optionally, the first network module is a wireless communication module; the external network is a local area network.
As shown in fig. 7, the apparatus further includes: a second driver module 701.
And a second driving module 701, configured to drive the first network module to connect to the local area network in a wireless manner.
The device for terminal network communication is applied to terminal equipment, and the terminal equipment comprises a first network module and a second network module; the method comprises the following steps:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
under the condition that the first network module is connected with an external network, configuring account information for the second network module;
establishing a routing path between the first network module and the second network module;
and driving the second network module to output a wireless signal.
A computer readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (12)

1. The terminal network communication method is applied to terminal equipment, wherein the terminal equipment comprises a first network module and a second network module; the method comprises the following steps:
under the condition that the first network module is connected with an external network, configuring account information for the second network module;
establishing a routing path between the first network module and the second network module;
and driving the second network module to output a wireless signal.
2. The method of claim 1, wherein the account information is the same as or different from account information of the external network.
3. The method of claim 1, wherein prior to configuring account information for the second network module, the method further comprises:
receiving a trigger operation for starting the network sharing mode.
4. The method of claim 1, wherein the method further comprises:
receiving first information sent by external equipment through the second network module, and sending the first information to an external network through the first network module;
and receiving second information sent by an external network through the first network module, and sending the second information to the external equipment through the second network module.
5. The method of claim 1, wherein the first network module is a wireless communication module; the external network is a local area network;
the first network module is connected with an external network and comprises:
and driving the first network module to be connected with the local area network in a wireless mode.
6. The device for terminal network communication is applied to terminal equipment, and the terminal equipment comprises a first network module and a second network module; the device further comprises:
the configuration module is used for configuring account information for the second network module under the condition that the first network module is connected with an external network;
the establishing module is used for establishing a routing path between the first network module and the second network module;
and the first driving module is used for driving the second network module to output a wireless signal.
7. The apparatus of claim 6, wherein the account information is the same or different than account information of the external network.
8. The apparatus of claim 6, wherein the apparatus further comprises:
and the receiving module is used for receiving the triggering operation of starting the network sharing mode.
9. The apparatus of claim 6, wherein the apparatus further comprises:
the first transmission module is used for receiving first information sent by external equipment through the second network module and sending the first information to an external network through the first network module;
and the second transmission module is used for receiving second information sent by an external network through the first network module and sending the second information to the external equipment through the second network module.
10. The apparatus of claim 6, wherein the first network module is a wireless communication module; the external network is a local area network;
the device further comprises:
and the second driving module is used for driving the first network module to be connected with the local area network in a wireless mode.
11. The device for terminal network communication is applied to terminal equipment, and the terminal equipment comprises a first network module and a second network module; the method comprises the following steps:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
under the condition that the first network module is connected with an external network, configuring account information for the second network module;
establishing a routing path between the first network module and the second network module;
and driving the second network module to output a wireless signal.
12. A computer-readable storage medium having stored thereon computer instructions, which when executed by a processor, implement the steps of the method of any one of claims 1 to 5.
CN202011008118.0A 2020-09-23 2020-09-23 Method and device for terminal network communication Pending CN112153660A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011008118.0A CN112153660A (en) 2020-09-23 2020-09-23 Method and device for terminal network communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011008118.0A CN112153660A (en) 2020-09-23 2020-09-23 Method and device for terminal network communication

Publications (1)

Publication Number Publication Date
CN112153660A true CN112153660A (en) 2020-12-29

Family

ID=73897900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011008118.0A Pending CN112153660A (en) 2020-09-23 2020-09-23 Method and device for terminal network communication

Country Status (1)

Country Link
CN (1) CN112153660A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105375970A (en) * 2015-09-30 2016-03-02 青岛海信移动通信技术股份有限公司 A method and a device for relaying by a mobile device
CN106131899A (en) * 2016-06-22 2016-11-16 广东欧珀移动通信有限公司 Networking control method and terminal unit
US20170325141A1 (en) * 2014-11-10 2017-11-09 Investel Capital Corporation Mobile operator-mediated telephony-over-data system and implementation, and mobile smartphone-over-data device and computer-implemented environment therefor
CN111200621A (en) * 2018-11-16 2020-05-26 鸿合科技股份有限公司 Ad hoc network method and device, and electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170325141A1 (en) * 2014-11-10 2017-11-09 Investel Capital Corporation Mobile operator-mediated telephony-over-data system and implementation, and mobile smartphone-over-data device and computer-implemented environment therefor
CN105375970A (en) * 2015-09-30 2016-03-02 青岛海信移动通信技术股份有限公司 A method and a device for relaying by a mobile device
CN106131899A (en) * 2016-06-22 2016-11-16 广东欧珀移动通信有限公司 Networking control method and terminal unit
CN111200621A (en) * 2018-11-16 2020-05-26 鸿合科技股份有限公司 Ad hoc network method and device, and electronic device

Similar Documents

Publication Publication Date Title
EP3627928B1 (en) Method for configuring resources and terminal device
CN108419294B (en) Resource pool determination method and related equipment
CN101932068B (en) Realize the mthods, systems and devices of machine-to-machine service
CN100486382C (en) Aging processing apparatus and method in communications system
CN105392181B (en) A kind of networking method of smart machine, apparatus and system
CN110636483A (en) Network distribution method and system
RU2011140122A (en) METHOD FOR TRANSMISSION OF SERVICE BETWEEN BASE STATIONS, RADIO COMMUNICATION SYSTEM, DRX CONTROL METHOD, BASE STATION AND COMMUNICATION TERMINAL
JP6995976B2 (en) Core network access method by terminal, base station and terminal
CN103068070A (en) Negotiation method, mobile terminal, base station and communication system of protocol version
CN106210023B (en) Virtual SIM card synchronous management method and terminal
CN101534519B (en) Method for displaying package switching congestion state of wireless communication network
CN105263178A (en) Receive operation mode indication for power save
CN111182611B (en) Communication method and device
CN105592019A (en) Method for bidirectional access to application between dual execution environments
EP3739772A1 (en) Relay network duplex coordination method and relay node device
CN105025593A (en) Entity release method and equipment
EP3139562A1 (en) Network protocol configuration method and device
CN112153660A (en) Method and device for terminal network communication
CN107454659A (en) A kind of terminal identification method, system, terminal device and base station
CN104703291A (en) MiFi-based communication method and relevant MiFi
US7158533B2 (en) Self-configuring wireless mobile data base stations and configuration operations and computer program products for same
CN102917370A (en) Method, device and system for determining corresponding near-end unit of far-end unit and far-end unit
WO2020133491A1 (en) Capability reporting method and terminal device
CN106804024A (en) A kind of method and apparatus of MANET
CN105323373A (en) Mobile terminal, and method and device for initializing subscriber identity module card of mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination