CN113825170A - Method and apparatus for determining network channel - Google Patents

Method and apparatus for determining network channel Download PDF

Info

Publication number
CN113825170A
CN113825170A CN202011331342.3A CN202011331342A CN113825170A CN 113825170 A CN113825170 A CN 113825170A CN 202011331342 A CN202011331342 A CN 202011331342A CN 113825170 A CN113825170 A CN 113825170A
Authority
CN
China
Prior art keywords
network
protocol
network channel
channel
determining
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
CN202011331342.3A
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 Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information 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 Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN202011331342.3A priority Critical patent/CN113825170A/en
Publication of CN113825170A publication Critical patent/CN113825170A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0231Traffic management, e.g. flow control or congestion control based on communication conditions
    • H04W28/0236Traffic management, e.g. flow control or congestion control based on communication conditions radio quality, e.g. interference, losses or delay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0268Traffic management, e.g. flow control or congestion control using specific QoS parameters for wireless networks, e.g. QoS class identifier [QCI] or guaranteed bit rate [GBR]

Landscapes

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

Abstract

The application discloses a method and a device for determining a network channel, and relates to the technical field of communication, in particular to the technical field of data transmission, network optimization and network switching. The method comprises the following steps: and after the network state detection instruction is detected, detecting the network quality of the current network channel and the network quality of at least one available network channel in the current network application environment, and if the network quality of the at least one available network channel is determined to be superior to the network quality of the current network channel, determining the at least one available network channel as a target network channel. The method can improve the compatibility of the communication network and the communication quality.

Description

Method and apparatus for determining network channel
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to the field of data transmission, network optimization, and network handover technologies, and in particular, to a method and an apparatus for determining a network channel.
Background
With the development of internet technology, people increasingly rely on using mobile devices for activities such as communication and entertainment, and the quality of network communication between mobile devices or between a mobile device and a server is an important factor affecting data transmission efficiency and user experience. The prior art is to determine and apply a matching communication protocol according to a network framework of a network to ensure communication quality when the network is applied for communication.
The existing method for ensuring the network communication quality has the problems of poor compatibility of a communication network and low communication efficiency.
Disclosure of Invention
The present disclosure provides a method, an apparatus, an electronic device, and a computer-readable storage medium for determining a network channel.
According to a first aspect of the present disclosure, there is provided a method for determining a network channel, comprising: in response to detecting the network state detection instruction, detecting the network quality of the current network channel and the network quality of at least one available network channel in the current network application environment; in response to determining that the network quality of the at least one available network channel is better than the network quality of the current network channel, determining the at least one available network channel as a target network channel.
In some embodiments, the method for determining a network path further comprises: in response to determining that the network quality of the current network channel indicates that the network state of the current network channel is a weak network state, determining at least one available network channel as a target network channel.
In some embodiments, the network channel comprises: the mobile communication system comprises a hardware protocol layer, a transmission layer and an application protocol layer, wherein the hardware protocol layer is used for providing a mobile network communication protocol, the transmission layer is used for providing a data transmission service, and the application protocol layer is used for providing a protocol defining a data transmission mode or a data transmission type.
In some embodiments, the available network channels include at least one of the following four network channels: the first network path includes: wireless network protocols, transmission control protocols, and hypertext transfer protocols; the second network path comprises: wireless network protocol, user datagram protocol and hypertext transfer protocol; the third network path includes: a fifth generation mobile communication protocol, a transmission control protocol, and a hypertext transfer protocol; the fourth network path includes: fifth generation mobile communication technology protocol, user datagram protocol and hypertext transfer protocol.
In some embodiments, the method for determining the network channel further comprises: and switching the service received by using the current network channel to the target network channel.
In some embodiments, the method for determining the network channel further comprises: and receiving and/or executing the service by utilizing the current network channel and the target network channel.
According to a second aspect of the present disclosure, there is provided an apparatus for determining a network channel, comprising: a detection unit configured to detect, in response to detecting the network state detection instruction, a network quality of a current network channel and a network quality of at least one available network channel in a current network application environment; a first determination unit configured to determine the at least one available network channel as a target network channel in response to determining that the network quality of the at least one available network channel is better than the network quality of the current network channel.
In some embodiments, the means for determining a network path further comprises: a second determining unit configured to determine, in response to determining that the network quality of the current network channel indicates that the network status of the current network channel is a weak network status, that at least one available network channel is a target network channel.
In some embodiments, the network channel comprises: the mobile communication system comprises a hardware protocol layer, a transmission layer and an application protocol layer, wherein the hardware protocol layer is used for providing a mobile network communication protocol, the transmission layer is used for providing a data transmission service, and the application protocol layer is used for providing a protocol defining a data transmission mode or a data transmission type.
In some embodiments, the available network channels include at least one of the following four network channels: the first network path includes: wireless network protocols, transmission control protocols, and hypertext transfer protocols; the second network path comprises: wireless network protocol, user datagram protocol and hypertext transfer protocol; the third network path includes: a fifth generation mobile communication protocol, a transmission control protocol, and a hypertext transfer protocol; the fourth network path includes: fifth generation mobile communication technology protocol, user datagram protocol and hypertext transfer protocol.
In some embodiments, the means for determining a network path further comprises: and the first switching unit is configured to switch the service received by using the current network channel to the target network channel.
In some embodiments, the means for determining a network path further comprises: and the second switching unit is configured to receive and/or execute the service by utilizing the current network channel and the target network channel.
According to a third aspect of the present disclosure, an embodiment of the present disclosure provides an electronic device, including: one or more processors: a storage device for storing one or more programs which, when executed by one or more processors, cause the one or more processors to implement the method for determining a network channel as provided in the first aspect.
According to a fourth aspect of the present disclosure, an embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored, wherein the program, when executed by a processor, implements the method for determining a network channel provided by the first aspect.
According to the method and the device for determining the network channel, after a network state detection instruction is detected, the network quality of the current network channel and the network quality of at least one available network channel in the current network application environment are detected, if the network quality of the at least one available network channel is determined to be superior to the network quality of the current network channel, the at least one available network channel is determined to be a target network channel, the target network channel for communication can be determined based on the current network application environment, the compatibility of the communication network is improved, the maintenance cost is reduced, and in addition, the communication quality in different network application environments can be ensured.
The technology of the application solves the problems of poor compatibility and low communication efficiency of the existing method for ensuring the network communication quality.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
FIG. 1 is an exemplary system architecture diagram in which embodiments of the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a method for determining a network channel in accordance with the present application;
FIG. 3 is a flow diagram of another embodiment of a method for determining network channels according to the present application;
FIG. 4 is a schematic block diagram illustrating one embodiment of an apparatus for determining network paths in accordance with the present application;
fig. 5 is a block diagram of an electronic device for implementing a method for determining a network channel according to an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 shows an exemplary system architecture 100 to which embodiments of the present method for determining a network channel or an apparatus for determining a network channel may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. Various client applications, such as a network quality detection application, a shopping application, a financial application, an image application, a video application, etc., may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting receiving of server messages, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, motion Picture Experts compression standard Audio Layer 3), MP4 players (Moving Picture Experts Group Audio Layer IV, motion Picture Experts compression standard Audio Layer 4), laptop portable computers, desktop computers, and the like.
The terminal apparatuses 101, 102, and 103 may be hardware or software. When the terminal devices 101, 102, and 103 are hardware, various electronic devices may be used, and when the terminal devices 101, 102, and 103 are software, the electronic devices may be installed in the above-listed electronic devices. It may be implemented as multiple pieces of software or software modules (e.g., multiple software modules to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
When the terminal device 101, 102, 103 receives the network status detection instruction, it may detect the network quality of the current network channel and the network quality of at least one available network channel in the current network application environment. When the terminal devices 101, 102, and 103 determine that there is an available network channel with network quality better than that of the current network channel, it is determined that the available network channel is the target network channel.
It should be noted that the method for determining a network channel provided by the embodiment of the present disclosure is generally performed by the terminal device 101, 102, 103, and accordingly, the apparatus for determining a network channel is generally disposed in the terminal device 101, 102, 103.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continuing reference to fig. 2, a flow 200 of one embodiment of a method for determining a network channel in accordance with the present disclosure is shown, comprising the steps of:
step 201, in response to detecting the network state detection instruction, detecting the network quality of the current network channel and the network quality of at least one available network channel in the current network application environment.
In this embodiment, when an execution subject (for example, the terminal device shown in fig. 1) of the method for determining a network channel detects a network state detection instruction, the network quality of the current network channel in the current network application environment and the network quality of at least one available network channel in the current network application environment may be detected.
In this embodiment, the network state detection instruction may be an instruction issued by a server in communication connection with the terminal device, an instruction generated when a monitor of the terminal device monitors that an abnormal event such as network congestion occurs, an instruction generated at regular time by the terminal device, or an instruction triggered by the user through the terminal device.
In this embodiment, the current network application environment may refer to a network connection type of a current network, for example, a wired network, a wireless network, a mobile 2G (second generation mobile phone communication technology)/3G (third generation mobile phone communication technology)/4G (fourth generation mobile phone communication technology)/5G network (fifth generation mobile phone communication technology), and the like; the current network application environment may also refer to a data type transmitted by the current network, such as video data, picture data, audio data, and the like; the current network application environment may also refer to information indicating characteristics of transmitted data, such as a packet size or a data compression ratio of data transmitted by a current network; the current network application environment may also be other information that may indicate the current actual application scenario, or application context, of the network.
In this embodiment, the method for detecting the network quality of the network channel may be: the Round-Trip Time (RTT) based on the HTTP Protocol (hypertext Transfer Protocol) is calculated, that is, the Time difference between the Time when the first byte requested by the terminal starts to be sent and the Time when the terminal receives the first byte returned from the correspondent node. The method for detecting the network quality of the network channel may be to calculate a data Round Trip Time (RTT) based on a TCP (Transmission Control Protocol) channel, that is, a time difference between a first byte sent by the TCP channel of the terminal and a first byte received; and determining the quality of the network by the obtained data round-trip time in the network channel, the transmission rate of the network and the like.
In this embodiment, the method for detecting the network quality of the network channel may be: the throughput of the network transmission (i.e., the amount of data successfully transmitted per unit time) is calculated and the network quality is determined by the throughput of the network transmission.
In this embodiment, the method for detecting the network quality of the network channel may be: the network bandwidth delay product, i.e., the product of the data link capacity (i.e., the amount of data transmitted per unit of time) and the data Round Trip Time (RTT), is calculated and the network quality is determined from the delay product of the network bandwidth. It can be understood that the network bandwidth delay product can represent the maximum capacity of the network channel, and the maximum data volume that can be carried/transmitted in each time unit of the network channel can be detected through the maximum capacity of the network channel, so as to determine the network quality.
In this embodiment, the method for detecting the network quality of the network channel may also be other methods that can detect network transmission states such as a network transmission rate, a network signal strength, a network transmission packet loss rate/bit error rate, and the like.
Step 202, in response to determining that the network quality of the at least one available network channel is better than the network quality of the current network channel, determining that the at least one available network channel is the target network channel.
In this embodiment, when it is determined that there is an available network channel with a network quality better than that of the current network channel among the at least one available network channel, the available network channel is determined as the target network channel.
Specifically, at least one available network channel, of the plurality of available network channels, for which the Round Trip Time (RTT) of data is smaller than the data Round Trip Time (RTT) of the current network channel may be determined as the target network channel; determining an available network channel with throughput greater than that of the current network channel from the plurality of available network channels as a target network channel; determining an available network channel, of the plurality of available network channels, with a network bandwidth delay product larger than that of the current network channel as a target network channel; the target network channel may also be determined based on other network quality detection indicators, for example, an available network channel with a network signal stronger than the current network channel may be determined as the target network channel.
In the method for determining a network channel provided in this embodiment, after a network state detection instruction is detected, the network quality of the current network channel and the network quality of at least one available network channel in the current network application environment are detected, and if it is determined that the network quality of the at least one available network channel is better than the network quality of the current network channel, the at least one available network channel is determined to be a target network channel.
Optionally, in response to determining that the network quality of the current network channel indicates that the network status of the current network channel is a weak network status, determining at least one available network channel as the target network channel.
In this embodiment, a network status in which the network transmission rate is lower than the rate threshold may be determined as a weak network status; a network state in which the network signal strength is below the signal strength threshold may be determined as a weak network state; a network state in which the throughput of the network channel is lower than a throughput threshold value can be determined as a weak network state; the network state in which the network signal radiation distance is lower than the distance threshold value can also be determined as a weak network state, and the like.
In this embodiment, when it is determined that the network state of the current network channel indicated by the network quality of the current network channel is the weak network state and there is an available network channel with a network quality better than that of the current network channel, the available network channel is determined as the target network channel.
In this embodiment, when the network state of the current network channel cannot meet the current network application environment, the available network channel whose network state meets the current network application environment is detected, and the available network channel whose network state meets the current network application environment is determined as the target network channel, so that the compatibility of the communication transmission system and the network transmission success rate of the terminal device in the weak network environment can be improved, and the user experience can be improved.
With continued reference to fig. 3, a flow 300 of another embodiment of a method for determining a network channel in accordance with the present disclosure is shown, including the steps of:
step 301, in response to detecting a network state detection instruction, detecting the network quality of a current network channel and the network quality of at least one available network channel in a current network application environment; wherein, the network channel includes: the mobile communication system comprises a hardware protocol layer, a transmission layer and an application protocol layer, wherein the hardware protocol layer is used for providing a mobile network communication protocol, the transmission layer is used for providing a data transmission service, and the application protocol layer is used for providing a protocol defining a data transmission mode or a data transmission type.
In this embodiment, when an execution subject (for example, the terminal device shown in fig. 1) of the method for determining a network channel detects a network state detection instruction, the network quality of the current network channel in the current network application environment and the network quality of at least one available network channel in the current network application environment may be detected.
In this embodiment, the network channel includes a hardware protocol layer, a transport layer, and an application protocol layer, where the hardware protocol layer is used to provide a mobile network communication protocol, such as a wireless network communication protocol, a 2G/3G/4G/5G protocol, etc.; the transport layer is used for providing data transmission service between terminals or between terminals and servers, and may include transport layer protocols such as TCP and UDP (User Datagram Protocol); the application Protocol layer is used to provide a Protocol defining a data transmission mode or a data transmission type, such as an HTTP Protocol, an RTMP (Real Time Messaging Protocol), a quic (quick UDP Internet connection), a UDP-based low-latency Internet transport layer Protocol, or other proprietary protocols.
In this embodiment, the network channel may be a network channel formed by any one of the hardware protocol layers, any one of the transport services in the transport layer, and any one of the application protocol layers, for example, a network channel formed by a 5G protocol, a TCP service, and an HTTP protocol, or a network channel formed by a 5G protocol, a UDP service, and a QUIC protocol, and the like.
Step 302, in response to determining that the network quality of the at least one available network channel is better than the network quality of the current network channel, determining the at least one available network channel as a target network channel.
The description of step 302 in this embodiment is consistent with the description of step 202, and is not repeated here.
The method for determining the network channel provided by the embodiment can provide the network channel suitable for different network application environments, can improve the compatibility and the fault tolerance rate of a communication network, can improve the network transmission success rate of the terminal device in different network application environments, and can improve the user experience.
Optionally, the available network channels include at least one of the following four network channels: the first network channel comprises a wireless network protocol, a transmission control protocol and a hypertext transmission protocol; the second network channel comprises a wireless network protocol, a user datagram protocol and a hypertext transfer protocol; the third network channel comprises a fifth generation mobile communication protocol, a transmission control protocol and a hypertext transmission protocol; the fourth network channel comprises a fifth generation mobile communication technology protocol, a user datagram protocol and a hypertext transfer protocol.
In this embodiment, if the current wireless network is available and stable, communication can be performed based on a network channel formed by a wireless network protocol, a transmission control protocol, and a hypertext transfer protocol (or a second generation hypertext transfer protocol HTTP/2); if the network state of the current wireless network is poor/weak, network communication can be carried out based on a network channel formed by a wireless network protocol, a user datagram protocol and a hypertext transfer protocol (or a third generation hypertext transfer protocol HTTP/3); if the current wireless network is unavailable but the 5G network is available and stable, network communication can be carried out based on a network channel formed by a 5G communication protocol, a transmission control protocol and a hypertext transfer protocol (or a second generation hypertext transfer protocol HTTP/2); if the current wireless network is unavailable and the network state of the 5G network belongs to the weak network state, network communication can be performed based on a network channel formed by a 5G communication technology protocol, a user datagram protocol and a hypertext transfer protocol (or a third generation hypertext transfer protocol HTTP/3).
In this embodiment, based on each specific network application environment, it is determined that the corresponding network channel can improve the network transmission quality and the network connection success rate, and further improve the user experience.
In some optional implementations of the embodiments described above in connection with fig. 2 and 3, the method for determining a network channel further includes: and switching the service received by using the current network channel to the target network channel.
In this embodiment, after the target network channel is determined, the service received in the current network channel may be switched to the target network channel, and the target network channel is used to complete the data transmission service received by the terminal device or not yet completed.
In this embodiment, when it is determined that the transmission quality of the data transmission performed by using the current network channel is poor in the current network application environment, the service received or executed by using the current network channel is switched to the target network channel with better transmission quality in the current network application environment, so that the success rate of completing the service can be improved.
In some optional implementations of the embodiments described above in connection with fig. 2 and 3, the method for determining a network channel further includes: and receiving the service by utilizing the current network channel and the target network channel.
In this embodiment, after the target network channel is determined, services such as data transmission may be received and/or executed by using the current network channel and the target network channel together.
In this embodiment, when it is determined that the transmission quality is poor when the current network channel is used for data transmission in the current network application environment, the target network channel is added, and the current network channel and the target network channel are used to receive and/or execute the service together, so that the success rate of completing the service can be improved.
With further reference to fig. 4, as an implementation of the methods shown in the above-mentioned figures, the present disclosure provides an embodiment of an apparatus for determining a network channel, where the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2 or fig. 3, and the apparatus may be applied to various electronic devices in particular.
As shown in fig. 4, the apparatus 400 for determining a network channel of the present embodiment includes: a detecting unit 401, configured to detect, in response to detecting the network state detection instruction, a network quality of a current network channel and a network quality of at least one available network channel in a current network application environment; a first determining unit 402 configured to determine the at least one available network channel as a target network channel in response to determining that the network quality of the at least one available network channel is better than the network quality of the current network channel.
In some embodiments, the means for determining a network path further comprises: a second determining unit configured to determine, in response to determining that the network quality of the current network channel indicates that the network status of the current network channel is a weak network status, that at least one available network channel is a target network channel.
In some embodiments, the network channel comprises: the mobile communication system comprises a hardware protocol layer, a transmission layer and an application protocol layer, wherein the hardware protocol layer is used for providing a mobile network communication protocol, the transmission layer is used for providing a data transmission service, and the application protocol layer is used for providing a protocol defining a data transmission mode or a data transmission type.
In some embodiments, the available network channels include at least one of the following four network channels: the first network path includes: wireless network protocols, transmission control protocols, and hypertext transfer protocols; the second network path comprises: wireless network protocol, user datagram protocol and hypertext transfer protocol; the third network path includes: a fifth generation mobile communication protocol, a transmission control protocol, and a hypertext transfer protocol; the fourth network path includes: fifth generation mobile communication technology protocol, user datagram protocol and hypertext transfer protocol.
In some embodiments, the means for determining a network path further comprises: and the first switching unit is configured to switch the service received by using the current network channel to the target network channel.
In some embodiments, the means for determining a network path further comprises: and the second switching unit is configured to receive and/or execute the service by utilizing the current network channel and the target network channel.
The units in the apparatus 400 described above correspond to the steps in the method described with reference to fig. 2 or 3. Thus, the operations, features and technical effects that can be achieved by the above-described method for determining a network channel are also applicable to the apparatus 400 and the units included therein, and are not described herein again.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
As shown in fig. 5, is a block diagram of an electronic device 500 for a method of extracting a video segment according to an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 5, the electronic apparatus includes: one or more processors 501, memory 502, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 5, one processor 501 is taken as an example.
Memory 502 is a non-transitory computer readable storage medium as provided herein. Wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the method for extracting video segments provided herein. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to perform the method for extracting a video segment provided by the present application.
The memory 502, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the method for extracting a video segment in the embodiment of the present application (e.g., the detection unit 401, the first determination unit 402 shown in fig. 4). The processor 501 executes various functional applications of the server and data processing, namely, implements the method for extracting a video clip in the above-described method embodiment, by running non-transitory software programs, instructions, and modules stored in the memory 502.
The memory 502 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device for extracting the video clip, and the like. Further, the memory 502 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 502 optionally includes memory located remotely from processor 501, which may be connected to an electronic device for retrieving video clips over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device for the method of extracting a video clip may further include: an input device 503, an output device 504, and a bus 505. The processor 501, the memory 502, the input device 503 and the output device 504 may be connected by a bus 505 or other means, and fig. 5 illustrates an example in which these are connected by the bus 505.
The input device 503 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus for extracting the video clip, such as an input device of a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointing stick, one or more mouse buttons, a track ball, a joystick, or the like. The output devices 504 may include a display device, auxiliary lighting devices (e.g., LEDs), and haptic feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present application can be achieved, and the present invention is not limited herein.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (14)

1. A method for determining a network path, comprising:
in response to detecting the network state detection instruction, detecting the network quality of the current network channel and the network quality of at least one available network channel in the current network application environment;
determining the at least one available network channel as a target network channel in response to determining that the network quality of the at least one available network channel is better than the network quality of the current network channel.
2. The method of claim 1, wherein the method further comprises:
in response to determining that the network quality of the current network channel indicates that the network status of the current network channel is a weak network status, determining the at least one available network channel as a target network channel.
3. The method of claim 1, wherein the network channel comprises: the mobile communication device comprises a hardware protocol layer, a transmission layer and an application protocol layer, wherein the hardware protocol layer is used for providing a mobile network communication protocol, the transmission layer is used for providing a data transmission service, and the application protocol layer is used for providing a protocol defining a data transmission mode or a data transmission type.
4. The method of claim 3, wherein the available network channels comprise at least one of the following four network channels: the first network channel comprises a wireless network protocol, a transmission control protocol and a hypertext transmission protocol, the second network channel comprises a wireless network protocol, a user datagram protocol and a hypertext transmission protocol, the third network channel comprises a fifth generation mobile communication protocol, a transmission control protocol and a hypertext transmission protocol, and the fourth network channel comprises a fifth generation mobile communication technology protocol, a user datagram protocol and a hypertext transmission protocol.
5. The method according to one of claims 1-4, wherein the method further comprises:
and switching the service received by using the current network channel to the target network channel.
6. The method according to one of claims 1-4, wherein the method further comprises:
and receiving and/or executing services by utilizing the current network channel and the target network channel.
7. An apparatus for determining a network path, comprising:
a detection unit configured to detect, in response to detecting the network state detection instruction, a network quality of a current network channel and a network quality of at least one available network channel in a current network application environment;
a first determination unit configured to determine the at least one available network channel as a target network channel in response to determining that the network quality of the at least one available network channel is better than the network quality of the current network channel.
8. The apparatus of claim 7, wherein the apparatus further comprises:
a second determining unit configured to determine the at least one available network channel as a target network channel in response to determining that the network quality of the current network channel indicates that the network status of the current network channel is a weak network status.
9. The apparatus of claim 7, wherein the network channel comprises: the mobile communication device comprises a hardware protocol layer, a transmission layer and an application protocol layer, wherein the hardware protocol layer is used for providing a mobile network communication protocol, the transmission layer is used for providing a data transmission service, and the application protocol layer is used for providing a protocol defining a data transmission mode or a data transmission type.
10. The apparatus of claim 9, wherein the available network channels comprise at least one of the following four network channels: the first network path includes: wireless network protocols, transmission control protocols, and hypertext transfer protocols; the second network path comprises: wireless network protocol, user datagram protocol and hypertext transfer protocol; the third network path includes: a fifth generation mobile communication protocol, a transmission control protocol, and a hypertext transfer protocol; the fourth network path includes: fifth generation mobile communication technology protocol, user datagram protocol and hypertext transfer protocol.
11. The apparatus according to one of claims 7-10, wherein the apparatus further comprises:
a first switching unit configured to switch a service received by using the current network channel to the target network channel.
12. The apparatus according to one of claims 7-10, wherein the apparatus further comprises:
a second switching unit configured to receive and/or execute traffic using the current network channel and the target network channel.
13. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-6.
14. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-6.
CN202011331342.3A 2020-11-24 2020-11-24 Method and apparatus for determining network channel Pending CN113825170A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011331342.3A CN113825170A (en) 2020-11-24 2020-11-24 Method and apparatus for determining network channel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011331342.3A CN113825170A (en) 2020-11-24 2020-11-24 Method and apparatus for determining network channel

Publications (1)

Publication Number Publication Date
CN113825170A true CN113825170A (en) 2021-12-21

Family

ID=78924907

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011331342.3A Pending CN113825170A (en) 2020-11-24 2020-11-24 Method and apparatus for determining network channel

Country Status (1)

Country Link
CN (1) CN113825170A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114374646A (en) * 2021-12-27 2022-04-19 中国电信股份有限公司 Network channel switching method and device, electronic equipment and storage medium
CN114844960A (en) * 2022-03-29 2022-08-02 武汉斗鱼鱼乐网络科技有限公司 Data transmission method and related equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616945A (en) * 2017-02-10 2018-10-02 华为技术有限公司 A kind of method and relevant device of communication link switching
CN109392124A (en) * 2017-08-10 2019-02-26 中兴通讯股份有限公司 The indicating means and execution method and corresponding intrument and system of multi-link communication
CN109548103A (en) * 2018-12-19 2019-03-29 连尚(新昌)网络科技有限公司 Method and apparatus for handover network
CN109819476A (en) * 2017-11-21 2019-05-28 腾讯科技(深圳)有限公司 A kind of network optimized approach and terminal, storage medium
CN110290544A (en) * 2019-05-24 2019-09-27 菜鸟智能物流控股有限公司 Data transmission device and method and electronic equipment
CN110868746A (en) * 2019-11-18 2020-03-06 RealMe重庆移动通信有限公司 Network switching method and device, electronic equipment and storage medium
CN110958653A (en) * 2018-09-27 2020-04-03 维沃移动通信有限公司 Dual-connection switching method, terminal and network equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616945A (en) * 2017-02-10 2018-10-02 华为技术有限公司 A kind of method and relevant device of communication link switching
CN109392124A (en) * 2017-08-10 2019-02-26 中兴通讯股份有限公司 The indicating means and execution method and corresponding intrument and system of multi-link communication
CN109819476A (en) * 2017-11-21 2019-05-28 腾讯科技(深圳)有限公司 A kind of network optimized approach and terminal, storage medium
CN110958653A (en) * 2018-09-27 2020-04-03 维沃移动通信有限公司 Dual-connection switching method, terminal and network equipment
CN109548103A (en) * 2018-12-19 2019-03-29 连尚(新昌)网络科技有限公司 Method and apparatus for handover network
CN110290544A (en) * 2019-05-24 2019-09-27 菜鸟智能物流控股有限公司 Data transmission device and method and electronic equipment
CN110868746A (en) * 2019-11-18 2020-03-06 RealMe重庆移动通信有限公司 Network switching method and device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114374646A (en) * 2021-12-27 2022-04-19 中国电信股份有限公司 Network channel switching method and device, electronic equipment and storage medium
CN114844960A (en) * 2022-03-29 2022-08-02 武汉斗鱼鱼乐网络科技有限公司 Data transmission method and related equipment

Similar Documents

Publication Publication Date Title
US9253100B2 (en) Asynchronous virtual machine replication
CN111934840A (en) Communication method of client and server, gateway, electronic equipment and storage medium
CN111669438B (en) Live broadcast message transmission method and device, electronic equipment and medium
CN111865720B (en) Method, apparatus, device and storage medium for processing request
CN111726413B (en) Equipment connection method and device
CN111770161B (en) https sniffing jump method and device
CN113825170A (en) Method and apparatus for determining network channel
CN111090691B (en) Data processing method and device, electronic equipment and storage medium
US11677639B2 (en) Connection management between applications and service resources
CN112771928B (en) Method and device for determining satellite return information
CN111881387A (en) Data processing method, device, equipment and medium for small program
CN111510480B (en) Request sending method and device and first server
CN111813623A (en) Page monitoring method and device, electronic equipment and storage medium
CN114217996A (en) Sound mixing method and device
CN110659330A (en) Data processing method, device and storage medium
CN110650215A (en) Function execution method and device of edge network
CN111597026B (en) Method and device for acquiring information
CN112735140B (en) Data processing method and device, electronic equipment and storage medium
CN114422572A (en) Cloud mobile phone control method and device, electronic equipment and storage medium
KR20210091075A (en) Traffic adjustment method and apparatus
CN114205414A (en) Data processing method, device, electronic equipment and medium based on service grid
CN111131935B (en) OTN switching method, device, equipment and storage medium
CN111787131B (en) ID generation method and electronic device
CN111614752B (en) Method and device for data transmission
US20230413330A1 (en) Data transmission method and apparatus, base station, user terminal, and electronic device

Legal Events

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