CN116112640B - Information transmission method, device and system - Google Patents

Information transmission method, device and system

Info

Publication number
CN116112640B
CN116112640B CN202310003921.2A CN202310003921A CN116112640B CN 116112640 B CN116112640 B CN 116112640B CN 202310003921 A CN202310003921 A CN 202310003921A CN 116112640 B CN116112640 B CN 116112640B
Authority
CN
China
Prior art keywords
current
warehouse
current network
preset
network
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
CN202310003921.2A
Other languages
Chinese (zh)
Other versions
CN116112640A (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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke 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 Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN202310003921.2A priority Critical patent/CN116112640B/en
Publication of CN116112640A publication Critical patent/CN116112640A/en
Application granted granted Critical
Publication of CN116112640B publication Critical patent/CN116112640B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2402Monitoring of the downstream path of the transmission network, e.g. bandwidth available
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64723Monitoring of network processes or resources, e.g. monitoring of network load
    • H04N21/64738Monitoring network characteristics, e.g. bandwidth, congestion level

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Environmental & Geological Engineering (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本申请实施例公开了信息传输方法、装置和系统。该方法的一具体实施方式包括:响应于接收到客户端发送的、包含仓库标识的视频获取请求,将上述仓库标识所指示的仓库作为目标仓库,查询该目标仓库的当前网络数据和预置网络数据;基于该当前网络数据与该预置网络数据的比较,确定该目标仓库当前的网络是否支持视频传输;响应于确定该目标仓库当前的网络支持视频传输,向位于该目标仓库的视频服务器发送该视频获取请求;将位于该目标仓库的视频服务器所返回的视频发送至该客户端。该实施方式提高了数据交互的灵活性。

This application discloses an information transmission method, apparatus, and system. One specific embodiment of the method includes: in response to receiving a video acquisition request from a client containing a warehouse identifier, selecting the warehouse indicated by the warehouse identifier as the target warehouse, querying the current network data and preset network data of the target warehouse; determining, based on a comparison of the current network data and the preset network data, whether the current network of the target warehouse supports video transmission; in response to determining that the current network of the target warehouse supports video transmission, sending the video acquisition request to a video server located in the target warehouse; and sending the video returned by the video server located in the target warehouse to the client. This embodiment improves the flexibility of data interaction.

Description

Information transmission method, device and system
Technical Field
The present application relates to the field of computer technologies, and in particular, to the field of internet technologies, and in particular, to an information transmission method, apparatus, and system.
Background
With the development of internet technology, various types of e-commerce platforms have been developed. The warehouses related to the e-commerce platform are generally distributed in a plurality of places, and each warehouse needs to perform frequent data interaction with the data center through a network, so that good network conditions need to be ensured to ensure that the business is performed normally.
In the field of electronic commerce, business personnel can typically view production videos of various warehouses to monitor the overall flow of orders. However, the production video of the warehouse consumes network bandwidth, and data interaction of normal business can be affected during sales promotion and other activities. Accordingly, dynamic control of video transmission and access to the warehouse is required to limit the impact of video traffic on normal traffic. In the prior art, dynamic current limiting control is not performed on a video system, so that the problem of low flexibility of data interaction exists.
Disclosure of Invention
An object of the embodiments of the present application is to provide an improved information transmission method, apparatus and system, so as to solve the technical problems mentioned in the background section above.
In a first aspect, an embodiment of the present application provides an information transmission method for a monitoring server, where the monitoring server is respectively communicatively connected to a client and a video server located in each of a plurality of warehouses, and the method includes, in response to receiving a video acquisition request sent by the client and including a warehouse identifier, querying current network data and preset network data of a target warehouse with the warehouse indicated by the warehouse identifier as the target warehouse, determining whether the current network of the target warehouse supports video transmission based on a comparison between the current network data and the preset network data, in response to determining that the current network of the target warehouse supports video transmission, sending a video acquisition request to the video server located in the target warehouse, and sending a video returned by the video server located in the target warehouse to the client.
In some embodiments, the current network data comprises a current network delay rate and a current packet loss rate, the preset network data comprises a preset network delay rate and a preset packet loss rate, and determining whether the current network of the target warehouse supports video transmission based on a comparison of the current network data and the preset network data comprises determining that the current network of the target warehouse does not support video transmission in response to determining that the current network delay rate is greater than the preset network delay rate or the current packet loss rate is greater than the preset packet loss rate.
In some embodiments, the current network data further comprises a current bandwidth usage percentage and a current concurrency request number, the preset network data further comprises a preset correspondence table of bandwidth usage percentages and concurrency request thresholds, and the determining whether the current network of the target warehouse supports video transmission based on comparison of the current network data and the preset network data further comprises determining a concurrency request threshold corresponding to the current bandwidth usage percentage from the correspondence table in response to determining that the current network delay rate is not greater than the preset network delay rate and the current packet loss rate is not greater than the preset packet loss rate, and determining that the current network of the target warehouse does not support video transmission in response to determining that the current concurrency request number is greater than the determined concurrency request threshold.
In some embodiments, determining whether the current network of the target repository supports video transmission based on a comparison of the current network data and the preset network data further includes determining that the current network of the target repository supports video transmission in response to determining that the current number of concurrent requests is not greater than the determined concurrent request threshold.
In some embodiments, the method further comprises, in response to determining that the current network of the target warehouse does not support video transmission, sending a hint information to the client that characterizes the current network congestion.
In a second aspect, an embodiment of the present application provides an information transmission apparatus for a monitoring server, where the monitoring server is communicatively connected to a client and a video server located in each of a plurality of warehouses, respectively, the apparatus includes a query unit configured to query, in response to receiving a video acquisition request sent by the client and including a warehouse identifier, a warehouse indicated by the warehouse identifier as a target warehouse, current network data and preset network data of the target warehouse, a determination unit configured to determine whether the current network of the target warehouse supports video transmission based on a comparison of the current network data and the preset network data, a first sending unit configured to send, in response to determining that the current network of the target warehouse supports video transmission, a video acquisition request to a video server located in the target warehouse, and a second sending unit configured to send, to the client, a video returned by the video server located in the target warehouse.
In some embodiments, the current network data comprises a current network delay rate and a current packet loss rate, the preset network data comprises a preset network delay rate and a preset packet loss rate, and the determining unit is further configured to determine that the current network of the target repository does not support video transmission in response to determining that the current network delay rate is greater than the preset network delay rate or the current packet loss rate is greater than the preset packet loss rate.
In some embodiments, the current network data further comprises a current bandwidth usage percentage and a current number of concurrent requests, the preset network data further comprises a preset correspondence table of bandwidth usage percentages and concurrent request thresholds, and the determining unit is further configured to determine, from the correspondence table, a concurrent request threshold corresponding to the current bandwidth usage percentage in response to determining that the current number of concurrent requests is greater than the determined concurrent request threshold, in response to determining that the current network of the target warehouse does not support video transmission, the current network delay rate is not greater than the preset network delay rate and the current packet loss rate is not greater than the preset packet loss rate.
In some embodiments, the determining unit is further configured to determine that the current network of the target repository supports video transmission in response to determining that the current number of concurrent requests is not greater than the determined concurrent request threshold.
In some embodiments, the apparatus further comprises a third sending unit configured to send, to the client, prompt information for characterizing current network congestion in response to determining that the current network of the target warehouse does not support video transmission.
In a third aspect, the embodiment of the application provides an information transmission system, which comprises a client, a monitoring server and a video server located in each warehouse of a plurality of warehouses, wherein the monitoring server is used for responding to a video acquisition request which is sent by the client and contains a warehouse identifier, taking the warehouse indicated by the warehouse identifier as a target warehouse, inquiring current network data and preset network data of the target warehouse, determining whether the current network of the target warehouse supports video transmission or not based on comparison of the current network data and the preset network data, if so, sending the video acquisition request to the video server located in the target warehouse, and sending a video returned by the video server located in the target warehouse to the client.
In some embodiments, the current network data comprises a current network delay rate and a current packet loss rate, the preset network data comprises a preset network delay rate and a preset packet loss rate, and the monitoring server is further configured to determine that the current network of the target warehouse does not support video transmission in response to determining that the current network delay rate is greater than the preset network delay rate or the current packet loss rate is greater than the preset packet loss rate.
In some embodiments, the current network data further comprises a current bandwidth usage percentage and a current number of concurrent requests, the preset network data further comprises a preset correspondence table of bandwidth usage percentages and concurrent request thresholds, and the monitoring server is further configured to determine, from the correspondence table, a concurrent request threshold corresponding to the current bandwidth usage percentage in response to determining that the current number of concurrent requests is greater than the determined concurrent request threshold, in response to determining that the current network of the target warehouse does not support video transmission, in response to determining that the current network delay rate is not greater than the preset network delay rate and the current packet loss rate is not greater than the preset packet loss rate.
In some embodiments, the monitoring server is further configured to determine that the current network of the target repository supports video transmission in response to determining that the current number of concurrent requests is not greater than the determined concurrent request threshold.
In some embodiments, the monitoring server is further configured to send a hint information to the client for characterizing current network congestion in response to determining that the current network of the target repository does not support video transmission.
In some embodiments, the information transmission system further comprises a network probe server and a warehouse terminal of each warehouse, wherein the network probe server is used for periodically sending network probe requests to the warehouse terminals of the warehouses, the warehouse terminal of each warehouse is used for determining whether the received network probe requests are target probe requests, if so, executing commands indicated by the received target probe requests and returning execution results to the network probe server, and if not, sending data query requests to routers or switches installed in the warehouses and sending data returned by the routers or the switches to the network probe server. And the network detection server is also used for storing the execution result and the data returned by each warehouse terminal into a cache.
In a fourth aspect, embodiments of the present application provide a server including one or more processors, and a storage device for storing one or more programs that, when executed by the one or more processors, cause the one or more processors to implement a method as in any of the embodiments of the information transmission method.
In a fifth aspect, embodiments of the present application provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method as in any of the embodiments of the information transmission method.
According to the information transmission method, device and system provided by the embodiment of the application, after receiving the video acquisition request which is sent by the client and contains the warehouse identifier, the monitoring server inquires the current network data and the preset network data of the warehouse indicated by the target warehouse identifier, then determines whether the current network of the target warehouse supports video transmission or not based on the comparison of the current network data and the preset network data, then sends the video acquisition request to the video server in response to the determination that the current network of the target warehouse supports video transmission, and finally sends the video returned by the video server to the client, so that the video transmission and access of the warehouse can be dynamically controlled based on the current network condition of the warehouse, the video flow is ensured not to influence the normal service, and the flexibility of data interaction is improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow chart of one embodiment of a method of information transmission according to the present application;
fig. 3 is a schematic view of an application scenario of the information transmission method according to the present application;
Fig. 4 is a flow chart of yet another embodiment of an information transmission method according to the present application;
fig. 5 is a schematic structural view of an embodiment of an information transmission apparatus according to the present application;
FIG. 6 is a schematic diagram of an interaction process between devices in an information delivery system according to the present application;
FIG. 7 is a schematic diagram of a computer system suitable for use with a server implementing an embodiment of the application.
Detailed Description
The application is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be noted that, for convenience of description, only the portions related to the present application are shown in the drawings.
It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other. The application will be described in detail below with reference to the drawings in connection with embodiments.
Fig. 1 shows an exemplary system architecture 100 to which the information transmission method or information transmission apparatus of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, networks 104, 106, a monitoring server 105, and video servers 107, 108, 109. The network 104 is a medium for providing a communication link between the terminal devices 101, 102, 103 and the monitoring server 105, and the network 106 is a medium for providing a communication link between the monitoring server 105 and the video servers 107, 108, 109. The networks 104, 106 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. Various communication client applications, such as a video play class application, an instant messaging tool, an e-commerce management class application, etc., may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be a variety of electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The monitoring server 105 may analyze data such as video acquisition requests sent by the terminal devices 101, 102, 103, analyze network conditions of the warehouse to determine whether the network of the warehouse supports video transmission, and interact with the video servers 107, 108, 109 via the network 106 to perform data transmission.
The video servers 107, 108, 109 may be deployed in a room of the warehouse, and the video servers 107, 108, 109 may acquire real-time production video of the warehouse and store it for the monitoring server to acquire the video.
It should be noted that, the information transmission method provided in the embodiment of the present application is generally executed by the monitoring server 105, and accordingly, the information transmission device is generally disposed in the monitoring server 105.
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, monitoring servers, and video servers, as desired for implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of a method for information transfer for a monitoring server in accordance with the present application is shown. The monitoring server is respectively in communication connection with the client and the video server of each warehouse in the plurality of warehouses, and the information transmission method comprises the following steps:
In step 201, in response to receiving a video acquisition request including a warehouse identifier sent by a client, the warehouse indicated by the warehouse identifier is used as a target warehouse, and current network data and preset network data of the target warehouse are queried.
In this embodiment, the electronic device (for example, the monitoring server 105 shown in fig. 1) on which the information transmission method is executed may query, in response to receiving a video acquisition request including a repository identifier sent by a client (for example, the terminal devices 101, 102, 103 shown in fig. 1), the current network data and the preset network data of the target repository by using the repository indicated by the repository identifier as the target repository. The warehouse identifier may be a character string composed of various characters (e.g., numerals, letters, symbols, etc.) for indicating and distinguishing the warehouse. It should be noted that the current network data may be various data for characterizing the current network situation of the target repository, and the current network data may include, by way of example, a current network bandwidth, an uplink traffic, a downlink traffic, a network delay duration, and the like. It should be noted that the preset network data may include various network configuration information (such as total bandwidth and the like) of the target warehouse and various thresholds (such as a network bandwidth threshold, a network delay rate threshold, a packet loss rate threshold and the like) preset by a technician.
Step 202, determining whether the current network of the target warehouse supports video transmission based on the comparison of the current network data and the preset network data.
In this embodiment, the electronic device may determine whether the current network of the target repository supports video transmission based on a comparison of the current network data and preset network data. Specifically, the electronic device may determine whether the current network of the target repository supports transmission based on a comparison of one or more data included in the current network data with corresponding one or more data in the preset network data. As an example, the current network of the repository may be determined not to support video transmission in response to determining that the current network bandwidth included in the current network data is less than the network bandwidth threshold included in the preset network data, and the current network of the repository may be determined to support video transmission in response to determining that the current network bandwidth included in the current network data is not less than the network bandwidth threshold included in the preset network data.
In response to determining that the current network of the target repository supports video transmission, a video acquisition request is sent to a video server located at the target repository, step 203.
In this embodiment, in response to determining that the current network of the target warehouse supports video transmission, the electronic device may send the video acquisition request to a video server located in the target warehouse through a wired connection manner or a wireless connection manner. It should be noted that the wireless connection may include, but is not limited to, 3G/4G connection, wiFi connection, bluetooth connection, wiMAX connection, zigbee connection, UWB (ultra wideband) connection, and other now known or later developed wireless connection.
Step 204, the video returned by the video server in the target warehouse is sent to the client.
In this embodiment, after the electronic device sends the video acquisition request to the video server located in the target repository, the electronic device may receive a video returned by the video server and send the video to the client.
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the information transmission method according to the present embodiment. In the application scenario of fig. 3, first, a user sends a video acquisition request 303 containing a repository identification to a monitoring server 302 using a client 301. Then, the monitoring server 302 uses the warehouse indicated by the warehouse identifier as a target warehouse, queries the current network data and preset network data of the target warehouse, and determines whether the current network of the target warehouse supports video transmission based on the comparison of the current network data and the preset network data. In response to determining that the current network of the target repository supports video transmission, the video acquisition request 303 is sent to a video server 304 located at the target repository. Thereafter, video server 304 returns video 305 to monitoring server 302. Finally, the monitoring server 302 returns the video 305 to the client 301.
According to the method provided by the embodiment of the application, after the video acquisition request which is sent by the client and contains the warehouse identifier is received, the current network data and the preset network data of the warehouse indicated by the target warehouse identifier are inquired, whether the current network of the target warehouse supports video transmission or not is determined based on the comparison of the current network data and the preset network data, the video acquisition request is sent to the corresponding video server in response to the determination that the current network of the target warehouse supports video transmission, and finally the video returned by the video server is sent to the client, so that the video transmission and access of the warehouse can be dynamically controlled based on the current network condition of the warehouse, the video flow is ensured not to influence the normal service, and the flexibility of data interaction is improved.
With further reference to fig. 4, a flow 400 of yet another embodiment of a method of information transmission is shown. The flow 400 of the information transmission method includes the following steps:
In step 401, in response to receiving a video acquisition request sent by a client and containing a warehouse identifier, the warehouse indicated by the warehouse identifier is used as a target warehouse, and the current network data and the preset network data of the target warehouse are queried.
In this embodiment, the electronic device (for example, the monitoring server 105 shown in fig. 1) on which the information transmission method is executed may query, in response to receiving a video acquisition request including a repository identifier sent by a client (for example, the terminal devices 101, 102, 103 shown in fig. 1), the current network data and the preset network data of the target repository by using the repository indicated by the repository identifier as the target repository.
It should be noted that, the current network data may include a current network delay rate and a current packet loss rate, and the preset network data may include a preset network delay rate and a preset packet loss rate. Here, the current network delay rate may be a ratio of a network delay duration in a period from a certain time to a current time to a total duration of the period. The current packet loss rate may be a ratio of the number of lost packets to the transmitted data set in the period. The preset network delay rate and the preset packet loss rate may be preset values by a technician based on a large amount of data statistics.
It should be noted that, the current network data may further include a current bandwidth usage percentage and a current concurrency request number, and the preset network data may further include a preset correspondence table between bandwidth usage percentages and concurrency request thresholds. Here, the current bandwidth usage percentage may be a ratio of a current bandwidth of the network of the target repository to a total bandwidth of the network of the target repository. The current number of concurrent requests may be a total number of video acquisition requests that are received by the electronic device and that contain a repository identification of the target repository and that are not returned to the client video data. In practice, the current concurrency request number may be increased by 1 when the electronic device receives a video acquisition request containing the warehouse identifier of the target warehouse once, and the current concurrency request number may be decreased by 1 when the electronic device returns a video indicated by the video acquisition request containing the warehouse identifier of the target warehouse to the client.
In step 402, in response to determining that the current network delay rate is greater than the preset network delay rate or the current packet loss rate is greater than the preset packet loss rate, it is determined that the current network of the target warehouse does not support video transmission.
In this embodiment, the electronic device may determine whether the current network delay rate is greater than the preset network delay rate, and determine whether the current packet loss rate is greater than the preset packet loss rate. In response to determining that the current network delay rate is greater than the preset network delay rate or the current packet loss rate is greater than the preset packet loss rate, it may be determined that the current network of the target repository does not support video transmission, after which step 405 may be performed. Step 403 may be performed in response to determining that the current network delay rate is not greater than the preset network delay rate and the current packet loss rate is not greater than the preset packet loss rate.
Step 403, in response to determining that the current network delay rate is not greater than the preset network delay rate and the current packet loss rate is not greater than the preset packet loss rate, determining a concurrency request threshold corresponding to the current bandwidth usage percentage from the correspondence table.
In this embodiment, in response to determining that the current network delay rate is not greater than the preset network delay rate and the current packet loss rate is not greater than the preset packet loss rate, the electronic device may determine a concurrency request threshold corresponding to the current bandwidth usage percentage from the correspondence table.
In response to determining that the current number of concurrent requests is greater than the determined concurrent request threshold, it is determined that the current network of the target repository does not support video transmission, step 404.
In this embodiment, the electronic device may compare the current number of concurrent requests with the determined concurrent request threshold. In response to determining that the current number of concurrent requests is greater than the determined concurrent request threshold, the electronic device may determine that the current network of the target repository does not support video transmission and perform step 405. In response to determining that the current number of concurrent requests is not greater than the determined concurrent request threshold, the electronic device may perform step 406.
In response to determining that the current network of the target repository does not support video transmission, a hint message is sent to the client that characterizes the current network congestion, step 405.
In this embodiment, in response to determining that the current network of the target warehouse does not support video transmission, the electronic device may send a prompt message for characterizing current network congestion to the client.
In response to determining that the current number of concurrent requests is not greater than the determined concurrent request threshold, a determination is made that the current network of the target repository supports video transmission, step 406.
In this embodiment, the electronic device may determine that the current network of the target repository supports video transmission in response to determining that the current number of concurrent requests is not greater than the determined concurrent request threshold.
In step 407, in response to determining that the current network of the target repository supports video transmission, a video acquisition request is sent to a video server located at the target repository.
In this embodiment, in response to determining that the current network of the target warehouse supports video transmission, the electronic device may send the video acquisition request to a video server located in the target warehouse through a wired connection manner or a wireless connection manner.
Step 408, the video returned by the video server located in the target warehouse is sent to the client.
In this embodiment, after the electronic device sends the video acquisition request to the video server located in the target repository, the electronic device may receive a video returned by the video server and send the video to the client.
As can be seen from fig. 4, compared with the embodiment corresponding to fig. 2, the flow 400 of the information transmission method in this embodiment highlights the step of determining whether the current network of the target warehouse supports video transmission based on the comparison of the current network data and the preset network data. Therefore, the scheme described in the embodiment can introduce that the current network data is compared with more data in the preset network data, so that whether the current network supports video transmission or not is more comprehensively determined, and the flexibility of data interaction is further improved.
With further reference to fig. 5, as an implementation of the method shown in the above figures, the present application provides an embodiment of an information transmission device, which corresponds to the embodiment of the method shown in fig. 2, and which is particularly applicable to a monitoring server. The monitoring server is respectively in communication connection with the client and the video server of each warehouse in the plurality of warehouses.
As shown in fig. 5, the information transmission apparatus 500 according to this embodiment includes a query unit 501 configured to query, in response to receiving a video acquisition request including a warehouse identifier sent by the client, a current network data and preset network data of the target warehouse with the warehouse indicated by the warehouse identifier as a target warehouse, a determination unit 502 configured to determine whether the current network of the target warehouse supports video transmission based on a comparison of the current network data and the preset network data, a first transmission unit 503 configured to transmit the video acquisition request to a video server located in the target warehouse in response to determining that the current network of the target warehouse supports video transmission, and a second transmission unit 504 configured to transmit a video returned by the video server located in the target warehouse to the client.
In this embodiment, in response to receiving a video acquisition request including a repository identifier sent by a client, the querying unit 501 may query, with a repository indicated by the repository identifier as a target repository, current network data and preset network data of the target repository.
In this embodiment, the determining unit 502 may determine whether the current network of the target warehouse supports video transmission based on a comparison between the current network data and preset network data. Specifically, it may be determined whether the current network of the target repository supports transmission based on a comparison of one or more data included in the current network data with corresponding one or more data in the preset network data.
In this embodiment, in response to determining that the current network of the target warehouse supports video transmission, the first sending unit 503 may send the video acquisition request to the video server located in the target warehouse through a wired connection manner or a wireless connection manner.
In this embodiment, the second sending unit 504 may receive the video returned by the video server and send the video to the client.
In some optional implementations of this embodiment, the current network data may include a current network delay rate and a current packet loss rate, and the preset network data may include a preset network delay rate and a preset packet loss rate. The determining unit 502 may be further configured to determine that the current network of the target warehouse does not support video transmission in response to determining that the current network delay rate is greater than the preset network delay rate or the current packet loss rate is greater than the preset packet loss rate.
In some optional implementations of this embodiment, the current network data may further include a current bandwidth usage percentage and a current concurrency request number, and the preset network data may further include a preset table of correspondence between bandwidth usage percentages and concurrency request thresholds. The determining unit 502 may be further configured to determine, from the correspondence table, a concurrency request threshold corresponding to the current bandwidth usage percentage in response to determining that the current network delay rate is not greater than the preset network delay rate and the current packet loss rate is not greater than the preset packet loss rate, and determine that the current network of the target warehouse does not support video transmission in response to determining that the current concurrency request number is greater than the determined concurrency request threshold.
In some optional implementations of this embodiment, the determining unit 502 may be further configured to determine that the current network of the target repository supports video transmission in response to determining that the current number of concurrent requests is not greater than the determined concurrent request threshold.
In some optional implementations of the present embodiment, the information transmission apparatus 500 may further include a third transmitting unit (not shown in the drawings). The third sending unit may be configured to send, in response to determining that the current network of the target repository does not support video transmission, prompt information for characterizing current network congestion to the client.
According to the device provided by the embodiment of the application, after receiving the video acquisition request including the warehouse identifier sent by the client through the query unit 501, the warehouse indicated by the warehouse identifier is used as a target warehouse, the current network data and the preset network data of the warehouse indicated by the target warehouse identifier are queried, then the determination unit 502 determines whether the current network of the target warehouse supports video transmission or not based on the comparison between the current network data and the preset network data, then the first sending unit 503 responds to the determination that the current network of the target warehouse supports video transmission, sends the video acquisition request to the video server, and finally the second sending unit 504 sends the video returned by the video server to the client, so that the video transmission and access of the warehouse can be dynamically controlled based on the current network condition of the warehouse, the video flow is ensured not to influence the normal business, and the flexibility of data interaction is improved.
With further reference to fig. 6, a schematic 600 of an interaction procedure between devices in an information transfer system according to the present application is shown.
The information transmission system comprises a client, a monitoring server and a video server positioned in each warehouse of a plurality of warehouses. And the monitoring server is used for responding to the video acquisition request which is sent by the client and contains the warehouse identifier, taking the warehouse indicated by the warehouse identifier as a target warehouse, inquiring the current network data and the preset network data of the target warehouse, determining whether the current network of the target warehouse supports video transmission or not based on the comparison of the current network data and the preset network data, if so, sending the video acquisition request to the video server positioned in the target warehouse, and sending the video returned by the video server positioned in the target warehouse to the client.
As shown in fig. 6, in the information transmission system, the interaction process 600 between the devices may include the following steps:
in step 601, the client sends a video acquisition request containing a repository identification to the monitoring server.
In this embodiment, the client may send a video acquisition request including the repository identifier to the monitoring server through a wired connection or a wireless connection.
In step 602, the monitoring server uses the warehouse indicated by the warehouse identifier as a target warehouse, and queries the current network data and preset network data of the target warehouse.
In this embodiment, the monitoring server may query the current network data and the preset network data of the target repository with the repository indicated by the repository identifier as the target repository.
In some optional implementations of this embodiment, the information transmission system may further include a network probe server and a warehouse terminal of each of the plurality of warehouses. The network probe server may periodically send network probe requests to the warehouse terminals of the respective warehouses to obtain network data (e.g., network delay rate, packet loss rate, bandwidth occupancy percentage, etc.) of the respective warehouses. For each of the plurality of warehouses, the warehouse terminal of the warehouse may determine whether the received network probe request is a target probe request, where the target probe request may be a PING (PACKET INTERNET Groper, internet packet explorer) command (e.g., PING 172.19.23.22), or may be other commands that are pre-specified by a technician. In response to determining that the network probe request received by the warehouse terminal of the warehouse is the target probe request, the warehouse terminal of the warehouse may execute a command indicated by the received target probe request and return an execution result to the network probe server. In response to determining that the network probe request received by the warehouse terminal of the warehouse is not the target probe request, the warehouse terminal of the warehouse may send a data query request to a router or switch installed in the warehouse and send data (e.g., network bandwidth, network delay rate, packet loss rate, etc.) returned by the router or switch to the network probe server. The network detection server can store the execution result and data returned by each warehouse terminal into a cache.
In step 603, the monitoring server determines whether the current network of the target warehouse supports video transmission based on the comparison between the current network data and the preset network data.
In this embodiment, the monitoring server may determine whether the current network of the target repository supports video transmission based on a comparison of the current network data and the preset network data. Specifically, the monitoring server may determine whether the current network of the target repository supports transmission based on a comparison of one or more data included in the current network data with corresponding one or more data in the preset network data.
In some optional implementations of this embodiment, the current network data may include a current network delay rate and a current packet loss rate, and the preset network data may include a preset network delay rate and a preset packet loss rate. The monitoring server may determine that the current network of the target repository does not support video transmission in response to determining that the current network delay rate is greater than the preset network delay rate or that the current packet loss rate is greater than the preset packet loss rate.
In some optional implementations of this embodiment, the current network data may further include a current bandwidth usage percentage and a current concurrency request number, and the preset network data may further include a preset table of correspondence between bandwidth usage percentages and concurrency request thresholds. The monitoring server may determine a concurrency request threshold corresponding to the current bandwidth usage percentage from the correspondence table in response to determining that the current network delay rate is not greater than the preset network delay rate and the current packet loss rate is not greater than the preset packet loss rate, and may determine that the current network of the target repository does not support video transmission in response to determining that the current concurrency request number is greater than the determined concurrency request threshold.
In some optional implementations of this embodiment, the monitoring server may determine that the current network of the target repository supports video transmission in response to determining that the current number of concurrent requests is not greater than the determined concurrent request threshold.
In some optional implementations of this embodiment, the monitoring server may send, in response to determining that the current network of the target repository does not support video transmission, a hint information to characterize the current network congestion to the client.
In step 604, the monitoring server sends the video acquisition request to a video server located in the target warehouse in response to determining that the current network of the target warehouse supports video transmission.
In this embodiment, in response to determining that the current network of the target warehouse supports video transmission, the monitoring server may send the video acquisition request to a video server located in the target warehouse through a wired connection or a wireless connection.
Step 605, the video server located in the target warehouse returns the video indicated by the video acquisition request to the monitoring server.
In this embodiment, the video server located in the target warehouse may return the video indicated by the video acquisition request to the monitoring server through a wired connection or a wireless connection.
In step 606, the monitoring server sends the video to the client.
In this embodiment, the monitoring server may send the video to the client.
It should be noted that the specific operations of the steps 601 to 606 are substantially the same as those of the steps 201 to 204, and are not described herein.
According to the information transmission system provided by the embodiment of the application, after receiving the video acquisition request which is sent by the client and contains the warehouse identifier, the monitoring server inquires the current network data and the preset network data of the warehouse indicated by the target warehouse identifier, then determines whether the current network of the target warehouse supports video transmission or not based on the comparison of the current network data and the preset network data, then responds to the determination that the current network of the target warehouse supports video transmission, sends the video acquisition request to the video server, and finally sends the video returned by the video server to the client, so that the video transmission and access of the warehouse can be dynamically controlled based on the current network condition of the warehouse, the normal service is not influenced by the video flow, and the flexibility of data interaction is improved.
Referring now to FIG. 7, there is illustrated a schematic diagram of a computer system 700 suitable for use with a server embodying embodiments of the present application. The server illustrated in fig. 7 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present application.
As shown in fig. 7, the computer system 700 includes a Central Processing Unit (CPU) 701, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the system 700 are also stored. The CPU 701, ROM 702, and RAM 703 are connected to each other through a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Connected to the I/O interface 705 are an input section 706 including a keyboard, a mouse, and the like, an output section 707 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like, a storage section 708 including a hard disk, and the like, and a communication section 709 including a network interface card such as a LAN card, a modem, and the like. The communication section 709 performs communication processing via a network such as the internet. The drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read therefrom is mounted into the storage section 708 as necessary.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 709, and/or installed from the removable medium 711. The above-described functions defined in the method of the present application are performed when the computer program is executed by a Central Processing Unit (CPU) 701. The computer readable medium according to the present application may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of a computer-readable storage medium may include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present application, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present application may be implemented in software or in hardware. The described units may also be provided in a processor, for example as a processor comprising a query unit, a determination unit, a first transmission unit and a second transmission unit. Where the names of these units do not constitute a limitation on the unit itself in some cases, for example, a querying unit may also be described as "a unit querying the current network data and preset network data of the target repository".
As a further aspect, the present application also provides a computer readable medium, which may be comprised in the apparatus described in the above embodiments, or may be present alone, without being assembled into the apparatus. The computer readable medium carries one or more programs that, when executed by the apparatus, cause the apparatus to, in response to receiving a video acquisition request sent by a client and containing a repository identification, query a current network data and preset network data of the target repository with the repository indicated by the repository identification as a target repository, determine whether a current network of the target repository supports video transmission based on a comparison of the current network data and the preset network data, send the video acquisition request to a video server located in the target repository in response to determining that the current network of the target repository supports video transmission, and send a video returned by the video server located in the target repository to the client.
The above description is only illustrative of the preferred embodiments of the present application and of the principles of the technology employed. It will be appreciated by persons skilled in the art that the scope of the application referred to in the present application is not limited to the specific combinations of the technical features described above, but also covers other technical features formed by any combination of the technical features described above or their equivalents without departing from the inventive concept described above. Such as the above-mentioned features and the technical features disclosed in the present application (but not limited to) having similar functions are replaced with each other.

Claims (18)

1.一种用于监控服务器的信息传输方法,其特征在于,所述监控服务器分别与客户端和位于多个仓库中的各个仓库的视频服务器通信连接,所述方法包括:1. A method for information transmission in a monitoring server, characterized in that the monitoring server is communicatively connected to a client and video servers located in multiple warehouses, the method comprising: 响应于接收到所述客户端发送的、包含仓库标识的视频获取请求,将上述仓库标识所指示的仓库作为目标仓库,查询所述目标仓库的当前网络数据和预置网络数据,所述目标仓库的当前网络数据基于网络探测服务器从各个仓库的仓库终端获取的网络数据得到;基于所述当前网络数据与所述预置网络数据的比较,确定所述目标仓库当前的网络是否支持视频传输,所述当前网络数据是用于表征所述目标仓库当前的网络情况的数据值,所述预置网络数据包含所述目标仓库的网络配置信息和预先设置的阈值;In response to receiving a video acquisition request containing a warehouse identifier from the client, the warehouse indicated by the warehouse identifier is designated as the target warehouse. The current network data and preset network data of the target warehouse are queried. The current network data of the target warehouse is obtained based on network data obtained by the network detection server from the warehouse terminals of each warehouse. Based on the comparison between the current network data and the preset network data, it is determined whether the current network of the target warehouse supports video transmission. The current network data is a data value used to characterize the current network status of the target warehouse, and the preset network data includes the network configuration information of the target warehouse and a pre-set threshold. 响应于确定所述目标仓库当前的网络支持视频传输,向位于所述目标仓库的视频服务器发送所述视频获取请求;In response to determining that the target warehouse's current network supports video transmission, the video acquisition request is sent to the video server located in the target warehouse; 将位于所述目标仓库的视频服务器所返回的视频发送至所述客户端。The video returned by the video server located in the target warehouse is sent to the client. 2.根据权利要求1所述的信息传输方法,其特征在于,所述当前网络数据包括当前网络延迟率和当前丢包率,所述预置网络数据包括预置网络延迟率和预置丢包率;以及2. The information transmission method according to claim 1, wherein the current network data includes the current network latency rate and the current packet loss rate, and the preset network data includes the preset network latency rate and the preset packet loss rate; and 所述基于所述当前网络数据与所述预置网络数据的比较,确定所述目标仓库当前的网络是否支持视频传输,包括:The step of determining whether the target warehouse's current network supports video transmission based on a comparison between the current network data and the preset network data includes: 响应于确定所述当前网络延迟率大于所述预置网络延迟率或所述当前丢包率大于所述预置丢包率,确定所述目标仓库当前的网络不支持视频传输。In response to determining that the current network latency rate is greater than the preset network latency rate or the current packet loss rate is greater than the preset packet loss rate, it is determined that the current network of the target warehouse does not support video transmission. 3.根据权利要求2所述的信息传输方法,其特征在于,所述当前网络数据还包括当前带宽使用百分比和当前并发请求数,所述预置网络数据还包括预置的、带宽使用百分比与并发请求阈值的对应关系表;以及3. The information transmission method according to claim 2, characterized in that the current network data further includes the current bandwidth usage percentage and the current number of concurrent requests, and the preset network data further includes a preset correspondence table between bandwidth usage percentage and concurrent request thresholds; and 所述基于所述当前网络数据与所述预置网络数据的比较,确定所述目标仓库当前的网络是否支持视频传输,还包括:The step of determining whether the target warehouse's current network supports video transmission based on a comparison between the current network data and the preset network data further includes: 响应于确定所述当前网络延迟率不大于所述预置网络延迟率且所述当前丢包率不大于所述预置丢包率,从所述对应关系表中确定与所述当前带宽使用百分比对应的并发请求阈值;In response to determining that the current network latency rate is not greater than the preset network latency rate and the current packet loss rate is not greater than the preset packet loss rate, a concurrent request threshold corresponding to the current bandwidth usage percentage is determined from the corresponding relationship table; 响应于确定所述当前并发请求数大于所确定的并发请求阈值,确定所述目标仓库当前的网络不支持视频传输。In response to determining that the current number of concurrent requests is greater than a determined concurrent request threshold, it is determined that the target warehouse's current network does not support video transmission. 4.根据权利要求3所述的信息传输方法,其特征在于,所述基于所述当前网络数据与所述预置网络数据的比较,确定所述目标仓库当前的网络是否支持视频传输,还包括:4. The information transmission method according to claim 3, characterized in that, determining whether the current network of the target warehouse supports video transmission based on the comparison between the current network data and the preset network data further includes: 响应于确定所述当前并发请求数不大于所确定的并发请求阈值,确定所述目标仓库当前的网络支持视频传输。In response to determining that the current number of concurrent requests is not greater than a determined concurrent request threshold, it is determined that the target warehouse currently supports video transmission via the network. 5.根据权利要求1-4之一所述的信息传输方法,其特征在于,所述方法还包括:5. The information transmission method according to any one of claims 1-4, characterized in that the method further comprises: 响应于确定所述目标仓库当前的网络不支持视频传输,将用于表征当前网络拥堵的提示信息发送至所述客户端。In response to determining that the target warehouse's current network does not support video transmission, a prompt message indicating current network congestion is sent to the client. 6.一种用于监控服务器的信息传输装置,其特征在于,所述监控服务器分别与客户端和位于多个仓库中的各个仓库的视频服务器通信连接,所述装置包括:6. An information transmission device for a monitoring server, characterized in that the monitoring server is communicatively connected to a client and video servers located in multiple warehouses, the device comprising: 查询单元,配置用于响应于接收到所述客户端发送的、包含仓库标识的视频获取请求,将上述仓库标识所指示的仓库作为目标仓库,查询所述目标仓库的当前网络数据和预置网络数据,所述目标仓库的当前网络数据基于网络探测服务器从各个仓库的仓库终端获取的网络数据得到;确定单元,配置用于基于所述当前网络数据与所述预置网络数据的比较,确定所述目标仓库当前的网络是否支持视频传输,所述当前网络数据是用于表征所述目标仓库当前的网络情况的数据值,所述预置网络数据包含所述目标仓库的网络配置信息和预先设置的阈值;The query unit is configured to, in response to receiving a video acquisition request containing a warehouse identifier sent by the client, select the warehouse indicated by the warehouse identifier as the target warehouse and query the current network data and preset network data of the target warehouse. The current network data of the target warehouse is obtained based on network data obtained by the network detection server from the warehouse terminals of each warehouse. The determination unit is configured to, based on the comparison between the current network data and the preset network data, determine whether the current network of the target warehouse supports video transmission. The current network data is a data value used to characterize the current network status of the target warehouse, and the preset network data includes the network configuration information of the target warehouse and a pre-set threshold. 第一发送单元,配置用于响应于确定所述目标仓库当前的网络支持视频传输,向位于所述目标仓库的视频服务器发送所述视频获取请求;The first sending unit is configured to send the video acquisition request to a video server located in the target warehouse in response to determining that the current network of the target warehouse supports video transmission. 第二发送单元,配置用于将位于所述目标仓库的视频服务器所返回的视频发送至所述客户端。The second sending unit is configured to send the video returned by the video server located in the target warehouse to the client. 7.根据权利要求6所述的信息传输装置,其特征在于,所述当前网络数据包括当前网络延迟率和当前丢包率,所述预置网络数据包括预置网络延迟率和预置丢包率;以及7. The information transmission device according to claim 6, wherein the current network data includes the current network latency rate and the current packet loss rate, and the preset network data includes the preset network latency rate and the preset packet loss rate; and 所述确定单元进一步配置用于:The determining unit is further configured to: 响应于确定所述当前网络延迟率大于所述预置网络延迟率或所述当前丢包率大于所述预置丢包率,确定所述目标仓库当前的网络不支持视频传输。In response to determining that the current network latency rate is greater than the preset network latency rate or the current packet loss rate is greater than the preset packet loss rate, it is determined that the current network of the target warehouse does not support video transmission. 8.根据权利要求7所述的信息传输装置,其特征在于,所述当前网络数据还包括当前带宽使用百分比和当前并发请求数,所述预置网络数据还包括预置的、带宽使用百分比与并发请求阈值的对应关系表;以及8. The information transmission device according to claim 7, wherein the current network data further includes the current bandwidth usage percentage and the current number of concurrent requests, and the preset network data further includes a preset correspondence table between bandwidth usage percentage and concurrent request thresholds; and 所述确定单元进一步配置用于:The determining unit is further configured to: 响应于确定所述当前网络延迟率不大于所述预置网络延迟率且所述当前丢包率不大于所述预置丢包率,从所述对应关系表中确定与所述当前带宽使用百分比对应的并发请求阈值,响应于确定所述当前并发请求数大于所确定的并发请求阈值,确定所述目标仓库当前的网络不支持视频传输。In response to determining that the current network latency rate is not greater than the preset network latency rate and the current packet loss rate is not greater than the preset packet loss rate, a concurrent request threshold corresponding to the current bandwidth usage percentage is determined from the corresponding relationship table. In response to determining that the current number of concurrent requests is greater than the determined concurrent request threshold, it is determined that the current network of the target warehouse does not support video transmission. 9.根据权利要求8所述的信息传输装置,其特征在于,所述确定单元进一步配置用于:9. The information transmission device according to claim 8, wherein the determining unit is further configured to: 响应于确定所述当前并发请求数不大于所确定的并发请求阈值,确定所述目标仓库当前的网络支持视频传输。In response to determining that the current number of concurrent requests is not greater than a determined concurrent request threshold, it is determined that the target warehouse currently supports video transmission via the network. 10.根据权利要求6-9之一所述的信息传输装置,其特征在于,所述装置还包括:10. The information transmission device according to any one of claims 6-9, characterized in that the device further comprises: 第三发送单元,配置用于响应于确定所述目标仓库当前的网络不支持视频传输,将用于表征当前网络拥堵的提示信息发送至所述客户端。The third sending unit is configured to send a prompt message indicating current network congestion to the client in response to determining that the target warehouse's current network does not support video transmission. 11.一种信息传输系统,其特征在于,所述系统包括客户端、监控服务器和位于多个仓库中的各个仓库的视频服务器;11. An information transmission system, characterized in that the system includes a client, a monitoring server, and video servers located in various warehouses; 所述监控服务器,用于响应于接收到所述客户端发送的包含仓库标识的视频获取请求,将上述仓库标识所指示的仓库作为目标仓库,查询所述目标仓库的当前网络数据和预置网络数据,基于所述当前网络数据与所述预置网络数据的比较,确定所述目标仓库当前的网络是否支持视频传输,所述当前网络数据是用于表征所述目标仓库当前的网络情况的数据值,所述预置网络数据包含所述目标仓库的网络配置信息和预先设置的阈值;The monitoring server is configured to respond to a video acquisition request containing a warehouse identifier sent by the client, take the warehouse indicated by the warehouse identifier as the target warehouse, query the current network data and preset network data of the target warehouse, and determine whether the current network of the target warehouse supports video transmission based on the comparison between the current network data and the preset network data. The current network data is a data value used to characterize the current network status of the target warehouse, and the preset network data includes the network configuration information of the target warehouse and a preset threshold. 若是,向位于所述目标仓库的视频服务器发送所述视频获取请求,并将位于所述目标仓库的视频服务器所返回的视频发送至所述客户端。If so, send the video retrieval request to the video server located in the target warehouse, and send the video returned by the video server located in the target warehouse to the client. 12.根据权利要求11所述的信息传输系统,其特征在于,所述当前网络数据包括当前网络延迟率和当前丢包率,所述预置网络数据包括预置网络延迟率和预置丢包率;以及12. The information transmission system according to claim 11, wherein the current network data includes the current network latency rate and the current packet loss rate, and the preset network data includes the preset network latency rate and the preset packet loss rate; and 所述监控服务器,还用于响应于确定所述当前网络延迟率大于所述预置网络延迟率或所述当前丢包率大于所述预置丢包率,确定所述目标仓库当前的网络不支持视频传输。The monitoring server is also configured to determine, in response to determining that the current network latency rate is greater than the preset network latency rate or the current packet loss rate is greater than the preset packet loss rate, that the current network of the target warehouse does not support video transmission. 13.根据权利要求12所述的信息传输系统,其特征在于,所述当前网络数据还包括当前带宽使用百分比和当前并发请求数,所述预置网络数据还包括预置的、带宽使用百分比与并发请求阈值的对应关系表;以及13. The information transmission system according to claim 12, wherein the current network data further includes the current bandwidth usage percentage and the current number of concurrent requests, and the preset network data further includes a preset correspondence table between bandwidth usage percentage and concurrent request thresholds; and 所述监控服务器,还用于响应于确定所述当前网络延迟率不大于所述预置网络延迟率且所述当前丢包率不大于所述预置丢包率,从所述对应关系表中确定与所述当前带宽使用百分比对应的并发请求阈值,响应于确定所述当前并发请求数大于所确定的并发请求阈值,确定所述目标仓库当前的网络不支持视频传输。The monitoring server is further configured to, in response to determining that the current network latency rate is not greater than the preset network latency rate and the current packet loss rate is not greater than the preset packet loss rate, determine a concurrent request threshold corresponding to the current bandwidth usage percentage from the corresponding relationship table, and in response to determining that the current number of concurrent requests is greater than the determined concurrent request threshold, determine that the current network of the target warehouse does not support video transmission. 14.根据权利要求13所述的信息传输系统,其特征在于,所述监控服务器,还用于响应于确定所述当前并发请求数不大于所确定的并发请求阈值,确定所述目标仓库当前的网络支持视频传输。14. The information transmission system according to claim 13, wherein the monitoring server is further configured to determine, in response to determining that the current number of concurrent requests is not greater than a determined concurrent request threshold, that the target warehouse currently supports video transmission via the network. 15.根据权利要求11-14之一所述的信息传输系统,其特征在于,所述监控服务器,还用于响应于确定所述目标仓库当前的网络不支持视频传输,将用于表征当前网络拥堵的提示信息发送至所述客户端。15. The information transmission system according to any one of claims 11-14, wherein the monitoring server is further configured to send a prompt message indicating current network congestion to the client in response to determining that the current network of the target warehouse does not support video transmission. 16.根据权利要求11所述的信息传输系统,其特征在于,所述信息传输系统还包括网络探测服务器和所述多个仓库中的每一个仓库的仓库终端;16. The information transmission system according to claim 11, wherein the information transmission system further includes a network detection server and a warehouse terminal for each of the plurality of warehouses; 所述网络探测服务器,用于周期性地向各个仓库的仓库终端发送网络探测请求;The network detection server is used to periodically send network detection requests to the warehouse terminals of each warehouse. 每一个仓库的仓库终端,用于确定所接收到的网络探测请求是否为目标探测请求,若是,执行所接收到的目标探测请求所指示的命令,并向所述网络探测服务器返回执行结果,若否,向仓库所安装的路由器或交换机发送数据查询请求,并将所述路由器或所述交换机返回的数据发送至所述网络探测服务器;Each warehouse terminal is used to determine whether the received network probe request is a target probe request. If so, it executes the command indicated by the received target probe request and returns the execution result to the network probe server. If not, it sends a data query request to the router or switch installed in the warehouse and sends the data returned by the router or switch to the network probe server. 所述网络探测服务器,还用于将各个仓库终端返回的执行结果和数据存储至缓存。The network detection server is also used to store the execution results and data returned by each warehouse terminal to the cache. 17.一种服务器,包括:17. A server, comprising: 一个或多个处理器;One or more processors; 存储装置,用于存储一个或多个程序,Storage device for storing one or more programs. 当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-5中任一所述的方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-5. 18.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-5中任一所述的方法。18. A computer-readable storage medium having a computer program stored thereon, characterized in that the program, when executed by a processor, implements the method as described in any one of claims 1-5.
CN202310003921.2A 2017-10-18 2017-10-18 Information transmission method, device and system Active CN116112640B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310003921.2A CN116112640B (en) 2017-10-18 2017-10-18 Information transmission method, device and system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710970111.9A CN109688432B (en) 2017-10-18 2017-10-18 Information transmission method, device and system
CN202310003921.2A CN116112640B (en) 2017-10-18 2017-10-18 Information transmission method, device and system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201710970111.9A Division CN109688432B (en) 2017-10-18 2017-10-18 Information transmission method, device and system

Publications (2)

Publication Number Publication Date
CN116112640A CN116112640A (en) 2023-05-12
CN116112640B true CN116112640B (en) 2026-04-14

Family

ID=66183895

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201710970111.9A Active CN109688432B (en) 2017-10-18 2017-10-18 Information transmission method, device and system
CN202310003921.2A Active CN116112640B (en) 2017-10-18 2017-10-18 Information transmission method, device and system

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201710970111.9A Active CN109688432B (en) 2017-10-18 2017-10-18 Information transmission method, device and system

Country Status (1)

Country Link
CN (2) CN109688432B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112311826B (en) 2019-07-30 2022-05-03 贵州白山云科技股份有限公司 Method, device and system for processing access request in content distribution system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103458466A (en) * 2012-05-30 2013-12-18 株式会社日立制作所 Flow control device, flow control method, network flow management system, and network flow management method
CN106709774A (en) * 2015-11-12 2017-05-24 阿里巴巴集团控股有限公司 Method and apparatus for processing commodity object transaction information

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4428934B2 (en) * 2003-03-24 2010-03-10 富士通株式会社 Video selection server, video distribution system, and video selection method
US8872940B2 (en) * 2008-03-03 2014-10-28 Videoiq, Inc. Content aware storage of video data
CN101409828A (en) * 2008-10-30 2009-04-15 中兴通讯股份有限公司 Method and system for transmitting video monitoring data, and video monitoring center server
US9042444B2 (en) * 2010-07-15 2015-05-26 Dejero Labs Inc. System and method for transmission of data signals over a wireless network
CN101741898A (en) * 2009-11-30 2010-06-16 广州市聚晖电子科技有限公司 Monitoring method in video-type safety-protection system
US8471890B1 (en) * 2009-12-30 2013-06-25 Insors Integrated Communications Adaptive video communication channel
CN102469079B (en) * 2010-11-08 2015-01-14 杭州华三通信技术有限公司 Method, system and device for transmitting live streams
CN201887888U (en) * 2010-11-19 2011-06-29 聂新宇 Network video monitor system
CN103595736B (en) * 2012-08-14 2019-02-15 杭州海康威视系统技术有限公司 Access request treating method and apparatus in video monitoring system
CN103944943A (en) * 2013-01-22 2014-07-23 中国移动通信集团公司 Data transmission method and device
CN103200621A (en) * 2013-03-14 2013-07-10 南京理工大学 Self-adaptation flow control method suitable for wireless projection system real-time data transmission
JP2015154232A (en) * 2014-02-14 2015-08-24 日本電信電話株式会社 VIDEO TRANSMISSION SYSTEM, VIDEO TRANSMISSION METHOD, ACCESS ROUTER, ACCESS CONTROL DEVICE, AND RATE CONVERTER
CN104065509B (en) * 2014-07-24 2017-07-11 大连理工大学 A kind of SDN multi-controller dispositions methods for reducing management load overhead
CN106304203B (en) * 2015-05-29 2020-02-21 腾讯科技(深圳)有限公司 Data transmission method and device
CN106571977B (en) * 2016-10-24 2020-07-03 腾讯科技(深圳)有限公司 Data transmission method and device
CN107071344A (en) * 2017-01-22 2017-08-18 深圳英飞拓科技股份有限公司 A kind of large-scale distributed monitor video data processing method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103458466A (en) * 2012-05-30 2013-12-18 株式会社日立制作所 Flow control device, flow control method, network flow management system, and network flow management method
CN106709774A (en) * 2015-11-12 2017-05-24 阿里巴巴集团控股有限公司 Method and apparatus for processing commodity object transaction information

Also Published As

Publication number Publication date
CN109688432A (en) 2019-04-26
CN116112640A (en) 2023-05-12
CN109688432B (en) 2022-12-27

Similar Documents

Publication Publication Date Title
US11588890B2 (en) System, method and apparatus having a redundant cluster for processing data
CN108696589B (en) Block chain data transmission method, device, equipment and storage medium
US9929930B2 (en) Reducing an amount of captured network traffic data to analyze
CN108696400A (en) Network monitoring method and device
US11677639B2 (en) Connection management between applications and service resources
KR102519007B1 (en) System and method for automatically managing traffic based on resource status
US20230063599A1 (en) Edge computing network, data transmission method and apparatus, device and storage medium
US20230161541A1 (en) Screen projection method and system
CN108280020B (en) Monitoring method and device of computer equipment, terminal and computer storage medium
CN109218041B (en) Request processing method and device for server system
US12519713B2 (en) Method, device, equipment and storage medium for redirecting edge nodes for clients
CN109428926B (en) A method and apparatus for scheduling task nodes
US20200274786A1 (en) Apparatus and method for managing message transmission delay
CN112784139B (en) Query method, device, electronic equipment and computer readable medium
CN108551404A (en) Method, apparatus, storage medium and the terminal device of client-side information analysis
CN110557341A (en) Method and device for data current limiting
CN116112640B (en) Information transmission method, device and system
US20170161108A1 (en) Load distribution process server, load distribution process method, and load distribution process system
CN112653736B (en) Parallel source returning method and device and electronic equipment
CN113778780B (en) Application stability determining method and device, electronic equipment and storage medium
CN112769960B (en) Active flow control method and system based on Nginx server
CN110493291A (en) A method and device for processing HTTP requests
CN113094131A (en) Prompt resource display method, device, terminal, server and storage medium
CN115174588B (en) Bandwidth control method, device, apparatus, storage medium and program product
US20190386928A1 (en) System and method for utilizing idle network resources

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