Information transmission method, device and system

By dynamically controlling warehouse video transmission through a monitoring server, the problem of warehouse video transmission affecting normal business operations on e-commerce platforms has been solved, enabling flexible data interaction and efficient utilization of network resources.

CN116112640BActive Publication Date: 2026-04-14BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
Filing Date
2017-10-18
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

In existing technologies, video transmission in e-commerce platform warehouses can disrupt normal business data interaction during promotional activities, and the lack of dynamic rate limiting control results in low flexibility in data interaction.

Method used

By monitoring the server to query the current network data and preset network data of the target warehouse, the system determines whether the current network of the warehouse supports video transmission based on the comparison. If it does, the system sends a request to the video server to send the video to the client, thereby achieving dynamic control of video traffic.

Benefits of technology

It improves the flexibility of data interaction, ensures that video traffic does not affect normal business operations, and enhances the utilization efficiency of network resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116112640B_ABST
    Figure CN116112640B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose information transmission methods, devices and systems. A specific embodiment of the method comprises: in response to receiving a video acquisition request sent by a client and containing a warehouse identifier, taking a warehouse indicated by the warehouse identifier as a target warehouse, querying current network data and preset network data of the target warehouse; determining whether a network of the target warehouse currently supports video transmission based on comparison between the current network data and the preset network data; in response to determining that the network of the target warehouse currently supports video transmission, sending the video acquisition request to a video server located in the target warehouse; and sending a video returned by the video server located in the target warehouse to the client. The embodiment improves flexibility of data interaction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, specifically to the field of Internet technology, and in particular to information transmission methods, apparatus and systems. Background Technology

[0002] With the development of internet technology, various types of e-commerce platforms have emerged. The warehouses involved in e-commerce platforms are typically located in multiple locations, and each warehouse needs to frequently interact with the data center via the network. Therefore, a stable network connection is essential to ensure normal business operations.

[0003] In e-commerce, business personnel can typically view production videos from various warehouses to monitor the overall order process. However, warehouse production videos consume significant network bandwidth, which can disrupt normal business data exchange during promotional activities. Therefore, dynamic control of warehouse video transmission and access is needed to limit the impact of video traffic on normal business operations. Existing technical solutions lack dynamic rate limiting control for video systems, resulting in limited flexibility in data exchange. Summary of the Invention

[0004] The purpose of this application is to provide an improved information transmission method, apparatus, and system to solve the technical problems mentioned in the background section above.

[0005] In a first aspect, embodiments of this application provide an information transmission method for a monitoring server, wherein the monitoring server is communicatively connected to a client and video servers located in multiple warehouses. The method includes: in response to receiving a video acquisition request sent by the 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 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; 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 the video returned by the video server located in the target warehouse to the client.

[0006] In some embodiments, 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 based on the comparison between the current network data and the preset network data, determining whether the current network of the target warehouse supports video transmission 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, determining that the current network of the target warehouse does not support video transmission.

[0007] In some embodiments, 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 threshold; and 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 a preset network latency rate and the current packet loss rate is not greater than a preset packet loss rate, determining the concurrent request threshold corresponding to the current bandwidth usage percentage from the correspondence table; and in response to determining that the current number of concurrent requests is greater than the determined concurrent request threshold, determining that the target warehouse's current network does not support video transmission.

[0008] In some embodiments, determining whether the target warehouse’s current network supports video transmission based on a comparison of current network data and preset network data further includes: determining that the target warehouse’s current network supports video transmission in response to determining that the current number of concurrent requests is not greater than a determined concurrent request threshold.

[0009] In some embodiments, the method further includes: in response to determining that the target warehouse’s current network does not support video transmission, sending a prompt message to the client to indicate current network congestion.

[0010] Secondly, embodiments of this application provide an information transmission device for a monitoring server. The monitoring server is communicatively connected to a client and video servers located in multiple warehouses. The device includes: a query unit configured to, in response to receiving a video acquisition request sent by the client containing a warehouse identifier, 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; a determination unit configured to, based on a comparison of the current network data and the preset network data, determine whether the current network of the target warehouse supports video transmission; a first sending unit configured to, in response to determining that the current network of the target warehouse supports video transmission, send a video acquisition request to the video server located in the target warehouse; and a second sending unit configured to send the video returned by the video server located in the target warehouse to the client.

[0011] In some embodiments, 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, determine that the current network of the target warehouse does not support video transmission.

[0012] In some embodiments, 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 threshold; 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, determine the concurrent request threshold corresponding to the current bandwidth usage percentage from the correspondence 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.

[0013] In some embodiments, the determining unit 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.

[0014] In some embodiments, the apparatus further includes a third sending unit configured to send a prompt message indicating current network congestion to a client in response to determining that the current network of the target warehouse does not support video transmission.

[0015] Thirdly, this application provides an information transmission system, which includes a client, a monitoring server, and video servers located in multiple warehouses. The monitoring server is configured to respond to a video acquisition request sent by the client containing a warehouse identifier, 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, 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, and if so, send a video acquisition 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.

[0016] In some embodiments, 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 further configured to determine, in response to determining that the current network of the target warehouse does not support video transmission, 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.

[0017] In some embodiments, 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 threshold; 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 the concurrent request threshold corresponding to the current bandwidth usage percentage from the correspondence 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.

[0018] In some embodiments, 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.

[0019] In some embodiments, the monitoring server is also 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.

[0020] In some embodiments, the information transmission system further includes a network detection server and a warehouse terminal for each of the multiple 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 detection request is a target detection request, and if so, execute the command indicated by the received target detection request and return the execution result to the network detection server; if not, send a data query request to the router or switch installed in the warehouse and send the data returned by the router or switch to the network detection server. The network detection server is also used to store the execution results and data returned by each warehouse terminal in a cache.

[0021] Fourthly, embodiments of this application provide a server, including: one or more processors; and a storage device for storing one or more programs, wherein 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 embodiment of the information transmission method.

[0022] Fifthly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the method as described in any embodiment of the information transmission method.

[0023] The information transmission method, apparatus, and system provided in this application embodiment, after receiving a video acquisition request containing a warehouse identifier from a client, a monitoring server queries the current network data and preset network data of the warehouse indicated by the target warehouse identifier. Then, based on the comparison between the current network data and the preset network data, it determines whether the current network of the target warehouse supports video transmission. Subsequently, in response to the determination that the current network of the target warehouse supports video transmission, a video acquisition request is sent to a video server. Finally, the video returned by the video server is sent to the client. Thus, video transmission and access to the warehouse can be dynamically controlled based on the current network status of the warehouse, so as to ensure that video traffic does not affect the normal business operation and improve the flexibility of data interaction. Attached Figure Description

[0024] Other features, objects, and advantages of this application will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings:

[0025] Figure 1 This is an exemplary system architecture diagram to which this application can be applied;

[0026] Figure 2 This is a flowchart of an embodiment of the information transmission method according to this application;

[0027] Figure 3 This is a schematic diagram of an application scenario of the information transmission method according to this application;

[0028] Figure 4 This is a flowchart of yet another embodiment of the information transmission method according to this application;

[0029] Figure 5 This is a schematic diagram of the structure of an embodiment of the information transmission device according to this application;

[0030] Figure 6 This is a schematic diagram of the interaction process between various devices in the information transmission system according to this application;

[0031] Figure 7 This is a schematic diagram of the structure of a computer system suitable for implementing the server embodiments of this application. Detailed Implementation

[0032] The present application will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, only the parts relevant to the invention are shown in the accompanying drawings.

[0033] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.

[0034] Figure 1 An exemplary system architecture 100 is shown that can be applied to the information transmission method or information transmission apparatus of this application.

[0035] like Figure 1As shown, the system architecture 100 may include terminal devices 101, 102, and 103, networks 104 and 106, a monitoring server 105, and video servers 107, 108, and 109. Network 104 serves as the medium for providing communication links between terminal devices 101, 102, and 103 and the monitoring server 105, while network 106 serves as the medium for providing communication links between the monitoring server 105 and the video servers 107, 108, and 109. Networks 104 and 106 may include various connection types, such as wired or wireless communication links or fiber optic cables, etc.

[0036] Users can use terminal devices 101, 102, and 103 to interact with server 105 via network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, and 103, such as video playback applications, instant messaging tools, e-commerce management applications, etc.

[0037] Terminal devices 101, 102, and 103 can be various electronic devices with displays and web browsing capabilities, including but not limited to smartphones, tablets, laptops, and desktop computers.

[0038] The monitoring server 105 can analyze and process data such as video acquisition requests sent by terminal devices 101, 102, and 103; it can also analyze the network status of the warehouse to determine whether the warehouse network supports video transmission; and it can also interact with video servers 107, 108, and 109 through network 106 to transmit data.

[0039] Video servers 107, 108, and 109 can be deployed in the warehouse's computer room. Video servers 107, 108, and 109 can acquire and store real-time production videos from the warehouse so that monitoring servers can access the videos.

[0040] It should be noted that the information transmission method provided in this application embodiment is generally executed by the monitoring server 105, and correspondingly, the information transmission device is generally set in the monitoring server 105.

[0041] It should be understood that Figure 1 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, monitoring servers, and video servers can be included.

[0042] Continue to refer to Figure 2The diagram illustrates a flow 200 of an embodiment of an information transmission method for a monitoring server according to this application. The monitoring server is communicatively connected to clients and video servers located in various warehouses across multiple warehouses. The information transmission method includes the following steps:

[0043] Step 201: In response to receiving a video acquisition request containing a warehouse identifier sent by the client, the warehouse indicated by the warehouse identifier is taken as the target warehouse, and the current network data and preset network data of the target warehouse are queried.

[0044] In this embodiment, the information transmission method operates with the electronic device on which it operates (e.g., Figure 1 The monitoring server 105 shown responds to receiving a client (e.g.) Figure 1 The video acquisition request sent by the terminal devices 101, 102, and 103 (shown) and containing a warehouse identifier can use the warehouse indicated by the warehouse identifier as the target warehouse to query the current network data and preset network data of the target warehouse. The warehouse identifier can be a string composed of various characters (e.g., numbers, letters, symbols, etc.) used to indicate and distinguish warehouses. It should be noted that the current network data can be various data used to characterize the current network status of the target warehouse. For example, the current network data may include current network bandwidth, uplink traffic, downlink traffic, network latency, etc. It should also be noted that the preset network data may include various network configuration information of the target warehouse (e.g., total bandwidth) and various thresholds preset by technicians (e.g., network bandwidth threshold, network latency threshold, packet loss rate threshold, etc.).

[0045] Step 202: 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.

[0046] In this embodiment, the electronic device can determine whether the target warehouse's current network supports video transmission based on a comparison between current network data and preset network data. Specifically, the electronic device can determine whether the target warehouse's current network supports transmission by comparing one or more data items contained in the current network data with one or more corresponding data items in the preset network data. As an example, in response to determining that the current network bandwidth contained in the current network data is less than the network bandwidth threshold contained in the preset network data, it can be determined that the warehouse's current network does not support video transmission; in response to determining that the current network bandwidth contained in the current network data is not less than the network bandwidth threshold contained in the preset network data, it can be determined that the warehouse's current network supports video transmission.

[0047] Step 203: In response to determining that the target warehouse's current network supports video transmission, a video acquisition request is sent to the video server located in the target warehouse.

[0048] In this embodiment, in response to determining that the target warehouse's current network supports video transmission, the aforementioned electronic device can send a video acquisition request to the video server located in the target warehouse via a wired or wireless connection. It should be noted that the aforementioned wireless connection methods may include, but are not limited to, 3G / 4G connections, WiFi connections, Bluetooth connections, WiMAX connections, Zigbee connections, UWB (ultra-wideband) connections, and other currently known or future-developed wireless connection methods.

[0049] Step 204: Send the video returned by the video server located in the target warehouse to the client.

[0050] In this embodiment, after the electronic device sends the video acquisition request to the video server located in the target warehouse, it can receive the video returned by the video server and send the video to the client.

[0051] See also Figure 3 , Figure 3 This is a schematic diagram illustrating an application scenario of the information transmission method according to this embodiment. Figure 3 In this application scenario, firstly, the user uses client 301 to send a video acquisition request 303 containing a warehouse identifier to monitoring server 302. Then, monitoring server 302 uses the warehouse indicated by the warehouse identifier as the 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 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, the user sends the video acquisition request 303 to the video server 304 located in the target warehouse. Afterwards, video server 304 returns video 305 to monitoring server 302. Finally, monitoring server 302 returns video 305 to client 301.

[0052] The method provided in the above embodiments of this application, after receiving a video acquisition request containing a warehouse identifier sent by the client, queries the current network data and preset network data of the warehouse indicated by the target warehouse identifier. Then, based on the comparison between the current network data and the preset network data, it determines whether the current network of the target warehouse supports video transmission. In response to the determination that the current network of the target warehouse supports video transmission, it sends the video acquisition request to the corresponding video server. Finally, it sends the video returned by the video server to the client. This allows for dynamic control of video transmission and access to the warehouse based on the current network status of the warehouse, ensuring that video traffic does not affect normal business operations and improving the flexibility of data interaction.

[0053] Further reference Figure 4 This illustrates a flow 400 of another embodiment of the information transmission method. Flow 400 of the information transmission method includes the following steps:

[0054] Step 401: In response to receiving a video acquisition request containing a warehouse identifier sent by the client, the warehouse indicated by the warehouse identifier is taken as the target warehouse, and the current network data and preset network data of the target warehouse are queried.

[0055] In this embodiment, the information transmission method operates with the electronic device on which it operates (e.g., Figure 1 The monitoring server 105 shown responds to receiving a client (e.g.) Figure 1 The video acquisition request sent by the terminal devices 101, 102, and 103 shown, which includes a warehouse identifier, can use 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.

[0056] It should be noted that the aforementioned current network data may include the current network latency rate and the current packet loss rate, and the aforementioned preset network data may include the preset network latency rate and the preset packet loss rate. Here, the aforementioned current network latency rate can be the ratio of the network latency duration from a certain time to the current time to the total duration of that time period. The aforementioned current packet loss rate can be the ratio of the number of lost data packets to the number of transmitted data packets during that time period. The aforementioned preset network latency rate and preset packet loss rate can be values ​​preset by technicians based on extensive data statistics.

[0057] It should be noted that the current network data may also include the current bandwidth usage percentage and the current number of concurrent requests. The aforementioned preset network data may also include a preset table mapping bandwidth usage percentage to concurrent request thresholds. Here, the current bandwidth usage percentage may be the ratio of the current bandwidth of the target warehouse's network to the total bandwidth of the target warehouse's network. The current number of concurrent requests may be the total number of video retrieval requests containing the warehouse identifier of the target warehouse received by the electronic device but not returned to the client. In practice, the electronic device increments the current number of concurrent requests by 1 each time it receives a video retrieval request containing the warehouse identifier of the target warehouse; and decrements the current number of concurrent requests by 1 each time it returns the video indicated by the video retrieval request containing the warehouse identifier of the target warehouse to the client.

[0058] Step 402: 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, determine that the current network of the target warehouse does not support video transmission.

[0059] In this embodiment, the electronic device can determine whether the current network latency rate is greater than the preset network latency rate, and whether the current packet loss rate is greater than the preset packet loss rate. 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 can be determined that the target warehouse's current network does not support video transmission, and then step 405 can be executed. 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, step 403 can be executed.

[0060] Step 403: 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 the concurrent request threshold corresponding to the current bandwidth usage percentage from the corresponding relationship table.

[0061] In this embodiment, 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, the electronic device can determine the concurrent request threshold corresponding to the current bandwidth usage percentage from the corresponding relationship table.

[0062] Step 404: In response to determining that the current number of concurrent requests is greater than the determined concurrent request threshold, determine that the target warehouse's current network does not support video transmission.

[0063] In this embodiment, the electronic device can compare the current number of concurrent requests with a 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 can determine that the target warehouse's current network does not support video transmission and execute 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 can execute step 406.

[0064] Step 405: 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.

[0065] In this embodiment, in response to determining that the target warehouse's current network does not support video transmission, the aforementioned electronic device can send a prompt message indicating current network congestion to the client.

[0066] Step 406: In response to determining that the current number of concurrent requests is not greater than the determined concurrent request threshold, determine that the target warehouse's current network supports video transmission.

[0067] In this embodiment, the electronic device can determine that the target warehouse's current network supports video transmission in response to determining that the current number of concurrent requests is not greater than the determined concurrent request threshold.

[0068] Step 407: In response to determining that the target warehouse's current network supports video transmission, a video acquisition request is sent to the video server located in the target warehouse.

[0069] In this embodiment, in response to determining that the target warehouse's current network supports video transmission, the aforementioned electronic device can send the aforementioned video acquisition request to the video server located in the target warehouse via a wired connection or a wireless connection.

[0070] Step 408: Send the video returned by the video server located in the target warehouse to the client.

[0071] In this embodiment, after the electronic device sends the video acquisition request to the video server located in the target warehouse, it can receive the video returned by the video server and send the video to the client.

[0072] from Figure 4 It can be seen from this that, with Figure 2Compared to the corresponding embodiments, the information transmission method in this embodiment emphasizes the step of determining whether the target warehouse's current network supports video transmission based on a comparison between current network data and preset network data. Therefore, the solution described in this embodiment can introduce more data for comparison between the current network data and the preset network data, thereby more comprehensively determining whether the current network supports video transmission and further improving the flexibility of data interaction.

[0073] Further reference Figure 5 As an implementation of the methods shown in the above figures, this application provides an embodiment of an information transmission device, which is similar to... Figure 2 Corresponding to the illustrated method embodiment, this device can be specifically applied to a monitoring server. The monitoring server communicates with both the client and video servers located in various warehouses.

[0074] like Figure 5 As shown, the information transmission device 500 described in this embodiment includes: a query unit 501, configured to, in response to receiving a video acquisition request containing a warehouse identifier sent by the client, query the current network data and preset network data of the target warehouse, taking the warehouse indicated by the warehouse identifier as the target warehouse; a determination unit 502, configured to, based on a comparison between the current network data and the preset network data, determine whether the current network of the target warehouse supports video transmission; a first sending unit 503, configured to, in response to determining that the current network of the target warehouse supports video transmission, send the video acquisition request to a video server located in the target warehouse; and a second sending unit 504, configured to send the video returned by the video server located in the target warehouse to the client.

[0075] In this embodiment, in response to receiving a video acquisition request containing a warehouse identifier sent by the client, the query unit 501 can use 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.

[0076] In this embodiment, the determining unit 502 can determine whether the target warehouse's current network supports video transmission based on a comparison between the current network data and preset network data. Specifically, it can determine whether the target warehouse's current network supports transmission based on a comparison between one or more data items contained in the current network data and one or more corresponding data items in the preset network data.

[0077] In this embodiment, in response to determining that the target warehouse's current network supports video transmission, the first sending unit 503 can send the video acquisition request to the video server located in the target warehouse via a wired connection or a wireless connection.

[0078] In this embodiment, the second sending unit 504 can receive the video returned by the video server and send the video to the client.

[0079] In some optional implementations of this embodiment, the current network data may include the current network latency rate and the current packet loss rate, and the preset network data may include the preset network latency rate and the preset packet loss rate. The determining unit 502 may be further configured to determine, in response to determining that the current network of the target warehouse does not support video transmission, either by 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.

[0080] In some optional implementations of this embodiment, the current network data may further include the current bandwidth usage percentage and the current number of concurrent requests, and the preset network data may further include a preset correspondence table between bandwidth usage percentage and concurrent request threshold. The determining unit 502 may be 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 the concurrent request threshold corresponding to the current bandwidth usage percentage from the correspondence 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.

[0081] In some optional implementations of this embodiment, the determining unit 502 may be further configured to determine the target warehouse’s current network support for video transmission in response to determining that the current number of concurrent requests is not greater than a determined concurrent request threshold.

[0082] In some optional implementations of this embodiment, the information transmission device 500 may further include a third sending unit (not shown in the figure). This third sending unit may be 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.

[0083] The apparatus provided in the above embodiments of this application, after receiving a video acquisition request containing a warehouse identifier sent by the client, the query unit 501 takes the warehouse indicated by the warehouse identifier as the target warehouse, queries the current network data and preset network data of the warehouse indicated by the target warehouse identifier, and then the determination unit 502 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. Then, the first sending unit 503, in response 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. In this way, the video transmission and access of the warehouse can be dynamically controlled based on the current network status of the warehouse, so as to ensure that the video traffic does not affect the normal business operation and improve the flexibility of data interaction.

[0084] Further reference Figure 6 It illustrates a schematic diagram 600 of the interaction process between devices in an information transmission system according to this application.

[0085] The aforementioned information transmission system includes a client, a monitoring server, and video servers located in various warehouses. The monitoring server, in response to receiving a video acquisition request containing a warehouse identifier from the client, identifies the warehouse indicated by the warehouse identifier as the target warehouse, queries the current network data and preset network data of the target warehouse, determines 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, and if so, sends the video acquisition request to the video server located in the target warehouse and sends the video returned by the video server in the target warehouse to the client.

[0086] like Figure 6 As shown, in the information transmission system, the interaction process 600 between devices may include the following steps:

[0087] Step 601: The client sends a video retrieval request containing the warehouse identifier to the monitoring server.

[0088] In this embodiment, the client can send a video acquisition request containing a warehouse identifier to the monitoring server via a wired or wireless connection.

[0089] Step 602: The monitoring server uses the warehouse indicated by the warehouse identifier as the target warehouse and queries the current network data and preset network data of the target warehouse.

[0090] In this embodiment, the monitoring server can use 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.

[0091] In some optional implementations of this embodiment, the information transmission system may further include a network probing server and a warehouse terminal for each of the plurality of warehouses. The network probing server may periodically send network probing requests to the warehouse terminals of each warehouse to obtain network data (e.g., network latency, packet loss rate, bandwidth usage percentage, etc.) for each warehouse. For each of the plurality of warehouses, the warehouse terminal may determine whether the received network probing request is a target probing request. The target probing request may be a PING (Packet Internet Groper) command (e.g., PING 172.19.23.22) or other commands pre-specified by a technician. In response to determining that the network probing request received by the warehouse terminal is a target probing request, the warehouse terminal may execute the command indicated by the received target probing request and return the execution result to the network probing server. In response to determining that the network probe request received by a warehouse terminal is not the target probe request mentioned above, the warehouse terminal can send a data query request to the router or switch installed in the warehouse, and send the data returned by the router or switch (such as network bandwidth, network latency, packet loss rate, etc.) to the network probe server. The network probe server can cache the execution results and data returned by each warehouse terminal.

[0092] Step 603: The monitoring server determines whether the target warehouse's current network supports video transmission based on a comparison between the current network data and the aforementioned preset network data.

[0093] In this embodiment, the monitoring server can determine whether the target warehouse's current network supports video transmission by comparing the current network data with preset network data. Specifically, the monitoring server can determine whether the target warehouse's current network supports transmission by comparing one or more data items contained in the current network data with one or more corresponding data items in the preset network data.

[0094] In some optional implementations of this embodiment, the aforementioned current network data may include the current network latency rate and the current packet loss rate, and the aforementioned preset network data may include the preset network latency rate and the preset packet loss rate. 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, the monitoring server may determine that the current network of the target warehouse does not support video transmission.

[0095] In some optional implementations of this embodiment, the aforementioned current network data may further include the current bandwidth usage percentage and the current number of concurrent requests. The aforementioned preset network data may further include a preset correspondence table between bandwidth usage percentage and concurrent request threshold. 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, the monitoring server can determine the concurrent request threshold corresponding to the current bandwidth usage percentage from the aforementioned correspondence table. In response to determining that the current number of concurrent requests is greater than the determined concurrent request threshold, the monitoring server can determine that the current network of the target warehouse does not support video transmission.

[0096] In some optional implementations of this embodiment, the monitoring server can determine that the target warehouse's current network supports video transmission in response to determining that the current number of concurrent requests is not greater than the determined concurrent request threshold.

[0097] In some optional implementations of this embodiment, in response to determining that the current network of the target warehouse does not support video transmission, the monitoring server may send a prompt message indicating current network congestion to the client.

[0098] Step 604: In response to determining that the network of the target warehouse currently supports video transmission, the monitoring server sends the video acquisition request to the video server located in the target warehouse.

[0099] In this embodiment, in response to determining that the network of the target warehouse currently supports video transmission, the monitoring server can send the video acquisition request to the video server located in the target warehouse via a wired or wireless connection.

[0100] Step 605: The video server located in the target warehouse returns the video indicated by the video acquisition request to the monitoring server.

[0101] In this embodiment, the video server located in the target warehouse can return the video indicated by the video acquisition request to the monitoring server via a wired or wireless connection.

[0102] Step 606: The monitoring server sends the video to the client.

[0103] In this embodiment, the monitoring server can send the aforementioned video to the client.

[0104] It should be noted that the specific operations of steps 601-606 above are basically the same as those of steps 201-204, and will not be repeated here.

[0105] The information transmission system provided in the above embodiments of this application, after receiving a video acquisition request containing a warehouse identifier from the client, the monitoring server queries the current network data and preset network data of the warehouse indicated by the target warehouse identifier. Then, based on the comparison between the current network data and the preset network data, the monitoring server determines whether the current network of the target warehouse supports video transmission. Subsequently, in response to determining that the current network of the target warehouse supports video transmission, the monitoring server sends the video acquisition request to the video server. Finally, the video returned by the video server is sent to the client. Thus, the video transmission and access of the warehouse can be dynamically controlled based on the current network status of the warehouse, so as to ensure that video traffic does not affect the normal business operation and improve the flexibility of data interaction.

[0106] The following is for reference. Figure 7 It shows a schematic diagram of the structure of a computer system 700 suitable for implementing the server of the embodiments of this application. Figure 7 The server shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.

[0107] like Figure 7 As shown, the computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) 702 or programs loaded from storage section 708 into random access memory (RAM) 703. The RAM 703 also stores various programs and data required for the operation of the system 700. The CPU 701, ROM 702, and RAM 703 are interconnected via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0108] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, mouse, etc.; an output section 707 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN card, modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 710 as needed so that computer programs read from it can be installed into the storage section 708 as needed.

[0109] Specifically, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 709, and / or installed from removable medium 711. When the computer program is executed by central processing unit (CPU) 701, it performs the functions defined in the methods of this application. It should be noted that the computer-readable medium described in this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on a computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.

[0110] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0111] The units described in the embodiments of this application can be implemented in software or hardware. The described units can also be housed in a processor; for example, a processor can be described as including a query unit, a determination unit, a first sending unit, and a second sending unit. The names of these units do not necessarily limit the specific unit; for example, a query unit can also be described as "a unit that queries the current network data and preset network data of a target warehouse."

[0112] In another aspect, this application also provides a computer-readable medium, which may be included in the apparatus described in the above embodiments; or it may exist independently and not 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 containing a repository identifier sent by a client, select the repository indicated by the repository identifier as the target repository, query the current network data and preset network data of the target repository; 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; in response to determining that the current network of the target repository supports video transmission, send the video acquisition request to a video server located in the target repository; and send the video returned by the video server located in the target repository to the client.

[0113] The above description is merely a preferred embodiment of this application and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of the invention involved in this application is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described inventive concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features with similar functions disclosed in this application.

Claims

1. A method for transmitting information to a monitoring server, characterized in that, The monitoring server communicates with the client and video servers located in each of the multiple warehouses, and the method includes: 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. The information transmission method according to claim 1, characterized in that, 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; as well as 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. The information transmission method according to claim 2, characterized in that, The current network data also includes the current bandwidth usage percentage and the current number of concurrent requests, and the preset network data also includes a preset correspondence table between bandwidth usage percentage and concurrent request threshold; as well as 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. The information transmission method according to claim 3, characterized in that, 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 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. The information transmission method according to any one of claims 1-4, characterized in that, The method further includes: 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. An information transmission device for monitoring servers, characterized in that, The monitoring server is communicatively connected to the client and video servers located in various warehouses across multiple warehouses. The device includes: 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. The information transmission device according to claim 6, characterized in that, The current network data includes the current network latency rate and the current packet loss rate; 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. The information transmission device according to claim 7, characterized in that, The current network data also includes the current bandwidth usage percentage and the current number of concurrent requests; the preset network data also includes a preset table showing the correspondence 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. The information transmission device according to claim 8, characterized in that, 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. The information transmission device according to any one of claims 6-9, characterized in that, The device further includes: 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. 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. The information transmission system according to claim 11, characterized in that, The current network data includes the current network latency rate and the current packet loss rate; 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. The information transmission system according to claim 12, characterized in that, The current network data also includes the current bandwidth usage percentage and the current number of concurrent requests; the preset network data also includes a preset table showing the correspondence 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. The information transmission system according to claim 13, characterized in that, The monitoring server is also 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. The information transmission system according to any one of claims 11-14, characterized in that, The monitoring server is also 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.

16. The information transmission system according to claim 11, characterized in that, The information transmission system also includes a network detection server and a warehouse terminal for each of the multiple 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. A server, comprising: One or more processors; Storage device for storing one or more programs. 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. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Flow control device, flow control method, network flow management system, and network flow management method

    CN103458466A

  • Method and apparatus for processing commodity object transaction information

    CN106709774A