CN114189927B - Network link transfer method and device, electronic equipment and storage medium - Google Patents

Network link transfer method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114189927B
CN114189927B CN202111620778.9A CN202111620778A CN114189927B CN 114189927 B CN114189927 B CN 114189927B CN 202111620778 A CN202111620778 A CN 202111620778A CN 114189927 B CN114189927 B CN 114189927B
Authority
CN
China
Prior art keywords
network
network link
main control
link information
data transmission
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
CN202111620778.9A
Other languages
Chinese (zh)
Other versions
CN114189927A (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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202111620778.9A priority Critical patent/CN114189927B/en
Publication of CN114189927A publication Critical patent/CN114189927A/en
Application granted granted Critical
Publication of CN114189927B publication Critical patent/CN114189927B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The embodiment of the application provides a network link transfer method, a network link transfer device, electronic equipment and a storage medium, which are used for saving resources and improving network efficiency. The method comprises the following steps: when a terminal device is started, a main control chip of the terminal device is connected with a system chip of the terminal device; sending a first request to the system chip through the connection; the first request is used for acquiring network link information of a first network connected with the system chip and the server; and receiving the network link information of the first network, and carrying out data transmission with the server based on the network link information of the first network.

Description

Network link transfer method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a network link transfer method, a device, an electronic device, and a storage medium.
Background
In the internet of things (Internet Of Thing) system, when a terminal device (for example, various intelligent doorbell, fingerprint lock and other household appliances) is not in use (i.e., when the terminal device is in a dormant state), in order to reduce the power consumption of the device, a main control chip (i.e., host end) of the terminal device needs to be powered down, at this time, a system chip (i.e., soc end) and a server perform network link and data transmission, and when the terminal device is in use (i.e., when the terminal device is in a starting or awakening state), the host end of the terminal device needs to be powered up, at this time, the host end and the server perform network link and data transmission.
At present, in the continuous dormancy start-up of the terminal equipment, network links between the terminal equipment and the server are frequently created and destroyed. For example, when the terminal device is started, the host end is powered on, the soc end needs to break the network link between itself and the server, then the host end establishes the network link with the server, when the device is dormant, the host end is powered down, the host end needs to break the network link with the server, and the soc end establishes the network link with the server, so that in frequent dormant starting of the terminal device, the host end and the soc end both need to frequently create and destroy the network link with the server, which easily results in additional consumption of resources, and frequent creation and destruction of the network link easily results in low network efficiency.
Disclosure of Invention
The embodiment of the application provides a network link transfer method, a network link transfer device, electronic equipment and a storage medium, which are used for saving resources and improving network efficiency.
In a first aspect, a network link transfer method is provided, applied to a main control chip, and the method includes:
when a terminal device is started, a main control chip of the terminal device is connected with a system chip of the terminal device;
Sending a first request to the system chip through the connection; the first request is used for acquiring network link information of a first network connected with the system chip and the server;
and receiving the network link information of the first network sent by the system chip, and carrying out data transmission with the server based on the network link information of the first network.
Optionally, the data transmission between the network link information based on the first network and the server includes:
randomly selecting a first operation descriptor from unused operation descriptors;
setting the received network link information of the first network in the first operation descriptor;
and carrying out data transmission with the server based on the first operation descriptor.
Optionally, the method further comprises:
when the terminal equipment is dormant, first indication information is sent to the system chip; the first indication information is used for indicating the system chip to perform data transmission with the server based on the network link information of the first network.
Optionally, the data transmission between the network link information based on the first network and the server includes:
Sending a second request to the system chip; the second request is used for acquiring connection parameter information of the first network;
setting the connection parameter information in a protocol stack;
and carrying out data transmission with the server based on the connection parameter information and the network link information.
In a second aspect, a network link transfer method is provided, and is applied to a system chip, and the method includes:
when a first request sent by a main control chip is received, an operation descriptor of a first network connected with a server is obtained; the first request is used for acquiring network link information of a first network connected with the server by the system chip;
determining network link information corresponding to the operation descriptor;
and sending the network link information corresponding to the operation descriptor to the main control chip so that the main control chip performs data transmission with the server based on the network link information.
Optionally, before the sending the network link information corresponding to the operation descriptor to the main control chip, the method further includes:
and setting a destination node of the data transmission path as the main control chip so that the data transmitted by the server flows to the main control chip.
Optionally, the method further comprises:
when receiving the first indication information sent by the main control chip, carrying out data transmission with the server based on the network link information of the first network; the first indication information is used for indicating the system chip to perform data transmission with the server based on the network link information of the first network.
Optionally, the data transmission between the network link information based on the first network and the server includes:
randomly selecting a second operation descriptor from unused operation descriptors;
setting network link information of the first network at the second operation descriptor;
and carrying out data transmission with the server based on the second operation descriptor.
Optionally, the method further comprises:
and setting a destination node of the data transmission path as the system chip so that the data transmitted by the server flows to the system chip.
Optionally, the method further comprises:
receiving a second request sent by the main control chip; the second request is used for acquiring connection parameter information of the first network;
and acquiring the connection parameter information of the first network, and sending the connection parameter information to the main control chip so that the main control chip performs data transmission with the server based on the connection parameter information and the network link information.
In a third aspect, a network link transfer device is provided, applied to a main control chip, and the device includes:
the processing module is used for establishing connection with a system chip of the terminal equipment when the terminal equipment is started;
the communication module is used for sending a first request to the system chip through the connection; the first request is used for acquiring network link information of a first network connected with the system chip and the server;
the communication module is further configured to receive network link information of the first network sent by the system chip, and perform data transmission with the server based on the network link information of the first network.
Optionally, the processing module is specifically configured to:
randomly selecting a first operation descriptor from unused operation descriptors;
setting the received network link information of the first network in the first operation descriptor;
the communication module is specifically configured to perform data transmission with the server based on the first operation descriptor.
Optionally, the communication module is further configured to:
when the terminal equipment is dormant, first indication information is sent to the system chip; the first indication information is used for indicating the system chip to perform data transmission with the server based on the network link information of the first network.
Optionally, the communication module is specifically configured to:
sending a second request to the system chip; the second request is used for acquiring connection parameter information of the first network;
the processing module is also used for setting the connection parameter information in a protocol stack;
and carrying out data transmission with the server based on the connection parameter information and the network link information.
In a fourth aspect, a network link transfer device is provided and applied to a system chip, where the device includes:
the processing module is used for acquiring an operation descriptor of a first network connected with the server when the communication module receives a first request sent by the main control chip; the first request is used for acquiring network link information of a first network connected with the server by the system chip;
the processing module is further configured to determine network link information corresponding to the operation descriptor;
the communication module is further configured to send network link information corresponding to the operation descriptor to the main control chip, so that the main control chip performs data transmission with the server based on the network link information.
Optionally, the processing module is further configured to:
And setting a destination node of the data transmission path as the main control chip so that the data transmitted by the server flows to the main control chip.
Optionally, the communication module is further configured to:
when receiving the first indication information sent by the main control chip, carrying out data transmission with the server based on the network link information of the first network; the first indication information is used for indicating the system chip to perform data transmission with the server based on the network link information of the first network.
Optionally, the communication module is specifically configured to:
and after the processing module randomly selects a second operation descriptor from unused operation descriptors and sets the network link information of the first network in the second operation descriptor, carrying out data transmission with the server based on the second operation descriptor.
Optionally, the processing module is further configured to:
and setting a destination node of the data transmission path as the system chip so that the data transmitted by the server flows to the system chip.
Optionally, the communication module is further configured to:
receiving a second request sent by the main control chip; the second request is used for acquiring connection parameter information of the first network;
After the processing module acquires the connection parameter information of the first network, the connection parameter information is sent to the main control chip, so that the main control chip performs data transmission with the server based on the connection parameter information and the network link information.
In a fifth aspect, there is provided an electronic device comprising:
a memory for storing program instructions;
and a processor, configured to call the program instructions stored in the memory, and execute the steps included in the method according to any one of the first aspect or the second aspect according to the obtained program instructions.
In a sixth aspect, there is provided a computer readable storage medium storing computer executable instructions for causing a computer to perform the steps comprised by the method of any one of the first or second aspects.
In a seventh aspect, a computer program product comprising instructions is provided which, when run on a computer, causes the computer to perform the network link transfer method described in the various possible implementations described above.
In the embodiment of the application, when the terminal equipment is started, a main control chip of the terminal equipment and a system chip establish connection, the main control chip sends network link information of a first network for acquiring the connection between the system and a server to the system chip through the connection, receives the network link information of the first network sent by the system chip, and performs data transmission with the server based on the network link information of the first network. Therefore, when the equipment is started, the main control chip does not need to establish a network link with the server again, and can directly use the network link between the soc end and the server for data transmission, so that no extra resource consumption is generated, resources are saved, and meanwhile, the network link between the server and the system chip and the main control chip are destroyed by frequent creation, so that the network efficiency is effectively improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present application.
Fig. 1 is a flowchart of a network link transfer method provided in an embodiment of the present application;
fig. 2 is a flow interactive chart between a main control chip and a system chip when a terminal device provided in an embodiment of the present application is switched from a sleep state to a start state;
fig. 3 is a flow interactive chart between a main control chip and a system chip when a terminal device provided in an embodiment of the present application is switched from a start state to a sleep state;
fig. 4 is a block diagram of a network link transfer device on a main control chip side according to an embodiment of the present application;
fig. 5 is a block diagram of a network link transfer device on a system chip side according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure. Embodiments and features of embodiments in this application may be combined with each other arbitrarily without conflict. Also, while a logical order is depicted in the flowchart, in some cases, the steps depicted or described may be performed in a different order than presented herein.
The terms first and second in the description and claims of the present application and in the above-described figures are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the term "include" and any variations thereof is intended to cover non-exclusive protection. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus. The term "plurality" in the present application may mean at least two, for example, two, three or more, and embodiments of the present application are not limited.
In addition, the term "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. The character "/" herein generally indicates that the associated object is an "or" relationship unless otherwise specified.
Before describing the embodiments of the present application, some technical features in the present application will be described first to facilitate understanding by those skilled in the art.
(1) The IP address, which refers to an internet protocol address (Internet Protocol Address), is a unified address format provided by the IP protocol, and assigns a logical address to each network and each host on the internet, thereby masking the difference in physical addresses.
(2) ARP, address resolution protocol (Address Resolution Protocol), refers to a TCP/IP protocol that obtains a physical address from an IP address.
(3) DHCP, dynamic host configuration protocol (Dynamic Host Configuration Protocol) is generally applied in a large local area network environment, and is mainly used for centralized management and allocation of IP addresses, so that hosts in the network environment dynamically obtain information such as IP addresses, gateway (Gateway) addresses, DNS server addresses, and the like, and the utilization rate of the addresses can be improved.
(4) DNS, domain name resolution (Domain Name Resolution), is a service that directs domain names to the web site space IP, allowing people to conveniently access the web site through registered domain names.
For easy understanding, the technical background of the embodiments of the present invention will be described first.
As described above, in the current frequent sleep start process of the terminal device, the main control chip and the system chip of the terminal device need to frequently create and destroy the network link with the server, which will cause additional resource consumption and low network efficiency. In view of this, the embodiment of the present application provides a network link transfer method, when a terminal device is started, a main control chip of the terminal device and a system chip establish a connection, the main control chip sends a first request for acquiring network link information of a first network connected by the system chip and a server to the system chip through the connection, when the system chip receives the first request sent by the main control chip, the system chip acquires the network link information of the first network, sends the network link information of the first network to the main control chip, configures data flow to the main control chip, and after receiving the network link information sent by the system chip, the main control chip performs network link synchronization, so that the main control chip can directly perform data transmission based on a network link between the system chip and the server, thereby avoiding generating additional resource consumption, and effectively improving network efficiency.
In this embodiment of the present application, the terminal device may be, for example, a terminal device with a power consumption saving requirement, such as a smart television, a smart stereo, and a fingerprint lock.
The network link transfer method provided by the embodiment of the application is described below with reference to the accompanying drawings. Referring to fig. 1, the flow of the network link transfer method in the embodiment of the present application is described as follows:
step 101: when the terminal equipment is started, a main control chip of the terminal equipment is connected with a system chip;
whether the terminal equipment is in a starting state or a dormant state needs to detect whether an operation instruction of a user is received or not, if the operation instruction of the user for the terminal equipment is detected in the dormant state, the terminal equipment is indicated to be started, and at the moment, a main control chip (namely a host end) of the terminal equipment needs to be electrified for carrying out data transmission with a server; if the operation instruction of the user for the terminal equipment is detected within the preset time in the starting state, the terminal equipment is indicated to be dormant, and at the moment, the host end of the terminal equipment is required to be powered down. For example, when detecting that the fingerprint lock is operated, the fingerprint lock indicates that the user may need to open the door, and at this time, the fingerprint input by the user needs to be verified, the host terminal needs to be powered on, and fingerprint information collected by the fingerprint lock is sent to the server for verification.
In the embodiment of the application, when the terminal equipment is started and the host end of the terminal equipment is electrified, the host end can be connected with a system chip (namely a soc end) of the terminal equipment for data transmission between the host end and the soc end. The connection between the host terminal and the soc terminal may be a bus connection through an Sdio/usb interface.
Step 102: sending a first request to the system chip over the connection;
as described above, when the device is started and the host terminal is powered on, the host terminal and the soc terminal establish a connection, and the host terminal may send, to the soc terminal, a first request for acquiring network link information of a network (for example, a first network) where the soc terminal and the server are currently connected. The network link information includes a connection port number of the first network, network state information corresponding to the port number, and the like, and if the network link corresponding to the port number is an encrypted link, the network link information further includes information such as a key corresponding to the port number or an encrypted carrier.
When receiving a first request sent by a host, the soc end obtains a current network operation descriptor of a current connection network, determines network link information corresponding to the current network operation descriptor, sends the network link information corresponding to the current network operation descriptor to the host, and sets a destination node of a data transmission path as the host so that data transmitted by a server flows to the host. Specifically, a Net device module is arranged at the soc end, a data packet (i.e., a data packet transmitted by a server) flowing into the WiFi RF module is processed, a processing node of the data packet is determined, that is, whether the data packet flows to the host end or the soc end is determined, when the data packet flow host end is determined, configuration data flows to the host end (or a destination node of a data transmission path is set as the host end), and when the data packet flows to the soc end is determined, configuration data flows to the soc end (or a destination node of the data transmission path is set as the soc end).
Step 103: receiving network link information of a first network sent by a system chip;
step 104: network link information based on the first network is communicated with a server.
In one possible implementation manner, after receiving the network link information sent by the soc end, the host end determines an unused operation descriptor, randomly selects a first operation descriptor from the unused operation descriptors, and sets the received network link information of the first network in the first operation descriptor, where the host end may directly use the first operation descriptor to send and receive network data, that is, the host end may perform data transmission with the server based on the first operation descriptor.
In some other embodiments, in order to meet the requirement that the network link is available quickly, all ARP, DHCP, DNS processes are performed at the soc end, so when the terminal device is started and the host end is powered on, connection parameter information (for example ARP, IP, DNS information) of the soc end needs to be synchronized to the host end, at this time, the host end may also send a second request to the soc end to obtain a connection parameter of the first network, when the soc end receives the second request, obtain the connection parameter information of the first network, send the obtained connection parameter information of the first network to the host end, and the host end sets the received connection parameter information in a protocol stack and performs data transmission with the server based on the connection parameter information and the network link information.
In other embodiments, as described above, when the terminal device sleeps, the host needs to be powered down, and at this time, the host may send first indication information to the soc end, to instruct the soc end to perform data transmission with the server based on the network link information of the first network. When the soc receives the first indication information sent by the host, the soc determines an unused operation descriptor, randomly selects a second operation descriptor from the unused operation descriptors, sets network link information of the first network in the second operation descriptor, performs data transmission with the server based on the second operation descriptor, configures data flow to the soc, and shuts down the host at this time. It should be noted that the second operation descriptor may be the same as or different from the current connection network operation descriptor in step 102.
In a specific implementation process, when the terminal equipment is started, the host end synchronizes a network link for data transmission between the soc end and the server, and performs data transmission between the soc end and the server through the network link, so that the network link between the soc end and the server is prevented from being destroyed, the network link between the host end and the server is prevented from being rebuilt, resources are saved, and network efficiency is improved.
Based on the network link transfer flow shown in fig. 1, fig. 2 shows a flow interaction diagram between the main control chip and the system chip when the terminal device is switched from the sleep state to the start state, and the flow shown in fig. 2 is as follows:
step 201: when the terminal equipment is started, the main control chip and the system chip are connected;
step 202: the main control chip sends a first request to the system chip;
step 203: the system chip acquires the operation descriptor of the first network, determines network link information corresponding to the operation descriptor of the first network, and configures data flow to the main control chip;
step 204: the system chip sends the network link information of the first network to the main control chip;
step 205: the method comprises the steps that a main control chip randomly selects a first operation descriptor from unused operation descriptors, and network link information of a first network is set in the first operation descriptor;
step 206: and the main control chip performs data transmission with the server based on the first operation descriptor.
Based on the network link transfer flow shown in fig. 1, fig. 3 shows a flow interaction diagram between the main control chip and the system chip when the terminal device is switched from the start state to the sleep state, and the flow shown in fig. 3 is as follows:
Step 301: when the terminal equipment is dormant, the main control chip sends first indication information to the system chip;
step 302: the system chip randomly selects a second operation descriptor from unused operation descriptors, sets network link information of the first network in the second operation descriptor, and configures data flow to the system chip;
step 303: the system chip performs data transmission with the server based on the second operation descriptor.
Based on the same inventive concept, the embodiment of the application provides a network link transfer device, which can realize the functions corresponding to the network link transfer method. The network link transfer means may be a hardware structure, a software module, or a hardware structure plus a software module. The network link transfer device can be implemented by a chip system, which can be formed by a chip or can contain a chip and other discrete devices. Referring to fig. 4, the network link transfer apparatus includes a processing module 401 and a communication module 402. Wherein:
a processing module 401, configured to establish a connection with a system chip of a terminal device when the terminal device is started;
a communication module 402, configured to send a first request to the system chip through the connection; the first request is used for acquiring network link information of a first network connected with the system chip and the server;
The communication module 402 is further configured to receive network link information of the first network sent by the system chip, and perform data transmission with the server based on the network link information of the first network.
Optionally, the processing module 401 is specifically configured to:
randomly selecting a first operation descriptor from unused operation descriptors;
setting the received network link information of the first network in the first operation descriptor;
the communication module 402 is specifically configured to perform data transmission with the server based on the first operation descriptor.
Optionally, the communication module 402 is further configured to:
when the terminal equipment is dormant, first indication information is sent to the system chip; the first indication information is used for indicating the system chip to perform data transmission with the server based on the network link information of the first network.
Optionally, the communication module 402 is specifically configured to:
sending a second request to the system chip; the second request is used for acquiring connection parameter information of the first network;
the processing module is also used for setting the connection parameter information in a protocol stack;
And carrying out data transmission with the server based on the connection parameter information and the network link information.
Based on the same inventive concept, the embodiment of the application provides a network link transfer device, which can realize the functions corresponding to the network link transfer method. The network link transfer means may be a hardware structure, a software module, or a hardware structure plus a software module. The network link transfer device can be implemented by a chip system, which can be formed by a chip or can contain a chip and other discrete devices. Referring to fig. 5, the network link transfer apparatus includes a processing module 501 and a communication module 502. Wherein:
the processing module 501 is configured to obtain an operation descriptor of a first network connected to the server when the communication module 502 receives a first request sent by the main control chip; the first request is used for acquiring network link information of a first network connected with the server by the system chip;
the processing module 501 is further configured to determine network link information corresponding to the operation descriptor;
the communication module 502 is further configured to send network link information corresponding to the operation descriptor to the main control chip, so that the main control chip performs data transmission with the server based on the network link information.
Optionally, the processing module 501 is further configured to:
and setting a destination node of the data transmission path as the main control chip so that the data transmitted by the server flows to the main control chip.
Optionally, the communication module 502 is further configured to:
when receiving the first indication information sent by the main control chip, carrying out data transmission with the server based on the network link information of the first network; the first indication information is used for indicating the system chip to perform data transmission with the server based on the network link information of the first network.
Optionally, the communication module 502 is specifically configured to:
and after the processing module randomly selects a second operation descriptor from unused operation descriptors and sets the network link information of the first network in the second operation descriptor, carrying out data transmission with the server based on the second operation descriptor.
Optionally, the processing module 501 is further configured to:
and setting a destination node of the data transmission path as the system chip so that the data transmitted by the server flows to the system chip.
Optionally, the communication module 502 is further configured to:
Receiving a second request sent by the main control chip; the second request is used for acquiring connection parameter information of the first network;
after the processing module acquires the connection parameter information of the first network, the connection parameter information is sent to the main control chip, so that the main control chip performs data transmission with the server based on the connection parameter information and the network link information.
All relevant contents of each step related to the foregoing embodiments of the network link transfer method may be cited in the functional description of the functional module corresponding to the network link transfer device in the embodiments of the present application, which is not described herein again.
The division of the modules in the embodiments of the present application is schematically only one logic function division, and there may be another division manner in actual implementation, and in addition, each functional module in each embodiment of the present application may be integrated in one processor, or may exist separately and physically, or two or more modules may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules.
Based on the same inventive concept, the embodiment of the application provides electronic equipment. Referring to fig. 6, the electronic device includes at least one processor 601 and a memory 602 connected to the at least one processor, in this embodiment, a specific connection medium between the processor 601 and the memory 602 is not limited, and in fig. 6, the connection between the processor 601 and the memory 602 through a bus 600 is taken as an example, and the bus 600 is shown by a thick line in fig. 6, and a connection manner between other components is only illustrative and not limited. The bus 600 may be divided into an address bus, a data bus, a control bus, etc., and is represented by only one thick line in fig. 6 for convenience of representation, but does not represent only one bus or one type of bus.
In the embodiment of the present application, the memory 602 stores instructions executable by the at least one processor 601, and the at least one processor 601 may perform the steps included in the network link transfer method by executing the instructions stored in the memory 602.
The processor 601 is a control center of the electronic device, and may use various interfaces and lines to connect various parts of the entire electronic device, and by executing or executing instructions stored in the memory 602 and invoking data stored in the memory 602, various functions of the electronic device and processing data, thereby performing overall monitoring on the electronic device. Alternatively, the processor 601 may include one or more processing units, and the processor 601 may integrate an application processor and a modem processor, wherein the application processor primarily processes an operating system and application programs, etc., and the modem processor primarily processes wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 601. In some embodiments, processor 601 and memory 602 may be implemented on the same chip, or they may be implemented separately on separate chips in some embodiments.
The processor 601 may be a general purpose processor such as a Central Processing Unit (CPU), digital signal processor, application specific integrated circuit, field programmable gate array or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, which may implement or perform the methods, steps and logic blocks disclosed in embodiments of the present application. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the network link transfer method disclosed in connection with the embodiments of the present application may be directly embodied as a hardware processor executing, or may be executed by a combination of hardware and software modules in the processor.
The memory 602 is a non-volatile computer readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs, and modules. The Memory 602 may include at least one type of storage medium, which may include, for example, flash Memory, hard disk, multimedia card, card Memory, random access Memory (Random Access Memory, RAM), static random access Memory (Static Random Access Memory, SRAM), programmable Read-Only Memory (Programmable Read Only Memory, PROM), read-Only Memory (ROM), charged erasable programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory), magnetic Memory, magnetic disk, optical disk, and the like. Memory 602 is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 602 in the present embodiment may also be circuitry or any other device capable of implementing a memory function for storing program instructions and/or data.
The code corresponding to the network link transfer method described in the foregoing embodiment may be cured into the chip by programming the processor 601, so that the chip can execute the steps of the network link transfer method when running, and how to program the processor 601 is a technology known to those skilled in the art, which is not repeated herein.
Based on the same inventive concept, embodiments of the present application also provide a computer-readable storage medium storing computer instructions that, when run on a computer, cause the computer to perform the steps of a network link transfer method as described above.
In some possible embodiments, aspects of the network link transfer method provided herein may also be implemented in the form of a program product comprising program code for causing a detection device to perform the steps in the network link transfer method according to various exemplary embodiments of the present application as described herein above when the program product is run on an electronic device.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application 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, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 modifications and variations can be made in the present application without departing from the spirit or scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims and the equivalents thereof, the present application is intended to cover such modifications and variations.

Claims (22)

1. A network link transfer method, characterized in that it is applied to a main control chip, the method comprising:
when the terminal equipment is dormant, a main control chip of the terminal equipment is powered down, so that a system chip of the terminal equipment performs data transmission with a server based on network link information of a first network;
when the terminal equipment is started, the main control chip is electrified, and the main control chip is connected with the system chip;
Sending a first request to the system chip through the connection; the first request is used for acquiring network link information of the first network;
and receiving the network link information of the first network sent by the system chip, and carrying out data transmission with the server based on the network link information of the first network.
2. The method of claim 1, wherein the data transmission with the server based on the network link information of the first network comprises:
randomly selecting a first operation descriptor from unused operation descriptors;
setting the received network link information of the first network in the first operation descriptor;
and carrying out data transmission with the server based on the first operation descriptor.
3. The method of claim 2, wherein the method further comprises:
when the terminal equipment is dormant, first indication information is sent to the system chip; the first indication information is used for indicating the system chip to perform data transmission with the server based on the network link information of the first network.
4. The method of claim 1, wherein the data transmission with the server based on the network link information of the first network comprises:
Sending a second request to the system chip; the second request is used for acquiring connection parameter information of the first network;
setting the connection parameter information in a protocol stack;
and carrying out data transmission with the server based on the connection parameter information and the network link information.
5. A network link transfer method, applied to a system chip, comprising:
when the terminal equipment is dormant, a main control chip of the terminal equipment is powered down, and a system chip of the terminal equipment performs data transmission with a server based on network link information of a first network;
when the terminal equipment is started, the main control chip is electrified, and when the system chip receives a first request sent by the main control chip, an operation descriptor of a first network connected with the server is obtained; the first request is used for acquiring network link information of a first network connected with the system chip and the server;
determining network link information corresponding to the operation descriptor;
and sending the network link information corresponding to the operation descriptor to the main control chip so that the main control chip performs data transmission with the server based on the network link information.
6. The method of claim 5, wherein before sending the network link information corresponding to the operation descriptor to the main control chip, further comprising:
and setting a destination node of the data transmission path as the main control chip so that the data transmitted by the server flows to the main control chip.
7. The method of claim 5, wherein the method further comprises:
when receiving the first indication information sent by the main control chip, carrying out data transmission with the server based on the network link information of the first network; the first indication information is used for indicating the system chip to perform data transmission with the server based on the network link information of the first network.
8. The method of claim 7, wherein the data transmission with the server based on the network link information of the first network comprises:
randomly selecting a second operation descriptor from unused operation descriptors;
setting network link information of the first network at the second operation descriptor;
and carrying out data transmission with the server based on the second operation descriptor.
9. The method of claim 8, wherein the method further comprises:
and setting a destination node of the data transmission path as the system chip so that the data transmitted by the server flows to the system chip.
10. The method of claim 5, wherein the method further comprises:
receiving a second request sent by the main control chip; the second request is used for acquiring connection parameter information of the first network;
and acquiring the connection parameter information of the first network, and sending the connection parameter information to the main control chip so that the main control chip performs data transmission with the server based on the connection parameter information and the network link information.
11. A network link transfer device, characterized by being applied to a main control chip, the device comprising:
the processing module is used for controlling the main control chip to be powered down when the terminal equipment is dormant so that the system chip of the terminal equipment performs data transmission with the server based on the network link information of the first network; when the terminal equipment is started, the main control chip is controlled to be electrified so as to establish connection between the main control chip and a system chip of the terminal equipment;
The communication module is used for sending a first request to the system chip through the connection; the first request is used for acquiring network link information of a first network connected with the system chip and the server;
the communication module is further configured to receive network link information of the first network sent by the system chip, and perform data transmission with the server based on the network link information of the first network.
12. The apparatus of claim 11, wherein the processing module is specifically configured to:
randomly selecting a first operation descriptor from unused operation descriptors;
setting the received network link information of the first network in the first operation descriptor;
the communication module is specifically configured to perform data transmission with the server based on the first operation descriptor.
13. The apparatus of claim 12, wherein the communication module is further to:
when the terminal equipment is dormant, first indication information is sent to the system chip; the first indication information is used for indicating the system chip to perform data transmission with the server based on the network link information of the first network.
14. The apparatus of claim 11, wherein the communication module is specifically configured to:
sending a second request to the system chip; the second request is used for acquiring connection parameter information of the first network;
the processing module is also used for setting the connection parameter information in a protocol stack;
and carrying out data transmission with the server based on the connection parameter information and the network link information.
15. A network link transfer device, which is characterized by being applied to a system chip, wherein the device comprises a processing module and a communication module; wherein,
when the terminal equipment is dormant, the main control chip of the terminal equipment is powered down, and the processing module is used for controlling the communication module to perform data transmission with the server based on network link information of the first network;
when the terminal equipment is started, the main control chip is electrified, and the processing module is also used for acquiring an operation descriptor of a first network connected with the server when the communication module receives a first request sent by the main control chip; the first request is used for acquiring network link information of a first network connected with the server by the system chip;
The processing module is further configured to determine network link information corresponding to the operation descriptor;
the communication module is further configured to send network link information corresponding to the operation descriptor to the main control chip, so that the main control chip performs data transmission with the server based on the network link information.
16. The apparatus of claim 15, wherein the processing module is further to:
and setting a destination node of the data transmission path as the main control chip so that the data transmitted by the server flows to the main control chip.
17. The apparatus of claim 15, wherein the communication module is further to:
when receiving the first indication information sent by the main control chip, carrying out data transmission with the server based on the network link information of the first network; the first indication information is used for indicating the system chip to perform data transmission with the server based on the network link information of the first network.
18. The apparatus of claim 17, wherein the communication module is configured to:
and after the processing module randomly selects a second operation descriptor from unused operation descriptors and sets the network link information of the first network in the second operation descriptor, carrying out data transmission with the server based on the second operation descriptor.
19. The apparatus of claim 18, wherein the processing module is further to:
and setting a destination node of the data transmission path as the system chip so that the data transmitted by the server flows to the system chip.
20. The apparatus of claim 15, wherein the communication module is further to:
receiving a second request sent by the main control chip; the second request is used for acquiring connection parameter information of the first network;
after the processing module acquires the connection parameter information of the first network, the connection parameter information is sent to the main control chip, so that the main control chip performs data transmission with the server based on the connection parameter information and the network link information.
21. An electronic device, comprising:
a memory for storing program instructions;
a processor for invoking program instructions stored in said memory and for performing the steps comprised in the method according to any of claims 1-4 or 5-10 in accordance with the obtained program instructions.
22. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program comprising program instructions which, when executed by a computer, cause the computer to perform the method of any of claims 1-4 or 5-10.
CN202111620778.9A 2021-12-28 2021-12-28 Network link transfer method and device, electronic equipment and storage medium Active CN114189927B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111620778.9A CN114189927B (en) 2021-12-28 2021-12-28 Network link transfer method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111620778.9A CN114189927B (en) 2021-12-28 2021-12-28 Network link transfer method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114189927A CN114189927A (en) 2022-03-15
CN114189927B true CN114189927B (en) 2024-02-27

Family

ID=80606194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111620778.9A Active CN114189927B (en) 2021-12-28 2021-12-28 Network link transfer method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114189927B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6212175B1 (en) * 1997-04-22 2001-04-03 Telxon Corporation Method to sustain TCP connection
CN1852524A (en) * 2005-12-31 2006-10-25 华为技术有限公司 Method and system for making multimode terminal delay call time
JP2007249426A (en) * 2006-03-14 2007-09-27 Ricoh Co Ltd Image processor, information processing terminal, and network system
CN102036349A (en) * 2009-09-29 2011-04-27 联想(北京)有限公司 Method for maintaining connection of terminal and network server, terminal and network server
CN103313332A (en) * 2012-03-13 2013-09-18 中国电信股份有限公司 Mobile equipment based on Android system and method thereof for realizing switch in different networks based on BP
CN106102147A (en) * 2016-06-12 2016-11-09 努比亚技术有限公司 A kind of method and device realizing dual processor subscriber equipment low-power consumption
WO2018103380A1 (en) * 2016-12-07 2018-06-14 广东欧珀移动通信有限公司 Method for accessing wireless network, and mobile terminal
CN109962930A (en) * 2017-12-14 2019-07-02 北京融通高科微电子科技有限公司 Internet of Things application module awakening method
CN112996089A (en) * 2019-12-17 2021-06-18 Oppo广东移动通信有限公司 Data transmission method, device, storage medium and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6212175B1 (en) * 1997-04-22 2001-04-03 Telxon Corporation Method to sustain TCP connection
CN1852524A (en) * 2005-12-31 2006-10-25 华为技术有限公司 Method and system for making multimode terminal delay call time
JP2007249426A (en) * 2006-03-14 2007-09-27 Ricoh Co Ltd Image processor, information processing terminal, and network system
CN102036349A (en) * 2009-09-29 2011-04-27 联想(北京)有限公司 Method for maintaining connection of terminal and network server, terminal and network server
CN103313332A (en) * 2012-03-13 2013-09-18 中国电信股份有限公司 Mobile equipment based on Android system and method thereof for realizing switch in different networks based on BP
CN106102147A (en) * 2016-06-12 2016-11-09 努比亚技术有限公司 A kind of method and device realizing dual processor subscriber equipment low-power consumption
WO2018103380A1 (en) * 2016-12-07 2018-06-14 广东欧珀移动通信有限公司 Method for accessing wireless network, and mobile terminal
CN109962930A (en) * 2017-12-14 2019-07-02 北京融通高科微电子科技有限公司 Internet of Things application module awakening method
CN112996089A (en) * 2019-12-17 2021-06-18 Oppo广东移动通信有限公司 Data transmission method, device, storage medium and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Wenkang Liao等.An Efficient and Low-Overhead Chip-to-Chip Interconnect Protocol Design for NOC.《2019 IEEE International Conference on Integrated Circuits, Technologies and Applications (ICTA)》.2020,第77-78页. *
刘奕 ; .5G网络技术对提升4G网络性能的研究.数码世界.2020,(第04期),第30页. *

Also Published As

Publication number Publication date
CN114189927A (en) 2022-03-15

Similar Documents

Publication Publication Date Title
CN104734931B (en) Link establishing method and device between a kind of virtual network function
CN105049502B (en) The method and apparatus that device software updates in a kind of cloud network management system
WO2019184164A1 (en) Method for automatically deploying kubernetes worker node, device, terminal apparatus, and readable storage medium
CN102571996B (en) IP (Internet Protocol) address assignment method, IP address assignment device and network system
CN108924274B (en) Domain name system DNS processing method and device, storage medium and electronic equipment
CN110389815A (en) Task processing method, apparatus and system
CN105340214A (en) Pattern coalescing for wake-enabled applications
CN106502840A (en) A kind of data back up method, apparatus and system
CN111294416A (en) Method for obtaining IP address and related product
CN113361913A (en) Communication service arranging method, device, computer equipment and storage medium
CN102752215B (en) Processing method for VDP (vertical data processing) request messages and edge switch
CN107483234B (en) Method and device for split backup of access point of Internet of things
CN111338758A (en) Resource management method and device and electronic equipment
KR20090084670A (en) Method and system for two-phase mechanism for discovering web services based management service
EP3474501B1 (en) Network device stacking
CN113691935A (en) Network optimization method and device and electronic equipment
CN113347287B (en) Host discovery and addition method, device, equipment and medium in data center
WO2016086544A1 (en) Network interface configuration method and apparatus for network device and storage medium
CN109451354B (en) Terminal and method for awakening same
CN101309305A (en) IP address allocating method and apparatus
CN107483236B (en) Method and device for backing up access point of Internet of things
CN114189927B (en) Network link transfer method and device, electronic equipment and storage medium
CN114363293A (en) Device management method, system, readable storage medium and computer device
CN110278558B (en) Message interaction method and WLAN system
CN110650546A (en) File transmission method, device, storage medium and terminal

Legal Events

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