WO2016131306A1 - Content distribution method and device - Google Patents

Content distribution method and device Download PDF

Info

Publication number
WO2016131306A1
WO2016131306A1 PCT/CN2015/093804 CN2015093804W WO2016131306A1 WO 2016131306 A1 WO2016131306 A1 WO 2016131306A1 CN 2015093804 W CN2015093804 W CN 2015093804W WO 2016131306 A1 WO2016131306 A1 WO 2016131306A1
Authority
WO
WIPO (PCT)
Prior art keywords
sharing
time
sharing device
requesting
sending time
Prior art date
Application number
PCT/CN2015/093804
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 WO2016131306A1 publication Critical patent/WO2016131306A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/53Allocation or scheduling criteria for wireless resources based on regulatory allocation policies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/54Allocation or scheduling criteria for wireless resources based on quality criteria

Definitions

  • This document relates to, but is not limited to, 3rd Generation Partnership Project (3GPP) technology, and more particularly to a method, device and computer readable storage medium for realizing content distribution in direct communication between devices.
  • 3GPP 3rd Generation Partnership Project
  • the 3GPP protocol introduces a communication mode between devices (D2D, Device to Device).
  • Direct communication between devices means that the adjacent devices only perform signaling interaction through the base station, and the data transmission between the devices does not need to be relayed by the base station to directly transmit between the devices. It is not difficult to see that the distribution of content such as video distribution through direct communication between devices reduces the burden on the base station and improves the processing capability of the mobile network for data communication.
  • Point-to-point D2D communication means that a requesting device obtains the requested content from a sharing device.
  • Point-to-multipoint D2D communication means that two or more requesting devices obtain the same requested content from the same sharing device.
  • the requesting device is a device that requests to obtain the requested content
  • the sharing device is a device that is willing to share the requested content.
  • the requesting device mainly establishes a point-to-point D2D connection (hereinafter referred to as an established point-to-point D2D connection) by the ProSe (Proximity-based Services) server and the sharing device, and requests the device. Compute communication resources for the established connection and request the ProSe server to allocate communication resources for the established connection, and the sharing device sends the requested content to the requesting device.
  • the ProSe server is a server for serving D2D, and is disposed on the network side.
  • the above processes for establishing a D2D connection mainly include: device discovery and connection establishment.
  • device discovery the 3GPP protocol supports the requesting device to request additional information while requesting to discover the sharing device.
  • the foregoing process for allocating communication resources generally includes: requesting the device to calculate the transmission rate of the established connection, obtaining the channel state information (CSI, Channel State Information) of the established connection through the ProSe server, and determining according to the calculated transmission rate and the requested CSI.
  • the connected communication resource is established, and the ProSe server is requested to allocate the calculated communication resource for the established connection; after receiving the above request, the ProSe server allocates communication resources for the requesting device and the sharing device.
  • determining the communication resource comprises: determining a channel rate according to the CSI, and setting the communication resource to a ratio of the calculated transmission rate to the determined channel rate.
  • the channel rate is in units of bit/s/Hz, that is, bits per second per Hz
  • the transmission rate is in units of bit/s, that is, bits per second
  • determining the channel rate according to CSI includes: according to CSI and preset CSI and modulation
  • the channel rate is determined by the correspondence between the mode and the channel rate
  • the transmission rate is the ratio of the amount of data of the requested content to the transmission time.
  • the 3GPP protocol supports that, when the CSI is acquired in the allocated communication resource, the requesting device acquires other information of the shared device, such as the moving speed, the moving direction, and the location information of the sharing device, through the ProSe server. After the ProSe server allocates communication resources, it enters the above process of sending the request content.
  • the sharing device since the sharing device needs to transmit the complete request content to the requesting device, the load of the sharing device is increased correspondingly, especially when the amount of data of the requested content is large, and the preset transmission time is small, sharing The load of the device increases greatly, so the processing performance of the sharing device is greatly reduced, thereby correspondingly reducing the user experience of the sharing device.
  • the embodiment of the present invention provides a method and a device for implementing content distribution, which can reduce the load of the sharing device and better ensure the processing performance of the sharing device.
  • An embodiment of the present invention discloses a method for implementing content distribution, including:
  • the requesting device establishes a direct communication D2D connection between the peer-to-peer devices and two or more sharing devices respectively;
  • the requesting device divides the request content into one sharing device with each of the sharing devices according to a preset blocking policy. a corresponding block, and separately notify each of the sharing devices;
  • Each of the sharing devices respectively transmits the notified segment to the requesting device.
  • the method further includes:
  • the requesting device separately acquires channel state information CSI of each established connection by using a proximity service ProSe server;
  • the method further includes:
  • the requesting device calculates a transmission rate of each of the established connections, determines a communication resource for each of the established connections according to a transmission rate and a CSI corresponding to each of the established connections, and requests the ProSe server to respectively Each of the established connections allocates a corresponding determined communication resource.
  • the number of the sharing devices is N;
  • the blocking policy is: dividing the requested content into N partitions, and establishing a correspondence between each divided partition and each of the sharing devices;
  • the transmission rate of each of the established connections is the ratio of the data amount of the corresponding block to the preset transmission time.
  • the step of establishing a device in the point-to-point D2D connection further includes: the requesting device requesting, by the requesting device, the standby time corresponding to the remaining power of the sharing device;
  • the blocking policy is: for each sharing device, setting a standby time of the sharing device and a time with a smaller value in the preset transmission time as the first sending time of the sharing device, and obtaining the information of each of the sharing devices. a first sending time, dividing the request content into blocks corresponding to each of the sharing devices according to the obtained ratio of each of the first sending times;
  • the transmission rate of each of the established connections is a ratio of the data amount of the corresponding block to the corresponding first transmission time.
  • the method further includes: the requesting device separately acquiring the moving direction and the motion of each of the sharing devices by using the ProSe server. Speed and position information;
  • the blocking policy is: for each sharing device, according to the sports party corresponding to the sharing device Calculating a second sending time, setting a second sending time of the sharing device and a time when the value of the pre-set transmission time is smaller as the third sending time of the sharing device, and obtaining each of the Sharing the third sending time of the device, and dividing the request content into the blocks corresponding to each of the sharing devices according to the obtained ratio of each third sending time;
  • the transmission rate of each of the established connections is a ratio of the data amount of the corresponding block to the corresponding third transmission time.
  • the calculating the second sending time includes: calculating, for each sharing device, how long the distance between the requesting device and the sharing device is equal to a preset maximum according to the moving direction, the moving speed, and the location information of the requesting device and the sharing device
  • the communication distance, the calculated time is the second transmission time corresponding to the sharing device.
  • Each of the sharing devices includes: a start and stop location identifier of each of the divided blocks to be separately sent to the sharing device corresponding to each of the segments by the ProSe server.
  • the embodiment of the invention further discloses an apparatus for realizing content distribution, comprising at least a connection establishing unit 10, a blocking unit 20 and a receiving unit 30, wherein
  • connection establishing unit 10 is configured to establish a point-to-point D2D connection with two or more sharing devices respectively;
  • the blocking unit 20 is configured to divide the request content into blocks corresponding to each sharing device according to a pre-set blocking policy, and respectively notify each of the sharing devices;
  • the receiving unit 30 is configured to respectively receive the sub-blocks sent by each sharing device.
  • the blocking unit 20 is further configured to:
  • the number of the sharing device is N;
  • the blocking policy is: dividing the requested content into N partitions, and establishing a correspondence between each divided partition and the sharing device;
  • the transmission rate of each of the established connections is the ratio of the data amount of the corresponding block to the preset transmission time.
  • connection establishing unit 10 is further configured to: when requesting to discover the sharing device, request a standby time of the sharing device corresponding to the remaining power;
  • the blocking policy is: for each sharing device, setting a standby time of the sharing device and a time with a smaller value in the preset transmission time as the first sending time of the sharing device, and obtaining the number of each of the sharing devices. a sending time, dividing the request content into blocks corresponding to each of the sharing devices according to the obtained ratio of each of the first sending times;
  • the transmission rate of each of the established connections is a ratio of the data amount of the corresponding block to the corresponding first transmission time.
  • the blocking unit 20 is further configured to: separately acquire, by using the ProSe server, a motion direction, a motion speed, and location information;
  • the blocking policy is: for each sharing device, calculating a second sending time according to the moving direction, the moving speed, and the position information corresponding to the sharing device, and the second sending time of the sharing device and the preset transmission time value The smaller time is set as the third sending time of the sharing device, and the third sending time of each of the sharing devices is obtained, and the request content is divided into each of the sharing devices according to the obtained ratio of each third sending time.
  • the transmission rate of each of the established connections is a ratio of the data amount of the corresponding block to the corresponding third transmission time.
  • the blocking unit 20 is configured to calculate, according to the moving direction, the moving speed, and the position information of the device and the sharing device, how long the device is processed for each sharing device.
  • the distance between the sharing device and the sharing device is equal to the preset maximum communication distance, and the calculated time is the second sending time corresponding to the sharing device.
  • the blocking unit 20 is configured to: send and receive the start and stop location identifiers of each of the divided blocks to the sharing devices corresponding to each of the segments by using the ProSe server.
  • the embodiment of the present invention further provides a computer readable storage medium, which stores program instructions, and when the program instructions are executed by the processor, can implement a method for implementing content distribution provided by the embodiments of the present invention.
  • the technical solution of the present invention includes: the requesting device separately establishes a point-to-point D2D connection with two or more sharing devices; and the requesting device divides the request content into each sharing device according to a preset blocking policy. A corresponding partition is respectively notified to each sharing device; each sharing device separately transmits the notified segment to the requesting device.
  • a plurality of sharing devices respectively send a part of the requested content to the same requesting device, that is, a block that is notified to be transmitted, and the load of the sharing device is reduced compared to the existing point-to-point D2D communication.
  • the processing performance of the sharing device is well ensured, so that the user experience of sharing the setting is better ensured.
  • FIG. 1 is a flowchart of a method for implementing content distribution in an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a positional relationship between a requesting device and a sharing device according to a third embodiment of the present invention
  • Figure 3 is a flow chart of the first embodiment of the present invention.
  • Figure 4 is a flow chart of a second embodiment of the present invention.
  • Figure 5 is a flow chart of a third embodiment of the present invention.
  • Figure 6 is a flow chart of a fourth embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a device for implementing content distribution according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for implementing content distribution, as shown in FIG. 1, including:
  • Step 101 The requesting device establishes a point-to-point D2D connection with two or more sharing devices respectively.
  • the establishment of a point-to-point D2D connection in this step is similar to the implementation of establishing a point-to-point D2D connection in an existing point-to-point D2D communication. The difference is that two or more point-to-point D2D connections are established by this step, and a point-to-point D2D is established in the existing point-to-point D2D communication. connection.
  • Step 102 The requesting device divides the request content into blocks corresponding to each sharing device according to a preset blocking policy, and respectively notifies each sharing device.
  • the method further includes: requesting, by the ProSe server, the CSI of each established connection separately, and obtaining the CSI of each established connection may be implemented by using a conventional technical means of a person skilled in the art. It is not intended to limit the scope of protection of the present invention and will not be described herein.
  • the blocking policy is: dividing the requested content into N partitions, and establishing each divided partition.
  • the information may be divided into N partitions evenly, or may be divided into N partitions according to other strategies; the correspondence between each partition and each shared device may be a random correspondence, or may be corresponding according to other corresponding rules.
  • the establishment of the point-to-point D2D connection in step 101 includes: device discovery and connection establishment.
  • the method of the present invention further includes: requesting, by the requesting device, the standby time corresponding to the remaining power of the sharing device while requesting to discover the sharing device.
  • the standby time is used to indicate the power supply time of the remaining power of the sharing device.
  • the standby time of the sharing device can be obtained by the function of "requesting the device to request additional information while requesting to discover the sharing device" supported by the 3GPP protocol.
  • the blocking strategy is: for each sharing device, the standby device will be shared.
  • the time with the smaller value of the time and the preset transmission time is set as the first sending time of the sharing device, and the first sending time of each sharing device is obtained, and the content of the request is divided into proportions according to the obtained ratio of each first sending time.
  • Each shared device corresponds to a block.
  • the pre-set transmission time is 10 seconds
  • the data amount of the requested content is A bit
  • the point-to-point D2D connection is established with the first sharing device and the second sharing device respectively by step 101, and the obtained first sharing device and the second sharing device are respectively obtained.
  • the standby time is 5 seconds and 20 seconds respectively.
  • the first sending time of the first sharing device and the second sharing device is 5 seconds and 10 seconds respectively, and the first sharing device and the second sharing device correspond to the block. A/3 bits and 2A/3 bits, respectively.
  • the method when the requesting device obtains the CSI of each established connection through the ProSe server, the method further includes: requesting the device to obtain the moving direction, the moving speed, and the moving speed of each sharing device respectively through the ProSe server. location information.
  • the blocking policy is: for each sharing device, calculating a second sending time according to the moving direction, the moving speed, and the position information corresponding to the sharing device, and setting the second sending time of the sharing device and the preset
  • the time when the value of the transmission time is small is set to the third transmission time of the sharing device, and the third transmission time of each sharing device is obtained, and the content of the request is divided into each sharing device according to the ratio of each of the obtained third transmission times.
  • Calculating the second sending time includes: calculating, for each sharing device, how long the distance between the requesting device and the sharing device is equal to a preset maximum communication distance according to the moving direction, the moving speed, and the location information of the requesting device and the sharing device
  • the calculated time is the second transmission time corresponding to the sharing device.
  • the maximum communication distance is the maximum distance between the requesting device and the sharing of direct communication between the devices.
  • the following example shows how to calculate how long the distance between the requesting device and the sharing device is equal to the maximum communication distance:
  • the requesting device and the sharing device are located at points A1 and B1, respectively, and the moving speeds of the requesting device and the sharing device are respectively v1 and v2, and the directions of arrows at v1 and v2 respectively represent requesting devices and sharing.
  • the moving direction of the device, the angle between the moving directions of the two is ⁇
  • the coordinates of the A1 point are (a, 0)
  • the coordinates of the B1 point are (b1, b2).
  • the requesting device and the sharing device are requested.
  • the devices are located at points A2 and B2 respectively.
  • the distance between points A2 and B2 is d2, and the maximum communication distance is D.
  • a coordinate system in which the point O is centered to request the direction of motion of the device as the positive direction of the x-axis is established, and the coordinates of A1 and B1 can be obtained as (a+v 1 t 1 , 0) and ( b 1 + v 2 t 1 cos ⁇ , b 2 + v 2 t 1 sin ⁇ ), d2 is calculated as shown in formula (1),
  • the step of notifying each of the sharing devices in step 102 includes: transmitting the start and stop location identifiers of each of the divided blocks to the sharing device corresponding to each of the segments by the ProSe server.
  • Step 103 Each sharing device separately transmits the notified segment to the requesting device. It should be noted that each sharing device can directly send the notified packet to the requesting device, that is, the notified packet is not sent to the requesting device through the ProSe server.
  • the method of the present invention further includes: the requesting device calculates a transmission rate of each of the established connections, and determines a communication resource for each of the established connections according to a transmission rate and a CSI corresponding to each of the established connections. And requesting the ProSe server to allocate corresponding determined communication resources for each of the established connections.
  • the transmission rate of each established connection is corresponding.
  • the transmission rate of each established connection is the ratio of the data amount of the corresponding block to the corresponding first transmission time.
  • the transmission rate of each established connection is the ratio of the data amount of the corresponding block to the corresponding third transmission time.
  • a plurality of sharing devices respectively send a part of the request content, that is, a notification block, to the same requesting device, which reduces the load of the sharing device compared to the existing point-to-point D2D communication, and better guarantees Share the processing performance of the device.
  • the preset transmission time is 10 seconds
  • the data volume of the requested content is 1000 bits.
  • the transmission rate of the sharing device for the requested content is 100 bit/s, which is implemented by the present invention.
  • the technical solution provided by the example if two sharing devices send the request content to the requesting device, the amount of data that each sharing device needs to transmit is 500 bits, and therefore, the transmission rate of each sharing device is 50 bit/s, obviously, by the present invention
  • the technical solution provided by the embodiment greatly reduces the load of the sharing device.
  • the first transmission time of each sharing device is determined by combining the remaining power information (ie, standby time) and the transmission time, so that The calculated first sending time (that is, the time when the sharing device transmits the blocking to the requesting device) is more accurate, and the problem of communication interruption caused by the exhaustion of the shared device power (such as a battery) during the transmission process is better avoided, and the present invention is improved. Stability of the inventive solution.
  • the technical solution adopted in the second embodiment is different from the technical solution adopted in the first embodiment, that is, the distance between the requesting device and the sharing device needs to be less than or equal to the maximum communication distance.
  • Accurately calculating the third sending time that is, the time when the sharing device transmits the blocking to the requesting device, thereby avoiding the problem of communication interruption caused by the communication distance between the sharing device and the requesting device exceeding the maximum communication distance during the transmission process, and improving The stability of the technical solution of the present invention.
  • the method provided by the embodiment of the present invention includes:
  • Step 301 The requesting device establishes a point-to-point D2D connection with two or more sharing devices.
  • Step 302 The requesting device sends a request for obtaining status information of each established connection to the ProSe server, where the status information includes the CSI of the established connection.
  • Step 303 The ProSe server acquires status information of each established connection and feeds back to the requesting device.
  • Step 304 The requesting device divides the requested content into blocks corresponding to each sharing device according to the blocking policy.
  • the blocking strategy is: dividing the content of the request into N blocks, and establishing a correspondence between each of the divided blocks and the sharing device.
  • the information may be divided into N partitions evenly, or may be divided into N partitions according to other strategies; the correspondence between each partition and each shared device may be a random correspondence, or may be corresponding according to other corresponding rules.
  • Step 305 The requesting device sends the start and stop location identifiers of each of the divided blocks to the sharing device corresponding to each of the segments by the ProSe server.
  • Step 306 The requesting device calculates a transmission rate of each established connection, determines a communication resource for each established connection according to a transmission rate and a CSI corresponding to each established connection, and requests the ProSe server to separately establish a connection for each connection.
  • the corresponding determined communication resources are allocated.
  • the transmission rate of each established connection is the ratio of the data amount of the corresponding block to the preset transmission time.
  • Step 307 Each sharing device separately transmits the notified segment to the requesting device.
  • Step 308 After receiving the block sent by each sharing device, the requesting device notifies the ProSe server to release the allocated communication resource.
  • the method provided by the embodiment of the present invention includes:
  • Step 401 The requesting device establishes a point-to-point D2D connection with two or more sharing devices.
  • the requesting device requests the sharing device to wait for the standby time corresponding to the remaining power while requesting to discover the sharing device.
  • Step 402 The requesting device sends a request for obtaining status information of each established connection to the ProSe server, where the status information includes the CSI of the established connection.
  • Step 403 The ProSe server acquires status information of each established connection and feeds back to the requesting device.
  • Step 404 The requesting device divides the request content into blocks corresponding to each sharing device according to the blocking policy.
  • the blocking policy is: for each sharing device, setting the standby time of the sharing device and the time of the preset transmission time to be the first sending time of the sharing device, and obtaining the first sending of each sharing device. Time, the request content is divided into blocks corresponding to the sharing device according to the obtained ratio of each first sending time.
  • Step 405 The requesting device sends the start and stop location identifiers of each of the divided blocks to the sharing device corresponding to each of the segments by the ProSe server.
  • Step 406 The requesting device calculates a transmission rate of each established connection, determines a communication resource for each established connection according to a transmission rate and a CSI corresponding to each established connection, and requests the ProSe server to separately establish a connection for each connection. The corresponding determined communication resources are allocated.
  • the transmission rate of each established connection is a ratio of the data amount of the corresponding block to the corresponding first transmission time.
  • Step 407 Each sharing device separately transmits the notified segment to the requesting device.
  • Step 408 After receiving the block sent by the sharing device, the requesting device notifies the ProSe server to release the allocated communication resource.
  • the method provided by the embodiment of the present invention includes:
  • Step 501 The requesting device establishes a point-to-point D2D connection with two or more sharing devices.
  • Step 502 The requesting device sends a request for acquiring status information of each established connection to the ProSe server, where the status information includes the CSI of the established connection, and the moving speed, moving direction, and location information of the sharing device.
  • Step 503 The ProSe server acquires status information of the requesting device request and feeds back to the requesting device.
  • Step 504 The requesting device divides the request content into blocks corresponding to each sharing device according to the blocking policy.
  • the blocking policy is: for each sharing device, calculating a second sending time according to the moving direction, the moving speed, and the location information corresponding to the sharing device, and the second sending time of the sharing device.
  • the time when the value is smaller than the preset transmission time is set as the third sending time of the sharing device, and the third sending time of each sharing device is obtained, and the content of the request is divided into each share according to the obtained ratio of the third sending time.
  • the corresponding block of the device for each sharing device, calculating a second sending time according to the moving direction, the moving speed, and the location information corresponding to the sharing device, and the second sending time of the sharing device.
  • Step 505 The requesting device sends the start and stop location identifiers of each of the divided blocks to the sharing device corresponding to each of the segments by the ProSe server.
  • Step 506 The requesting device calculates a transmission rate of each established connection, determines a communication resource for each established connection according to a transmission rate and a CSI corresponding to each established connection, and requests the ProSe server to separately establish a connection for each connection.
  • the corresponding determined communication resources are allocated.
  • the transmission rate of each established connection is a ratio of the data amount of the corresponding block to the corresponding third transmission time.
  • Step 507 Each sharing device separately transmits the notified segment to the requesting device.
  • Step 508 After receiving the block sent by the sharing device, the requesting device notifies the ProSe server to release the allocated communication resource.
  • the method provided by the embodiment of the present invention includes:
  • Step 601 The requesting device establishes a point-to-point D2D connection with two or more sharing devices.
  • the requesting device requests the sharing device to wait for the standby time corresponding to the remaining power while requesting to discover the sharing device.
  • the requesting device broadcasts a discovery request message through the PC5 interface, where the information carrying the request standby time is carried.
  • the specific definition of the discovery request message broadcasted on the PC5 interface and the PC5 refers to the 3GPP protocol.
  • the discovery request message includes three fields: a ProSe Functional Code, a Requested Model, and a Meta data.
  • the embodiment of the present invention uses the Meta data field to carry the request standby. Information about time. For the definition of the above three fields, refer to the 3GPP protocol.
  • Step 602 The requesting device sends a request for acquiring status information of each established connection to the ProSe server, where the status information includes the CSI of the established connection, and the moving speed, moving direction, and location information of the sharing device.
  • Step 603 The ProSe server acquires status information requested by the device and feeds back to the requesting device.
  • Step 604 The requesting device divides the request content into blocks corresponding to each sharing device according to the blocking policy.
  • the blocking policy is: for each sharing device, setting the standby time of the sharing device and the time of the preset transmission time to be the first sending time of the sharing device, and obtaining the first sending of each sharing device. Time; for each sharing device, calculating a second sending time according to the moving direction, the moving speed, and the position information corresponding to the sharing device, and setting a time when the first sending time and the second sending time of the sharing device are smaller as Sharing the fourth sending time of the device, obtaining a fourth sending time of each sharing device; dividing the request content into blocks corresponding to each sharing device according to the obtained ratio of each fourth sending time.
  • Step 605 The requesting device sends the start and stop location identifiers of each of the divided blocks to the sharing device corresponding to each of the segments by the ProSe server.
  • the requesting device may carry the start and end location identifier through an idle field such as a spare NULL field in a DL InformationTransfer message specified by the 3GPP protocol.
  • Step 606 The requesting device calculates a transmission rate of each established connection, determines a communication resource for each established connection according to a transmission rate and a CSI corresponding to each established connection, and requests the ProSe server to separately establish a connection for each connection.
  • the corresponding determined communication resources are allocated.
  • the transmission rate of each established connection is a ratio of the data amount of the corresponding block to the corresponding fourth transmission time.
  • the fourth transmission time corresponding to the established connection is 10 seconds and the block is 100 bits
  • the transmission rate is 10 bits/s
  • the channel rate the ratio of the transmission rate to the channel rate is determined according to the CSI corresponding to the established connection. It is a communication resource. For example, how to determine the channel rate by using CSI is described with reference to the background art, and details are not described herein again.
  • Step 607 Each sharing device separately transmits the notified segment to the requesting device.
  • Step 608 After receiving the block sent by the sharing device, the requesting device notifies the ProSe server to release the allocated communication resource.
  • the device can perform the technical solution of the embodiment of the present invention again, and implement the continued block receiving of the unsuccessfully received part, and iterate until the transmission of the entire requested content is completed.
  • the method of the embodiment of the present invention may further include:
  • the sharing device is set to a plurality of sharing devices whose CSI is greater than a preset CSI threshold. This avoids the requesting device from communicating with the sharing device with poor communication capability (ie, the CSI is less than or equal to the CSI threshold), thereby achieving more efficient use of communication resources.
  • FIG. 7 is a schematic structural diagram of a device for implementing content distribution according to an embodiment of the present invention.
  • the device can be used as both a requesting device and a sharing device.
  • the device When it is used as a requesting device, it includes at least a connection establishing unit 10, a blocking unit 20, and a receiving unit 30, where
  • connection establishing unit 10 is configured to establish a point-to-point D2D connection with two or more sharing devices respectively;
  • the blocking unit 20 is configured to divide the request content into blocks corresponding to each sharing device according to a pre-set blocking policy, and notify each sharing device separately;
  • the receiving unit 30 is configured to receive the sub-blocks sent by the corresponding sharing device respectively.
  • the blocking unit 20 is also arranged to:
  • the number of the sharing devices is N;
  • the blocking policy is: dividing the content of the request into N blocks, and establishing a correspondence between each of the divided blocks and the sharing device;
  • the sub-blocks may also be divided into N sub-blocks according to other strategies;
  • the correspondence between each sub-block and each shared device may be a random correspondence, or may be corresponding according to other corresponding rules;
  • the transmission rate of each established connection is the ratio of the data amount of the corresponding block to the preset transmission time.
  • connection establishing unit 10 is further configured to: when requesting to discover the sharing device, request the standby time of the sharing device corresponding to the remaining power;
  • the blocking policy is: for each sharing device, setting a standby time of the sharing device and a time with a smaller value in the preset transmission time as the first sending time of the sharing device, and obtaining the first sending time of each sharing device. Dividing the request content into blocks corresponding to the sharing device according to the obtained ratio of each first sending time;
  • the transmission rate of each established connection is the ratio of the data amount of the corresponding block to the corresponding first transmission time.
  • the blocking unit 20 when the CSI of each established connection is obtained by the ProSe server, the blocking unit 20 is further configured to: obtain the motion direction, the motion speed, and the location information of each shared device by using the ProSe server;
  • the blocking strategy is: for each sharing device, calculating a second sending time according to the moving direction, the moving speed, and the position information corresponding to the sharing device, and the second sending time of the sharing device and the preset transmission time are smaller.
  • the time is set to the third sending time of the sharing device, and the third sending time of each sharing device is obtained, and the requested content is divided into the blocks corresponding to the sharing device according to the obtained ratio of each third sending time;
  • the transmission rate of each established connection is the ratio of the data amount of the corresponding block to the corresponding third transmission time.
  • the blocking unit 20 when calculating the second transmission time, is configured to: for each sharing device, calculate how long the motion is based on the motion direction, the motion speed, and the location information of the device and the sharing device.
  • the distance between the device and the sharing device is equal to the preset maximum communication distance, and the calculated time is the second sending time corresponding to the sharing device.
  • the blocking unit 20 is configured to: send and receive the starting and ending position identifiers of each of the divided blocks to the sharing device corresponding to each of the segments by the ProSe server.
  • the embodiment of the present invention further provides a computer readable storage medium, which stores program instructions, and when the program instructions are executed by the processor, can implement a method for implementing content distribution provided by the embodiments of the present invention.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • each device/function module/functional unit in the above embodiment When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the technical solution of the embodiment of the present invention implements that a plurality of sharing devices separately send a part of the requested content to the same requesting device, that is, the notified segment, which reduces the load of the sharing device compared to the existing point-to-point D2D communication.
  • the ground guarantees the processing performance of the sharing device.

Abstract

Provided are a content distribution method and device. The method comprises: respectively establishing device to device (D2D) connections between a request device and two or more sharing devices; dividing, by the request device and according to a preset block policy, requested content into blocks respectively corresponding to each of the sharing devices, respectively notifying, by the request device, each of the sharing devices; and respectively transmitting, by the each of the sharing devices and to the request device, a respectively corresponding block notified by the request device.

Description

一种实现内容分发的方法和设备Method and device for realizing content distribution 技术领域Technical field
本文涉及但不限于第三代合作伙伴计划(3GPP,3rd Generation Partnership Project)技术,尤指一种设备间直接通信中,实现内容分发的方法、设备和计算机可读存储介质。This document relates to, but is not limited to, 3rd Generation Partnership Project (3GPP) technology, and more particularly to a method, device and computer readable storage medium for realizing content distribution in direct communication between devices.
背景技术Background technique
为了降低设备如移动终端之间数据通信量急速增长给移动通信网络带来的负担,3GPP协议引入了设备间直接通信(D2D,Device to Device)的通信方式。设备间直接通信是指,临近设备之间仅通过基站进行信令交互,设备之间的数据传输无需通过基站进行中继转发而在设备间直接进行传输。不难看出,通过设备间直接通信实现内容分发如视频等文件分发,降低了基站的负担,提升了移动网络对于数据通信的处理能力。In order to reduce the burden on the mobile communication network caused by the rapid increase of data traffic between devices such as mobile terminals, the 3GPP protocol introduces a communication mode between devices (D2D, Device to Device). Direct communication between devices means that the adjacent devices only perform signaling interaction through the base station, and the data transmission between the devices does not need to be relayed by the base station to directly transmit between the devices. It is not difficult to see that the distribution of content such as video distribution through direct communication between devices reduces the burden on the base station and improves the processing capability of the mobile network for data communication.
3GPP协议分别规定了点对点D2D通信和点对多点D2D通信。点对点D2D通信是指,一个请求设备从一个分享设备获取请求内容。点对多点D2D通信是指,两个或两个以上请求设备从同一个分享设备获取相同请求内容。其中,请求设备为请求获取请求内容的设备,分享设备为愿意分享请求内容的设备。The 3GPP protocol specifies point-to-point D2D communication and point-to-multipoint D2D communication, respectively. Point-to-point D2D communication means that a requesting device obtains the requested content from a sharing device. Point-to-multipoint D2D communication means that two or more requesting devices obtain the same requested content from the same sharing device. The requesting device is a device that requests to obtain the requested content, and the sharing device is a device that is willing to share the requested content.
在点对点D2D的场景中,主要涉及请求设备通过基于临近服务(ProSe,Proximity-based Services)服务器与分享设备建立点对点D2D连接(下文中将已建立的点对点D2D连接简称为已建连接)、请求设备为已建连接计算通信资源并请求ProSe服务器为已建连接分配通信资源、以及分享设备向请求设备发送请求内容。其中,ProSe服务器为用于服务D2D的服务器,设置于网络侧。In the scenario of the point-to-point D2D, the requesting device mainly establishes a point-to-point D2D connection (hereinafter referred to as an established point-to-point D2D connection) by the ProSe (Proximity-based Services) server and the sharing device, and requests the device. Compute communication resources for the established connection and request the ProSe server to allocate communication resources for the established connection, and the sharing device sends the requested content to the requesting device. The ProSe server is a server for serving D2D, and is disposed on the network side.
上述建立D2D连接的流程主要包括:设备发现和连接建立。其中,在设备发现的过程中,3GPP协议支持请求设备在请求发现分享设备的同时,请求附加信息。 The above processes for establishing a D2D connection mainly include: device discovery and connection establishment. In the process of device discovery, the 3GPP protocol supports the requesting device to request additional information while requesting to discover the sharing device.
上述分配通信资源的流程大致包括:请求设备计算已建连接的传输速率,通过ProSe服务器获取已建连接的信道状态信息(CSI,Channel State Information),根据计算出的传输速率和请求到的CSI确定已建连接的通信资源,并请求ProSe服务器为已建连接分配计算出的通信资源;ProSe服务器接收到上述请求后,为请求设备和分享设备分配通信资源。其中,确定通信资源包括:根据CSI确定信道速率,并将通信资源设置为计算出的传输速率与确定出的信道速率的比值。这里,信道速率的单位为bit/s/Hz,即比特每秒每赫兹,传输速率的单位为bit/s,即比特每秒;根据CSI确定信道速率包括:根据CSI以及预先设置的CSI和调制方式与信道速率的对应关系,确定信道速率;传输速率为请求内容的数据量与传输时间的比值。The foregoing process for allocating communication resources generally includes: requesting the device to calculate the transmission rate of the established connection, obtaining the channel state information (CSI, Channel State Information) of the established connection through the ProSe server, and determining according to the calculated transmission rate and the requested CSI. The connected communication resource is established, and the ProSe server is requested to allocate the calculated communication resource for the established connection; after receiving the above request, the ProSe server allocates communication resources for the requesting device and the sharing device. Wherein determining the communication resource comprises: determining a channel rate according to the CSI, and setting the communication resource to a ratio of the calculated transmission rate to the determined channel rate. Here, the channel rate is in units of bit/s/Hz, that is, bits per second per Hz, and the transmission rate is in units of bit/s, that is, bits per second; determining the channel rate according to CSI includes: according to CSI and preset CSI and modulation The channel rate is determined by the correspondence between the mode and the channel rate; the transmission rate is the ratio of the amount of data of the requested content to the transmission time.
需要说明的是,3GPP协议支持,在分配通信资源中的获取CSI的同时,请求设备通过ProSe服务器获取分享设备的其它信息,如分享设备的移动速度、移动方向和位置信息等。ProSe服务器分配通信资源后,进入上述发送请求内容的流程。It should be noted that the 3GPP protocol supports that, when the CSI is acquired in the allocated communication resource, the requesting device acquires other information of the shared device, such as the moving speed, the moving direction, and the location information of the sharing device, through the ProSe server. After the ProSe server allocates communication resources, it enters the above process of sending the request content.
在现有点对点D2D通信中,由于分享设备需要传输完整的请求内容给请求设备,因此相应增加了分享设备的负荷,尤其当请求内容的数据量较大,且预先设置的传输时间较小时,分享设备的负荷增加较大,因此较大地降低了分享设备的处理性能,从而相应地降低了分享设备的用户体验。In the existing point-to-point D2D communication, since the sharing device needs to transmit the complete request content to the requesting device, the load of the sharing device is increased correspondingly, especially when the amount of data of the requested content is large, and the preset transmission time is small, sharing The load of the device increases greatly, so the processing performance of the sharing device is greatly reduced, thereby correspondingly reducing the user experience of the sharing device.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述,本概述并非是为了限制权利要求的保护范围。The following is a summary of the subject matter described in detail herein, and is not intended to limit the scope of the claims.
为了解决上述技术问题,本发明实施例提供了一种实现内容分发的方法和设备,能够降低分享设备的负荷,较好地保证分享设备的处理性能。In order to solve the above technical problem, the embodiment of the present invention provides a method and a device for implementing content distribution, which can reduce the load of the sharing device and better ensure the processing performance of the sharing device.
本发明实施例公开了一种实现内容分发的方法,包括:An embodiment of the present invention discloses a method for implementing content distribution, including:
请求设备与两个或两个以上分享设备分别建立点对点设备间直接通信D2D连接;The requesting device establishes a direct communication D2D connection between the peer-to-peer devices and two or more sharing devices respectively;
请求设备根据预先设置的分块策略将请求内容分成与每一个分享设备一 一对应的分块,并分别通知所述每一个分享设备;The requesting device divides the request content into one sharing device with each of the sharing devices according to a preset blocking policy. a corresponding block, and separately notify each of the sharing devices;
所述每一个分享设备分别传输被通知的分块给请求设备。Each of the sharing devices respectively transmits the notified segment to the requesting device.
所述分别建立点对点D2D连接之后,所述将请求内容分成分块之前,所述方法还包括:After the point-to-point D2D connection is established respectively, before the content is divided into blocks, the method further includes:
所述请求设备通过基于临近服务ProSe服务器分别获取每一个已建连接的信道状态信息CSI;The requesting device separately acquires channel state information CSI of each established connection by using a proximity service ProSe server;
所述分别通知之后,所述分别传输之前,所述方法还包括:After the separately reporting, before the separately transmitting, the method further includes:
所述请求设备计算所述每一个已建连接的传输速率,根据与所述每一个已建连接对应的传输速率和CSI分别为所述每一个已建连接确定通信资源,并请求ProSe服务器分别为所述每一个已建连接分配对应的确定出的通信资源。The requesting device calculates a transmission rate of each of the established connections, determines a communication resource for each of the established connections according to a transmission rate and a CSI corresponding to each of the established connections, and requests the ProSe server to respectively Each of the established connections allocates a corresponding determined communication resource.
可选地,所述分享设备的数量为N;所述分块策略为:将所述请求内容分成N个分块,建立分成的每一个分块与所述每一个分享设备的对应关系;Optionally, the number of the sharing devices is N; the blocking policy is: dividing the requested content into N partitions, and establishing a correspondence between each divided partition and each of the sharing devices;
所述每一个已建连接的传输速率为对应的分块的数据量与预先设置的传输时间的比值。The transmission rate of each of the established connections is the ratio of the data amount of the corresponding block to the preset transmission time.
可选地,在所述建立点对点D2D连接中的设备发现步骤中还包括:所述请求设备在请求发现分享设备的同时,请求分享设备的与其剩余电量对应的待机时间;Optionally, the step of establishing a device in the point-to-point D2D connection further includes: the requesting device requesting, by the requesting device, the standby time corresponding to the remaining power of the sharing device;
所述分块策略为:针对每一个分享设备,将分享设备的待机时间和预先设置的传输时间中数值较小的时间设置为该分享设备的第一发送时间,得到所述每一个分享设备的第一发送时间,按照得到的所述每一个第一发送时间的比例将请求内容分成与所述每一个分享设备对应的分块;The blocking policy is: for each sharing device, setting a standby time of the sharing device and a time with a smaller value in the preset transmission time as the first sending time of the sharing device, and obtaining the information of each of the sharing devices. a first sending time, dividing the request content into blocks corresponding to each of the sharing devices according to the obtained ratio of each of the first sending times;
所述每一个已建连接的传输速率为对应的分块的数据量与对应的第一发送时间的比值。The transmission rate of each of the established connections is a ratio of the data amount of the corresponding block to the corresponding first transmission time.
可选地,所述请求设备通过ProSe服务器分别获取所述每一个已建连接的CSI时,所述方法还包括:所述请求设备通过ProSe服务器分别获取所述每一个分享设备的运动方向、运动速度和位置信息;Optionally, when the requesting device obtains the CSI of each of the established connections by using the ProSe server, the method further includes: the requesting device separately acquiring the moving direction and the motion of each of the sharing devices by using the ProSe server. Speed and position information;
所述分块策略为:针对每一个分享设备,根据与分享设备对应的运动方 向、运动速度和位置信息,计算第二发送时间,将分享设备的第二发送时间和预先设置的传输时间中数值较小的时间设置为该分享设备的第三发送时间,得到所述每一个分享设备的第三发送时间,按照得到的每一个第三发送时间的比例将请求内容分成与所述每一个分享设备对应的分块;The blocking policy is: for each sharing device, according to the sports party corresponding to the sharing device Calculating a second sending time, setting a second sending time of the sharing device and a time when the value of the pre-set transmission time is smaller as the third sending time of the sharing device, and obtaining each of the Sharing the third sending time of the device, and dividing the request content into the blocks corresponding to each of the sharing devices according to the obtained ratio of each third sending time;
所述每一个已建连接的传输速率为对应的分块的数据量与对应的第三发送时间的比值。The transmission rate of each of the established connections is a ratio of the data amount of the corresponding block to the corresponding third transmission time.
所述计算第二发送时间包括:针对每一个分享设备,根据请求设备和分享设备的运动方向、运动速度和位置信息,计算经过多长时间请求设备和分享设备之间的距离等于预先设置的最大通信距离,计算出的时间即为与该分享设备对应的第二发送时间。The calculating the second sending time includes: calculating, for each sharing device, how long the distance between the requesting device and the sharing device is equal to a preset maximum according to the moving direction, the moving speed, and the location information of the requesting device and the sharing device The communication distance, the calculated time is the second transmission time corresponding to the sharing device.
所述通知每一个分享设备包括:将分成的每一个分块的起止位置标识,通过ProSe服务器分别发送给与所述每一个分块对应的分享设备。Each of the sharing devices includes: a start and stop location identifier of each of the divided blocks to be separately sent to the sharing device corresponding to each of the segments by the ProSe server.
本发明实施例还公开了一种实现内容分发的设备,至少包括连接建立单元10、分块单元20和接收单元30,其中,The embodiment of the invention further discloses an apparatus for realizing content distribution, comprising at least a connection establishing unit 10, a blocking unit 20 and a receiving unit 30, wherein
连接建立单元10,设置为与两个或两个以上分享设备分别建立点对点D2D连接;The connection establishing unit 10 is configured to establish a point-to-point D2D connection with two or more sharing devices respectively;
分块单元20,设置为根据预先设置的分块策略将请求内容分成与每一个分享设备一一对应的分块,并分别通知所述每一个分享设备;The blocking unit 20 is configured to divide the request content into blocks corresponding to each sharing device according to a pre-set blocking policy, and respectively notify each of the sharing devices;
接收单元30,设置为分别接收每一个分享设备分发送的分块。The receiving unit 30 is configured to respectively receive the sub-blocks sent by each sharing device.
所述分块单元20还设置为:The blocking unit 20 is further configured to:
通过ProSe服务器分别获取所述每一个已建连接的CSI;Obtaining, by the ProSe server, the CSIs of each of the established connections respectively;
计算所述每一个已建连接的传输速率,根据与所述每一个已建连接对应的传输速率和CSI分别为所述每一个已建连接确定通信资源,并请求ProSe服务器分别为所述每一个已建连接分配对应的确定出的通信资源。Calculating a transmission rate of each of the established connections, determining communication resources for each of the established connections according to a transmission rate and a CSI corresponding to each of the established connections, and requesting the ProSe server to be each of the The established connection allocates the corresponding determined communication resources.
可选地,所述分享设备的数量为N;所述分块策略为:将所述请求内容分成N个分块,建立分成的每一个分块与所述分享设备的对应关系;Optionally, the number of the sharing device is N; the blocking policy is: dividing the requested content into N partitions, and establishing a correspondence between each divided partition and the sharing device;
所述每一个已建连接的传输速率为对应的分块的数据量与预先设置的传输时间的比值。 The transmission rate of each of the established connections is the ratio of the data amount of the corresponding block to the preset transmission time.
可选地,所述连接建立单元10还设置为:请求发现分享设备时,请求分享设备的与其剩余电量对应的待机时间;Optionally, the connection establishing unit 10 is further configured to: when requesting to discover the sharing device, request a standby time of the sharing device corresponding to the remaining power;
所述分块策略为:针对每个分享设备,将分享设备的待机时间和预先设置的传输时间中数值较小的时间设置为分享设备的第一发送时间,得到所述每一个分享设备的第一发送时间,按照得到的所述每一个第一发送时间的比例将请求内容分成与所述每一个分享设备对应的分块;The blocking policy is: for each sharing device, setting a standby time of the sharing device and a time with a smaller value in the preset transmission time as the first sending time of the sharing device, and obtaining the number of each of the sharing devices. a sending time, dividing the request content into blocks corresponding to each of the sharing devices according to the obtained ratio of each of the first sending times;
所述每一个已建连接的传输速率为对应的分块的数据量与对应的第一发送时间的比值。The transmission rate of each of the established connections is a ratio of the data amount of the corresponding block to the corresponding first transmission time.
可选地,所述通过ProSe服务器分别获取所述每一个已建连接的CSI时,所述分块单元20还设置为:通过ProSe服务器分别获取所述每一个分享设备的运动方向、运动速度和位置信息;Optionally, when the CSI of each of the established connections is obtained by the ProSe server, the blocking unit 20 is further configured to: separately acquire, by using the ProSe server, a motion direction, a motion speed, and location information;
所述分块策略为:针对每个分享设备,根据与分享设备对应的运动方向、运动速度和位置信息,计算第二发送时间,将分享设备的第二发送时间和预先设置的传输时间中数值较小的时间设置为该分享设备的第三发送时间,得到所述每一个分享设备的第三发送时间,按照得到的每一个第三发送时间的比例将请求内容分成与所述每一个分享设备对应的分块;The blocking policy is: for each sharing device, calculating a second sending time according to the moving direction, the moving speed, and the position information corresponding to the sharing device, and the second sending time of the sharing device and the preset transmission time value The smaller time is set as the third sending time of the sharing device, and the third sending time of each of the sharing devices is obtained, and the request content is divided into each of the sharing devices according to the obtained ratio of each third sending time. Corresponding block;
所述每一个已建连接的传输速率为对应的分块的数据量与对应的第三发送时间的比值。The transmission rate of each of the established connections is a ratio of the data amount of the corresponding block to the corresponding third transmission time.
所述计算第二发送时间时,所述分块单元20是设置为:针对每个分享设备,根据所述设备和分享设备的运动方向、运动速度和位置信息,计算经过多长时间所述设备和分享设备之间的距离等于预先设置的最大通信距离,计算出的时间即为与该分享设备对应的第二发送时间。When the calculating the second sending time, the blocking unit 20 is configured to calculate, according to the moving direction, the moving speed, and the position information of the device and the sharing device, how long the device is processed for each sharing device. The distance between the sharing device and the sharing device is equal to the preset maximum communication distance, and the calculated time is the second sending time corresponding to the sharing device.
所述通知每一个分享设备时,所述分块单元20是设置为:将分成的每一个分块的起止位置标识,通过ProSe服务器分别发送给与所述每一个分块对应的各分享设备。When the device is notified of the sharing device, the blocking unit 20 is configured to: send and receive the start and stop location identifiers of each of the divided blocks to the sharing devices corresponding to each of the segments by using the ProSe server.
本发明实施例还提供一种计算机可读存储介质,存储有程序指令,当该程序指令被处理器执行时可实现本发明实施例所提供的一种实现内容分发的方法。 The embodiment of the present invention further provides a computer readable storage medium, which stores program instructions, and when the program instructions are executed by the processor, can implement a method for implementing content distribution provided by the embodiments of the present invention.
与现有技术相比,本发明的技术方案包括:请求设备分别与两个或两个以上分享设备建立点对点D2D连接;请求设备根据预先设置的分块策略将请求内容分成与每一个分享设备一一对应的分块,并分别通知每一个分享设备;每一个分享设备分别传输被通知的分块给请求设备。通过本发明技术方案,实现了多个分享设备分别给同一个请求设备发送请求内容的一部分分块即被通知传输的分块,相比于现有点对点D2D通信,降低了分享设备的负荷,较好地保证了分享设备的处理性能,从而较好地保证了分享设别的用户体验。Compared with the prior art, the technical solution of the present invention includes: the requesting device separately establishes a point-to-point D2D connection with two or more sharing devices; and the requesting device divides the request content into each sharing device according to a preset blocking policy. A corresponding partition is respectively notified to each sharing device; each sharing device separately transmits the notified segment to the requesting device. According to the technical solution of the present invention, a plurality of sharing devices respectively send a part of the requested content to the same requesting device, that is, a block that is notified to be transmitted, and the load of the sharing device is reduced compared to the existing point-to-point D2D communication. The processing performance of the sharing device is well ensured, so that the user experience of sharing the setting is better ensured.
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Other features and advantages of the invention will be set forth in the description which follows, The objectives and other advantages of the invention may be realized and obtained by means of the structure particularly pointed in the appended claims.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
附图用来提供对本发明技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本发明的技术方案,并不构成对本发明技术方案的限制。The drawings are used to provide a further understanding of the technical solutions of the present invention, and constitute a part of the specification, which together with the embodiments of the present application are used to explain the technical solutions of the present invention, and do not constitute a limitation of the technical solutions of the present invention.
图1为本发明实施例中实现内容分发的方法的流程图;1 is a flowchart of a method for implementing content distribution in an embodiment of the present invention;
图2为本发明第三实施例中请求设备和分享设备之间位置关系示意图;2 is a schematic diagram of a positional relationship between a requesting device and a sharing device according to a third embodiment of the present invention;
图3为本发明第一实施例的流程图;Figure 3 is a flow chart of the first embodiment of the present invention;
图4为本发明第二实施例的流程图;Figure 4 is a flow chart of a second embodiment of the present invention;
图5为本发明第三实施例的流程图;Figure 5 is a flow chart of a third embodiment of the present invention;
图6为本发明第四实施例的流程图;Figure 6 is a flow chart of a fourth embodiment of the present invention;
图7为本发明实施例提供的实现内容分发的设备的组成结构示意图。FIG. 7 is a schematic structural diagram of a device for implementing content distribution according to an embodiment of the present invention.
本发明的较佳实施方式Preferred embodiment of the invention
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在 不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that In the case of no conflict, the embodiments in the present application and the features in the embodiments may be arbitrarily combined with each other.
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps illustrated in the flowchart of the figures may be executed in a computer system such as a set of computer executable instructions. Also, although logical sequences are shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
图1为本一种实现内容分发的方法的流程图,如图1所示,包括:FIG. 1 is a flowchart of a method for implementing content distribution, as shown in FIG. 1, including:
步骤101:请求设备与两个或两个以上分享设备分别建立点对点D2D连接。该步骤中建立点对点D2D连接与现有点对点D2D通信中建立点对点D2D连接的实现类似,区别在于通过本步骤建立两个或两个以上点对点D2D连接,而在现有点对点D2D通信中建立一个点对点D2D连接。Step 101: The requesting device establishes a point-to-point D2D connection with two or more sharing devices respectively. The establishment of a point-to-point D2D connection in this step is similar to the implementation of establishing a point-to-point D2D connection in an existing point-to-point D2D communication. The difference is that two or more point-to-point D2D connections are established by this step, and a point-to-point D2D is established in the existing point-to-point D2D communication. connection.
步骤102:请求设备根据预先设置的分块策略将请求内容分成与每一个分享设备一一对应的分块,并分别通知每一个分享设备。Step 102: The requesting device divides the request content into blocks corresponding to each sharing device according to a preset blocking policy, and respectively notifies each sharing device.
可选地,步骤101之后,步骤102之前,还包括:请求设备通过ProSe服务器分别获取每一个已建连接的CSI,获取每一个已建连接的CSI可以采用本领域技术人员的惯用技术手段来实现,并不用于限定本发明的保护范围,此处不再赘述。Optionally, after the step 101, before the step 102, the method further includes: requesting, by the ProSe server, the CSI of each established connection separately, and obtaining the CSI of each established connection may be implemented by using a conventional technical means of a person skilled in the art. It is not intended to limit the scope of protection of the present invention and will not be described herein.
在本发明第一实施例中,假设分享设备的数量为N,也就是说,已建连接的数量为N,分块策略为:将请求内容分成N个分块,建立分成的每一个分块与每一个分享设备的对应关系。其中,可以均匀分成N个分块,也可以根据其他策略分为N个分块;每一个分块与每一个分享设备的对应关系可以是随机对应,也可以根据其他对应规则对应。In the first embodiment of the present invention, it is assumed that the number of shared devices is N, that is, the number of established connections is N, and the blocking policy is: dividing the requested content into N partitions, and establishing each divided partition. Correspondence with each shared device. The information may be divided into N partitions evenly, or may be divided into N partitions according to other strategies; the correspondence between each partition and each shared device may be a random correspondence, or may be corresponding according to other corresponding rules.
其中,根据现有点对点D2D通信可知,步骤101中的建立点对点D2D连接包括:设备发现和连接建立。According to the existing point-to-point D2D communication, the establishment of the point-to-point D2D connection in step 101 includes: device discovery and connection establishment.
在本发明第二实施例中,在步骤101中的设备发现中,本发明方法还包括:请求设备在请求发现分享设备的同时,请求分享设备的与其剩余电量对应的待机时间。其中,待机时间用于表明分享设备剩余电量的供电时间。In the second embodiment of the present invention, in the device discovery in step 101, the method of the present invention further includes: requesting, by the requesting device, the standby time corresponding to the remaining power of the sharing device while requesting to discover the sharing device. The standby time is used to indicate the power supply time of the remaining power of the sharing device.
可以通过3GPP协议支持的“请求设备在请求发现分享设备的同时,请求附加信息”功能,得到分享设备的待机时间。The standby time of the sharing device can be obtained by the function of "requesting the device to request additional information while requesting to discover the sharing device" supported by the 3GPP protocol.
在第二实施例中,分块策略为:针对每个分享设备,将分享设备的待机 时间和预先设置的传输时间中数值较小的时间设置为分享设备的第一发送时间,得到每一个分享设备的第一发送时间,按照得到的每一个第一发送时间的比例将请求内容分成与每一个分享设备对应的分块。In the second embodiment, the blocking strategy is: for each sharing device, the standby device will be shared. The time with the smaller value of the time and the preset transmission time is set as the first sending time of the sharing device, and the first sending time of each sharing device is obtained, and the content of the request is divided into proportions according to the obtained ratio of each first sending time. Each shared device corresponds to a block.
这里举例来讲,Here for example,
假设预先设置的传输时间为10秒,请求内容的数据量为A比特,通过步骤101分别与第一分享设备和第二分享设备建立点对点D2D连接,获得的第一分享设备和第二分享设备的待机时间分别为5秒和20秒,通过步骤102得到:第一分享设备和第二分享设备的第一发送时间分别为5秒和10秒,第一分享设备和第二分享设备对应的分块分别为A/3比特和2A/3比特。It is assumed that the pre-set transmission time is 10 seconds, and the data amount of the requested content is A bit, and the point-to-point D2D connection is established with the first sharing device and the second sharing device respectively by step 101, and the obtained first sharing device and the second sharing device are respectively obtained. The standby time is 5 seconds and 20 seconds respectively. The first sending time of the first sharing device and the second sharing device is 5 seconds and 10 seconds respectively, and the first sharing device and the second sharing device correspond to the block. A/3 bits and 2A/3 bits, respectively.
在本发明第三实施例中,上述请求设备通过ProSe服务器分别获取每一个已建连接的CSI时,本发明方法还包括:请求设备通过ProSe服务器分别获取每一个分享设备的运动方向、运动速度和位置信息。In the third embodiment of the present invention, when the requesting device obtains the CSI of each established connection through the ProSe server, the method further includes: requesting the device to obtain the moving direction, the moving speed, and the moving speed of each sharing device respectively through the ProSe server. location information.
在第三实施例中,分块策略为:针对每个分享设备,根据与分享设备对应的运动方向、运动速度和位置信息,计算第二发送时间,将分享设备的第二发送时间和预先设置的传输时间中数值较小的时间设置为分享设备的第三发送时间,得到每一个分享设备的第三发送时间,按照得到的每一个第三发送时间的比例将请求内容分成与每一个分享设备对应的分块。其中,In the third embodiment, the blocking policy is: for each sharing device, calculating a second sending time according to the moving direction, the moving speed, and the position information corresponding to the sharing device, and setting the second sending time of the sharing device and the preset The time when the value of the transmission time is small is set to the third transmission time of the sharing device, and the third transmission time of each sharing device is obtained, and the content of the request is divided into each sharing device according to the ratio of each of the obtained third transmission times. Corresponding block. among them,
计算第二发送时间包括:针对每个分享设备,根据请求设备和分享设备的运动方向、运动速度和位置信息,计算经过多长时间请求设备和分享设备之间的距离等于预先设置的最大通信距离,计算出的时间即为与分享设备对应的第二发送时间。这里,最大通信距离为请求设备和分享进行设备间直接通信的最大距离。Calculating the second sending time includes: calculating, for each sharing device, how long the distance between the requesting device and the sharing device is equal to a preset maximum communication distance according to the moving direction, the moving speed, and the location information of the requesting device and the sharing device The calculated time is the second transmission time corresponding to the sharing device. Here, the maximum communication distance is the maximum distance between the requesting device and the sharing of direct communication between the devices.
下面通过举例说明如何计算经过多长时间请求设备和分享设备之间的距离等于最大通信距离:The following example shows how to calculate how long the distance between the requesting device and the sharing device is equal to the maximum communication distance:
如图2所示,初始时,请求设备和分享设备分别位于A1点和B1点,请求设备和分享设备的移动速度分别为v1和v2,v1处和v2处的箭头方向分别代表请求设备和分享设备的移动方向,两者的移动方向之间的夹角为θ,A1点坐标为(a,0),B1点坐标为(b1,b2),经过t1时间后,请求设备和分享设 备分别位于A2点和B2点,A2点和B2点之间的距离为d2,最大通信距离为D。As shown in FIG. 2, initially, the requesting device and the sharing device are located at points A1 and B1, respectively, and the moving speeds of the requesting device and the sharing device are respectively v1 and v2, and the directions of arrows at v1 and v2 respectively represent requesting devices and sharing. The moving direction of the device, the angle between the moving directions of the two is θ, the coordinates of the A1 point are (a, 0), and the coordinates of the B1 point are (b1, b2). After the time t1, the requesting device and the sharing device are requested. The devices are located at points A2 and B2 respectively. The distance between points A2 and B2 is d2, and the maximum communication distance is D.
在图2中,建立了以O点为圆心,以请求设备的运动方向为x轴的正方向的坐标系,可以得到A1和B1的坐标分别为(a+v1t1,0)和(b1+v2t1cosθ,b2+v2t1 sinθ),d2的计算如公式(1)所示,In Fig. 2, a coordinate system in which the point O is centered to request the direction of motion of the device as the positive direction of the x-axis is established, and the coordinates of A1 and B1 can be obtained as (a+v 1 t 1 , 0) and ( b 1 + v 2 t 1 cos θ, b 2 + v 2 t 1 sin θ), d2 is calculated as shown in formula (1),
Figure PCTCN2015093804-appb-000001
Figure PCTCN2015093804-appb-000001
不难理解,当d2=D时,t1即为第二发送时间,结合公式(1)可知,t1的计算如公式(2)所示,It is not difficult to understand that when d2=D, t1 is the second transmission time. Combined with formula (1), the calculation of t1 is as shown in formula (2).
Figure PCTCN2015093804-appb-000002
Figure PCTCN2015093804-appb-000002
其中,C=v1 2+v2 2-2v1v2cosθ,E=2(b1-a)(v2cosθ-v1)+2b2v2sinθ,F=(b1-a)2+b2 2-D2Where C=v 1 2 +v 2 2 -2v 1 v 2 cosθ, E=2(b 1 -a)(v 2 cosθ-v 1 )+2b 2 v 2 sin θ, F=(b 1 -a) 2 +b 2 2 -D 2 .
结合上述举例,本领域技术人员可以通过数学建模推导出各种情况下如何计算第二发送时间,此处不再赘述。Combined with the above examples, those skilled in the art can use mathematical modeling to derive how to calculate the second transmission time in various situations, and details are not described herein again.
步骤102中的分别通知每一个分享设备的实现包括:将分成的每一个分块的起止位置标识,通过ProSe服务器分别发送给与每一个分块对应的分享设备。The step of notifying each of the sharing devices in step 102 includes: transmitting the start and stop location identifiers of each of the divided blocks to the sharing device corresponding to each of the segments by the ProSe server.
步骤103:每一个分享设备分别传输被通知的分块给请求设备。需要说明的是,每一个分享设备可以分别直接将被通知的分块发送给请求设备,即不通过ProSe服务器将被通知的分块发送给请求设备。Step 103: Each sharing device separately transmits the notified segment to the requesting device. It should be noted that each sharing device can directly send the notified packet to the requesting device, that is, the notified packet is not sent to the requesting device through the ProSe server.
步骤102之后,步骤103之前,本发明方法还包括:请求设备计算每一个已建连接的传输速率,根据与每一个已建连接对应的传输速率和CSI分别为每一个已建连接确定通信资源,并请求ProSe服务器分别为每一个已建连接分配对应的确定出的通信资源。After the step 102, before the step 103, the method of the present invention further includes: the requesting device calculates a transmission rate of each of the established connections, and determines a communication resource for each of the established connections according to a transmission rate and a CSI corresponding to each of the established connections. And requesting the ProSe server to allocate corresponding determined communication resources for each of the established connections.
其中,针对每个已建连接,如何根据该已建连接对应的传输速率和CSI确定通信资源的实现,可以采用现有点对点D2D通信中确定通信资源的实现方案,也可以采用其他方案实现,不用于限定本发明的保护范围。For each established connection, how to determine the communication resource according to the transmission rate and the CSI corresponding to the established connection, the implementation scheme of determining the communication resource in the existing point-to-point D2D communication may be adopted, and other solutions may be used instead. It is intended to limit the scope of the invention.
需要说明的是,在第一实施例中,每一个已建连接的传输速率为对应的 分块的数据量与预先设置的传输时间的比值。在第二实施例中,每一个已建连接的传输速率为对应的分块的数据量与对应的第一发送时间的比值。在第三实施例中,每一个已建连接的传输速率为对应的分块的数据量与对应的第三发送时间的比值。It should be noted that, in the first embodiment, the transmission rate of each established connection is corresponding. The ratio of the amount of data of the block to the preset transfer time. In the second embodiment, the transmission rate of each established connection is the ratio of the data amount of the corresponding block to the corresponding first transmission time. In the third embodiment, the transmission rate of each established connection is the ratio of the data amount of the corresponding block to the corresponding third transmission time.
通过本发明技术方案,实现了多个分享设备分别给同一个请求设备发送请求内容的一部分即通知的分块,相比于现有点对点D2D通信,降低了分享设备的负荷,较好地保证了分享设备的处理性能。这里举例来看,假设预先设置的传输时间为10秒,请求内容的数据量为1000比特,在现有点对点D2D通信中,分享设备的针对请求内容的传输速率为100bit/s,通过本发明实施例提供的技术方案,如果两个分享设备向请求设备发送请求内容,每个分享设备需要传输的数据量为500比特,因此,每个分享设备的传输速率为50bit/s,显然,通过本发明实施例提供的技术方案,较大地降低了分享设备的负荷。Through the technical solution of the present invention, a plurality of sharing devices respectively send a part of the request content, that is, a notification block, to the same requesting device, which reduces the load of the sharing device compared to the existing point-to-point D2D communication, and better guarantees Share the processing performance of the device. For example, it is assumed that the preset transmission time is 10 seconds, and the data volume of the requested content is 1000 bits. In the existing point-to-point D2D communication, the transmission rate of the sharing device for the requested content is 100 bit/s, which is implemented by the present invention. The technical solution provided by the example, if two sharing devices send the request content to the requesting device, the amount of data that each sharing device needs to transmit is 500 bits, and therefore, the transmission rate of each sharing device is 50 bit/s, obviously, by the present invention The technical solution provided by the embodiment greatly reduces the load of the sharing device.
第二实施例中采用的技术方案,相比于第一实施例中采用的技术方案,由于结合了剩余电量信息(即待机时间)和传输时间来确定每一个分享设备的第一发送时间,使得计算出的第一发送时间(即分享设备向请求设备传输分块的时间)更加准确,较好地避免了传输过程中分享设备电源(如电池)耗尽引起的通信中断的问题,提高了本发明技术方案的稳定性。The technical solution adopted in the second embodiment, compared with the technical solution adopted in the first embodiment, the first transmission time of each sharing device is determined by combining the remaining power information (ie, standby time) and the transmission time, so that The calculated first sending time (that is, the time when the sharing device transmits the blocking to the requesting device) is more accurate, and the problem of communication interruption caused by the exhaustion of the shared device power (such as a battery) during the transmission process is better avoided, and the present invention is improved. Stability of the inventive solution.
类似地,第二实施例中采用的技术方案,相比于第一实施例中采用的技术方案,从另一个角度,即请求设备和分享设备之间的距离需要小于或等于最大通信距离的角度,精确计算第三发送时间,即分享设备向请求设备传输分块的时间,较好地避免了传输过程中分享设备和请求设备之间通信距离超出最大通信距离而引起的通信中断的问题,提高了本发明技术方案的稳定性。Similarly, the technical solution adopted in the second embodiment is different from the technical solution adopted in the first embodiment, that is, the distance between the requesting device and the sharing device needs to be less than or equal to the maximum communication distance. Accurately calculating the third sending time, that is, the time when the sharing device transmits the blocking to the requesting device, thereby avoiding the problem of communication interruption caused by the communication distance between the sharing device and the requesting device exceeding the maximum communication distance during the transmission process, and improving The stability of the technical solution of the present invention.
下面结合本发明方法的实施例详细介绍本发明技术方案。The technical solution of the present invention will be described in detail below with reference to embodiments of the method of the present invention.
第一实施例First embodiment
如图3所示,本发明实施例提供的方法包括:As shown in FIG. 3, the method provided by the embodiment of the present invention includes:
步骤301:请求设备与两个或两个以上分享设备建立点对点D2D连接。Step 301: The requesting device establishes a point-to-point D2D connection with two or more sharing devices.
步骤302:请求设备向ProSe服务器发送获取每一个已建连接的状态信息的请求,其中,状态信息包括已建连接的CSI。 Step 302: The requesting device sends a request for obtaining status information of each established connection to the ProSe server, where the status information includes the CSI of the established connection.
步骤303:ProSe服务器获取每一个已建连接的状态信息并反馈给请求设备。Step 303: The ProSe server acquires status information of each established connection and feeds back to the requesting device.
步骤304:请求设备根据分块策略将请求内容分成与每一个分享设备一一对应的分块。Step 304: The requesting device divides the requested content into blocks corresponding to each sharing device according to the blocking policy.
其中,分块策略为:将请求内容分成N个分块,建立分成的每一个分块与分享设备的对应关系。其中,可以均匀分成N个分块,也可以根据其他策略分为N个分块;每一个分块与每一个分享设备的对应关系可以是随机对应,也可以根据其他对应规则对应。The blocking strategy is: dividing the content of the request into N blocks, and establishing a correspondence between each of the divided blocks and the sharing device. The information may be divided into N partitions evenly, or may be divided into N partitions according to other strategies; the correspondence between each partition and each shared device may be a random correspondence, or may be corresponding according to other corresponding rules.
步骤305:请求设备将分成的每一个分块的起止位置标识,通过ProSe服务器分别发送给与每一个分块对应的分享设备。Step 305: The requesting device sends the start and stop location identifiers of each of the divided blocks to the sharing device corresponding to each of the segments by the ProSe server.
步骤306:请求设备计算每一个已建连接的传输速率,根据与每一个已建连接对应的传输速率和CSI分别为每一个已建连接确定通信资源,并请求ProSe服务器分别为每一个已建连接分配对应的确定出的通信资源。Step 306: The requesting device calculates a transmission rate of each established connection, determines a communication resource for each established connection according to a transmission rate and a CSI corresponding to each established connection, and requests the ProSe server to separately establish a connection for each connection. The corresponding determined communication resources are allocated.
其中,每一个已建连接的传输速率为对应的分块的数据量与预先设置的传输时间的比值。The transmission rate of each established connection is the ratio of the data amount of the corresponding block to the preset transmission time.
步骤307:每一个分享设备分别传输被通知的分块给请求设备。Step 307: Each sharing device separately transmits the notified segment to the requesting device.
步骤308:请求设备接收到每一个分享设备发送的分块后,通知ProSe服务器释放分配的通信资源。Step 308: After receiving the block sent by each sharing device, the requesting device notifies the ProSe server to release the allocated communication resource.
第二实施例Second embodiment
如图4所示,本发明实施例提供的方法包括:As shown in FIG. 4, the method provided by the embodiment of the present invention includes:
步骤401:请求设备与两个或两个以上分享设备建立点对点D2D连接。其中,在建立点对点D2D连接中的设备发现中,请求设备在请求发现分享设备的同时,请求分享设备的与其剩余电量对应的待机时间。Step 401: The requesting device establishes a point-to-point D2D connection with two or more sharing devices. In the device discovery in establishing a point-to-point D2D connection, the requesting device requests the sharing device to wait for the standby time corresponding to the remaining power while requesting to discover the sharing device.
步骤402:请求设备向ProSe服务器发送获取每一个已建连接的状态信息的请求,其中,状态信息包括已建连接的CSI。Step 402: The requesting device sends a request for obtaining status information of each established connection to the ProSe server, where the status information includes the CSI of the established connection.
步骤403:ProSe服务器获取每一个已建连接的的状态信息并反馈给请求设备。 Step 403: The ProSe server acquires status information of each established connection and feeds back to the requesting device.
步骤404:请求设备根据分块策略将请求内容分成与每一个分享设备一一对应的分块。Step 404: The requesting device divides the request content into blocks corresponding to each sharing device according to the blocking policy.
其中,分块策略为:针对每个分享设备,将分享设备的待机时间和预先设置的传输时间中数值较小的时间设置为分享设备的第一发送时间,得到每一个分享设备的第一发送时间,按照得到的每一个第一发送时间的比例将请求内容分成与分享设备对应的分块。The blocking policy is: for each sharing device, setting the standby time of the sharing device and the time of the preset transmission time to be the first sending time of the sharing device, and obtaining the first sending of each sharing device. Time, the request content is divided into blocks corresponding to the sharing device according to the obtained ratio of each first sending time.
步骤405:请求设备将分成的每一个分块的起止位置标识,通过ProSe服务器分别发送给与每一个分块对应的分享设备。Step 405: The requesting device sends the start and stop location identifiers of each of the divided blocks to the sharing device corresponding to each of the segments by the ProSe server.
步骤406:请求设备计算每一个已建连接的传输速率,根据与每一个已建连接对应的传输速率和CSI分别为每一个已建连接确定通信资源,并请求ProSe服务器分别为每一个已建连接分配对应的确定出的通信资源。Step 406: The requesting device calculates a transmission rate of each established connection, determines a communication resource for each established connection according to a transmission rate and a CSI corresponding to each established connection, and requests the ProSe server to separately establish a connection for each connection. The corresponding determined communication resources are allocated.
其中,每一个已建连接的传输速率为对应的分块的数据量与对应的第一发送时间的比值。The transmission rate of each established connection is a ratio of the data amount of the corresponding block to the corresponding first transmission time.
步骤407:每一个分享设备分别传输被通知的分块给请求设备。Step 407: Each sharing device separately transmits the notified segment to the requesting device.
步骤408:请求设备接收到分享设备发送的分块后,通知ProSe服务器释放分配的通信资源。Step 408: After receiving the block sent by the sharing device, the requesting device notifies the ProSe server to release the allocated communication resource.
第三实施例Third embodiment
如图5所示,本发明实施例提供的方法包括:As shown in FIG. 5, the method provided by the embodiment of the present invention includes:
步骤501:请求设备与两个或两个以上分享设备建立点对点D2D连接。Step 501: The requesting device establishes a point-to-point D2D connection with two or more sharing devices.
步骤502:请求设备向ProSe服务器发送获取每一个已建连接的状态信息的请求,其中,状态信息包括已建连接的CSI、以及分享设备的移动速度、移动方向和位置信息。Step 502: The requesting device sends a request for acquiring status information of each established connection to the ProSe server, where the status information includes the CSI of the established connection, and the moving speed, moving direction, and location information of the sharing device.
步骤503:ProSe服务器获取请求设备请求的状态信息并反馈给请求设备。Step 503: The ProSe server acquires status information of the requesting device request and feeds back to the requesting device.
步骤504:请求设备根据分块策略将请求内容分成与每一个分享设备一一对应的分块。Step 504: The requesting device divides the request content into blocks corresponding to each sharing device according to the blocking policy.
其中,分块策略为:针对每个分享设备,根据与分享设备对应的运动方向、运动速度和位置信息,计算第二发送时间,将分享设备的第二发送时间 和预先设置的传输时间中数值较小的时间设置为分享设备的第三发送时间,得到每一个分享设备的第三发送时间,按照得到的第三发送时间的比例将请求内容分成与每一个分享设备对应的分块。The blocking policy is: for each sharing device, calculating a second sending time according to the moving direction, the moving speed, and the location information corresponding to the sharing device, and the second sending time of the sharing device The time when the value is smaller than the preset transmission time is set as the third sending time of the sharing device, and the third sending time of each sharing device is obtained, and the content of the request is divided into each share according to the obtained ratio of the third sending time. The corresponding block of the device.
步骤505:请求设备将分成的每一个分块的起止位置标识,通过ProSe服务器分别发送给与每一个分块对应的分享设备。Step 505: The requesting device sends the start and stop location identifiers of each of the divided blocks to the sharing device corresponding to each of the segments by the ProSe server.
步骤506:请求设备计算每一个已建连接的传输速率,根据与每一个已建连接对应的传输速率和CSI分别为每一个已建连接确定通信资源,并请求ProSe服务器分别为每一个已建连接分配对应的确定出的通信资源。Step 506: The requesting device calculates a transmission rate of each established connection, determines a communication resource for each established connection according to a transmission rate and a CSI corresponding to each established connection, and requests the ProSe server to separately establish a connection for each connection. The corresponding determined communication resources are allocated.
其中,每一个已建连接的传输速率为对应的分块的数据量与对应的第三发送时间的比值。The transmission rate of each established connection is a ratio of the data amount of the corresponding block to the corresponding third transmission time.
步骤507:每一个分享设备分别传输被通知的分块给请求设备。Step 507: Each sharing device separately transmits the notified segment to the requesting device.
步骤508:请求设备接收到分享设备发送的分块后,通知ProSe服务器释放分配的通信资源。Step 508: After receiving the block sent by the sharing device, the requesting device notifies the ProSe server to release the allocated communication resource.
第四实施例Fourth embodiment
如图6所示,本发明实施例提供的方法包括:As shown in FIG. 6, the method provided by the embodiment of the present invention includes:
步骤601:请求设备与两个或两个以上分享设备建立点对点D2D连接。其中,在建立点对点D2D连接中的设备发现中,请求设备在请求发现分享设备的同时,请求分享设备的与其剩余电量对应的待机时间。Step 601: The requesting device establishes a point-to-point D2D connection with two or more sharing devices. In the device discovery in establishing a point-to-point D2D connection, the requesting device requests the sharing device to wait for the standby time corresponding to the remaining power while requesting to discover the sharing device.
其中,在建立点对点D2D连接中,请求设备通过PC5接口广播发现请求消息,其中携带有请求待机时间的信息。PC5接口和PC5上广播的发现请求消息的具体定义参考3GPP协议,需要说明的是,发现请求消息包括ProSe Functional Code,Requested Model和Meta data三个字段,本发明实施例使用Meta data字段承载请求待机时间的信息。上述三个字段的定义,参考3GPP协议。Wherein, in establishing a point-to-point D2D connection, the requesting device broadcasts a discovery request message through the PC5 interface, where the information carrying the request standby time is carried. The specific definition of the discovery request message broadcasted on the PC5 interface and the PC5 refers to the 3GPP protocol. It should be noted that the discovery request message includes three fields: a ProSe Functional Code, a Requested Model, and a Meta data. The embodiment of the present invention uses the Meta data field to carry the request standby. Information about time. For the definition of the above three fields, refer to the 3GPP protocol.
步骤602:请求设备向ProSe服务器发送获取每一个已建连接的状态信息的请求,其中,状态信息包括已建连接的CSI、以及分享设备的移动速度、移动方向和位置信息。Step 602: The requesting device sends a request for acquiring status information of each established connection to the ProSe server, where the status information includes the CSI of the established connection, and the moving speed, moving direction, and location information of the sharing device.
步骤603:ProSe服务器获取请求设备请求的状态信息并反馈给请求设备。 Step 603: The ProSe server acquires status information requested by the device and feeds back to the requesting device.
步骤604:请求设备根据分块策略将请求内容分成与每一个分享设备一一对应的分块。Step 604: The requesting device divides the request content into blocks corresponding to each sharing device according to the blocking policy.
其中,分块策略为:针对每个分享设备,将分享设备的待机时间和预先设置的传输时间中数值较小的时间设置为分享设备的第一发送时间,得到每一个分享设备的第一发送时间;针对每个分享设备,根据与分享设备对应的运动方向、运动速度和位置信息,计算第二发送时间,将分享设备的第一发送时间和第二发送时间中数值较小的时间设置为分享设备的第四发送时间,得到每一个分享设备的第四发送时间;按照得到的每一个第四发送时间的比例将请求内容分成与每一个分享设备对应的分块。The blocking policy is: for each sharing device, setting the standby time of the sharing device and the time of the preset transmission time to be the first sending time of the sharing device, and obtaining the first sending of each sharing device. Time; for each sharing device, calculating a second sending time according to the moving direction, the moving speed, and the position information corresponding to the sharing device, and setting a time when the first sending time and the second sending time of the sharing device are smaller as Sharing the fourth sending time of the device, obtaining a fourth sending time of each sharing device; dividing the request content into blocks corresponding to each sharing device according to the obtained ratio of each fourth sending time.
步骤605:请求设备将分成的每一个分块的起止位置标识,通过ProSe服务器分别发送给与每一个分块对应的分享设备。Step 605: The requesting device sends the start and stop location identifiers of each of the divided blocks to the sharing device corresponding to each of the segments by the ProSe server.
本步骤中,请求设备可以通过3GPP协议规定的DL信息传输消息(DLInformationTransfer message)中的空闲字段如spare NULL字段承载起止位置标识。In this step, the requesting device may carry the start and end location identifier through an idle field such as a spare NULL field in a DL InformationTransfer message specified by the 3GPP protocol.
步骤606:请求设备计算每一个已建连接的传输速率,根据与每一个已建连接对应的传输速率和CSI分别为每一个已建连接确定通信资源,并请求ProSe服务器分别为每一个已建连接分配对应的确定出的通信资源。Step 606: The requesting device calculates a transmission rate of each established connection, determines a communication resource for each established connection according to a transmission rate and a CSI corresponding to each established connection, and requests the ProSe server to separately establish a connection for each connection. The corresponding determined communication resources are allocated.
其中,每一个已建连接的传输速率为对应的分块的数据量与对应的第四发送时间的比值。The transmission rate of each established connection is a ratio of the data amount of the corresponding block to the corresponding fourth transmission time.
下面以一个已建连接为例,来说明如何确定其通信资源,Let's take an established connection as an example to illustrate how to determine its communication resources.
假设该已建连接对应的第四发送时间为10秒,分块为100比特,则可知传输速率为10bit/s,根据该已建连接对应的CSI确定出信道速率,传输速率与信道速率的比值即为通信资源。其中,如何通过CSI确定信道速率,参考背景技术介绍,此处不再赘述。Assuming that the fourth transmission time corresponding to the established connection is 10 seconds and the block is 100 bits, the transmission rate is 10 bits/s, and the channel rate, the ratio of the transmission rate to the channel rate is determined according to the CSI corresponding to the established connection. It is a communication resource. For example, how to determine the channel rate by using CSI is described with reference to the background art, and details are not described herein again.
步骤607:每一个分享设备分别传输被通知的分块给请求设备。Step 607: Each sharing device separately transmits the notified segment to the requesting device.
步骤608:请求设备接收到分享设备发送的分块后,通知ProSe服务器释放分配的通信资源。Step 608: After receiving the block sent by the sharing device, the requesting device notifies the ProSe server to release the allocated communication resource.
需要说明的是,如果至少一个分享设备未成功传输被通知的分块给请求 设备,可以再次执行本发明实施例的技术方案,实现对未成功接收的部分继续分块接收,如此迭代,直到完成整个请求内容的传输为止。It should be noted that if at least one sharing device fails to transmit the notified segment to the request The device can perform the technical solution of the embodiment of the present invention again, and implement the continued block receiving of the unsuccessfully received part, and iterate until the transmission of the entire requested content is completed.
可选地,Optionally,
获取到每一个已建连接的CSI之后,步骤102之前,本发明实施例的方法还可以包括:After obtaining the CSI of each established connection, before the step 102, the method of the embodiment of the present invention may further include:
将分享设备设定为为CSI大于预先设置的CSI阈值的多个分享设备。这样避免了请求设备与通信能力较差(即CSI小于或等于CSI阈值)的分享设备进行通信,实现了更加有效地利用通信资源。The sharing device is set to a plurality of sharing devices whose CSI is greater than a preset CSI threshold. This avoids the requesting device from communicating with the sharing device with poor communication capability (ie, the CSI is less than or equal to the CSI threshold), thereby achieving more efficient use of communication resources.
图7为本发明实施例提供的实现内容分发的设备的组成结构示意图。如图7所示,该设备既可以用作请求设备也可以用作分享设备,其用作请求设备时,至少包括连接建立单元10、分块单元20和接收单元30,其中,FIG. 7 is a schematic structural diagram of a device for implementing content distribution according to an embodiment of the present invention. As shown in FIG. 7, the device can be used as both a requesting device and a sharing device. When it is used as a requesting device, it includes at least a connection establishing unit 10, a blocking unit 20, and a receiving unit 30, where
连接建立单元10,设置为与两个或两个以上分享设备分别建立点对点D2D连接;The connection establishing unit 10 is configured to establish a point-to-point D2D connection with two or more sharing devices respectively;
分块单元20,设置为根据预先设置的分块策略将请求内容分成与每一个分享设备一一对应的分块,并分别通知每一个分享设备;The blocking unit 20 is configured to divide the request content into blocks corresponding to each sharing device according to a pre-set blocking policy, and notify each sharing device separately;
接收单元30,设置为分别接收对应分享设备分发送的分块。The receiving unit 30 is configured to receive the sub-blocks sent by the corresponding sharing device respectively.
分块单元20还设置为:The blocking unit 20 is also arranged to:
通过ProSe服务器分别获取每一个已建连接的CSI;Obtaining the CSI of each established connection through the ProSe server;
计算每一个已建连接的传输速率,根据与每一个已建连接对应的传输速率和CSI分别为每一个已建连接确定通信资源,并请求ProSe服务器分别为每一个已建连接分配对应的确定出的通信资源。Calculating the transmission rate of each established connection, determining communication resources for each established connection according to the transmission rate and CSI corresponding to each established connection, and requesting the ProSe server to separately determine the corresponding connection for each established connection. Communication resources.
在本发明第一实施例中,分享设备的数量为N;分块策略为:将请求内容分成N个分块,建立分成的每一个分块与分享设备的对应关系;其中,可以均匀分成N个分块,也可以根据其他策略分为N个分块;每一个分块与每一个分享设备的对应关系可以是随机对应,也可以根据其他对应规则对应;In the first embodiment of the present invention, the number of the sharing devices is N; the blocking policy is: dividing the content of the request into N blocks, and establishing a correspondence between each of the divided blocks and the sharing device; The sub-blocks may also be divided into N sub-blocks according to other strategies; the correspondence between each sub-block and each shared device may be a random correspondence, or may be corresponding according to other corresponding rules;
每一个已建连接的传输速率为对应的分块的数据量与预先设置的传输时间的比值。 The transmission rate of each established connection is the ratio of the data amount of the corresponding block to the preset transmission time.
在本发明第二实施例中,连接建立单元10还设置为:请求发现分享设备时,请求分享设备的与其剩余电量对应的待机时间;In the second embodiment of the present invention, the connection establishing unit 10 is further configured to: when requesting to discover the sharing device, request the standby time of the sharing device corresponding to the remaining power;
分块策略为:针对每个分享设备,将分享设备的待机时间和预先设置的传输时间中数值较小的时间设置为分享设备的第一发送时间,得到每一个分享设备的第一发送时间,按照得到的每一个第一发送时间的比例将请求内容分成与分享设备对应的分块;The blocking policy is: for each sharing device, setting a standby time of the sharing device and a time with a smaller value in the preset transmission time as the first sending time of the sharing device, and obtaining the first sending time of each sharing device. Dividing the request content into blocks corresponding to the sharing device according to the obtained ratio of each first sending time;
每一个已建连接的传输速率为对应的分块的数据量与对应的第一发送时间的比值。The transmission rate of each established connection is the ratio of the data amount of the corresponding block to the corresponding first transmission time.
在本发明第三实施例中,通过ProSe服务器分别获取每一个已建连接的CSI时,分块单元20还设置为:通过ProSe服务器分别获取每一个分享设备的运动方向、运动速度和位置信息;In the third embodiment of the present invention, when the CSI of each established connection is obtained by the ProSe server, the blocking unit 20 is further configured to: obtain the motion direction, the motion speed, and the location information of each shared device by using the ProSe server;
分块策略为:针对每个分享设备,根据与分享设备对应的运动方向、运动速度和位置信息,计算第二发送时间,将分享设备的第二发送时间和预先设置的传输时间中数值较小的时间设置为分享设备的第三发送时间,得到每一个分享设备的第三发送时间,按照得到的每一个第三发送时间的比例将请求内容分成与分享设备对应的分块;The blocking strategy is: for each sharing device, calculating a second sending time according to the moving direction, the moving speed, and the position information corresponding to the sharing device, and the second sending time of the sharing device and the preset transmission time are smaller. The time is set to the third sending time of the sharing device, and the third sending time of each sharing device is obtained, and the requested content is divided into the blocks corresponding to the sharing device according to the obtained ratio of each third sending time;
每一个已建连接的传输速率为对应的分块的数据量与对应的第三发送时间的比值。The transmission rate of each established connection is the ratio of the data amount of the corresponding block to the corresponding third transmission time.
在本发明第三实施例中,计算第二发送时间时,分块单元20是设置为:针对每个分享设备,根据该设备和分享设备的运动方向、运动速度和位置信息,计算经过多长时间该设备和分享设备之间的距离等于预先设置的最大通信距离,计算出的时间即为与分享设备对应的第二发送时间。In the third embodiment of the present invention, when calculating the second transmission time, the blocking unit 20 is configured to: for each sharing device, calculate how long the motion is based on the motion direction, the motion speed, and the location information of the device and the sharing device. The distance between the device and the sharing device is equal to the preset maximum communication distance, and the calculated time is the second sending time corresponding to the sharing device.
通知每一个分享设备时,分块单元20是设置为:将分成的每一个分块的起止位置标识,通过ProSe服务器分别发送给与每一个分块对应的分享设备。When each sharing device is notified, the blocking unit 20 is configured to: send and receive the starting and ending position identifiers of each of the divided blocks to the sharing device corresponding to each of the segments by the ProSe server.
本发明实施例还提供一种计算机可读存储介质,存储有程序指令,当该程序指令被处理器执行时可实现本发明实施例所提供的一种实现内容分发的方法。The embodiment of the present invention further provides a computer readable storage medium, which stores program instructions, and when the program instructions are executed by the processor, can implement a method for implementing content distribution provided by the embodiments of the present invention.
虽然本发明所揭露的实施方式如上所述,但所述的内容仅为便于理解本 发明而采用的实施方式,并非用以限定本发明。任何本发明所属领域内的技术人员,在不脱离本发明所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本发明的专利保护范围,仍须以所附的权利要求书所界定的范围为准。Although the embodiments disclosed in the present invention are as described above, the content described is only for ease of understanding. The embodiments employed in the invention are not intended to limit the invention. Any modification and variation in the form and details of the embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention. The scope defined by the appended claims shall prevail.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
上述实施例中的各装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的各装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
工业实用性Industrial applicability
本发明实施例的技术方案实现了多个分享设备分别给同一个请求设备发送请求内容的一部分,即被通知的分块,相比于现有点对点D2D通信,降低了分享设备的负荷,较好地保证了分享设备的处理性能。 The technical solution of the embodiment of the present invention implements that a plurality of sharing devices separately send a part of the requested content to the same requesting device, that is, the notified segment, which reduces the load of the sharing device compared to the existing point-to-point D2D communication. The ground guarantees the processing performance of the sharing device.

Claims (15)

  1. 一种实现内容分发的方法,包括:A method of implementing content distribution, including:
    请求设备与两个或两个以上分享设备分别建立点对点设备间直接通信D2D连接;The requesting device establishes a direct communication D2D connection between the peer-to-peer devices and two or more sharing devices respectively;
    所述请求设备根据预先设置的分块策略将请求内容分成与每一个分享设备一一对应的分块,并分别通知所述每一个分享设备;The requesting device divides the request content into blocks corresponding to each sharing device according to a pre-set blocking policy, and respectively notifies each of the sharing devices;
    所述每一个分享设备分别传输被通知的分块给所述请求设备。Each of the sharing devices respectively transmits the notified segment to the requesting device.
  2. 根据权利要求1所述的方法,其中,在所述分别建立点对点D2D连接之后,所述将请求内容分成分块之前,所述方法还包括:The method of claim 1, wherein the method further comprises: after the separately establishing the point-to-point D2D connection, the method further comprises:
    所述请求设备通过基于临近服务ProSe服务器分别获取每一个已建连接的信道状态信息CSI;The requesting device separately acquires channel state information CSI of each established connection by using a proximity service ProSe server;
    在所述分别通知所述每一个分享设备之后,所述分别传输被通知的分块给所述请求设备之前,所述方法还包括:After the separately reporting the each sharing device, before the separately transmitting the notified segment to the requesting device, the method further includes:
    所述请求设备计算所述每一个已建连接的传输速率,根据与所述每一个已建连接对应的传输速率和CSI分别为所述每一个已建连接确定通信资源,并请求ProSe服务器分别为所述每一个已建连接分配对应的确定出的通信资源。The requesting device calculates a transmission rate of each of the established connections, determines a communication resource for each of the established connections according to a transmission rate and a CSI corresponding to each of the established connections, and requests the ProSe server to respectively Each of the established connections allocates a corresponding determined communication resource.
  3. 根据权利要求1或2所述的方法,其中,所述分享设备的数量为N;所述分块策略为:将所述请求内容分成N个分块,建立分成的每一个分块与分享设备的对应关系;The method according to claim 1 or 2, wherein the number of the sharing devices is N; the blocking policy is: dividing the requested content into N blocks, and establishing each of the divided blocks and sharing devices Correspondence relationship;
    所述每一个已建连接的传输速率为对应的分块的数据量与预先设置的传输时间的比值。The transmission rate of each of the established connections is the ratio of the data amount of the corresponding block to the preset transmission time.
  4. 根据权利要求1或2所述的方法,其中,在所述建立点对点D2D连接过程中的设备发现时,所述方法还包括:所述请求设备在请求发现分享设备的同时,请求分享设备的与其剩余电量所对应的待机时间;The method according to claim 1 or 2, wherein, when the device discovery in the point-to-point D2D connection process is established, the method further comprises: the requesting device requesting the sharing device while requesting to discover the sharing device Standby time corresponding to the remaining power;
    所述分块策略为:针对每个分享设备,将分享设备的待机时间和预先设置的传输时间中数值较小的时间设置为分享设备的第一发送时间,得到所述 每一个分享设备的第一发送时间,按照得到的所述每一个分享设备的第一发送时间的比例将请求内容分成与所述每一个分享设备对应的分块;The blocking policy is: for each sharing device, setting a standby time of the sharing device and a time with a smaller value in the preset transmission time as the first sending time of the sharing device, and obtaining the The first sending time of each sharing device divides the request content into blocks corresponding to each of the sharing devices according to the obtained ratio of the first sending time of each of the sharing devices;
    所述每一个已建连接的传输速率为对应的分块的数据量与对应的第一发送时间的比值。The transmission rate of each of the established connections is a ratio of the data amount of the corresponding block to the corresponding first transmission time.
  5. 根据权利要求1或2所述的方法,其中,在所述请求设备通过ProSe服务器分别获取所述每一个已建连接的CSI时,所述方法还包括:所述请求设备通过ProSe服务器分别获取所述每一个分享设备的运动方向、运动速度和位置信息;The method according to claim 1 or 2, wherein, when the requesting device separately acquires the CSI of each of the established connections through the ProSe server, the method further comprises: the requesting device separately acquiring the Describe the movement direction, movement speed and position information of each sharing device;
    所述分块策略为:针对每个分享设备,根据与分享设备对应的运动方向、运动速度和位置信息,计算第二发送时间,将分享设备的第二发送时间和预先设置的传输时间中数值较小的时间设置为分享设备的第三发送时间,得到所述每一个分享设备的第三发送时间,按照得到的每一个第三发送时间的比例将请求内容分成与所述每一个分享设备对应的分块;The blocking policy is: for each sharing device, calculating a second sending time according to the moving direction, the moving speed, and the position information corresponding to the sharing device, and the second sending time of the sharing device and the preset transmission time value Setting a smaller time to the third sending time of the sharing device, obtaining a third sending time of each of the sharing devices, and dividing the request content into corresponding to each of the sharing devices according to the obtained ratio of each third sending time. Block
    所述每一个已建连接的传输速率为对应的分块的数据量与对应的第三发送时间的比值。The transmission rate of each of the established connections is a ratio of the data amount of the corresponding block to the corresponding third transmission time.
  6. 根据权利要求5所述的方法,其中,所述计算第二发送时间包括:针对每个分享设备,根据请求设备和分享设备的运动方向、运动速度和位置信息,计算经过多长时间请求设备和分享设备之间的距离等于预先设置的最大通信距离,计算出的时间即为与分享设备对应的第二发送时间。The method according to claim 5, wherein the calculating the second sending time comprises: for each sharing device, calculating how long the requesting device and the elapsed time are based on the moving direction, the moving speed, and the position information of the requesting device and the sharing device The distance between the sharing devices is equal to the preset maximum communication distance, and the calculated time is the second sending time corresponding to the sharing device.
  7. 根据权利要求1或2所述的方法,其中,所述通知每一个分享设备包括:将分成的每一个分块的起止位置标识,通过ProSe服务器分别发送给与所述每一个分块对应的分享设备。The method according to claim 1 or 2, wherein the notifying each sharing device comprises: transmitting a start and stop location identifier of each of the divided blocks, respectively, to the sharing corresponding to each of the segments by the ProSe server device.
  8. 一种实现内容分发的设备,包括连接建立单元、分块单元和接收单元,其中,An apparatus for realizing content distribution, comprising a connection establishing unit, a blocking unit, and a receiving unit, wherein
    所述连接建立单元,设置为与两个或两个以上分享设备分别建立点对点D2D连接;The connection establishing unit is configured to establish a point-to-point D2D connection with two or more sharing devices respectively;
    所述分块单元,设置为根据预先设置的分块策略将请求内容分成与每一个分享设备一一对应的分块,并分别通知所述每一个分享设备; The blocking unit is configured to divide the request content into blocks corresponding to each sharing device according to a pre-set blocking policy, and respectively notify each of the sharing devices;
    所述接收单元,设置为分别接收每一个分享设备分发送的分块。The receiving unit is configured to receive a block sent by each sharing device separately.
  9. 根据权利要求8所述的设备,其中,所述分块单元还设置为:The apparatus of claim 8 wherein said blocking unit is further configured to:
    通过ProSe服务器分别获取每一个已建连接的信道状态信息CSI;Obtaining channel state information CSI of each established connection through the ProSe server;
    计算所述每一个已建连接的传输速率,根据与所述每一个已建连接对应的传输速率和CSI分别为所述每一个已建连接确定通信资源,并请求ProSe服务器分别为所述每一个已建连接分配对应的确定出的通信资源。Calculating a transmission rate of each of the established connections, determining communication resources for each of the established connections according to a transmission rate and a CSI corresponding to each of the established connections, and requesting the ProSe server to be each of the The established connection allocates the corresponding determined communication resources.
  10. 根据权利要求8或9所述的设备,其中,所述分享设备的数量为N;所述分块策略为:将所述请求内容分成N个分块,建立分成的每一个分块与所述每一个分享设备的对应关系;The device according to claim 8 or 9, wherein the number of the sharing devices is N; the blocking policy is: dividing the requested content into N partitions, establishing each of the divided partitions and the Correspondence of each shared device;
    所述每一个已建连接的传输速率为对应的分块的数据量与预先设置的传输时间的比值。The transmission rate of each of the established connections is the ratio of the data amount of the corresponding block to the preset transmission time.
  11. 根据权利要求8或9所述的设备,其中,所述连接建立单元还设置为:请求发现分享设备时,请求分享设备的与其剩余电量对应的待机时间;The device according to claim 8 or 9, wherein the connection establishing unit is further configured to: when requesting to discover the sharing device, request a standby time of the sharing device corresponding to the remaining power;
    所述分块策略为:针对每个分享设备,将分享设备的待机时间和预先设置的传输时间中数值较小的时间设置为分享设备的第一发送时间,得到所述每一个分享设备的第一发送时间,按照得到的所述每一个分享设备的第一发送时间的比例将请求内容分成与所述每一个分享设备对应的分块;The blocking policy is: for each sharing device, setting a standby time of the sharing device and a time with a smaller value in the preset transmission time as the first sending time of the sharing device, and obtaining the number of each of the sharing devices. a sending time, the request content is divided into the blocks corresponding to each of the sharing devices according to the obtained ratio of the first sending time of each of the sharing devices;
    所述每一个已建连接的传输速率为对应的分块的数据量与对应的第一发送时间的比值。The transmission rate of each of the established connections is a ratio of the data amount of the corresponding block to the corresponding first transmission time.
  12. 根据权利要求8或9所述的设备,其中,所述通过ProSe服务器分别获取所述每一个已建连接的CSI时,所述分块单元还设置为:通过ProSe服务器分别获取所述每一个分享设备的运动方向、运动速度和位置信息;The device according to claim 8 or 9, wherein, when the CSIs of each of the established connections are respectively acquired by the ProSe server, the blocking unit is further configured to: respectively acquire each of the shares through the ProSe server The direction of motion, speed of movement and position information of the device;
    所述分块策略为:针对每个分享设备,根据与分享设备对应的运动方向、运动速度和位置信息,计算第二发送时间,将分享设备的第二发送时间和预先设置的传输时间中数值较小的时间设置为分享设备的第三发送时间,得到所述每一个分享设备的第三发送时间,按照得到的每一个第三发送时间的比例将请求内容分成与所述每一个分享设备对应的分块;The blocking policy is: for each sharing device, calculating a second sending time according to the moving direction, the moving speed, and the position information corresponding to the sharing device, and the second sending time of the sharing device and the preset transmission time value Setting a smaller time to the third sending time of the sharing device, obtaining a third sending time of each of the sharing devices, and dividing the request content into corresponding to each of the sharing devices according to the obtained ratio of each third sending time. Block
    所述每一个已建连接的传输速率为对应的分块的数据量与对应的第三发 送时间的比值。The transmission rate of each of the established connections is the corresponding blocked data amount and the corresponding third round. The ratio of the delivery time.
  13. 根据权利要求12所述的设备,其中,所述计算第二发送时间时,所述分块单元是设置为:针对每个分享设备,根据所述设备和分享设备的运动方向、运动速度和位置信息,计算经过多长时间所述设备和分享设备之间的距离等于预先设置的最大通信距离,计算出的时间即为与分享设备对应的第二发送时间。The device according to claim 12, wherein, when the calculating the second transmission time, the blocking unit is configured to: according to the moving direction, the moving speed and the position of the device and the sharing device, for each sharing device The information is calculated as to how long the distance between the device and the sharing device is equal to the preset maximum communication distance, and the calculated time is the second sending time corresponding to the sharing device.
  14. 根据权利要求8或9所述的设备,其中,所述通知每一个分享设备时,所述分块单元是设置为:将分成的每一个分块的起止位置标识,通过ProSe服务器分别发送给与所述每一个分块对应的分享设备。The device according to claim 8 or 9, wherein, when the notification is shared by each of the sharing devices, the blocking unit is configured to: send and receive the starting and ending position identifiers of each of the divided blocks, and respectively send them to the ProSe server. Each of the partitions corresponds to a sharing device.
  15. 一种计算机可读存储介质,存储有程序指令,当该程序指令被处理器执行时实现权利要求1-7任一项所述的方法。 A computer readable storage medium storing program instructions that, when executed by a processor, implement the method of any of claims 1-7.
PCT/CN2015/093804 2015-07-10 2015-11-04 Content distribution method and device WO2016131306A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510408188.8 2015-07-10
CN201510408188.8A CN106341892A (en) 2015-07-10 2015-07-10 Content distribution implementing method and device

Publications (1)

Publication Number Publication Date
WO2016131306A1 true WO2016131306A1 (en) 2016-08-25

Family

ID=56692062

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/093804 WO2016131306A1 (en) 2015-07-10 2015-11-04 Content distribution method and device

Country Status (2)

Country Link
CN (1) CN106341892A (en)
WO (1) WO2016131306A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150410A (en) * 2006-09-21 2008-03-26 腾讯科技(深圳)有限公司 A method and system for sharing resources in network TV direct broadcasting room
CN103428642A (en) * 2013-07-16 2013-12-04 北京邮电大学 Intra-cluster device-to-device (D2D) multicast method based on relay
CN103874205A (en) * 2012-12-12 2014-06-18 中兴通讯股份有限公司 Data transmission and receiving method and device thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102340829B (en) * 2010-07-15 2016-08-03 上海无线通信研究中心 Data sharing method in D2D bunch under cellular environment
CN103650418B (en) * 2011-06-09 2017-10-31 安华高科技通用Ip(新加坡)公司 Method and apparatus for multicast service
CN104581868B (en) * 2015-01-15 2018-04-27 浙江工业大学 The data distributing method with fairness and energy-saving effect of D2D collaboration communications is utilized under the transmission of data blocks speed such as a kind of

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150410A (en) * 2006-09-21 2008-03-26 腾讯科技(深圳)有限公司 A method and system for sharing resources in network TV direct broadcasting room
CN103874205A (en) * 2012-12-12 2014-06-18 中兴通讯股份有限公司 Data transmission and receiving method and device thereof
CN103428642A (en) * 2013-07-16 2013-12-04 北京邮电大学 Intra-cluster device-to-device (D2D) multicast method based on relay

Also Published As

Publication number Publication date
CN106341892A (en) 2017-01-18

Similar Documents

Publication Publication Date Title
WO2018045877A1 (en) Network slicing control method and related device
US11089520B2 (en) Session migration method and device
US20170171837A1 (en) A resource allocation method, apparatus, system and computer storage medium
US11251981B2 (en) Communication method and apparatus
WO2021136145A1 (en) Information processing method and terminal
TWI650037B (en) Centralized wireless access network control method
KR20180128046A (en) Network connection method, related equipment and system
BR112019027048A2 (en) resource allocation method, terminal device and network device
US20130182718A1 (en) Communication apparatus using super frame to reconfigure dynamic protocol, and message exchanging method of sensor node and hub device to reconfigure dynamic protocol
CN109819530B (en) Communication method and device
WO2022082356A1 (en) Communication method and apparatus
WO2017185755A1 (en) D2d communication method, device and computer storage medium
WO2016131306A1 (en) Content distribution method and device
US20220400366A1 (en) Method and device for providing uwb service
CN108075870B (en) Method and device for inter-station carrier aggregation scheduling
WO2022033374A1 (en) Network connection method in network sharing, electronic device, and storage medium
WO2016049919A1 (en) Terminal, base station, system and application data transmission method
CN113556709A (en) Communication method and device
WO2022198410A1 (en) Communication method and apparatus
KR20160101145A (en) Data transmission method, device and system
CN114930879B (en) Multicast service transmission method and device
US9860840B2 (en) System, method, and server for keeping wireless local area network terminal online all the time
WO2023279977A1 (en) Network nodes and methods therein for event monitoring
WO2022257629A1 (en) Wireless communication method and communication apparatus
WO2021179320A1 (en) Method, apparatus and system for setting multicast address

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: 15882445

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: 15882445

Country of ref document: EP

Kind code of ref document: A1