Media file delivery method and device, storage medium and electronic device
By obtaining and dividing the location information of the target user equipment and dividing the user set based on the timestamp and IP, the problem of low accuracy of media file delivery in the prior art is solved, and a highly targeted media file delivery is achieved.
Patent Information
- Application Number
- CN202010879985.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-27
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2040-08-27
AI Technical Summary
The prior art cannot accurately divide the population in the target area, resulting in low accuracy of media file delivery, especially when the IPV4 address is insufficient, dynamic IP makes it difficult to track user location changes.
By obtaining the location information of the target user equipment, the user equipment collection is divided according to the time series and the preset time threshold, and the target media files are placed to the corresponding collection through the display terminal, user division based on IP and timestamp is realized.
It improves the accuracy of media file delivery and can serve targeted media files to different sets based on the location and behavioral data of the user equipment, solving the problem of inaccurate division of populations in the target area.
Smart Images

Figure CN111967915B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of media file delivery, and in particular to a media file delivery method and device, a storage medium and an electronic device. Background Art
[0002] At present, advertising technologies such as elevator advertising and outdoor advertising play a vital role in the field of precision marketing for business districts, but the shortcomings of these advertisements are also obvious, such as difficulty in measurement and difficulty in measuring direct conversion effects.
[0003] Due to the shortage of IPV4 addresses, many residential IPs are actually dynamic IPs, so the location of the same IP will change over time. Therefore, when delivering media files to users through display terminals, it is impossible to effectively divide the population in the target area, and thus it is impossible to accurately deliver targeted media files to users.
[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0005] The embodiments of the present invention provide a method and device for delivering a media file, a storage medium and an electronic device, so as to at least solve the technical problem in the prior art that the accuracy of delivering a media file is low due to the inability to accurately divide the population in a target area.
[0006] According to one aspect of an embodiment of the present invention, a media file delivery method is provided, comprising: obtaining first location information of a first target user device in a first target user device set at a first moment, the target user device set representing a set of user devices using a target network protocol IP within a first target time period; obtaining second location information of the first target user device at a second moment, wherein the second moment is later than the first moment in a time series; classifying the first target user device into a second target user device set when a time interval between the second moment and the first time is greater than or equal to a first preset time threshold; and delivering a target media file to a user device in the second target user device via a display terminal corresponding to the second location information.
[0007] According to another aspect of an embodiment of the present invention, a media file delivery device is also provided, including: a first acquisition unit, used to acquire first position information of a first target user device in a first target user device set at a first moment, wherein the target user device set represents a set of user devices using a target network protocol IP within a first target time period; a second acquisition unit, used to acquire second position information of the first target user device at a second moment, wherein the second moment is later than the first moment in the time series; a first division unit, used to divide the first target user device into a second target user device set when the time interval between the second moment and the first time is greater than or equal to a first preset time threshold; and a first delivery unit, used to deliver a target media file to a user device in the second target user device through a display terminal corresponding to the second position information.
[0008] According to another aspect of the embodiments of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned media file delivery method when running.
[0009] According to another aspect of an embodiment of the present invention, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the media file delivery method through the computer program.
[0010] In an embodiment of the present invention, by obtaining the first location information of the first target user device in the first target user device set at the first moment, the target user device set represents the set of user devices using the target network protocol IP within the first target time period; obtaining the second location information of the first target user device at the second moment, wherein the second moment is later than the first moment in the time series; when the time interval between the second moment and the first time is greater than or equal to the first preset time threshold, the first target user device is divided into the second target user device set; and the target media file is delivered to the user devices in the second target user devices through the display terminal corresponding to the second location information, thereby achieving the purpose of dividing the users in the target area into different sets based on the IP, user device and timestamp used by the user devices, and then delivering the target media file to the users in the different sets through the display terminal, thereby solving the technical problem in the prior art that the accuracy of media file delivery is low due to the inability to obtain accurate division of the population in the target area. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0012] Figure 1 is a schematic diagram of an application environment of an optional media file delivery method according to an embodiment of the present invention;
[0013] Figure 2 is a flow chart of an optional media file delivery method according to an embodiment of the present invention;
[0014] Figure 3 is a schematic structural diagram of an optional media file delivery device according to an embodiment of the present invention;
[0015] Figure 4 is a schematic structural diagram of an optional electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0016] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0017] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0018] According to one aspect of an embodiment of the present invention, a media file delivery method is provided. Optionally, as an optional implementation, the media file delivery method can be applied to, but is not limited to, Figure 1 The hardware environment shown may include, but is not limited to, a terminal device 102, a network 110, and a server 112. The terminal device 102 runs a client for delivering a target media file.
[0019] The terminal device 102 may include, but is not limited to: a human-computer interaction screen 104, a processor 106 and a memory 108. The human-computer interaction screen 104 is used to obtain a human-computer interaction instruction through a human-computer interaction interface and to present a target media file; the processor 106 is used to respond to the human-computer interaction instruction and to play the target media file through a display terminal. The memory 108 is used to store the target media file, the first user device identification information and the user device set information. Here, the server may include but is not limited to: a database 114 and a processing engine 116, the processing engine 116 is used to call the first target user device set stored in the database 114, obtain the first location information of the first target user device in the first target user device set at a first moment, the target user device set represents a set of user devices using the target network protocol IP within a first target time period; obtain the second location information of the first target user device at a second moment, wherein the second moment is later than the first moment in the time series; if the time interval between the second moment and the first time is greater than or equal to a first preset time threshold, divide the first target user device into the second target user device set; and deliver the target media file to the user devices in the second target user devices through the display terminal corresponding to the second location information, thereby achieving the purpose of dividing the users in the target area into different sets based on the IP, user device and timestamp used by the user devices, and then delivering the target media file to the users in different sets through the display terminal, thereby solving the technical problem in the prior art that the accuracy of media file delivery is low due to the inability to obtain accurate division of the population in the target area.
[0020] The specific process is as follows: the human-computer interaction screen 104 in the terminal device 102 displays the game client (such as Figure 1 The figure shows a shooting game, in which the target virtual character is sniping a target object in the distance). As in steps S102-S108, the first location information of the first target user device in the first target user device set is obtained, and the first location information is sent to the server 112 through the network 110. The server 112 obtains the second location information of the first target user device at the second moment, wherein the second moment is later than the first moment in the time sequence; when the time interval between the second moment and the first time is greater than or equal to the first preset time threshold, the first target user device is divided into the second target user device set; and the target media file is delivered to the user device in the second target user device through the display terminal corresponding to the second location information. Then the above-mentioned determined result is returned to the terminal device 102.
[0021] Then, as in steps S102-S108, the terminal device 102 obtains the first location information of the first target user device in the first target user device set at the first moment, the target user device set representing the set of user devices using the target network protocol IP within the first target time period; obtains the second location information of the first target user device at the second moment, wherein the second moment is later than the first moment in the time series; when the time interval between the second moment and the first time is greater than or equal to the first preset time threshold, the first target user device is divided into the second target user device set; and the target media file is delivered to the user devices in the second target user devices through the display terminal corresponding to the second location information, thereby achieving the purpose of dividing the users in the target area into different sets based on the IP, user device and timestamp used by the user devices, and then delivering the target media file to the users in the different sets through the display terminal, thereby solving the technical problem in the prior art that the accuracy of media file delivery is low due to the inability to obtain accurate division of the population in the target area.
[0022] Optionally, in this embodiment, the above-mentioned media file delivery method can be applied to the server 112 but is not limited to being used for delivering target media files. Among them, the terminal device 102 can be but is not limited to a terminal device that supports running an application client, such as a mobile phone, a tablet computer, a laptop computer, a PC, etc. The above-mentioned server 112 and the terminal device 102 can realize data interaction through a network but is not limited to the above-mentioned network, and the above-mentioned network can include but is not limited to a wireless network or a wired network. Among them, the wireless network includes: Bluetooth, WIFI and other networks that realize wireless communication. The above-mentioned wired network can include but is not limited to: a wide area network, a metropolitan area network, and a local area network. The above is only an example, and no limitation is made to this in this embodiment.
[0023] Optionally, as an optional implementation, as Figure 2 As shown, the above media file delivery method includes:
[0024] Step S202: Acquire first location information of a first target user equipment in a first target user equipment set at a first moment, where the target user equipment set represents a set of user equipment using a target network protocol IP within a first target time period.
[0025] Step S204: Acquire second location information of the first target user equipment at a second moment, wherein the second moment is later than the first moment in the time sequence.
[0026] Step S206: When the time interval between the second moment and the first time is greater than or equal to the first preset time threshold, the first target user equipment is divided into a second target user equipment set.
[0027] Step S208: delivering the target media file to a user device in the second target user device through the display terminal corresponding to the second location information.
[0028] Optionally, in this embodiment, the above-mentioned target media file delivery scheme may include but is not limited to the following application scenarios: users in the target area will use IP to conduct network behavior, therefore, users in the target area are divided into different groups based on IP, and target media files are delivered to the user group according to the network data in the user group. Since the user group is divided based on IP and time, accurate target media files can be delivered to the user group.
[0029] It should be noted that the target media file may include but is not limited to an advertisement file, a web page file, and the like.
[0030] Optionally, in this embodiment, after obtaining the second location information of the target user equipment at the second moment, the following method may also be included:
[0031] When the time interval between the second moment and the first time is less than a first preset time threshold, classifying the first target user equipment as a device in the first target user equipment set;
[0032] The target media file is delivered to the first target user equipment through the display terminal corresponding to the first location information.
[0033] Optionally, in this embodiment, delivering the target media file to the user equipment in the second target user equipment by using the display terminal corresponding to the second location information may include:
[0034] Obtaining user information of each user device in the second target user set;
[0035] Determine label information of the second target user set according to the user information;
[0036] The display terminal delivers the media file to the user equipment in the second target user set according to the tag information.
[0037] In this embodiment, after the users in the target area are divided into different user sets, a label can be added to the user set according to the user information of each user in the user set, so that a matching target media file can be delivered to the user set according to the label. The user information may include but is not limited to the user's gender information, age information, and network behavior data of the user. For example, if there are 100 users in the user set, including 30 males and 70 females, the user set can be labeled with a female label, and at the target time, a media file that is preferred by females, such as a discount advertisement for a restaurant, can be delivered to the user set.
[0038] Optionally, in this embodiment, the above method may further include:
[0039] Acquire third location information of a second target user equipment in the first target user equipment set at a third moment, wherein the third moment is earlier than the first moment in the time series;
[0040] When the third moment is earlier than the first moment in the time sequence and the time interval between the third moment and the first moment is greater than or equal to the second preset time threshold, the second target user is classified into the third target user equipment set; or,
[0041] When the third moment is later than the second moment in the time sequence and the time interval between the third moment and the second moment is greater than or equal to a third preset time threshold, the second target user is classified into the third target user equipment set.
[0042] Optionally, in this embodiment, after obtaining the third location information of the second target user equipment in the first target user equipment set at the third moment, the method may further include:
[0043] When the time interval between the third moment and the first moment is less than the second preset time threshold, the second target user is classified into the first target user equipment set.
[0044] Optionally, in this embodiment, after obtaining the third location information of the second target user equipment in the first target user equipment set at the third moment, the method may further include:
[0045] When the third moment is earlier than the first moment in the time sequence and the time interval between the third moment and the second moment is less than a third preset time threshold, the second target user is divided into the second target user equipment set.
[0046] Optionally, in this embodiment, after obtaining the third location information of the second target user equipment in the first target user equipment set at the third moment, the method may further include:
[0047] When the third moment is later than the second moment in the time sequence and the time interval between the third moment and the second moment is less than a third preset time threshold, the second target user is classified into the second target user equipment set.
[0048] Optionally, in this embodiment, after obtaining the third location information of the second target user equipment in the first target user equipment set at the third moment, the method may further include:
[0049] When the third moment is later than the first moment in the time series and the third moment is earlier than the second moment in the time series, the second target user is divided into the second target user equipment set.
[0050] As an optional embodiment, the present application also provides a method for segmenting a crowd packet based on IP. The specific method is:
[0051] Data assumptions: It is assumed that the device identification information ID, its IP address, timestamp and other network behavior information can be obtained, and the GPS information of some device IDs can be obtained.
[0052] Implement sorting based on IP, ID and timestamp. Because IPV4 addresses are insufficient, many residential IPs are actually dynamic IPs, so over time, the location of the same IP will change at different time periods. The goal of sorting is to split the ID packet according to IP and timestamp.
[0053] Split the ID packet based on IP, ID and timestamp. The specific implementation method is:
[0054] 1. Assume that the network behavior data of IP1 obtained over a period of time is shown in Table 1.
[0055] Table 1
[0056] IP Information Device ID information Timestamp information Location Information IP1 ID1 Time1 LBS1 IP1 ID1 Time2 LBS2 IP1 ID1 Time3 IP1 ID2 Time4 LBS4 IP1 ID2 Time5 IP1 ID2 Time6 IP1 ID3 Time7 IP1 ID4 Time8 LBS5 IP1 ID4 Time9 IP1 ID5 Time10 …… …… ……
[0057] 2. Under IP1, the initial ID packet information is shown in Table 2.
[0058] Table 2
[0059] ID Pack ID List Time period information Location information list Package1 ID1 Time1~Time1 LBS1
[0060] 3. If Time2>Time1 and Time2-Time1>preset time threshold T, update the ID packet information as shown in Table 3.
[0061] Table 3
[0062] ID Pack ID List Time period information Location information list Package1 ID1 Time1~Time1 LBS1 Package2 ID1 Time2~Time2 LBS2
[0063] 4. If Time2>Time1 and Time2-Time1<=preset time threshold T, then update the ID packet information as shown in Table 4.
[0064] Table 4
[0065] ID Pack ID List Time period information Location information list Package1 ID1 Time1~Time2 LBS1, LBS2
[0066] 5. Assume that the ID packet information updated according to the network behavior information of ID1 is as shown in Table 5.
[0067] Table 5
[0068]
[0069] 6. Then for ID2, traverse Package1 and Package2. Taking Package1 as an example, the calculation is as follows: If Time4 < Time1 and Time1 - Time4 > the preset time threshold T, or Time4 > Time2 and Time4 - Time2 > the preset time threshold T, then the ID packet information is updated as shown in Table 6.
[0070] Table 6
[0071]
[0072]
[0073] 7. If Time4 < Time1 and Time4 - Time1 <= the preset time threshold T, then the ID packet information is updated as shown in Table 7.
[0074] Table 7
[0075] ID Pack ID List Time period information Location information list Package1 ID1, ID2 Time4~Time2 LBS1, LBS2, LBS4 Package2 ID1 Time3~Time3
[0076] 8. If Time4 >= Time1 and Time4 <= Time2, then the ID packet information is updated as shown in Table 8.
[0077] Table 8
[0078]
[0079] 9. If Time4 > Time2 and Time4 - Time2 <= the preset time threshold T, then the ID packet information is updated as shown in Table 9.
[0080] Table 9
[0081]
[0082] 10. After calculating successively according to the above rules to generate the initial ID packets, merge the ID packets with an ID coincidence degree greater than the preset ratio to form the final ID packets.
[0083] It can be seen that by determining the activity geographical range of the ID packets according to the LBS information corresponding to the ID packets, and splitting them into multiple population packets within a certain geographical range according to the ID tags such as gender tags, age tags, interest tags, etc., precise placement can be carried out according to the advertising target audience needs within the business district range, and the advertising conversion effect can be dynamically tracked.
[0084] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0085] According to another aspect of the embodiments of the present invention, a media file delivery device for implementing the above media file delivery method is also provided. Figure 3 As shown, the media file delivery device includes: a first acquisition unit 31 , a second acquisition unit 33 , a first division unit 35 and a first delivery unit 37 .
[0086] The first acquisition unit 31 is configured to acquire first location information of a first target user equipment in a first target user equipment set at a first moment, where the target user equipment set represents a set of user equipment using a target network protocol IP within a first target time period.
[0087] The second acquisition unit 33 is configured to acquire second location information of the first target user equipment at a second moment, wherein the second moment is later than the first moment in the time sequence.
[0088] The first dividing unit 35 is configured to divide the first target user equipment into a second target user equipment set when the time interval between the second moment and the first time is greater than or equal to a first preset time threshold.
[0089] The first delivery unit 37 is configured to deliver the target media file to the user equipment in the second target user equipment through the display terminal corresponding to the second position information.
[0090] Through the embodiment provided by the present application, the first acquisition unit 31 acquires the first location information of the first target user device in the first target user device set at the first moment, and the target user device set represents the set of user devices using the target network protocol IP within the first target time period; the second acquisition unit 33 acquires the second location information of the first target user device at the second moment, wherein the second moment is later than the first moment in the time series; the first division unit 35 divides the first target user device into the second target user device set when the time interval between the second moment and the first time is greater than or equal to the first preset time threshold; the first delivery unit 37 delivers the target media file to the user device in the second target user device through the display terminal corresponding to the second location information. The purpose of dividing the users in the target area into different sets based on the IP, user device and timestamp used by the users, and then delivering the target media file to the users in different sets through the display terminal is achieved, thereby solving the technical problem in the prior art that the accuracy of media file delivery is low due to the inability to obtain accurate division of the population in the target area.
[0091] Optionally, in this embodiment, the above device may further include:
[0092] A second division unit is configured to, after acquiring the second location information of the target user equipment at the second moment, divide the first target user equipment into devices in the first target user equipment set when the time interval between the second moment and the first time is less than a first preset time threshold;
[0093] The second delivery unit is configured to deliver the target media file to the first target user equipment via the display terminal corresponding to the first position information.
[0094] Optionally, in this embodiment, the first delivery unit 37 may include:
[0095] An acquisition module, used to acquire user information of each user device in the second target user set;
[0096] A determination module, used to determine label information of a second target user set according to the user information;
[0097] The delivery module is used for the display terminal to deliver the media file to the user equipment in the second target user set according to the tag information.
[0098] Optionally, in this embodiment, the above device may further include:
[0099] A third acquisition unit, configured to acquire third location information of a second target user equipment in the first target user equipment set at a third moment, wherein the third moment is earlier than the first moment in the time series;
[0100] A third dividing unit is configured to divide the second target user into a third target user equipment set when the third moment is earlier than the first moment in the time sequence and the time interval between the third moment and the first moment is greater than or equal to a second preset time threshold; or,
[0101] The fourth dividing unit is used to divide the second target user into the third target user equipment set when the third moment is later than the second moment in the time sequence and the time interval between the third moment and the second moment is greater than or equal to a third preset time threshold.
[0102] Optionally, in this embodiment, the above device may further include:
[0103] The fifth division unit is used to obtain the third location information of the second target user device in the first target user device set at the third moment, and then divide the second target user into the first target user device set if the time interval between the third moment and the first moment is less than the second preset time threshold.
[0104] Optionally, in this embodiment, the above device may further include:
[0105] The sixth division unit is used to obtain the third location information of the second target user equipment in the first target user equipment set at the third moment, and then divide the second target user into the second target user equipment set if the third moment is earlier than the first moment in the time series and the time interval between the third moment and the second moment is less than a third preset time threshold.
[0106] Optionally, in this embodiment, the above device may further include:
[0107] The seventh division unit is used to obtain the third location information of the second target user equipment in the first target user equipment set at the third moment, and then divide the second target user into the second target user equipment set when the third moment is later than the second moment in the time series and the time interval between the third moment and the second moment is less than a third preset time threshold.
[0108] Optionally, in this embodiment, the above device may further include:
[0109] The eighth division unit is used to obtain the third position information of the second target user equipment in the first target user equipment set at the third moment, and then divide the second target user into the second target user equipment set when the third moment is later than the first moment in the time sequence and the third moment is earlier than the second moment in the time sequence.
[0110] According to another aspect of the embodiments of the present invention, an electronic device for implementing the above-mentioned media file delivery method is also provided. Figure 4As shown, the electronic device includes a memory 402 and a processor 404. The memory 402 stores a computer program, and the processor 404 is configured to execute the steps in any of the above method embodiments through the computer program.
[0111] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.
[0112] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0113] S1, obtaining first location information of a first target user equipment in a first target user equipment set at a first moment, where the target user equipment set represents a set of user equipment using a target network protocol IP within a first target time period;
[0114] S2, obtaining second location information of the first target user equipment at a second moment, wherein the second moment is later than the first moment in the time series;
[0115] S3: if the time interval between the second moment and the first time is greater than or equal to a first preset time threshold, classify the first target user equipment into a second target user equipment set;
[0116] S4: delivering the target media file to a user device in the second target user device through the display terminal corresponding to the second location information.
[0117] Alternatively, a person skilled in the art may understand that: Figure 4 The structure shown is for illustration only, and the electronic device may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (MID), a PAD, or other terminal devices. Figure 4 The structure of the electronic device is not limited. Figure 4 More or fewer components (such as network interfaces, etc.) as shown in, or with Figure 4 Different configurations are shown.
[0118] Among them, the memory 402 can be used to store software programs and modules, such as the program instructions / modules corresponding to the media file delivery method and device in the embodiment of the present invention. The processor 404 executes various functional applications and data processing by running the software programs and modules stored in the memory 402, that is, to implement the above-mentioned media file delivery method. The memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 402 may further include a memory remotely located relative to the processor 404, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Among them, the memory 402 can specifically be used for, but is not limited to, first location information, a first target user device set, second location information, and other information. As an example, if Figure 4 As shown, the memory 402 may include, but is not limited to, the first acquisition unit 31, the second acquisition unit 33, the first division unit 35, and the first delivery unit 37 in the media file delivery device. In addition, it may also include, but is not limited to, other module units in the media file delivery device, which will not be repeated in this example.
[0119] Optionally, the transmission device 406 is used to receive or send data via a network. Specific examples of the network may include a wired network and a wireless network. In one example, the transmission device 406 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers via a network cable so as to communicate with the Internet or a local area network. In one example, the transmission device 406 is a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0120] In addition, the electronic device further comprises: a display 408 for displaying the target media file to be delivered; and a connection bus 410 for connecting various module components in the electronic device.
[0121] According to another aspect of the embodiments of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when run.
[0122] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:
[0123] S1, obtaining first location information of a first target user equipment in a first target user equipment set at a first moment, where the target user equipment set represents a set of user equipment using a target network protocol IP within a first target time period;
[0124] S2, obtaining second location information of the first target user equipment at a second moment, wherein the second moment is later than the first moment in the time series;
[0125] S3: if the time interval between the second moment and the first time is greater than or equal to a first preset time threshold, classify the first target user equipment into a second target user equipment set;
[0126] S4: delivering the target media file to a user device in the second target user device through the display terminal corresponding to the second location information.
[0127] Optionally, in this embodiment, a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing hardware related to the terminal device through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
[0128] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0129] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which can be personal computers, servers or network devices, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
[0130] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0131] In the several embodiments provided in the present application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0132] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0133] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0134] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for delivering a media file, characterized in that: include: Acquire first location information of a first target user equipment in a first target user equipment set at a first moment, where the target user equipment set represents a set of user equipment using a target network protocol IP within a first target time period; Acquire second location information of the first target user equipment at a second moment, wherein the second moment is later than the first moment in the time series; When the time interval between the second moment and the first moment is less than a first preset time threshold, classifying the first target user equipment as a device in the first target user equipment set; delivering a target media file to the first target user equipment through a display terminal corresponding to the first location information; When the time interval between the second moment and the first moment is greater than or equal to a first preset time threshold, classifying the first target user equipment into a second target user equipment set; The target media file is delivered to the user equipment in the second target user equipment set through the display terminal corresponding to the second location information.
2. The method according to claim 1, characterized in that The method of delivering the target media file to the user equipment in the second target user equipment by using the display terminal corresponding to the second location information includes: Acquire user information of each user equipment in the second target user equipment set; Determine tag information of the second target user equipment set according to the user information; The display terminal delivers the media file to the user equipment in the second target user equipment set according to the tag information.
3. The method according to claim 1, characterized in that The method further comprises: Acquire third location information of a second target user equipment in the first target user equipment set at a third moment, wherein the third moment is earlier than the first moment in the time series; If the third moment is earlier than the first moment in the time sequence and the time interval between the third moment and the first moment is greater than or equal to a second preset time threshold, the second target user is classified into a third target user equipment set; or, If the third moment is later than the second moment in the time sequence and the time interval between the third moment and the second moment is greater than or equal to a third preset time threshold, the second target user is classified into a third target user equipment set.
4. The method according to claim 3, characterized in that After acquiring the third location information of the second target user equipment in the first target user equipment set at the third moment, the method further includes: When the time interval between the third moment and the first moment is less than the second preset time threshold, the second target user is classified into the first target user equipment set.
5. The method according to claim 3, characterized in that: After acquiring the third location information of the second target user equipment in the first target user equipment set at the third moment, the method further includes: When the third moment is earlier than the first moment in the time series and the time interval between the third moment and the second moment is less than the third preset time threshold, the second target user is classified into the second target user equipment set.
6. The method according to claim 3, characterized in that: After acquiring the third location information of the second target user equipment in the first target user equipment set at the third moment, the method further includes: When the third moment is later than the second moment in the time series and the time interval between the third moment and the second moment is less than the third preset time threshold, the second target user is classified into the second target user equipment set.
7. The method according to claim 3, characterized in that After acquiring the third location information of the second target user equipment in the first target user equipment set at the third moment, the method further includes: When the third moment is later than the first moment in the time series and the third moment is earlier than the second moment in the time series, the second target user is classified into the second target user equipment set.
8. A media file delivery device, characterized in that: include: A first acquisition unit, configured to acquire first location information of a first target user equipment in a first target user equipment set at a first moment, wherein the target user equipment set represents a set of user equipment using a target network protocol IP within a first target time period; A second acquiring unit, configured to acquire second location information of the first target user equipment at a second moment, wherein the second moment is later than the first moment in the time sequence; A second dividing unit, configured to, after acquiring the second location information of the target user equipment at the second moment, divide the first target user equipment into devices in the first target user equipment set if the time interval between the second moment and the first moment is less than a first preset time threshold; A second delivery unit, configured to deliver a target media file to the first target user equipment via a display terminal corresponding to the first location information; A first dividing unit, configured to divide the first target user equipment into a second target user equipment set when a time interval between the second moment and the first moment is greater than or equal to a first preset time threshold; The first delivery unit is configured to deliver a target media file to user equipment in the second target user equipment set through a display terminal corresponding to the second location information.
9. The device according to claim 8, characterized in that The first delivery unit comprises: An acquisition module, configured to acquire user information of each user equipment in the second target user equipment set; A determination module, configured to determine label information of the second target user equipment set according to the user information; A delivery module is used for the display terminal to deliver the media file to the user equipment in the second target user equipment set according to the tag information.
10. The device according to claim 8, characterized in that The device also includes: A third acquisition unit, configured to acquire third location information of a second target user equipment in the first target user equipment set at a third moment, wherein the third moment is earlier than the first moment in the time series; a third dividing unit, configured to divide the second target user into a third target user equipment set when the third moment is earlier than the first moment in the time sequence and the time interval between the third moment and the first moment is greater than or equal to a second preset time threshold; or The fourth division unit is used to divide the second target user into a third target user equipment set when the third moment is later than the second moment in the time sequence and the time interval between the third moment and the second moment is greater than or equal to a third preset time threshold.
11. The device according to claim 10, characterized in that The device also includes: A fifth division unit is used to divide the second target user into the first target user equipment set after obtaining the third location information of the second target user equipment in the first target user equipment set at the third moment, if the time interval between the third moment and the first moment is less than the second preset time threshold.
12. The device according to claim 10, characterized in that The device also includes: A sixth division unit is used to divide the second target user into the second target user equipment set after obtaining the third location information of the second target user equipment in the first target user equipment set at the third moment, if the third moment is earlier than the first moment in the time series and the time interval between the third moment and the second moment is less than the third preset time threshold.
13. The device according to claim 10, characterized in that The device also includes: The seventh division unit is used to divide the second target user into the second target user equipment set after obtaining the third location information of the second target user equipment in the first target user equipment set at the third moment, when the third moment is later than the second moment in the time series and the time interval between the third moment and the second moment is less than the third preset time threshold.
14. The device according to claim 10, characterized in that The device also includes: An eighth division unit is used for, after obtaining the third location information of the second target user equipment in the first target user equipment set at the third moment, dividing the second target user into the second target user equipment set if the third moment is later than the first moment in the time sequence and the third moment is earlier than the second moment in the time sequence.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method described in any one of claims 1 to 7 when executed.
16. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 7 through the computer program.
