WO2017215144A1 - Scheduling method, device and system, and scheduling response method and device - Google Patents

Scheduling method, device and system, and scheduling response method and device Download PDF

Info

Publication number
WO2017215144A1
WO2017215144A1 PCT/CN2016/099606 CN2016099606W WO2017215144A1 WO 2017215144 A1 WO2017215144 A1 WO 2017215144A1 CN 2016099606 W CN2016099606 W CN 2016099606W WO 2017215144 A1 WO2017215144 A1 WO 2017215144A1
Authority
WO
WIPO (PCT)
Prior art keywords
index file
udp
request
scheduling
index
Prior art date
Application number
PCT/CN2016/099606
Other languages
French (fr)
Chinese (zh)
Inventor
李洪福
马宙
Original Assignee
乐视控股(北京)有限公司
乐视云计算有限公司
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 乐视控股(北京)有限公司, 乐视云计算有限公司 filed Critical 乐视控股(北京)有限公司
Publication of WO2017215144A1 publication Critical patent/WO2017215144A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/164Adaptation or special uses of UDP protocol
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/08Arrangements for detecting or preventing errors in the information received by repeating transmission, e.g. Verdan system

Definitions

  • the embodiments of the present invention relate to the field of CDN, and specifically, to a scheduling method, a scheduling response method, and a device and system.
  • the CDN Content Delivery Network
  • the CDN can redirect the user's request to the nearest service node according to the network traffic and the connection of each node, the load status, and the distance to the user and the response time.
  • the purpose is to be able to select relatively close to the user.
  • the node sends the user the content required by the user, alleviates the network congestion and improves the response speed of the website.
  • TCP Transmission Control Protocol
  • TCP protocol transmission provides timeout retransmission, discard duplicate data, check data, flow control and other functions, it can ensure that data can be transmitted from one end to the other. Therefore, in the CDN network, the TCP protocol transmission ensures that the user requests the data and the node returns data to the user, and the like, there is no packet loss and the like, and once the packet is lost, resending and the like are taken to ensure the correct transmission of the data.
  • Various security guarantee functions are embedded in the TCP protocol to ensure the security of the data transmission process, but in the actual execution process, it will occupy a large amount of system overhead, which undoubtedly seriously affects the transmission speed.
  • the embodiment of the invention provides a scheduling method, a scheduling response method, a device and a system, which are used to solve the problem that the data transmission speed of the CDN between the servers is not fast enough through the TCP protocol in the prior art, and the UDP (User Datagram Protocol, The user datagram protocol performs the data transmission method to implement the scheduling process for the client request.
  • UDP User Datagram Protocol
  • an embodiment of the present invention provides a scheduling method, including:
  • the scheduling server converts at least part of the access request from the client into a UDP request packet
  • the scheduling server sends the UDP request packet to the source server multiple times;
  • the scheduling server receives an index file package returned from the source server, and sends an index file in the index file package to the client.
  • an embodiment of the present invention provides a scheduling response method, including:
  • the source server determines an index file corresponding to the access request in the request packet according to the request packet sent by the scheduling server;
  • the source server converts at least part of the index file into a UDP index file package, and sends the UDP index file package to the dispatch server multiple times.
  • an embodiment of the present invention provides a scheduling device, including:
  • a request conversion unit configured to convert at least part of the access request from the client into a UDP request packet
  • a request sending unit configured to send the UDP request packet to the source server multiple times
  • a scheduling return unit configured to receive an index file package returned from the source server, and send an index file in the index file package to the client.
  • an embodiment of the present invention provides a scheduling response device, including:
  • An index determining unit configured to determine, according to the request packet sent by the scheduling server, an index file corresponding to the access request in the request packet;
  • An index conversion unit configured to convert at least part of the index file into a UDP index file package
  • An index returning unit is configured to send the UDP index file packet to the scheduling server multiple times.
  • the embodiment of the present invention further provides a scheduling system, including:
  • a request conversion unit configured to convert at least part of the access request from the client into a UDP request packet
  • a request sending unit configured to send the UDP request packet to the source server multiple times
  • An index determining unit configured to determine, according to the request packet sent by the request sending unit, an index file corresponding to the access request in the request packet;
  • An index conversion unit configured to convert at least part of the index file into a UDP index file package
  • An index return unit configured to send the UDP index file packet to the scheduling server multiple times give away
  • a scheduling return unit configured to receive an index file package returned from the index return unit, and send an index file in the index file package to a client.
  • the embodiment of the present application further provides a non-volatile computer storage medium, where computer executable instructions are stored, and the computer executable instructions are used to execute any of the foregoing scheduling methods of the present application.
  • the embodiment of the present application further provides an electronic device, including: at least one processor; and a memory; wherein the memory stores a program executable by the at least one processor, where the instruction is Said at least one processor is operative to enable said at least one processor to perform any of the above-described scheduling methods of the present application.
  • the embodiment of the present application further provides a non-volatile computer storage medium, where computer executable instructions are stored, and the computer executable instructions are used to execute any of the foregoing scheduling response methods of the present application.
  • the embodiment of the present application further provides an electronic device, including: at least one processor; and a memory; wherein the memory stores a program executable by the at least one processor, where the instruction is Said at least one processor is operative to enable said at least one processor to perform any of the above described scheduling response methods of the present application.
  • the embodiment of the present application further provides a computer program product, the computer program product comprising a computing program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program When the instructions are executed by the computer, the computer is caused to perform any of the above scheduling methods of the present application.
  • the embodiment of the present application further provides a computer program product, the computer program product comprising a computing program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when When the program instructions are executed by the computer, the computer is caused to perform any of the above-described scheduling response methods of the present application.
  • the scheduling method, the scheduling response method, and the device and system provided by the embodiment of the present invention convert a partial access request from a client into a UDP request packet through a scheduling server, and send the same to the source server multiple times;
  • the index file corresponding to the partial access request is converted into a UDP index file package and sent to the dispatch server multiple times. Since the UDP protocol is used for data transmission, the response speed between the dispatch server and the source server is greatly accelerated. Shorten the interaction time between the client and the server, and because the converted UDP packet is sent to the source server multiple times, it makes up for the problem of high packet loss rate caused by the mechanism of using UDP protocol without timeout retransmission, etc.
  • the embodiment of the present invention speeds up the interaction between servers and reduces the user speed while the packet loss rate is not significantly increased. Access time.
  • FIG. 1 is a flow chart of a scheduling method according to an embodiment of the present invention.
  • FIG. 2 is a flowchart of a scheduling response method according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a scheduling device according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a scheduling response device according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an electronic device implementing a scheduling method according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a scheduling system according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of an electronic device that implements a scheduling method and/or a scheduling response method according to another embodiment of the present application.
  • FIG. 1 is a flow chart of a scheduling method in accordance with an embodiment of the present invention. As shown in Figure 1, the method includes:
  • the scheduling server converts at least part of the access request from the client into a UDP request packet.
  • the scheduling server sends the UDP request packet to the source server multiple times.
  • the scheduling server receives the index file package returned from the source server, and sends the index file in the index file package to the client.
  • the index file package may be, for example, a UDP (User Datagram Protocol) index file package.
  • UDP User Datagram Protocol
  • the scheduling server converts a partial access request from the client into a UDP request packet and sends the request to the source server, which can greatly improve the response speed between the scheduling server and the source server, for some areas requiring faster transmission speed (for example, In the video field, the method shown in the embodiment of the present invention can satisfy such a requirement to some extent.
  • the packet loss rate is higher than that of the TCP protocol.
  • the received client's access request is sent to the source server multiple times to reduce the data.
  • the packet loss rate is basically the same as the packet loss rate that can be generated when using the TCP protocol. It can be considered that the packet loss rate has been reduced.
  • the protocol used by the scheduling server to return the index file in the index file package to the client may be determined according to the client. If the client has the capability of parsing the UDP data packet, the UDP protocol may be used; Most clients do not have the ability to parse UDP packets, so in most cases the TCP protocol is used.
  • the index file in the index file package can be, For example, the m3u8 file is used to provide an address list file of a plurality of slice files required for a complete video stream requested by the client, and the client obtains the slice address list file to obtain a complete video stream according to the address in the file. .
  • the scheduling method provided by the embodiment of the present invention converts a partial access request from a client into a UDP request packet through a scheduling server, and performs multiple transmissions to the source server. Since the UDP protocol is used for data transmission, the scheduling server and the source are greatly accelerated. The response speed between the servers shortens the interaction time between the client and the server, and the converted UDP packets are sent to the source server multiple times, making up for the packet loss caused by the UDP protocol without timeout retransmission and other mechanisms.
  • the problem of higher rate is that compared with the prior art, the TCP protocol is used for data transmission, the packet loss rate is not significantly increased, the interaction speed between servers is accelerated, and the access time of the user is reduced.
  • the S101 scheduling server in the embodiment shown in FIG. 1 converts at least part of the access request from the client into a UDP request packet, including:
  • the scheduling server parses an access request from the client, and determines a size of the access request.
  • the scheduling server compares the size of the access request with a predetermined threshold, and when the size of the access request is less than the predetermined threshold, converting the access request into a UDP request packet.
  • the size of a single UDP data packet is limited (usually less than 1500 bytes, wherein the maximum length of the data area is 1472 bytes)
  • the request exceeding the single packet size is converted into a UDP data packet
  • the data needs to be sent in fragments; however, the UDP protocol is an unordered transmission protocol.
  • Each datagram sent by the sending process does not arrive in the receiving process in the order in which it was originally sent. It is possible that the datagram sent earlier arrives later. Process, so in order to ensure data security, large data access requests cannot be converted to UDP request packets.
  • This embodiment limits the access request that can be converted into a UDP request packet, and the access request that satisfies the requirement (ie, less than a predetermined threshold, the predetermined threshold ensures that the access request can be converted into a UDP request packet) is sent according to the UDP protocol, and the rest is sent. The request is sent according to the original protocol, which ensures the security of data transmission.
  • the S102 scheduling server sends the UDP request packet to the source server multiple times, including:
  • the scheduling server sends the UDP request packet to multiple source servers.
  • the UDP protocol can establish communication with multiple server terminals, and the TCP protocol can only establish communication with one server end, the UDP request packet is separately sent to multiple source servers, and the prior art is Using the TCP protocol can only connect to one source server at a time to get the index file required by the client to request the file, speeding up the speed of finding the index file.
  • the S103 scheduling server receives the index file package returned from the source server, and sending the index file in the index file package to the client includes:
  • the scheduling server sends an index file in the first index file package returned by the source server to the client, where the index file package includes a plurality of duplicate UDP index file packages.
  • the server in order to ensure that the packet loss rate of data transmission using the UDP protocol cannot be too high, a method of transmitting UDP data packets to the same server multiple times is adopted, and even if the previous data packet is lost, the same is true.
  • the data packets are sent repeatedly, and the low resource waste ensures the minimization of the packet loss rate.
  • the server for the UDP index file package that is repeatedly sent, regardless of the sending sequence, the server only sends the index file to the client according to the first UDP index file packet that arrives, so as to avoid repeatedly sending data to the user, thereby reducing the user. The problem of experience.
  • FIG. 2 is a flow chart of a method for scheduling response according to an embodiment of the present invention. As shown in Figure 2, the method includes:
  • the source server determines, according to the request packet sent by the scheduling server, an index file corresponding to the access request in the request packet.
  • the source server converts at least part of the index file into a UDP index file package, and sends the UDP index file package to the scheduling server multiple times.
  • the request packet can be, for example, a UDP request packet.
  • the source server has the ability to convert and parse UDP packets.
  • the index file in the UDP index file package may be, for example, an m3u8 file, which is used to provide an address list file of a plurality of slice files required for a complete video stream requested by the client, and the client may obtain the slice address list file. Get the complete video stream based on the address in the file.
  • the scheduling response method provided by the embodiment of the present invention is to be sent from the scheduling server by the source server.
  • the index file corresponding to the partial access request is converted into a UDP index file package and sent to the dispatching server multiple times. Since the UDP protocol is used for data transmission, the response speed between the source server and the dispatch server is greatly accelerated, and the client is shortened. The interaction time with the server, and because the converted UDP packet is sent to the scheduling server multiple times, which makes up for the problem of high packet loss rate caused by the mechanism of using UDP protocol without timeout retransmission, etc. Compared with the data transmission using the TCP protocol, the packet loss rate is not significantly increased, and the interaction speed between the servers is accelerated, and the access time of the user is reduced.
  • the S201 source server determines, according to the request packet sent by the scheduling server, an index file corresponding to the access request in the request packet, including:
  • the source server determines an index file corresponding to the access request in the request packet according to the received first request packet, where the request packet includes a plurality of duplicate UDP request packets.
  • the server in order to ensure that the packet loss rate of data transmission using the UDP protocol cannot be too high, a method of transmitting UDP data packets to the same server multiple times is adopted, and even if the previous data packet is lost, the same is true.
  • the data packets are sent repeatedly, and the low resource waste ensures the minimization of the packet loss rate.
  • the server for the UDP request packet that is repeatedly sent, regardless of the sequence of sending, the server only determines the index file required by the client according to the first UDP request packet that arrives, so as to avoid repeatedly sending data to the user, thereby reducing the user. The problem of experience.
  • the S202 source server converts at least part of the index file into a UDP index file package, including:
  • the source server compares the size of the index file with a predetermined threshold, and converts the index file into a UDP index file package when the size of the index file is smaller than the predetermined threshold.
  • the size of a single UDP data packet is limited (usually less than 1500 bytes, wherein the maximum length of the data area is 1472 bytes)
  • the request exceeding the single packet size is converted into a UDP data packet
  • the data needs to be sent in fragments; however, the UDP protocol is an unordered transmission protocol.
  • Each datagram sent by the sending process does not arrive in the receiving process in the order in which it was originally sent. It is possible that the datagram sent earlier arrives later. Process, so to ensure data security Sex, index files with large data cannot be converted to UDP index files.
  • This embodiment limits the index file that can be converted into a UDP index file package, and the index file that satisfies the requirement (that is, less than a predetermined threshold, the predetermined threshold ensures that the index file can be converted into a UDP index file single packet) is sent according to the UDP protocol. The rest of the requests are sent according to the original protocol, ensuring the security of data transmission.
  • FIG. 3 is a schematic structural diagram of a scheduling device according to an embodiment of the present invention.
  • the scheduling method according to the embodiment of the present invention may be implemented based on the scheduling device in this embodiment.
  • the device includes a request conversion unit 301, a request transmitting unit 302, and a scheduling return unit 303.
  • the request conversion unit 301 is configured to convert at least part of the access request from the client into a UDP request packet
  • the request sending unit 302 is configured to send the UDP request packet converted by the request conversion unit 301 to the source server multiple times;
  • the scheduling return unit 303 is configured to receive an index file package returned from the source server, and send an index file in the index file package to the client.
  • the index file package can be, for example, a UDP index file package. Since the UDP protocol is used for data transmission, there is no need to establish a connection between the client and the server (for example, the three-way handshake connection of the TCP protocol), and there is no mechanism such as timeout retransmission, so the transmission speed is very fast.
  • the request conversion unit 301 in the scheduling server converts the partial access request from the client into a UDP request packet and transmits it to the source server through the request sending unit 302, which can greatly improve the response speed between the scheduling server and the source server. For some areas requiring faster transmission speed (for example, the video field), the method shown in the embodiment of the present invention can satisfy such requirements to some extent.
  • the packet loss rate is higher than that of the TCP protocol.
  • the received client's access request is sent to the source server multiple times to reduce the data.
  • the packet loss rate is basically the same as the packet loss rate that can be generated when using the TCP protocol. It can be considered that the packet loss rate has been reduced.
  • the scheduling return unit 303 determines the protocol used when the index file in the index file package is returned to the client according to the client. If the client has the capability of parsing the UDP data packet, the UDP protocol may be used; Most clients do not have the ability to parse UDP packets, so in most cases the TCP protocol is used.
  • the index file in the index file package may be, for example, an m3u8 file, which is used to provide an address list file of a plurality of slice files required for a complete video stream requested by the client, and the client may obtain the slice address list file according to the address file. The address in this file gets the full video stream.
  • the scheduling device converts a partial access request from the client into a UDP request packet through the request conversion unit 301 in the scheduling server, and sends the UDP request packet to the source server through the request sending unit 302, because the UDP protocol is used.
  • Data transmission greatly speeds up the response between the dispatch server and the source server, shortens the interaction time between the client and the server, and sends the UDP packet to the source server multiple times to make up for the use of the UDP protocol.
  • the TCP protocol is used for data transmission. Compared with the data transmission, the packet loss rate is not significantly increased, and the interaction between servers is accelerated. Speed, reducing user access time.
  • the request conversion unit 301 in the embodiment shown in FIG. 3 is used to:
  • the size of the access request is compared to a predetermined threshold, and when the size of the access request is less than the predetermined threshold, the access request is converted into a UDP request packet.
  • the UDP protocol is an unordered transmission protocol. Each datagram sent by the sending process does not arrive in the receiving process in the order in which it was originally sent. It may be sent early. The datagram arrives at the receiving process later, so in order to ensure the security of the data, the larger access request of the data cannot be converted into the UDP request packet.
  • the request conversion unit 301 limits the access request that can be converted into the UDP request packet, and the access request that satisfies the requirement (that is, less than a predetermined threshold, the predetermined threshold ensures that the access request can be converted into a UDP request packet) is UDP.
  • the protocol is sent, and the rest of the requests are sent according to the original protocol, ensuring the security of data transmission.
  • the request sending unit 302 in the embodiment shown in FIG. 3 is configured to send the UDP request packet to multiple source servers.
  • the UDP protocol can establish communication with multiple server terminals, and the TCP protocol can only establish communication with one server, the UDP request packet is sent to the multiple source servers multiple times through the request sending unit 302.
  • the TCP protocol can only be connected to one source server at a time to obtain the index file required by the client to request the file, and the speed of finding the index file is accelerated.
  • the scheduling return unit 303 in the embodiment shown in FIG. 3 is configured to send an index file in the first index file package returned by the source server to the client, where the index file package includes Duplicate multiple UDP index file packages.
  • the scheduling return unit 303 sends the index file to the client only according to the first UDP index file packet that arrives, so as to avoid repeatedly sending data to the user. Thereby reducing the user experience.
  • FIG. 4 is a schematic structural diagram of a scheduling response device according to an embodiment of the present invention.
  • the scheduling response method in the embodiment of the present invention may be implemented based on the scheduling response device in this embodiment.
  • the device includes an index determining unit 401, an index converting unit 402, and an index returning unit 403.
  • the index determining unit 401 is configured to determine, according to the request packet sent by the scheduling server, an index file corresponding to the access request in the request packet;
  • the index conversion unit 402 is configured to convert at least part of the index file determined by the index determining unit 401 into a UDP index file package;
  • the index return unit 403 is configured to send the UDP index file packet converted by the index conversion unit 402 to the scheduling server multiple times.
  • the request packet can be, for example, a UDP request packet.
  • the source server has the ability to convert and parse UDP packets.
  • the index file in the UDP index file package may be, for example, an m3u8 file, which is used to provide an address list file of a plurality of slice files required for a complete video stream requested by the client, and the client may obtain the slice address list file. Get the complete video stream based on the address in the file.
  • the scheduling response device determines the index file corresponding to the partial access request from the scheduling server by the index determining unit 401, converts it into a UDP index file package by the index converting unit 402, and performs the indexing by the index returning unit 403 to the scheduling server.
  • Multiple transmissions because the UDP protocol is used for data transmission, the response speed between the source server and the scheduling server is greatly accelerated, the interaction time between the client and the server is shortened, and the converted UDP packet is sent to the scheduling server. Many times, it has made up for the problem of high packet loss rate caused by the mechanism of using UDP protocol without timeout retransmission, and the packet loss rate is not significantly increased compared with the prior art using TCP protocol for data transmission. At the same time, it speeds up the interaction between servers and reduces the access time of users.
  • the index determining unit 401 in the embodiment shown in FIG. 4 is configured to determine an index file corresponding to the access request in the request packet according to the received first request packet,
  • the request packet includes multiple UDP request packets that are repeated.
  • the index determining unit 401 determines the index file required by the client only according to the first UDP request packet that arrives, so as to avoid repeatedly sending data to the user. Thereby reducing the user experience.
  • the index conversion unit 402 in the embodiment shown in FIG. 4 is used to:
  • the size of the index file is compared with a predetermined threshold, and when the size of the index file is smaller than the predetermined threshold, the index file is converted into a UDP index file package.
  • the size of a single UDP data packet is limited (usually less than 1500 bytes, wherein the maximum length of the data area is 1472 bytes)
  • the request exceeding the single packet size is converted into a UDP data packet
  • the data needs to be sent in fragments; however, the UDP protocol is an unordered transmission protocol.
  • Each datagram sent by the sending process does not arrive in the receiving process in the order in which it was originally sent. It is possible that the datagram sent earlier arrives later. Process, so in order to ensure the security of the data, the index file with larger data cannot be converted into a UDP index file package.
  • the index conversion unit 402 limits the index file that can be converted into the UDP index file package, and meets the requirement (that is, an index file that is smaller than a predetermined threshold, and the predetermined threshold ensures that the index file can be converted into a single packet of the UDP index file).
  • the requirement that is, an index file that is smaller than a predetermined threshold, and the predetermined threshold ensures that the index file can be converted into a single packet of the UDP index file.
  • the rest of the requests are sent according to the original protocol, ensuring the security of data transmission.
  • a related function module can be implemented by a hardware processor.
  • FIG. 5 is a schematic structural diagram of an electronic device 500 for implementing a scheduling method according to an embodiment of the present invention.
  • the specific implementation of the electronic device 500 is not limited in the embodiment of the present invention.
  • the electronic device 500 can include:
  • a processor 510 a communications interface 520, a memory 530, and a communication bus 540. among them:
  • the processor 510, the communication interface 520, and the memory 530 complete communication with each other via the communication bus 540.
  • the communication interface 520 is configured to communicate with a network element such as a client.
  • the processor 510 is configured to execute the program 532. Specifically, the related steps in the foregoing method embodiments may be performed.
  • program 532 can include program code, the program code including computer operating instructions.
  • the processor 510 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention.
  • CPU central processing unit
  • ASIC Application Specific Integrated Circuit
  • a memory for storing computer operating instructions
  • a processor configured to execute the computer operating instructions of the memory storage to perform:
  • FIG. 6 is a schematic structural diagram of a scheduling system according to an embodiment of the present invention.
  • the scheduling method and the scheduling response method according to the embodiment of the present invention may be implemented based on the scheduling system in this embodiment.
  • the system includes a request conversion unit 601, a request transmission unit 602, an index determination unit 603, an index conversion unit 604, an index return unit 605, and a schedule return unit 606.
  • the request conversion unit 601 is configured to convert at least part of the access request from the client into a UDP request packet
  • the request sending unit 602 is configured to send the UDP request packet to the source server multiple times;
  • the index determining unit 603 is configured to determine an index file corresponding to the access request in the request packet according to the request packet sent by the request sending unit 602;
  • the index conversion unit 604 is configured to convert at least part of the index file into a UDP index file package
  • the index returning unit 605 is configured to send the UDP index file packet to the scheduling server multiple times.
  • the scheduling return unit 606 is configured to receive the index file package returned from the index return unit 605, and send the index file in the index file package to the client.
  • the scheduling system converts a partial access request from the client into a UDP request packet by the request conversion unit 601, and transmits the multiple times to the source server through the request sending unit 602, and determines the slave scheduling server by the index determining unit 603.
  • the index file corresponding to the partial access request of the request sending unit 602 is converted into a UDP index file package by the index converting unit 604, and is sent to the scheduling server multiple times through the index return unit 605, and the scheduling return unit 606 will be in the source server.
  • the index file in the index file package returned by the index return unit 605 is returned to the client.
  • the response speed between the dispatch server and the source server is greatly accelerated, and the interaction between the client and the server is shortened.
  • Time because the converted UDP packet is sent to the server multiple times, which makes up for the problem of high packet loss rate caused by the mechanism of using UDP protocol without timeout retransmission, etc., and uses the TCP protocol for data transmission in the whole process.
  • the packet loss rate has not increased significantly, it is accelerating Interactive speed between servers, reducing the user's access time.
  • the request conversion unit 601 in the system embodiment shown in FIG. 6 is used to:
  • the size of the access request is compared to a predetermined threshold, and when the size of the access request is less than the predetermined threshold, the access request is converted into a UDP request packet.
  • the size of a single UDP data packet is limited (usually less than 1500 bytes, wherein the maximum length of the data area is 1472 bytes)
  • the request exceeding the single packet size is converted into a UDP data packet
  • the data needs to be sent in fragments; however, the UDP protocol is an unordered transmission protocol.
  • Each datagram sent by the sending process does not arrive in the receiving process in the order in which it was originally sent. It is possible that the datagram sent earlier arrives later. Process, so in order to ensure data security, large data access requests cannot be converted to UDP request packets.
  • the request conversion unit 601 limits the access request that can be converted into the UDP request packet, and the access request that satisfies the requirement (that is, less than a predetermined threshold, the predetermined threshold ensures that the access request can be converted into a UDP request packet) is UDP.
  • the protocol is sent, and the rest of the requests are sent according to the original protocol, ensuring the security of data transmission.
  • the request is sent in the system embodiment shown in FIG. Element 602 is configured to send the UDP request packet to a plurality of source servers.
  • the UDP protocol can establish communication with multiple server terminals, and the TCP protocol can only establish communication with one server, the UDP request packet is sent to the multiple source servers multiple times through the request sending unit 602.
  • the TCP protocol can only be connected to one source server at a time to obtain the index file required by the client to request the file, and the speed of finding the index file is accelerated.
  • the index determining unit 603 in the system embodiment shown in FIG. 6 is configured to determine an index file corresponding to the access request in the request packet according to the received first request packet.
  • the request packet includes a plurality of duplicate UDP request packets.
  • the index determining unit 603 determines the index file required by the client only according to the first UDP request packet that arrives, so as to avoid repeatedly sending data to the user. Thereby reducing the user experience.
  • the index conversion unit 604 in the system embodiment shown in FIG. 6 is used to:
  • the size of the index file is compared with a predetermined threshold, and when the size of the index file is smaller than the predetermined threshold, the index file is converted into a UDP index file package.
  • the size of a single UDP data packet is limited (usually less than 1500 bytes, wherein the maximum length of the data area is 1472 bytes)
  • the request exceeding the single packet size is converted into a UDP data packet
  • the data needs to be sent in fragments; however, the UDP protocol is an unordered transmission protocol.
  • Each datagram sent by the sending process does not arrive in the receiving process in the order in which it was originally sent. It is possible that the datagram sent earlier arrives later. Process, so in order to ensure the security of the data, the index file with larger data cannot be converted into a UDP index file package.
  • the index conversion unit 604 limits the index file that can be converted into the UDP index file package, and satisfies the requirement (that is, an index file that is smaller than a predetermined threshold, and the predetermined threshold ensures that the index file can be converted into a single packet of the UDP index file).
  • the requirement that is, an index file that is smaller than a predetermined threshold, and the predetermined threshold ensures that the index file can be converted into a single packet of the UDP index file.
  • the rest of the requests are sent according to the original protocol, ensuring the data. Security of the transmission.
  • the scheduling return unit 606 in the system embodiment shown in FIG. 6 is configured to send an index file in the first index file package returned by the index return unit 605 to the client, the index.
  • the file package includes multiple UDP index file packages that are duplicated.
  • the scheduling return unit 606 sends the index file to the client only according to the first UDP index file packet that arrives, so as to avoid repeatedly sending data to the user. Thereby reducing the user experience.
  • FIG. 7 is a schematic structural diagram of an electronic device that implements a scheduling method and/or a scheduling response method according to another embodiment of the present application. As shown in Figure 7, the device includes:
  • processors 710 and memory 720 one processor 710 is taken as an example in FIG.
  • the apparatus implementing the scheduling method and/or the scheduling response method may further include: an input device 730 and an output device 740.
  • the processor 710, the memory 720, the input device 730, and the output device 740 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
  • the memory 720 is the non-volatile computer readable storage medium described above.
  • the processor 710 executes various functional applications and data processing of the server by executing non-volatile software programs, instructions, and modules stored in the memory 720, that is, implementing the above-described method embodiment scheduling method and/or scheduling response method.
  • Input device 730 can receive input numeric or character information and generate key signal inputs related to user settings and function control of the scheduling device and/or the dispatch response device.
  • the output device 740 can include a display device such as a display screen.
  • the foregoing electronic device includes: at least one processor; and ???a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to :
  • the electronic device of the embodiment of the present application exists in various forms, including but not limited to:
  • Mobile communication devices These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication.
  • Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
  • Ultra-mobile personal computer equipment This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access.
  • Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
  • Portable entertainment devices These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
  • the server consists of a processor, a hard disk, a memory, a system bus, etc.
  • the server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
  • embodiments of the invention may be provided as a method, system, or computer program product.
  • embodiments of the invention may be in the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware.
  • embodiments of the invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) in which computer usable program code is embodied.
  • Embodiments of the invention are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG.
  • These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Embodiments of the present invention provide a scheduling method, comprising: a scheduling server converts at least a part of access requests from a client into a UDP request packet; the scheduling server sends the UDP request packet to a source server repeatedly; and the scheduling server receives an index file packet returned from the source server, and transmits index files in the index file packet to the client. Embodiments of the invention also provide a corresponding device and system, and a scheduling response method and device. Compared with the prior art in which a three-way handshake process needs to be pre-established to perform data transmission in each use of a TCP protocol, the scheduling method, device and system, and the scheduling response method and device accelerate the interaction speed among servers and shorten the access time of a user without significantly increasing the packet loss rate.

Description

调度方法、调度响应方法及设备和***Scheduling method, scheduling response method, device and system 技术领域Technical field
本发明实施例涉及CDN领域,具体涉及一种调度方法、调度响应方法及设备和***。The embodiments of the present invention relate to the field of CDN, and specifically, to a scheduling method, a scheduling response method, and a device and system.
背景技术Background technique
CDN(Content Delivery Network,内容分发网络)是一种通过在网络各处放置节点服务器所构成的在现有的互联网基础之上的一层智能虚拟网络。CDN能够实时地根据网络流量和各节点的连接、负载状况以及到用户的距离和响应时间等综合信息将用户的请求重新导向离用户最近的服务节点上,其目的是能够选择离用户相对较近的节点向用户发送用户所需的内容,缓解网络拥挤的状况,提高网站的响应速度。随着不断增长的为用户提供个性化服务的需求,业务类型也在随之不断增多。The CDN (Content Delivery Network) is a layer of intelligent virtual network based on the existing Internet formed by placing node servers throughout the network. The CDN can redirect the user's request to the nearest service node according to the network traffic and the connection of each node, the load status, and the distance to the user and the response time. The purpose is to be able to select relatively close to the user. The node sends the user the content required by the user, alleviates the network congestion and improves the response speed of the website. With the growing demand for personalized services for users, the types of businesses are also increasing.
现有技术中用户每一次向CDN节点请求内容时,都是通过TCP(Transmission Control Protocol传输控制协议)来对数据进行传输,以保证数据传输过程中的安全性。由于TCP协议传输提供超时重发,丢弃重复数据,检验数据,流量控制等功能,能够保证数据能从一端传到另一端。因此,在CDN网络中,TCP协议传输保证用户请求数据及节点向用户返回数据等过程中不会存在丢包等现象,一旦丢包则采取重新发送等措施以确保数据的正确传输。TCP协议中植入了各种安全保障功能,可以保证数据在传输过程的安全性,但是在实际执行的过程中会占用大量的***开销,无疑使传输速度受到严重的影响。In the prior art, each time a user requests content from a CDN node, the data is transmitted through TCP (Transmission Control Protocol) to ensure security during data transmission. Because TCP protocol transmission provides timeout retransmission, discard duplicate data, check data, flow control and other functions, it can ensure that data can be transmitted from one end to the other. Therefore, in the CDN network, the TCP protocol transmission ensures that the user requests the data and the node returns data to the user, and the like, there is no packet loss and the like, and once the packet is lost, resending and the like are taken to ensure the correct transmission of the data. Various security guarantee functions are embedded in the TCP protocol to ensure the security of the data transmission process, but in the actual execution process, it will occupy a large amount of system overhead, which undoubtedly seriously affects the transmission speed.
发明内容Summary of the invention
本发明实施例提供一种调度方法、调度响应方法及设备和***,用以解决现有技术中CDN通过TCP协议在各服务器之间进行数据传输速度不够快的问题,通过UDP(User Datagram Protocol,用户数据报协议)进行数据传输的方式实现对客户端请求的调度过程。 The embodiment of the invention provides a scheduling method, a scheduling response method, a device and a system, which are used to solve the problem that the data transmission speed of the CDN between the servers is not fast enough through the TCP protocol in the prior art, and the UDP (User Datagram Protocol, The user datagram protocol performs the data transmission method to implement the scheduling process for the client request.
第一方面,本发明实施例提供了一种调度方法,包括:In a first aspect, an embodiment of the present invention provides a scheduling method, including:
调度服务器将来自客户端的至少部分的访问请求转换为UDP请求包;The scheduling server converts at least part of the access request from the client into a UDP request packet;
所述调度服务器将所述UDP请求包向源服务器进行多次发送;The scheduling server sends the UDP request packet to the source server multiple times;
所述调度服务器接收来自所述源服务器返回的索引文件包,将所述索引文件包中的索引文件发送至客户端。The scheduling server receives an index file package returned from the source server, and sends an index file in the index file package to the client.
第二方面,本发明实施例提供了一种调度响应方法,包括:In a second aspect, an embodiment of the present invention provides a scheduling response method, including:
源服务器根据调度服务器发送的请求包确定与所述请求包中的访问请求对应的索引文件;The source server determines an index file corresponding to the access request in the request packet according to the request packet sent by the scheduling server;
所述源服务器将至少部分的索引文件转换为UDP索引文件包,并将所述UDP索引文件包向所述调度服务器进行多次发送。The source server converts at least part of the index file into a UDP index file package, and sends the UDP index file package to the dispatch server multiple times.
第三方面,本发明实施例提供了一种调度设备,包括:In a third aspect, an embodiment of the present invention provides a scheduling device, including:
请求转换单元,用于将来自客户端的至少部分的访问请求转换为UDP请求包;a request conversion unit, configured to convert at least part of the access request from the client into a UDP request packet;
请求发送单元,用于将所述UDP请求包向源服务器进行多次发送;a request sending unit, configured to send the UDP request packet to the source server multiple times;
调度返回单元,用于接收来自所述源服务器返回的索引文件包,将所述索引文件包中的索引文件发送至客户端。And a scheduling return unit, configured to receive an index file package returned from the source server, and send an index file in the index file package to the client.
第四方面,本发明实施例提供了一种调度响应设备,包括:In a fourth aspect, an embodiment of the present invention provides a scheduling response device, including:
索引确定单元,用于根据调度服务器发送的请求包确定与所述请求包中的访问请求对应的索引文件;An index determining unit, configured to determine, according to the request packet sent by the scheduling server, an index file corresponding to the access request in the request packet;
索引转换单元,用于将至少部分的索引文件转换为UDP索引文件包;An index conversion unit, configured to convert at least part of the index file into a UDP index file package;
索引返回单元,用于将所述UDP索引文件包向所述调度服务器进行多次发送。An index returning unit is configured to send the UDP index file packet to the scheduling server multiple times.
第五方面,本发明实施例还提供了一种调度***,包括:In a fifth aspect, the embodiment of the present invention further provides a scheduling system, including:
请求转换单元,用于将来自客户端的至少部分的访问请求转换为UDP请求包;a request conversion unit, configured to convert at least part of the access request from the client into a UDP request packet;
请求发送单元,用于将所述UDP请求包向源服务器进行多次发送;a request sending unit, configured to send the UDP request packet to the source server multiple times;
索引确定单元,用于根据所述请求发送单元发送的请求包确定与所述请求包中的访问请求对应的索引文件;An index determining unit, configured to determine, according to the request packet sent by the request sending unit, an index file corresponding to the access request in the request packet;
索引转换单元,用于将至少部分的索引文件转换为UDP索引文件包;An index conversion unit, configured to convert at least part of the index file into a UDP index file package;
索引返回单元,用于将所述UDP索引文件包向调度服务器进行多次发 送;An index return unit, configured to send the UDP index file packet to the scheduling server multiple times give away;
调度返回单元,用于接收来自所述索引返回单元返回的索引文件包,将所述索引文件包中的索引文件发送至客户端。And a scheduling return unit, configured to receive an index file package returned from the index return unit, and send an index file in the index file package to a client.
第六方面,本申请实施例还提供了一种非易失性计算机存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行本申请上述任一项调度方法。In a sixth aspect, the embodiment of the present application further provides a non-volatile computer storage medium, where computer executable instructions are stored, and the computer executable instructions are used to execute any of the foregoing scheduling methods of the present application.
第七方面,本申请实施例还提供了一种电子设备,包括:至少一个处理器;以及存储器;其中,所述存储器存储有可被所述至少一个处理器执行的程序,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行本申请上述任一项调度方法。In a seventh aspect, the embodiment of the present application further provides an electronic device, including: at least one processor; and a memory; wherein the memory stores a program executable by the at least one processor, where the instruction is Said at least one processor is operative to enable said at least one processor to perform any of the above-described scheduling methods of the present application.
第八方面,本申请实施例还提供了一种非易失性计算机存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行本申请上述任一项调度响应方法。In an eighth aspect, the embodiment of the present application further provides a non-volatile computer storage medium, where computer executable instructions are stored, and the computer executable instructions are used to execute any of the foregoing scheduling response methods of the present application.
第九方面,本申请实施例还提供了一种电子设备,包括:至少一个处理器;以及存储器;其中,所述存储器存储有可被所述至少一个处理器执行的程序,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行本申请上述任一项调度响应方法。In a ninth aspect, the embodiment of the present application further provides an electronic device, including: at least one processor; and a memory; wherein the memory stores a program executable by the at least one processor, where the instruction is Said at least one processor is operative to enable said at least one processor to perform any of the above described scheduling response methods of the present application.
第十方面,本申请实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行本申请上述任一项调度方法。In a tenth aspect, the embodiment of the present application further provides a computer program product, the computer program product comprising a computing program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program When the instructions are executed by the computer, the computer is caused to perform any of the above scheduling methods of the present application.
第十一方面,本申请实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行本申请上述任一项调度响应方法。In an eleventh aspect, the embodiment of the present application further provides a computer program product, the computer program product comprising a computing program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when When the program instructions are executed by the computer, the computer is caused to perform any of the above-described scheduling response methods of the present application.
本发明实施例提供的调度方法、调度响应方法及设备和***,通过调度服务器将来自客户端的部分访问请求转换为UDP请求包,并向源服务器进行多次发送;通过源服务器将来自调度服务器的部分访问请求对应的索引文件转换为UDP索引文件包,并向调度服务器进行多次发送,由于使用了UDP协议进行数据传输,大大加快了调度服务器与源服务器之间的响应速度,缩 短了客户端与服务器之间的交互时间,又因为转换后的UDP包向源服务器发送了多次,弥补了使用UDP协议没有超时重发等机制带来的丢包率较高的问题,与现有技术中每次使用TCP协议均需要先建立三次握手过程来进行数据传输相比,本发明实施例在使得丢包率没有显著增高的同时,加快了服务器之间的交互速度,降低了用户的访问时间。The scheduling method, the scheduling response method, and the device and system provided by the embodiment of the present invention convert a partial access request from a client into a UDP request packet through a scheduling server, and send the same to the source server multiple times; The index file corresponding to the partial access request is converted into a UDP index file package and sent to the dispatch server multiple times. Since the UDP protocol is used for data transmission, the response speed between the dispatch server and the source server is greatly accelerated. Shorten the interaction time between the client and the server, and because the converted UDP packet is sent to the source server multiple times, it makes up for the problem of high packet loss rate caused by the mechanism of using UDP protocol without timeout retransmission, etc. In the prior art, each time the TCP protocol is used, it is required to establish a three-way handshake process for data transmission. Compared with the embodiment, the embodiment of the present invention speeds up the interaction between servers and reduces the user speed while the packet loss rate is not significantly increased. Access time.
附图说明DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明实施例的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are some embodiments of the embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in light of the inventive work.
图1是本发明一实施例的调度方法的流程图;1 is a flow chart of a scheduling method according to an embodiment of the present invention;
图2是本发明一实施例的调度响应方法的流程图;2 is a flowchart of a scheduling response method according to an embodiment of the present invention;
图3是本发明一实施例的调度设备的结构示意图;3 is a schematic structural diagram of a scheduling device according to an embodiment of the present invention;
图4是本发明一实施例的调度响应设备的结构示意图;4 is a schematic structural diagram of a scheduling response device according to an embodiment of the present invention;
图5是本发明一实施例的实施调度方法的电子设备的结构示意图;FIG. 5 is a schematic structural diagram of an electronic device implementing a scheduling method according to an embodiment of the present invention; FIG.
图6是本发明一实施例的调度***的结构示意图;6 is a schematic structural diagram of a scheduling system according to an embodiment of the present invention;
图7是本申请另一实施例提供的实施调度方法和/或调度响应方法的电子设备的结构示意图。FIG. 7 is a schematic structural diagram of an electronic device that implements a scheduling method and/or a scheduling response method according to another embodiment of the present application.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明实施例一部分实施例,而不是全部的实施例。基于本发明实施例中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明实施例保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a part of the embodiments of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without departing from the inventive scope are the scope of the embodiments of the present invention.
需要说明的是,在不冲突的情况下,本发明实施例中的实施方式及实施方式中的特征可以相互组合。It should be noted that, in the case of no conflict, the embodiments in the embodiments of the present invention and the features in the embodiments may be combined with each other.
在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作 之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”,不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。In this document, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these entities or operations. There is any such actual relationship or order between them. Moreover, the terms "comprising" and "comprising" are intended to include not only those elements, but also other elements that are not explicitly listed, or the elements that are inherent to the process, method, item, or device. An element that is defined by the phrase "comprising", without limiting the invention, does not exclude the presence of additional elements in the process, method, article, or device.
图1是本发明一实施例的调度方法的流程图。如图1所示,该方法包括:1 is a flow chart of a scheduling method in accordance with an embodiment of the present invention. As shown in Figure 1, the method includes:
S101:调度服务器将来自客户端的至少部分的访问请求转换为UDP请求包;S101: The scheduling server converts at least part of the access request from the client into a UDP request packet.
S102:调度服务器将所述UDP请求包向源服务器进行多次发送;S102: The scheduling server sends the UDP request packet to the source server multiple times.
S103:调度服务器接收来自所述源服务器返回的索引文件包,将所述索引文件包中的索引文件发送至客户端。S103: The scheduling server receives the index file package returned from the source server, and sends the index file in the index file package to the client.
在一种具体实施方式中,索引文件包例如可以是UDP(User Datagram Protocol,用户数据报协议)索引文件包。由于使用UDP协议进行数据传输时无需在客户端和服务器之间建立连接(例如,TCP协议的三次握手连接),也没有超时重发等机制,因此传输速度非常快。本实施例中,调度服务器将来自客户端的部分访问请求转换为UDP请求包向源服务器进行发送,可以大大提高调度服务器与源服务器之间的响应速度,对一些要求传输速度较快的领域(例如,视频领域)来说,本发明实施例所示的方法能够在一定程度上满足这样的需求。In a specific implementation, the index file package may be, for example, a UDP (User Datagram Protocol) index file package. Since the UDP protocol is used for data transmission, there is no need to establish a connection between the client and the server (for example, the three-way handshake connection of the TCP protocol), and there is no mechanism such as timeout retransmission, so the transmission speed is very fast. In this embodiment, the scheduling server converts a partial access request from the client into a UDP request packet and sends the request to the source server, which can greatly improve the response speed between the scheduling server and the source server, for some areas requiring faster transmission speed (for example, In the video field, the method shown in the embodiment of the present invention can satisfy such a requirement to some extent.
此外,由于使用UDP协议进行数据传输没有超时重发等机制,因此丢包率相对TCP协议较高,本实施例中采用将接收到的客户端的访问请求向源服务器进行多次发送的方式来降低传输UDP请求包的丢包率。通常情况下,可以将UDP请求包进行三次以上的发送,假设进行一次UDP传输的丢包率为10%的话,三次发送的丢包率就降为了10%×10%×10%=0.1%,四次发送的丢包率已经降到了0.1‰,该丢包率已经与使用TCP协议时可能产生的丢包率基本相当,可以认为已经达到了较好的降低丢包率的效果。In addition, since the data transmission using the UDP protocol does not have a mechanism such as timeout retransmission, the packet loss rate is higher than that of the TCP protocol. In this embodiment, the received client's access request is sent to the source server multiple times to reduce the data. The packet loss rate of the transmitted UDP request packet. Generally, the UDP request packet can be sent more than three times. If the packet loss rate of a UDP transmission is 10%, the packet loss rate of the three transmissions is reduced to 10%×10%×10%=0.1%. The packet loss rate of the four transmissions has dropped to 0.1‰. The packet loss rate is basically the same as the packet loss rate that can be generated when using the TCP protocol. It can be considered that the packet loss rate has been reduced.
本实施例中,调度服务器将索引文件包中的索引文件返回客户端时使用的协议可以根据客户端来决定,若客户端具有解析UDP数据包的能力,则可以使用UDP协议;通常情况下,大部分客户端不具有解析UDP数据包的能力,因此多数情况下还是使用TCP协议。索引文件包中的索引文件可以是, 例如,m3u8文件,用以提供客户端请求播放的完整视频流所需的多个切片文件的地址列表文件,客户端得到该切片地址列表文件后即可根据该文件中的地址得到完整的视频流。In this embodiment, the protocol used by the scheduling server to return the index file in the index file package to the client may be determined according to the client. If the client has the capability of parsing the UDP data packet, the UDP protocol may be used; Most clients do not have the ability to parse UDP packets, so in most cases the TCP protocol is used. The index file in the index file package can be, For example, the m3u8 file is used to provide an address list file of a plurality of slice files required for a complete video stream requested by the client, and the client obtains the slice address list file to obtain a complete video stream according to the address in the file. .
本发明实施例提供的调度方法,通过调度服务器将来自客户端的部分访问请求转换为UDP请求包,并向源服务器进行多次发送,由于使用了UDP协议进行数据传输,大大加快了调度服务器与源服务器之间的响应速度,缩短了客户端与服务器之间的交互时间,又因为转换后的UDP包向源服务器发送了多次,弥补了使用UDP协议没有超时重发等机制带来的丢包率较高的问题,与现有技术全程使用TCP协议来进行数据传输相比,在丢包率没有显著升高的同时,加快了服务器之间的交互速度,降低了用户的访问时间。The scheduling method provided by the embodiment of the present invention converts a partial access request from a client into a UDP request packet through a scheduling server, and performs multiple transmissions to the source server. Since the UDP protocol is used for data transmission, the scheduling server and the source are greatly accelerated. The response speed between the servers shortens the interaction time between the client and the server, and the converted UDP packets are sent to the source server multiple times, making up for the packet loss caused by the UDP protocol without timeout retransmission and other mechanisms. The problem of higher rate is that compared with the prior art, the TCP protocol is used for data transmission, the packet loss rate is not significantly increased, the interaction speed between servers is accelerated, and the access time of the user is reduced.
作为图1所示实施例的进一步优化,图1所示实施例中S101调度服务器将来自客户端的至少部分的访问请求转换为UDP请求包包括:As a further optimization of the embodiment shown in FIG. 1, the S101 scheduling server in the embodiment shown in FIG. 1 converts at least part of the access request from the client into a UDP request packet, including:
S1011:调度服务器解析来自客户端的访问请求,确定所述访问请求的大小;S1011: The scheduling server parses an access request from the client, and determines a size of the access request.
S1012:调度服务器将所述访问请求的大小与预定阈值进行比较,当所述访问请求的大小小于所述预定阈值时,将所述访问请求转换为UDP请求包。S1012: The scheduling server compares the size of the access request with a predetermined threshold, and when the size of the access request is less than the predetermined threshold, converting the access request into a UDP request packet.
本发明实施例中,由于单个UDP数据包的大小有限制(通常情况下小于1500字节,其中数据区最大长度为1472字节),超过单包大小的请求若再转换为UDP数据包,则需要对该数据进行分片发送;然而UDP协议是无序的传输协议,发送进程所发送的每个数据报并不按照原先发送的顺序到达接收进程,有可能早发送的数据报较后到达接收进程,因此为了保证数据的安全性,数据较大的访问请求不能转换为UDP请求包。本实施例对能够转换为UDP请求包的访问请求做出了限制,满足要求(即小于预定阈值,该预定阈值保证访问请求能够转换为UDP请求单包)的访问请求按UDP协议进行发送,其余请求按原协议进行发送,保证了数据传输的安全性。In the embodiment of the present invention, since the size of a single UDP data packet is limited (usually less than 1500 bytes, wherein the maximum length of the data area is 1472 bytes), if the request exceeding the single packet size is converted into a UDP data packet, The data needs to be sent in fragments; however, the UDP protocol is an unordered transmission protocol. Each datagram sent by the sending process does not arrive in the receiving process in the order in which it was originally sent. It is possible that the datagram sent earlier arrives later. Process, so in order to ensure data security, large data access requests cannot be converted to UDP request packets. This embodiment limits the access request that can be converted into a UDP request packet, and the access request that satisfies the requirement (ie, less than a predetermined threshold, the predetermined threshold ensures that the access request can be converted into a UDP request packet) is sent according to the UDP protocol, and the rest is sent. The request is sent according to the original protocol, which ensures the security of data transmission.
作为图1所示实施例的进一步优化,图1所示实施例中S102调度服务器将所述UDP请求包向源服务器进行多次发送包括:As a further optimization of the embodiment shown in FIG. 1, in the embodiment shown in FIG. 1, the S102 scheduling server sends the UDP request packet to the source server multiple times, including:
S1021:调度服务器将所述UDP请求包向多个源服务器进行发送。 S1021: The scheduling server sends the UDP request packet to multiple source servers.
在本实施例中,由于UDP协议可以同多个服务器端建立通信,而TCP协议只能与一个服务器端建立通信,因此将UDP请求包向多个源服务器分别进行多次发送,与现有技术使用TCP协议每次只能与一个源服务器进行连接以获取客户端请求的文件所需的索引文件相比,加快了找到该索引文件的速度。In this embodiment, since the UDP protocol can establish communication with multiple server terminals, and the TCP protocol can only establish communication with one server end, the UDP request packet is separately sent to multiple source servers, and the prior art is Using the TCP protocol can only connect to one source server at a time to get the index file required by the client to request the file, speeding up the speed of finding the index file.
作为图1所示实施例的进一步优化,图1所示实施例中S103调度服务器接收来自所述源服务器返回的索引文件包,将所述索引文件包中的索引文件发送至客户端包括:As a further optimization of the embodiment shown in FIG. 1 , in the embodiment shown in FIG. 1 , the S103 scheduling server receives the index file package returned from the source server, and sending the index file in the index file package to the client includes:
S1031:调度服务器将所述源服务器返回的第一个索引文件包中的索引文件发送至客户端,所述索引文件包包括重复的多个UDP索引文件包。S1031: The scheduling server sends an index file in the first index file package returned by the source server to the client, where the index file package includes a plurality of duplicate UDP index file packages.
本发明实施例中,为了保证使用UDP协议进行数据传输的丢包率不能过高,采取了将UDP数据包向同一服务器进行多次发送的方式,即使前面的数据包丢失了,也会有相同的数据包重复发送过来,以较低的资源浪费保证了丢包率的最小化。在本实施例中,对重复发送的UDP索引文件包,不管发送的先后,服务器只根据第一个到达的UDP索引文件包向客户端发送索引文件,这样可以避免向用户重复发送数据从而降低用户体验的问题。In the embodiment of the present invention, in order to ensure that the packet loss rate of data transmission using the UDP protocol cannot be too high, a method of transmitting UDP data packets to the same server multiple times is adopted, and even if the previous data packet is lost, the same is true. The data packets are sent repeatedly, and the low resource waste ensures the minimization of the packet loss rate. In this embodiment, for the UDP index file package that is repeatedly sent, regardless of the sending sequence, the server only sends the index file to the client according to the first UDP index file packet that arrives, so as to avoid repeatedly sending data to the user, thereby reducing the user. The problem of experience.
图2是本发明一实施例的调度响应方法的流程图。如图2所示,该方法包括:2 is a flow chart of a method for scheduling response according to an embodiment of the present invention. As shown in Figure 2, the method includes:
S201:源服务器根据调度服务器发送的请求包确定与所述请求包中的访问请求对应的索引文件;S201: The source server determines, according to the request packet sent by the scheduling server, an index file corresponding to the access request in the request packet.
S202:源服务器将至少部分的索引文件转换为UDP索引文件包,并将所述UDP索引文件包向所述调度服务器进行多次发送。S202: The source server converts at least part of the index file into a UDP index file package, and sends the UDP index file package to the scheduling server multiple times.
在一种具体实施方式中,请求包例如可以是UDP请求包。本实施例中,源服务器具有转换和解析UDP数据包的能力。UDP索引文件包中的索引文件可以是,例如,m3u8文件,用以提供客户端请求播放的完整视频流所需的多个切片文件的地址列表文件,客户端得到该切片地址列表文件后即可根据该文件中的地址得到完整的视频流。In a specific embodiment, the request packet can be, for example, a UDP request packet. In this embodiment, the source server has the ability to convert and parse UDP packets. The index file in the UDP index file package may be, for example, an m3u8 file, which is used to provide an address list file of a plurality of slice files required for a complete video stream requested by the client, and the client may obtain the slice address list file. Get the complete video stream based on the address in the file.
本发明实施例提供的调度响应方法,通过源服务器将来自调度服务器的 部分访问请求对应的索引文件转换为UDP索引文件包,并向调度服务器进行多次发送,由于使用了UDP协议进行数据传输,大大加快了源服务器与调度服务器之间的响应速度,缩短了客户端与服务器之间的交互时间,又因为转换后的UDP包向调度服务器发送了多次,弥补了使用UDP协议没有超时重发等机制带来的丢包率较高的问题,与现有技术全程使用TCP协议来进行数据传输相比,在丢包率没有显著升高的同时,加快了服务器之间的交互速度,降低了用户的访问时间。The scheduling response method provided by the embodiment of the present invention is to be sent from the scheduling server by the source server. The index file corresponding to the partial access request is converted into a UDP index file package and sent to the dispatching server multiple times. Since the UDP protocol is used for data transmission, the response speed between the source server and the dispatch server is greatly accelerated, and the client is shortened. The interaction time with the server, and because the converted UDP packet is sent to the scheduling server multiple times, which makes up for the problem of high packet loss rate caused by the mechanism of using UDP protocol without timeout retransmission, etc. Compared with the data transmission using the TCP protocol, the packet loss rate is not significantly increased, and the interaction speed between the servers is accelerated, and the access time of the user is reduced.
作为图2所示实施例的进一步优化,图2所示实施例中S201源服务器根据调度服务器发送的请求包确定与所述请求包中的访问请求对应的索引文件包括:As a further optimization of the embodiment shown in FIG. 2, in the embodiment shown in FIG. 2, the S201 source server determines, according to the request packet sent by the scheduling server, an index file corresponding to the access request in the request packet, including:
S2011:源服务器根据接收到的第一个请求包确定与所述请求包中的访问请求对应的索引文件,所述请求包包括重复的多个UDP请求包。S2011: The source server determines an index file corresponding to the access request in the request packet according to the received first request packet, where the request packet includes a plurality of duplicate UDP request packets.
本发明实施例中,为了保证使用UDP协议进行数据传输的丢包率不能过高,采取了将UDP数据包向同一服务器进行多次发送的方式,即使前面的数据包丢失了,也会有相同的数据包重复发送过来,以较低的资源浪费保证了丢包率的最小化。在本实施例中,对重复发送的UDP请求包,不管发送的先后,服务器只根据第一个到达的UDP请求包确定客户端所需的索引文件,这样可以避免向用户重复发送数据从而降低用户体验的问题。In the embodiment of the present invention, in order to ensure that the packet loss rate of data transmission using the UDP protocol cannot be too high, a method of transmitting UDP data packets to the same server multiple times is adopted, and even if the previous data packet is lost, the same is true. The data packets are sent repeatedly, and the low resource waste ensures the minimization of the packet loss rate. In this embodiment, for the UDP request packet that is repeatedly sent, regardless of the sequence of sending, the server only determines the index file required by the client according to the first UDP request packet that arrives, so as to avoid repeatedly sending data to the user, thereby reducing the user. The problem of experience.
作为图2所示实施例的进一步优化,图2所示实施例中S202源服务器将至少部分的索引文件转换为UDP索引文件包包括:As a further optimization of the embodiment shown in FIG. 2, in the embodiment shown in FIG. 2, the S202 source server converts at least part of the index file into a UDP index file package, including:
S2021:源服务器将所述索引文件的大小与预定阈值进行比较,当所述索引文件的大小小于所述预定阈值时,将所述索引文件转换为UDP索引文件包。S2021: The source server compares the size of the index file with a predetermined threshold, and converts the index file into a UDP index file package when the size of the index file is smaller than the predetermined threshold.
本发明实施例中,由于单个UDP数据包的大小有限制(通常情况下小于1500字节,其中数据区最大长度为1472字节),超过单包大小的请求若再转换为UDP数据包,则需要对该数据进行分片发送;然而UDP协议是无序的传输协议,发送进程所发送的每个数据报并不按照原先发送的顺序到达接收进程,有可能早发送的数据报较后到达接收进程,因此为了保证数据的安全 性,数据较大的索引文件不能转换为UDP索引文件包。本实施例对能够转换为UDP索引文件包的索引文件做出了限制,满足要求(即小于预定阈值,该预定阈值保证索引文件能够转换为UDP索引文件单包)的索引文件按UDP协议进行发送,其余请求按原协议进行发送,保证了数据传输的安全性。In the embodiment of the present invention, since the size of a single UDP data packet is limited (usually less than 1500 bytes, wherein the maximum length of the data area is 1472 bytes), if the request exceeding the single packet size is converted into a UDP data packet, The data needs to be sent in fragments; however, the UDP protocol is an unordered transmission protocol. Each datagram sent by the sending process does not arrive in the receiving process in the order in which it was originally sent. It is possible that the datagram sent earlier arrives later. Process, so to ensure data security Sex, index files with large data cannot be converted to UDP index files. This embodiment limits the index file that can be converted into a UDP index file package, and the index file that satisfies the requirement (that is, less than a predetermined threshold, the predetermined threshold ensures that the index file can be converted into a UDP index file single packet) is sent according to the UDP protocol. The rest of the requests are sent according to the original protocol, ensuring the security of data transmission.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作合并,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明实施例所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that the embodiments of the present invention are not subject to the described action sequence. Limitations, as certain steps may be performed in other orders or concurrently in accordance with embodiments of the present invention. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
图3是本发明一实施例的调度设备的结构示意图。本发明实施例所述的调度方法可以基于本实施例中的调度设备实施。如图3所示,该设备包括请求转换单元301、请求发送单元302和调度返回单元303。FIG. 3 is a schematic structural diagram of a scheduling device according to an embodiment of the present invention. The scheduling method according to the embodiment of the present invention may be implemented based on the scheduling device in this embodiment. As shown in FIG. 3, the device includes a request conversion unit 301, a request transmitting unit 302, and a scheduling return unit 303.
请求转换单元301用于将来自客户端的至少部分的访问请求转换为UDP请求包;The request conversion unit 301 is configured to convert at least part of the access request from the client into a UDP request packet;
请求发送单元302用于将请求转换单元301转换的所述UDP请求包向源服务器进行多次发送;The request sending unit 302 is configured to send the UDP request packet converted by the request conversion unit 301 to the source server multiple times;
调度返回单元303用于接收来自所述源服务器返回的索引文件包,将所述索引文件包中的索引文件发送至客户端。The scheduling return unit 303 is configured to receive an index file package returned from the source server, and send an index file in the index file package to the client.
在一种具体实施方式中,索引文件包例如可以是UDP索引文件包。由于使用UDP协议进行数据传输时无需在客户端和服务器之间建立连接(例如,TCP协议的三次握手连接),也没有超时重发等机制,因此传输速度非常快。本实施例中,调度服务器中的请求转换单元301将来自客户端的部分访问请求转换为UDP请求包并通过请求发送单元302向源服务器进行发送,可以大大提高调度服务器与源服务器之间的响应速度,对一些要求传输速度较快的领域(例如,视频领域)来说,本发明实施例所示的方法能够在一定程度上满足这样的需求。 In a specific embodiment, the index file package can be, for example, a UDP index file package. Since the UDP protocol is used for data transmission, there is no need to establish a connection between the client and the server (for example, the three-way handshake connection of the TCP protocol), and there is no mechanism such as timeout retransmission, so the transmission speed is very fast. In this embodiment, the request conversion unit 301 in the scheduling server converts the partial access request from the client into a UDP request packet and transmits it to the source server through the request sending unit 302, which can greatly improve the response speed between the scheduling server and the source server. For some areas requiring faster transmission speed (for example, the video field), the method shown in the embodiment of the present invention can satisfy such requirements to some extent.
此外,由于使用UDP协议进行数据传输没有超时重发等机制,因此丢包率相对TCP协议较高,本实施例中采用将接收到的客户端的访问请求向源服务器进行多次发送的方式来降低传输UDP请求包的丢包率。通常情况下,可以将UDP请求包进行三次以上的发送,假设进行一次UDP传输的丢包率为10%的话,三次发送的丢包率就降为了10%×10%×10%=0.1%,四次发送的丢包率已经降到了0.1‰,该丢包率已经与使用TCP协议时可能产生的丢包率基本相当,可以认为已经达到了较好的降低丢包率的效果。In addition, since the data transmission using the UDP protocol does not have a mechanism such as timeout retransmission, the packet loss rate is higher than that of the TCP protocol. In this embodiment, the received client's access request is sent to the source server multiple times to reduce the data. The packet loss rate of the transmitted UDP request packet. Generally, the UDP request packet can be sent more than three times. If the packet loss rate of a UDP transmission is 10%, the packet loss rate of the three transmissions is reduced to 10%×10%×10%=0.1%. The packet loss rate of the four transmissions has dropped to 0.1‰. The packet loss rate is basically the same as the packet loss rate that can be generated when using the TCP protocol. It can be considered that the packet loss rate has been reduced.
本实施例中,调度返回单元303将索引文件包中的索引文件返回客户端时使用的协议根据客户端来决定,若客户端具有解析UDP数据包的能力,则可以使用UDP协议;通常情况下,大部分客户端不具有解析UDP数据包的能力,因此多数情况下还是使用TCP协议。索引文件包中的索引文件可以是,例如,m3u8文件,用以提供客户端请求播放的完整视频流所需的多个切片文件的地址列表文件,客户端得到该切片地址列表文件后即可根据该文件中的地址得到完整的视频流。In this embodiment, the scheduling return unit 303 determines the protocol used when the index file in the index file package is returned to the client according to the client. If the client has the capability of parsing the UDP data packet, the UDP protocol may be used; Most clients do not have the ability to parse UDP packets, so in most cases the TCP protocol is used. The index file in the index file package may be, for example, an m3u8 file, which is used to provide an address list file of a plurality of slice files required for a complete video stream requested by the client, and the client may obtain the slice address list file according to the address file. The address in this file gets the full video stream.
本发明实施例提供的调度设备,通过调度服务器中的请求转换单元301将来自客户端的部分访问请求转换为UDP请求包,并通过请求发送单元302向源服务器进行多次发送,由于使用了UDP协议进行数据传输,大大加快了调度服务器与源服务器之间的响应速度,缩短了客户端与服务器之间的交互时间,又因为转换后的UDP包向源服务器发送了多次,弥补了使用UDP协议没有超时重发等机制带来的丢包率较高的问题,与现有技术全程使用TCP协议来进行数据传输相比,在丢包率没有显著升高的同时,加快了服务器之间的交互速度,降低了用户的访问时间。The scheduling device provided by the embodiment of the present invention converts a partial access request from the client into a UDP request packet through the request conversion unit 301 in the scheduling server, and sends the UDP request packet to the source server through the request sending unit 302, because the UDP protocol is used. Data transmission greatly speeds up the response between the dispatch server and the source server, shortens the interaction time between the client and the server, and sends the UDP packet to the source server multiple times to make up for the use of the UDP protocol. There is no problem of high packet loss rate caused by mechanisms such as timeout retransmission. Compared with the prior art, the TCP protocol is used for data transmission. Compared with the data transmission, the packet loss rate is not significantly increased, and the interaction between servers is accelerated. Speed, reducing user access time.
作为图3所示实施例的进一步优化,图3所示实施例中请求转换单元301用于:As a further optimization of the embodiment shown in FIG. 3, the request conversion unit 301 in the embodiment shown in FIG. 3 is used to:
解析来自客户端的访问请求,确定所述访问请求的大小;Parsing an access request from the client to determine the size of the access request;
将所述访问请求的大小与预定阈值进行比较,当所述访问请求的大小小于所述预定阈值时,将所述访问请求转换为UDP请求包。The size of the access request is compared to a predetermined threshold, and when the size of the access request is less than the predetermined threshold, the access request is converted into a UDP request packet.
本发明实施例中,由于单个UDP数据包的大小有限制(通常情况下小于1500字节,其中数据区最大长度为1472字节),超过单包大小的请求若再转 换为UDP数据包,则需要对该数据进行分片发送;然而UDP协议是无序的传输协议,发送进程所发送的每个数据报并不按照原先发送的顺序到达接收进程,有可能早发送的数据报较后到达接收进程,因此为了保证数据的安全性,数据较大的访问请求不能转换为UDP请求包。本实施例通过请求转换单元301对能够转换为UDP请求包的访问请求做出了限制,满足要求(即小于预定阈值,该预定阈值保证访问请求能够转换为UDP请求单包)的访问请求按UDP协议进行发送,其余请求按原协议进行发送,保证了数据传输的安全性。In the embodiment of the present invention, since the size of a single UDP data packet is limited (usually less than 1500 bytes, wherein the maximum length of the data area is 1472 bytes), if the request exceeds the size of the single packet, if the request is exceeded, In the case of a UDP packet, the data needs to be fragmented. However, the UDP protocol is an unordered transmission protocol. Each datagram sent by the sending process does not arrive in the receiving process in the order in which it was originally sent. It may be sent early. The datagram arrives at the receiving process later, so in order to ensure the security of the data, the larger access request of the data cannot be converted into the UDP request packet. In this embodiment, the request conversion unit 301 limits the access request that can be converted into the UDP request packet, and the access request that satisfies the requirement (that is, less than a predetermined threshold, the predetermined threshold ensures that the access request can be converted into a UDP request packet) is UDP. The protocol is sent, and the rest of the requests are sent according to the original protocol, ensuring the security of data transmission.
作为图3所示实施例的进一步优化,图3所示实施例中请求发送单元302用于将所述UDP请求包向多个源服务器进行发送。As a further optimization of the embodiment shown in FIG. 3, the request sending unit 302 in the embodiment shown in FIG. 3 is configured to send the UDP request packet to multiple source servers.
在本实施例中,由于UDP协议可以同多个服务器端建立通信,而TCP协议只能与一个服务器端建立通信,因此将UDP请求包通过请求发送单元302向多个源服务器分别进行多次发送,与现有技术使用TCP协议每次只能与一个源服务器进行连接以获取客户端请求的文件所需的索引文件相比,加快了找到该索引文件的速度。In this embodiment, since the UDP protocol can establish communication with multiple server terminals, and the TCP protocol can only establish communication with one server, the UDP request packet is sent to the multiple source servers multiple times through the request sending unit 302. Compared with the prior art, the TCP protocol can only be connected to one source server at a time to obtain the index file required by the client to request the file, and the speed of finding the index file is accelerated.
作为图3所示实施例的进一步优化,图3所示实施例中调度返回单元303用于将源服务器返回的第一个索引文件包中的索引文件发送至客户端,所述索引文件包包括重复的多个UDP索引文件包。As a further optimization of the embodiment shown in FIG. 3, the scheduling return unit 303 in the embodiment shown in FIG. 3 is configured to send an index file in the first index file package returned by the source server to the client, where the index file package includes Duplicate multiple UDP index file packages.
本发明实施例中,为了保证使用UDP协议进行数据传输的丢包率不能过高,采取了将UDP数据包向同一服务器进行多次发送的方式,即使前面的数据包丢失了,也会有相同的数据包重复发送过来,以较低的资源浪费保证了丢包率的最小化。在本实施例中,对重复发送的UDP索引文件包,不管发送的先后,调度返回单元303只根据第一个到达的UDP索引文件包向客户端发送索引文件,这样可以避免向用户重复发送数据从而降低用户体验的问题。In the embodiment of the present invention, in order to ensure that the packet loss rate of data transmission using the UDP protocol cannot be too high, a method of transmitting UDP data packets to the same server multiple times is adopted, and even if the previous data packet is lost, the same is true. The data packets are sent repeatedly, and the low resource waste ensures the minimization of the packet loss rate. In this embodiment, for the UDP index file packet that is repeatedly sent, regardless of the sequence of transmission, the scheduling return unit 303 sends the index file to the client only according to the first UDP index file packet that arrives, so as to avoid repeatedly sending data to the user. Thereby reducing the user experience.
图4是本发明一实施例的调度响应设备的结构示意图。本发明实施例所述的调度响应方法可以基于本实施例中的调度响应设备实施。如图4所示,该设备包括索引确定单元401、索引转换单元402和索引返回单元403。 FIG. 4 is a schematic structural diagram of a scheduling response device according to an embodiment of the present invention. The scheduling response method in the embodiment of the present invention may be implemented based on the scheduling response device in this embodiment. As shown in FIG. 4, the device includes an index determining unit 401, an index converting unit 402, and an index returning unit 403.
索引确定单元401用于根据调度服务器发送的请求包确定与所述请求包中的访问请求对应的索引文件;The index determining unit 401 is configured to determine, according to the request packet sent by the scheduling server, an index file corresponding to the access request in the request packet;
索引转换单元402用于将索引确定单元401确定的至少部分的索引文件转换为UDP索引文件包;The index conversion unit 402 is configured to convert at least part of the index file determined by the index determining unit 401 into a UDP index file package;
索引返回单元403用于将索引转换单元402转换的所述UDP索引文件包向所述调度服务器进行多次发送。The index return unit 403 is configured to send the UDP index file packet converted by the index conversion unit 402 to the scheduling server multiple times.
在一种具体实施方式中,请求包例如可以是UDP请求包。本实施例中,源服务器具有转换和解析UDP数据包的能力。UDP索引文件包中的索引文件可以是,例如,m3u8文件,用以提供客户端请求播放的完整视频流所需的多个切片文件的地址列表文件,客户端得到该切片地址列表文件后即可根据该文件中的地址得到完整的视频流。In a specific embodiment, the request packet can be, for example, a UDP request packet. In this embodiment, the source server has the ability to convert and parse UDP packets. The index file in the UDP index file package may be, for example, an m3u8 file, which is used to provide an address list file of a plurality of slice files required for a complete video stream requested by the client, and the client may obtain the slice address list file. Get the complete video stream based on the address in the file.
本发明实施例提供的调度响应设备,通过索引确定单元401确定来自调度服务器的部分访问请求对应的索引文件,通过索引转换单元402转换为UDP索引文件包,并通过索引返回单元403向调度服务器进行多次发送,由于使用了UDP协议进行数据传输,大大加快了源服务器与调度服务器之间的响应速度,缩短了客户端与服务器之间的交互时间,又因为转换后的UDP包向调度服务器发送了多次,弥补了使用UDP协议没有超时重发等机制带来的丢包率较高的问题,与现有技术全程使用TCP协议来进行数据传输相比,在丢包率没有显著升高的同时,加快了服务器之间的交互速度,降低了用户的访问时间。The scheduling response device provided by the embodiment of the present invention determines the index file corresponding to the partial access request from the scheduling server by the index determining unit 401, converts it into a UDP index file package by the index converting unit 402, and performs the indexing by the index returning unit 403 to the scheduling server. Multiple transmissions, because the UDP protocol is used for data transmission, the response speed between the source server and the scheduling server is greatly accelerated, the interaction time between the client and the server is shortened, and the converted UDP packet is sent to the scheduling server. Many times, it has made up for the problem of high packet loss rate caused by the mechanism of using UDP protocol without timeout retransmission, and the packet loss rate is not significantly increased compared with the prior art using TCP protocol for data transmission. At the same time, it speeds up the interaction between servers and reduces the access time of users.
作为图4所示实施例的进一步优化,图4所示实施例中索引确定单元401用于根据接收到的第一个请求包确定与所述请求包中的访问请求对应的索引文件,所述请求包包括重复的多个UDP请求包。As a further optimization of the embodiment shown in FIG. 4, the index determining unit 401 in the embodiment shown in FIG. 4 is configured to determine an index file corresponding to the access request in the request packet according to the received first request packet, The request packet includes multiple UDP request packets that are repeated.
本发明实施例中,为了保证使用UDP协议进行数据传输的丢包率不能过高,采取了将UDP数据包向同一服务器进行多次发送的方式,即使前面的数据包丢失了,也会有相同的数据包重复发送过来,以较低的资源浪费保证了丢包率的最小化。在本实施例中,对重复发送的UDP请求包,不管发送的先后,索引确定单元401只根据第一个到达的UDP请求包确定客户端所需的索引文件,这样可以避免向用户重复发送数据从而降低用户体验的问题。 In the embodiment of the present invention, in order to ensure that the packet loss rate of data transmission using the UDP protocol cannot be too high, a method of transmitting UDP data packets to the same server multiple times is adopted, and even if the previous data packet is lost, the same is true. The data packets are sent repeatedly, and the low resource waste ensures the minimization of the packet loss rate. In this embodiment, for the UDP request packet that is repeatedly sent, regardless of the sequence of transmission, the index determining unit 401 determines the index file required by the client only according to the first UDP request packet that arrives, so as to avoid repeatedly sending data to the user. Thereby reducing the user experience.
作为图4所示实施例的进一步优化,图4所示实施例中索引转换单元402用于:As a further optimization of the embodiment shown in FIG. 4, the index conversion unit 402 in the embodiment shown in FIG. 4 is used to:
将所述索引文件的大小与预定阈值进行比较,当所述索引文件的大小小于所述预定阈值时,将所述索引文件转换为UDP索引文件包。The size of the index file is compared with a predetermined threshold, and when the size of the index file is smaller than the predetermined threshold, the index file is converted into a UDP index file package.
本发明实施例中,由于单个UDP数据包的大小有限制(通常情况下小于1500字节,其中数据区最大长度为1472字节),超过单包大小的请求若再转换为UDP数据包,则需要对该数据进行分片发送;然而UDP协议是无序的传输协议,发送进程所发送的每个数据报并不按照原先发送的顺序到达接收进程,有可能早发送的数据报较后到达接收进程,因此为了保证数据的安全性,数据较大的索引文件不能转换为UDP索引文件包。本实施例通过索引转换单元402对能够转换为UDP索引文件包的索引文件做出了限制,满足要求(即小于预定阈值,该预定阈值保证索引文件能够转换为UDP索引文件单包)的索引文件按UDP协议进行发送,其余请求按原协议进行发送,保证了数据传输的安全性。In the embodiment of the present invention, since the size of a single UDP data packet is limited (usually less than 1500 bytes, wherein the maximum length of the data area is 1472 bytes), if the request exceeding the single packet size is converted into a UDP data packet, The data needs to be sent in fragments; however, the UDP protocol is an unordered transmission protocol. Each datagram sent by the sending process does not arrive in the receiving process in the order in which it was originally sent. It is possible that the datagram sent earlier arrives later. Process, so in order to ensure the security of the data, the index file with larger data cannot be converted into a UDP index file package. In this embodiment, the index conversion unit 402 limits the index file that can be converted into the UDP index file package, and meets the requirement (that is, an index file that is smaller than a predetermined threshold, and the predetermined threshold ensures that the index file can be converted into a single packet of the UDP index file). According to the UDP protocol, the rest of the requests are sent according to the original protocol, ensuring the security of data transmission.
本发明实施例中可以通过硬件处理器(hardware processor)来实现相关功能模块。In the embodiment of the present invention, a related function module can be implemented by a hardware processor.
图5为本发明一实施例提供的实施调度方法的电子设备500的结构示意图,本发明实施例并不对电子设备500的具体实现做限定。如图5所示,该电子设备500可以包括:FIG. 5 is a schematic structural diagram of an electronic device 500 for implementing a scheduling method according to an embodiment of the present invention. The specific implementation of the electronic device 500 is not limited in the embodiment of the present invention. As shown in FIG. 5, the electronic device 500 can include:
处理器(processor)510、通信接口(Communications Interface)520、存储器(memory)530、以及通信总线540。其中:A processor 510, a communications interface 520, a memory 530, and a communication bus 540. among them:
处理器510、通信接口520、以及存储器530通过通信总线540完成相互间的通信。The processor 510, the communication interface 520, and the memory 530 complete communication with each other via the communication bus 540.
通信接口520,用于与比如客户端等的网元通信。The communication interface 520 is configured to communicate with a network element such as a client.
处理器510,用于执行程序532,具体可以执行上述方法实施例中的相关步骤。The processor 510 is configured to execute the program 532. Specifically, the related steps in the foregoing method embodiments may be performed.
具体地,程序532可以包括程序代码,所述程序代码包括计算机操作指令。 In particular, program 532 can include program code, the program code including computer operating instructions.
处理器510可能是一个中央处理器CPU,或者是特定集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本发明实施例的一个或多个集成电路。The processor 510 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention.
上述实施例中的电子设备中:In the electronic device in the above embodiment:
存储器,用于存放计算机操作指令;a memory for storing computer operating instructions;
处理器,用于执行所述存储器存储的计算机操作指令,以执行:a processor, configured to execute the computer operating instructions of the memory storage to perform:
将来自客户端的至少部分的访问请求转换为UDP请求包;Converting at least part of the access request from the client to a UDP request packet;
将所述UDP请求包向源服务器进行多次发送;Sending the UDP request packet to the source server multiple times;
接收来自所述源服务器返回的索引文件包,将所述索引文件包中的索引文件发送至客户端;Receiving an index file package returned from the source server, and sending an index file in the index file package to a client;
或以执行:Or to execute:
根据调度服务器发送的请求包确定与所述请求包中的访问请求对应的索引文件;Determining an index file corresponding to the access request in the request packet according to the request packet sent by the scheduling server;
将至少部分的索引文件转换为UDP索引文件包,并将所述UDP索引文件包向所述调度服务器进行多次发送。Converting at least part of the index file into a UDP index file package, and transmitting the UDP index file package to the dispatch server multiple times.
图6是本发明一实施例的调度***的结构示意图。本发明实施例所述的调度方法和调度响应方法可以基于本实施例中的调度***实施。如图6所示,该***包括请求转换单元601、请求发送单元602、索引确定单元603、索引转换单元604、索引返回单元605和调度返回单元606。FIG. 6 is a schematic structural diagram of a scheduling system according to an embodiment of the present invention. The scheduling method and the scheduling response method according to the embodiment of the present invention may be implemented based on the scheduling system in this embodiment. As shown in FIG. 6, the system includes a request conversion unit 601, a request transmission unit 602, an index determination unit 603, an index conversion unit 604, an index return unit 605, and a schedule return unit 606.
请求转换单元601用于将来自客户端的至少部分的访问请求转换为UDP请求包;The request conversion unit 601 is configured to convert at least part of the access request from the client into a UDP request packet;
请求发送单元602用于将所述UDP请求包向源服务器进行多次发送;The request sending unit 602 is configured to send the UDP request packet to the source server multiple times;
索引确定单元603用于根据请求发送单元602发送的请求包确定与所述请求包中的访问请求对应的索引文件;The index determining unit 603 is configured to determine an index file corresponding to the access request in the request packet according to the request packet sent by the request sending unit 602;
索引转换单元604用于将至少部分的索引文件转换为UDP索引文件包;The index conversion unit 604 is configured to convert at least part of the index file into a UDP index file package;
索引返回单元605用于将所述UDP索引文件包向调度服务器进行多次发送;The index returning unit 605 is configured to send the UDP index file packet to the scheduling server multiple times.
调度返回单元606用于接收来自索引返回单元605返回的索引文件包,将所述索引文件包中的索引文件发送至客户端。 The scheduling return unit 606 is configured to receive the index file package returned from the index return unit 605, and send the index file in the index file package to the client.
本发明实施例提供的调度***,通过请求转换单元601将来自客户端的部分访问请求转换为UDP请求包,并通过请求发送单元602向源服务器进行多次发送,通过索引确定单元603确定来自调度服务器的请求发送单元602的部分访问请求对应的索引文件,并通过索引转换单元604转换为UDP索引文件包,并通过索引返回单元605向调度服务器进行多次发送,调度返回单元606将源服务器中的索引返回单元605返回的索引文件包中的索引文件返回客户端,由于使用了UDP协议进行数据传输,大大加快了调度服务器与源服务器之间的响应速度,缩短了客户端与服务器之间的交互时间,又因为转换后的UDP包向服务器发送了多次,弥补了使用UDP协议没有超时重发等机制带来的丢包率较高的问题,与现有技术全程使用TCP协议来进行数据传输相比,在丢包率没有显著升高的同时,加快了服务器之间的交互速度,降低了用户的访问时间。The scheduling system provided by the embodiment of the present invention converts a partial access request from the client into a UDP request packet by the request conversion unit 601, and transmits the multiple times to the source server through the request sending unit 602, and determines the slave scheduling server by the index determining unit 603. The index file corresponding to the partial access request of the request sending unit 602 is converted into a UDP index file package by the index converting unit 604, and is sent to the scheduling server multiple times through the index return unit 605, and the scheduling return unit 606 will be in the source server. The index file in the index file package returned by the index return unit 605 is returned to the client. Since the UDP protocol is used for data transmission, the response speed between the dispatch server and the source server is greatly accelerated, and the interaction between the client and the server is shortened. Time, because the converted UDP packet is sent to the server multiple times, which makes up for the problem of high packet loss rate caused by the mechanism of using UDP protocol without timeout retransmission, etc., and uses the TCP protocol for data transmission in the whole process. Compared, while the packet loss rate has not increased significantly, it is accelerating Interactive speed between servers, reducing the user's access time.
作为图6所示实施例的进一步优化,图6所示***实施例中请求转换单元601用于:As a further optimization of the embodiment shown in FIG. 6, the request conversion unit 601 in the system embodiment shown in FIG. 6 is used to:
解析来自客户端的访问请求,确定所述访问请求的大小;Parsing an access request from the client to determine the size of the access request;
将所述访问请求的大小与预定阈值进行比较,当所述访问请求的大小小于所述预定阈值时,将所述访问请求转换为UDP请求包。The size of the access request is compared to a predetermined threshold, and when the size of the access request is less than the predetermined threshold, the access request is converted into a UDP request packet.
本发明实施例中,由于单个UDP数据包的大小有限制(通常情况下小于1500字节,其中数据区最大长度为1472字节),超过单包大小的请求若再转换为UDP数据包,则需要对该数据进行分片发送;然而UDP协议是无序的传输协议,发送进程所发送的每个数据报并不按照原先发送的顺序到达接收进程,有可能早发送的数据报较后到达接收进程,因此为了保证数据的安全性,数据较大的访问请求不能转换为UDP请求包。本实施例通过请求转换单元601对能够转换为UDP请求包的访问请求做出了限制,满足要求(即小于预定阈值,该预定阈值保证访问请求能够转换为UDP请求单包)的访问请求按UDP协议进行发送,其余请求按原协议进行发送,保证了数据传输的安全性。In the embodiment of the present invention, since the size of a single UDP data packet is limited (usually less than 1500 bytes, wherein the maximum length of the data area is 1472 bytes), if the request exceeding the single packet size is converted into a UDP data packet, The data needs to be sent in fragments; however, the UDP protocol is an unordered transmission protocol. Each datagram sent by the sending process does not arrive in the receiving process in the order in which it was originally sent. It is possible that the datagram sent earlier arrives later. Process, so in order to ensure data security, large data access requests cannot be converted to UDP request packets. In this embodiment, the request conversion unit 601 limits the access request that can be converted into the UDP request packet, and the access request that satisfies the requirement (that is, less than a predetermined threshold, the predetermined threshold ensures that the access request can be converted into a UDP request packet) is UDP. The protocol is sent, and the rest of the requests are sent according to the original protocol, ensuring the security of data transmission.
作为图6所示实施例的进一步优化,图6所示***实施例中请求发送单 元602用于将所述UDP请求包向多个源服务器进行发送。As a further optimization of the embodiment shown in FIG. 6, the request is sent in the system embodiment shown in FIG. Element 602 is configured to send the UDP request packet to a plurality of source servers.
在本实施例中,由于UDP协议可以同多个服务器端建立通信,而TCP协议只能与一个服务器端建立通信,因此将UDP请求包通过请求发送单元602向多个源服务器分别进行多次发送,与现有技术使用TCP协议每次只能与一个源服务器进行连接以获取客户端请求的文件所需的索引文件相比,加快了找到该索引文件的速度。In this embodiment, since the UDP protocol can establish communication with multiple server terminals, and the TCP protocol can only establish communication with one server, the UDP request packet is sent to the multiple source servers multiple times through the request sending unit 602. Compared with the prior art, the TCP protocol can only be connected to one source server at a time to obtain the index file required by the client to request the file, and the speed of finding the index file is accelerated.
作为图6所示实施例的进一步优化,图6所示***实施例中索引确定单元603用于根据接收到的第一个请求包确定与所述请求包中的访问请求对应的索引文件,所述请求包包括重复的多个UDP请求包。As a further optimization of the embodiment shown in FIG. 6, the index determining unit 603 in the system embodiment shown in FIG. 6 is configured to determine an index file corresponding to the access request in the request packet according to the received first request packet. The request packet includes a plurality of duplicate UDP request packets.
本发明实施例中,为了保证使用UDP协议进行数据传输的丢包率不能过高,采取了将UDP数据包向同一服务器进行多次发送的方式,即使前面的数据包丢失了,也会有相同的数据包重复发送过来,以较低的资源浪费保证了丢包率的最小化。在本实施例中,对重复发送的UDP请求包,不管发送的先后,索引确定单元603只根据第一个到达的UDP请求包确定客户端所需的索引文件,这样可以避免向用户重复发送数据从而降低用户体验的问题。In the embodiment of the present invention, in order to ensure that the packet loss rate of data transmission using the UDP protocol cannot be too high, a method of transmitting UDP data packets to the same server multiple times is adopted, and even if the previous data packet is lost, the same is true. The data packets are sent repeatedly, and the low resource waste ensures the minimization of the packet loss rate. In this embodiment, for the UDP request packet that is repeatedly sent, regardless of the sequence of transmission, the index determining unit 603 determines the index file required by the client only according to the first UDP request packet that arrives, so as to avoid repeatedly sending data to the user. Thereby reducing the user experience.
作为图6所示实施例的进一步优化,图6所示***实施例中索引转换单元604用于:As a further optimization of the embodiment shown in FIG. 6, the index conversion unit 604 in the system embodiment shown in FIG. 6 is used to:
将所述索引文件的大小与预定阈值进行比较,当所述索引文件的大小小于所述预定阈值时,将所述索引文件转换为UDP索引文件包。The size of the index file is compared with a predetermined threshold, and when the size of the index file is smaller than the predetermined threshold, the index file is converted into a UDP index file package.
本发明实施例中,由于单个UDP数据包的大小有限制(通常情况下小于1500字节,其中数据区最大长度为1472字节),超过单包大小的请求若再转换为UDP数据包,则需要对该数据进行分片发送;然而UDP协议是无序的传输协议,发送进程所发送的每个数据报并不按照原先发送的顺序到达接收进程,有可能早发送的数据报较后到达接收进程,因此为了保证数据的安全性,数据较大的索引文件不能转换为UDP索引文件包。本实施例通过索引转换单元604对能够转换为UDP索引文件包的索引文件做出了限制,满足要求(即小于预定阈值,该预定阈值保证索引文件能够转换为UDP索引文件单包)的索引文件按UDP协议进行发送,其余请求按原协议进行发送,保证了数据 传输的安全性。In the embodiment of the present invention, since the size of a single UDP data packet is limited (usually less than 1500 bytes, wherein the maximum length of the data area is 1472 bytes), if the request exceeding the single packet size is converted into a UDP data packet, The data needs to be sent in fragments; however, the UDP protocol is an unordered transmission protocol. Each datagram sent by the sending process does not arrive in the receiving process in the order in which it was originally sent. It is possible that the datagram sent earlier arrives later. Process, so in order to ensure the security of the data, the index file with larger data cannot be converted into a UDP index file package. In this embodiment, the index conversion unit 604 limits the index file that can be converted into the UDP index file package, and satisfies the requirement (that is, an index file that is smaller than a predetermined threshold, and the predetermined threshold ensures that the index file can be converted into a single packet of the UDP index file). According to the UDP protocol, the rest of the requests are sent according to the original protocol, ensuring the data. Security of the transmission.
作为图6所示实施例的进一步优化,图6所示***实施例中调度返回单元606用于将索引返回单元605返回的第一个索引文件包中的索引文件发送至客户端,所述索引文件包包括重复的多个UDP索引文件包。As a further optimization of the embodiment shown in FIG. 6, the scheduling return unit 606 in the system embodiment shown in FIG. 6 is configured to send an index file in the first index file package returned by the index return unit 605 to the client, the index. The file package includes multiple UDP index file packages that are duplicated.
本发明实施例中,为了保证使用UDP协议进行数据传输的丢包率不能过高,采取了将UDP数据包向同一服务器进行多次发送的方式,即使前面的数据包丢失了,也会有相同的数据包重复发送过来,以较低的资源浪费保证了丢包率的最小化。在本实施例中,对重复发送的UDP索引文件包,不管发送的先后,调度返回单元606只根据第一个到达的UDP索引文件包向客户端发送索引文件,这样可以避免向用户重复发送数据从而降低用户体验的问题。In the embodiment of the present invention, in order to ensure that the packet loss rate of data transmission using the UDP protocol cannot be too high, a method of transmitting UDP data packets to the same server multiple times is adopted, and even if the previous data packet is lost, the same is true. The data packets are sent repeatedly, and the low resource waste ensures the minimization of the packet loss rate. In this embodiment, for the UDP index file packet that is repeatedly sent, regardless of the sequence of transmission, the scheduling return unit 606 sends the index file to the client only according to the first UDP index file packet that arrives, so as to avoid repeatedly sending data to the user. Thereby reducing the user experience.
图7是本申请另一实施例提供的实施调度方法和/或调度响应方法的电子设备的结构示意图。如图7所示,该设备包括:FIG. 7 is a schematic structural diagram of an electronic device that implements a scheduling method and/or a scheduling response method according to another embodiment of the present application. As shown in Figure 7, the device includes:
一个或多个处理器710以及存储器720,图7中以一个处理器710为例。One or more processors 710 and memory 720, one processor 710 is taken as an example in FIG.
实施调度方法和/或调度响应方法的设备还可以包括:输入装置730和输出装置740。The apparatus implementing the scheduling method and/or the scheduling response method may further include: an input device 730 and an output device 740.
处理器710、存储器720、输入装置730和输出装置740可以通过总线或者其他方式连接,图7中以通过总线连接为例。The processor 710, the memory 720, the input device 730, and the output device 740 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
存储器720为上述的非易失性计算机可读存储介质。处理器710通过运行存储在存储器720中的非易失性软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例调度方法和/或调度响应方法。The memory 720 is the non-volatile computer readable storage medium described above. The processor 710 executes various functional applications and data processing of the server by executing non-volatile software programs, instructions, and modules stored in the memory 720, that is, implementing the above-described method embodiment scheduling method and/or scheduling response method.
输入装置730可接收输入的数字或字符信息,以及产生与调度装置和/或调度响应装置的用户设置以及功能控制有关的键信号输入。输出装置740可包括显示屏等显示设备。Input device 730 can receive input numeric or character information and generate key signal inputs related to user settings and function control of the scheduling device and/or the dispatch response device. The output device 740 can include a display device such as a display screen.
上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法。The above products can perform the methods provided by the embodiments of the present application, and have the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiments of the present application.
作为一种实施方式,上述电子设备包括:至少一个处理器;以及,与所 述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:As an implementation manner, the foregoing electronic device includes: at least one processor; and ???a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to :
根据调度服务器发送的请求包确定与所述请求包中的访问请求对应的索引文件;Determining an index file corresponding to the access request in the request packet according to the request packet sent by the scheduling server;
将至少部分的索引文件转换为UDP索引文件包,并将所述UDP索引文件包向所述调度服务器进行多次发送。Converting at least part of the index file into a UDP index file package, and transmitting the UDP index file package to the dispatch server multiple times.
本申请实施例的电子设备以多种形式存在,包括但不限于:The electronic device of the embodiment of the present application exists in various forms, including but not limited to:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。(1) Mobile communication devices: These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication. Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。(2) Ultra-mobile personal computer equipment: This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access. Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。(3) Portable entertainment devices: These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
(4)服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、***总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。(4) Server: A device that provides computing services. The server consists of a processor, a hard disk, a memory, a system bus, etc. The server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
(5)其他具有数据交互功能的电子装置。(5) Other electronic devices with data interaction functions.
以上所描述的方法实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The method embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.
通过以上的实施例的描述,本领域的技术人员可以清楚地了解到各实施例可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。 基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the embodiments can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware. Based on such understanding, the above-described technical solutions may be embodied in the form of software products in essence or in the form of software products, which may be stored in a computer readable storage medium such as ROM/RAM, magnetic Discs, optical discs, etc., include instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments or portions of the embodiments.
本领域内的技术人员应明白,本发明实施例可提供为方法、***、或计算机程序产品。因此,本发明实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the invention may be provided as a method, system, or computer program product. Thus, embodiments of the invention may be in the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, embodiments of the invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) in which computer usable program code is embodied.
本发明实施例是参照根据本发明实施例的方法、设备(***)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。Embodiments of the invention are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart. These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
最后应说明的是:以上实施例仅用以说明本发明实施例的技术方案,而非对其限制;尽管参照前述实施例对本发明实施例进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换, 并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。 It should be noted that the above embodiments are only used to explain the technical solutions of the embodiments of the present invention, and are not limited thereto; although the embodiments of the present invention are described in detail with reference to the foregoing embodiments, those skilled in the art should understand The technical solutions described in the foregoing embodiments may be modified, or some of the technical features may be equivalently replaced; and these modifications or replacements, The essence of the corresponding technical solutions is not deviated from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (26)

  1. 一种调度方法,所述方法包括:A scheduling method, the method comprising:
    调度服务器将来自客户端的至少部分的访问请求转换为UDP请求包;The scheduling server converts at least part of the access request from the client into a UDP request packet;
    所述调度服务器将所述UDP请求包向源服务器进行多次发送;The scheduling server sends the UDP request packet to the source server multiple times;
    所述调度服务器接收来自所述源服务器返回的索引文件包,将所述索引文件包中的索引文件发送至客户端。The scheduling server receives an index file package returned from the source server, and sends an index file in the index file package to the client.
  2. 根据权利要求1所述的方法,其中,所述调度服务器将来自客户端的至少部分的访问请求转换为UDP请求包包括:The method of claim 1, wherein the scheduling server to convert at least a portion of the access request from the client to the UDP request packet comprises:
    解析来自客户端的访问请求,确定所述访问请求的大小;Parsing an access request from the client to determine the size of the access request;
    将所述访问请求的大小与预定阈值进行比较,当所述访问请求的大小小于所述预定阈值时,将所述访问请求转换为UDP请求包。The size of the access request is compared to a predetermined threshold, and when the size of the access request is less than the predetermined threshold, the access request is converted into a UDP request packet.
  3. 根据权利要求1所述的方法,其中,所述调度服务器将所述UDP请求包向源服务器进行多次发送包括:The method of claim 1, wherein the scheduling server sends the UDP request packet to the source server multiple times comprises:
    所述调度服务器将所述UDP请求包向多个源服务器进行发送。The scheduling server transmits the UDP request packet to a plurality of source servers.
  4. 根据权利要求1或2所述的方法,其中,所述调度服务器接收来自所述源服务器返回的索引文件包,将所述索引文件包中的索引文件发送至客户端包括:The method according to claim 1 or 2, wherein the scheduling server receives an index file package returned from the source server, and sending the index file in the index file package to the client comprises:
    所述调度服务器将所述源服务器返回的第一个索引文件包中的索引文件发送至客户端,所述索引文件包包括重复的多个UDP索引文件包。The scheduling server sends an index file in the first index file package returned by the source server to the client, where the index file package includes a plurality of duplicate UDP index file packages.
  5. 一种调度响应方法,所述方法包括:A scheduling response method, the method comprising:
    源服务器根据调度服务器发送的请求包确定与所述请求包中的访问请求对应的索引文件;The source server determines an index file corresponding to the access request in the request packet according to the request packet sent by the scheduling server;
    所述源服务器将至少部分的索引文件转换为UDP索引文件包,并将所述UDP索引文件包向所述调度服务器进行多次发送。The source server converts at least part of the index file into a UDP index file package, and sends the UDP index file package to the dispatch server multiple times.
  6. 根据权利要求5所述的方法,其中,所述源服务器根据调度服务器发 送的请求包确定与所述请求包中的访问请求对应的索引文件包括:The method of claim 5, wherein the source server is issued according to a scheduling server The sent request packet determines that the index file corresponding to the access request in the request packet includes:
    源服务器根据接收到的第一个请求包确定与所述请求包中的访问请求对应的索引文件,所述请求包包括重复的多个UDP请求包。The source server determines an index file corresponding to the access request in the request packet according to the received first request packet, where the request packet includes a plurality of duplicate UDP request packets.
  7. 根据权利要求5或6所述的方法,其中,所述源服务器将至少部分的索引文件转换为UDP索引文件包包括:The method according to claim 5 or 6, wherein the source server converts at least part of the index file into a UDP index file package comprises:
    将所述索引文件的大小与预定阈值进行比较,当所述索引文件的大小小于所述预定阈值时,将所述索引文件转换为UDP索引文件包。The size of the index file is compared with a predetermined threshold, and when the size of the index file is smaller than the predetermined threshold, the index file is converted into a UDP index file package.
  8. 一种调度设备,所述设备包括:A scheduling device, the device comprising:
    请求转换单元,用于将来自客户端的至少部分的访问请求转换为UDP请求包;a request conversion unit, configured to convert at least part of the access request from the client into a UDP request packet;
    请求发送单元,用于将所述UDP请求包向源服务器进行多次发送;a request sending unit, configured to send the UDP request packet to the source server multiple times;
    调度返回单元,用于接收来自所述源服务器返回的索引文件包,将所述索引文件包中的索引文件发送至客户端。And a scheduling return unit, configured to receive an index file package returned from the source server, and send an index file in the index file package to the client.
  9. 根据权利要求8所述的设备,其中,所述请求转换单元用于:The apparatus of claim 8, wherein the request conversion unit is configured to:
    解析来自客户端的访问请求,确定所述访问请求的大小;Parsing an access request from the client to determine the size of the access request;
    将所述访问请求的大小与预定阈值进行比较,当所述访问请求的大小小于所述预定阈值时,将所述访问请求转换为UDP请求包。The size of the access request is compared to a predetermined threshold, and when the size of the access request is less than the predetermined threshold, the access request is converted into a UDP request packet.
  10. 根据权利要求8所述的设备,其中,所述请求发送单元用于将所述UDP请求包向多个源服务器进行发送。The apparatus according to claim 8, wherein said request transmitting unit is configured to transmit said UDP request packet to a plurality of source servers.
  11. 根据权利要求8或9所述的设备,其中,所述调度返回单元用于将所述源服务器返回的第一个索引文件包中的索引文件发送至客户端,所述索引文件包包括重复的多个UDP索引文件包。The device according to claim 8 or 9, wherein the scheduling return unit is configured to send an index file in a first index file package returned by the source server to a client, where the index file package includes a duplicate Multiple UDP index file packages.
  12. 一种调度响应设备,所述设备包括:A scheduling response device, the device comprising:
    索引确定单元,用于根据调度服务器发送的请求包确定与所述请求包中 的访问请求对应的索引文件;An index determining unit, configured to determine, according to the request packet sent by the scheduling server, the request packet The corresponding index file of the access request;
    索引转换单元,用于将至少部分的索引文件转换为UDP索引文件包;An index conversion unit, configured to convert at least part of the index file into a UDP index file package;
    索引返回单元,用于将所述UDP索引文件包向所述调度服务器进行多次发送。An index returning unit is configured to send the UDP index file packet to the scheduling server multiple times.
  13. 根据权利要求12所述的设备,其中,所述索引确定单元用于根据接收到的第一个请求包确定与所述请求包中的访问请求对应的索引文件,所述请求包包括重复的多个UDP请求包。The device according to claim 12, wherein the index determining unit is configured to determine an index file corresponding to the access request in the request packet according to the received first request packet, where the request packet includes multiple repetitions UDP request packets.
  14. 根据权利要求12或13所述的设备,其中,所述索引转换单元用于:The apparatus according to claim 12 or 13, wherein said index conversion unit is configured to:
    将所述索引文件的大小与预定阈值进行比较,当所述索引文件的大小小于所述预定阈值时,将所述索引文件转换为UDP索引文件包。The size of the index file is compared with a predetermined threshold, and when the size of the index file is smaller than the predetermined threshold, the index file is converted into a UDP index file package.
  15. 一种调度***,所述***包括:A scheduling system, the system comprising:
    请求转换单元,用于将来自客户端的至少部分的访问请求转换为UDP请求包;a request conversion unit, configured to convert at least part of the access request from the client into a UDP request packet;
    请求发送单元,用于将所述UDP请求包向源服务器进行多次发送;a request sending unit, configured to send the UDP request packet to the source server multiple times;
    索引确定单元,用于根据所述请求发送单元发送的请求包确定与所述请求包中的访问请求对应的索引文件;An index determining unit, configured to determine, according to the request packet sent by the request sending unit, an index file corresponding to the access request in the request packet;
    索引转换单元,用于将至少部分的索引文件转换为UDP索引文件包;An index conversion unit, configured to convert at least part of the index file into a UDP index file package;
    索引返回单元,用于将所述UDP索引文件包向调度服务器进行多次发送;An index returning unit, configured to send the UDP index file packet to the scheduling server multiple times;
    调度返回单元,用于接收来自所述索引返回单元返回的索引文件包,将所述索引文件包中的索引文件发送至客户端。And a scheduling return unit, configured to receive an index file package returned from the index return unit, and send an index file in the index file package to a client.
  16. 根据权利要求15所述的***,其中,所述请求转换单元用于:The system of claim 15 wherein said request conversion unit is operative to:
    解析来自客户端的访问请求,确定所述访问请求的大小;Parsing an access request from the client to determine the size of the access request;
    将所述访问请求的大小与预定阈值进行比较,当所述访问请求的大小小于所述预定阈值时,将所述访问请求转换为UDP请求包。 The size of the access request is compared to a predetermined threshold, and when the size of the access request is less than the predetermined threshold, the access request is converted into a UDP request packet.
  17. 根据权利要求15所述的***,其中,所述请求发送单元用于将所述UDP请求包向多个源服务器进行发送。The system according to claim 15, wherein said request transmitting unit is configured to transmit said UDP request packet to a plurality of source servers.
  18. 根据权利要求15所述的***,其中,所述索引确定单元用于根据接收到的第一个请求包确定与所述请求包中的访问请求对应的索引文件,所述请求包包括重复的多个UDP请求包。The system according to claim 15, wherein said index determining unit is configured to determine an index file corresponding to an access request in said request packet according to said received first request packet, said request packet comprising a plurality of duplicates UDP request packets.
  19. 根据权利要求15或18所述的***,其中,所述索引转换单元用于:The system according to claim 15 or 18, wherein said index conversion unit is configured to:
    将所述索引文件的大小与预定阈值进行比较,当所述索引文件的大小小于所述预定阈值时,将所述索引文件转换为UDP索引文件包。The size of the index file is compared with a predetermined threshold, and when the size of the index file is smaller than the predetermined threshold, the index file is converted into a UDP index file package.
  20. 根据权利要求15或16所述的***,其中,所述调度返回单元用于将所述索引返回单元返回的第一个索引文件包中的索引文件发送至客户端,所述索引文件包包括重复的多个UDP索引文件包。The system according to claim 15 or 16, wherein the scheduling return unit is configured to send an index file in a first index file package returned by the index return unit to a client, the index file package including a repetition Multiple UDP index file packages.
  21. 一种调度电子设备,包括:A scheduling electronic device comprising:
    至少一个处理器;以及,At least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
    所述存储器存储有可被所述一个处理器执行的指令,所述指令被被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-4所述的方法。The memory stores instructions executable by the one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the method of claims 1-4.
  22. 一种调度响应电子设备,包括:A scheduling response electronic device comprising:
    至少一个处理器;以及,At least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
    所述存储器存储有可被所述一个处理器执行的指令,所述指令被被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求5-7所述的方法。The memory stores instructions executable by the one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the method of claims 5-7.
  23. 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机 可读存储介质存储计算机指令,当计算机执行所述计算机指令时,使所述计算机执行权利要求1-4所述的方法。Non-transitory computer readable storage medium, characterized in that the non-transitory computer The readable storage medium stores computer instructions which, when executed by a computer, cause the computer to perform the method of claims 1-4.
  24. 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储计算机指令,当计算机执行所述计算机指令时,使所述计算机执行权利要求5-7所述的方法。A non-transitory computer readable storage medium, wherein the non-transitory computer readable storage medium stores computer instructions that, when executed by a computer, cause the computer to perform the method of claims 5-7 Methods.
  25. 一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求1-4所述的方法。A computer program product comprising a computing program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to execute The method of claims 1-4.
  26. 一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求5-7所述的方法。 A computer program product comprising a computing program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to execute The method of claims 5-7.
PCT/CN2016/099606 2016-06-16 2016-09-21 Scheduling method, device and system, and scheduling response method and device WO2017215144A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610429450.1A CN105897767A (en) 2016-06-16 2016-06-16 Scheduling method, equipment and system and scheduling response method and equipment
CN201610429450.1 2016-06-16

Publications (1)

Publication Number Publication Date
WO2017215144A1 true WO2017215144A1 (en) 2017-12-21

Family

ID=56731038

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/099606 WO2017215144A1 (en) 2016-06-16 2016-09-21 Scheduling method, device and system, and scheduling response method and device

Country Status (2)

Country Link
CN (1) CN105897767A (en)
WO (1) WO2017215144A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116095018A (en) * 2022-12-31 2023-05-09 北京中嘉和信通信技术有限公司 Data transmission method and device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897767A (en) * 2016-06-16 2016-08-24 乐视控股(北京)有限公司 Scheduling method, equipment and system and scheduling response method and equipment
CN111092907B (en) * 2019-12-30 2021-09-03 人和未来生物科技(长沙)有限公司 UDP (user Datagram protocol) -based data stream fast transmission method, system and medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1964323A (en) * 2006-11-15 2007-05-16 华为技术有限公司 A system, device and method for realizing base station to support IP transmission via Iub interface
CN101473623A (en) * 2006-06-16 2009-07-01 贺利实公司 Systems and methods for a protocol transformation gateway for quality of service
TW200943841A (en) * 2008-04-07 2009-10-16 Chunghwa Telecom Co Ltd System of integrating and transmitting internet phone signal and method thereof
CN201766620U (en) * 2010-09-17 2011-03-16 深圳市思科泰技术有限公司 Auxiliary server of subway dispatcher
CN102143204A (en) * 2010-11-26 2011-08-03 华为技术有限公司 Method, device and system for realizing reorientation of hypertext transfer protocol in content delivery network
CN102244645A (en) * 2010-05-14 2011-11-16 北京快网科技有限公司 Reliable, transparent and general acceleration gateway system based on UDP protocol
CN104717041A (en) * 2015-04-01 2015-06-17 北京百度网讯科技有限公司 Method and device for transmitting data
CN105897767A (en) * 2016-06-16 2016-08-24 乐视控股(北京)有限公司 Scheduling method, equipment and system and scheduling response method and equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101473623A (en) * 2006-06-16 2009-07-01 贺利实公司 Systems and methods for a protocol transformation gateway for quality of service
CN1964323A (en) * 2006-11-15 2007-05-16 华为技术有限公司 A system, device and method for realizing base station to support IP transmission via Iub interface
TW200943841A (en) * 2008-04-07 2009-10-16 Chunghwa Telecom Co Ltd System of integrating and transmitting internet phone signal and method thereof
CN102244645A (en) * 2010-05-14 2011-11-16 北京快网科技有限公司 Reliable, transparent and general acceleration gateway system based on UDP protocol
CN201766620U (en) * 2010-09-17 2011-03-16 深圳市思科泰技术有限公司 Auxiliary server of subway dispatcher
CN102143204A (en) * 2010-11-26 2011-08-03 华为技术有限公司 Method, device and system for realizing reorientation of hypertext transfer protocol in content delivery network
CN104717041A (en) * 2015-04-01 2015-06-17 北京百度网讯科技有限公司 Method and device for transmitting data
CN105897767A (en) * 2016-06-16 2016-08-24 乐视控股(北京)有限公司 Scheduling method, equipment and system and scheduling response method and equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116095018A (en) * 2022-12-31 2023-05-09 北京中嘉和信通信技术有限公司 Data transmission method and device

Also Published As

Publication number Publication date
CN105897767A (en) 2016-08-24

Similar Documents

Publication Publication Date Title
US10411956B2 (en) Enabling planned upgrade/downgrade of network devices without impacting network sessions
WO2017181587A1 (en) Method and electronic equipment for managing nodes in cdn
EP2783490B1 (en) Time-sensitive data delivery
US10945091B2 (en) Methods and systems for communication management
US9712612B2 (en) Method for improving mobile network performance via ad-hoc peer-to-peer request partitioning
GB2494245A (en) Multi-stream communication
WO2017215144A1 (en) Scheduling method, device and system, and scheduling response method and device
WO2020164476A1 (en) Data downloading method and related apparatus
US20150271226A1 (en) Transport accelerator implementing a multiple interface architecture
CN109660467B (en) Method and apparatus for controlling flow
CN103826139A (en) CDN system, watching server and streaming media data transmission method
CN107920108A (en) A kind of method for pushing of media resource, client and server
WO2023091903A1 (en) Scalable media file transfer
WO2016180284A1 (en) Service node allocation method, device, cdn management server and system
CA2896154C (en) Accessing payload portions of client requests
US20160037509A1 (en) Techniques to reduce bandwidth usage through multiplexing and compression
WO2018000647A1 (en) Method, device, terminal, and server for file downloading
KR20150025249A (en) Method for content routing based on batching and apparatus performing the method
US20230063599A1 (en) Edge computing network, data transmission method and apparatus, device and storage medium
Kumarganesh et al. A novel analytical framework is developed for wireless heterogeneous networks for video streaming applications
KR20160000544A (en) Method and apparatus for determining service quality profile on data distribution service
EP4260195A1 (en) Server fabric adapter for i/o scaling of heterogeneous and accelerated compute systems
US20170289229A1 (en) Method and terminal device for providing multimedia content
US20170171332A1 (en) Message pushing method, electronic device and non-transitory computer-readable storage medium
WO2017185614A1 (en) Route selection method and electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16905256

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16905256

Country of ref document: EP

Kind code of ref document: A1