CN107171974A - A kind of method and device of advertisement machine shared resource - Google Patents

A kind of method and device of advertisement machine shared resource Download PDF

Info

Publication number
CN107171974A
CN107171974A CN201710288710.2A CN201710288710A CN107171974A CN 107171974 A CN107171974 A CN 107171974A CN 201710288710 A CN201710288710 A CN 201710288710A CN 107171974 A CN107171974 A CN 107171974A
Authority
CN
China
Prior art keywords
targeted advertisements
machine
resource
data frame
priority
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710288710.2A
Other languages
Chinese (zh)
Other versions
CN107171974B (en
Inventor
曾顺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Telescope Media Co Ltd
Original Assignee
Beijing Telescope Media Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Telescope Media Co Ltd filed Critical Beijing Telescope Media Co Ltd
Priority to CN201710288710.2A priority Critical patent/CN107171974B/en
Publication of CN107171974A publication Critical patent/CN107171974A/en
Application granted granted Critical
Publication of CN107171974B publication Critical patent/CN107171974B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/625Queue scheduling characterised by scheduling criteria for service slots or service orders
    • H04L47/6275Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority

Abstract

The invention discloses a kind of method and device of advertisement machine shared resource.Wherein, this method includes:The target resource needed for targeted advertisements machine is determined, target resource includes one or more in word, picture, video, audio;The priority of targeted advertisements machine is determined according to the priority of data frame in target resource, and determines the transmission sequence of data frame;Determined to send the transmission order of target resource to targeted advertisements machine according to the priority of targeted advertisements machine, and at arrival transmission order corresponding time point, send the data frame of target resource successively to targeted advertisements machine according to the transmission sequence of data frame.This method can effectively reduce the probability clashed in data transmission procedure by prioritization mechanism;Effective transmission of the source advertisement machine to targeted advertisements machine can be ensured simultaneously, improve channel utilization.

Description

A kind of method and device of advertisement machine shared resource
Technical field
The present invention relates to data sharing technology field, more particularly to a kind of method and device of advertisement machine shared resource.
Background technology
Advertisement machine is the smart machine of a new generation, aobvious by terminal software control, network information transfer and multimedia terminal Show one complete advertisement broadcast control system of composition, and pass through the multimedias such as picture, word, video, small plug-in unit (weather, exchange rate etc.) Material carries out advertising.The conception of advertisement machine initially is that advertisement is changed from passive to active, thus advertisement machine interactive so that It possesses many public service functions, and attracts with this customer's active browse advertisements.So, the mission at the beginning of advertisement machine birth Exactly change the pattern that advertisement is passively propagated, customer's active browse advertisements are attracted by way of interactive.And the development of advertisement machine Direction is also to continue this mission always:Intelligent interaction, public service, entertainment interactive etc..
In process of the present invention is realized, inventor has found that at least there are the following problems in the prior art:
Existing advertisement machine is largely that required resource is obtained by Upper system, and acquisition resource mode is single, and Advertisement machine quantity easy busy channel resource when excessive, causes the wasting of resources.Although part advertisement machine can also realize shared number According to, but be generally to realize resource-sharing between two advertisement machines, actually simply sender and recipient send mutually data, Sharing mode is simple.
The content of the invention
The embodiment of the present invention provides a kind of method and device of advertisement machine shared resource, for solving between existing advertisement machine Can not effective shared resource technical problem.
A kind of method of advertisement machine shared resource provided in an embodiment of the present invention, comprises the following steps:
The target resource needed for targeted advertisements machine is determined, target resource includes one in word, picture, video, audio Or it is multinomial;
The priority of targeted advertisements machine is determined according to the priority of data frame in target resource, and determines the transmission of data frame Sequentially;
Determined to send the transmission order of target resource to targeted advertisements machine according to the priority of targeted advertisements machine, and reached Transmission order corresponding time point when, send the data of target resource successively to targeted advertisements machine according to the transmission sequence of data frame Frame.
In a kind of possible implementation, targeted advertisements machine is determined according to the priority of all data frames in target resource Priority, including:
It is determined that in current time target resource data frame waiting for transmission, and determine the preferential of all data frames waiting for transmission Level;
Determine the priority of targeted advertisements machine
Wherein, ΦkFor targeted advertisements machine k priority, m is the number of data to be transmitted frame, APi kFor with targeted advertisements machine The priority of i-th corresponding k of data frame, [] is to round symbol.
In a kind of possible implementation, determined to send mesh to targeted advertisements machine according to the priority of targeted advertisements machine After the transmission order for marking resource, this method also includes:
The hair number of times of critical data frame is counted, is sent if having sent out number of times more than predetermined threshold value and not to targeted advertisements machine Cross critical data frame, then it is preferential to send critical data frame to targeted advertisements machine;
It is determined that after the transmission sequence of data frame, this method also includes:
It is determined that plan sends frame number:Wherein,For source advertisement machine U antenna number, QuFor hair Send data frame number to be sent in queue;
Frame number is sent according to plan and determines actual transmission frame number
Wherein,For the most codified data frame numbers of targeted advertisements machine V,It is likely to be received for targeted advertisements machine V Data frame number, XvRepresent all targeted advertisements machine V set.
In a kind of possible implementation, target is sent successively to targeted advertisements machine in the transmission sequence according to data frame After the data frame of resource, this method also includes:
Receive the reception message of targeted advertisements machines feedback, receive message include data frame number that targeted advertisements machine receives and Reception state;
Determine whether this data transfer is normal according to message is received, when this data transfer is normal, more fresh target is wide The target resource of announcement machine, and redefine according to the target resource after renewal the transmission of the transmission sequence and target resource of data frame Sequentially.
In a kind of possible implementation, the target resource needed for targeted advertisements machine is determined, including:
Resource to be sent is chosen, and determines the summary info of resource to be sent, summary info includes the name of resource to be sent One or more in title, resource size, resource type, resource brief introduction;And
The summary info is sent to targeted advertisements machines all nearby in the form of broadcast, whether checking targeted advertisements machine Be stored with resource to be sent;If resource to be sent is not present in targeted advertisements machine, resource to be sent is added to targeted advertisements machine Target resource in;
Sending the data frame of target resource includes:
Time synchronized is carried out between targeted advertisements machine, based on TDMA by the data frame of target resource send to Targeted advertisements machine;
Wherein, time synchronized is carried out between targeted advertisements machine includes:
Broadcast time signal based on broadcasting station updates the time of source advertisement machine and targeted advertisements;Or
The time service instruction adjustment source advertisement machine issued according to host computer and the time of targeted advertisements machine;Or
Voluntarily arrange a common time between source advertisement machine and targeted advertisements machine.
Based on same inventive concept, a kind of device of advertisement machine shared resource provided in an embodiment of the present invention, including:
Determining module, for determining the target resource needed for targeted advertisements machine, target resource include word, picture, video, One or more in audio;
Priority block, the priority for determining targeted advertisements machine according to the priority of data frame in target resource, and Determine the transmission sequence of data frame;
Sending module, for being determined to send the transmission of target resource to targeted advertisements machine according to the priority of targeted advertisements machine Sequentially, and at arrival transmission order corresponding time point, sent successively to targeted advertisements machine according to the transmission sequence of data frame The data frame of target resource.
In a kind of possible implementation, priority block includes:
First determining unit, for determining the data frame waiting for transmission in current time target resource, and determines to be needed The priority of the data frame of transmission;
Second determining unit, the priority for determining targeted advertisements machine
Wherein, ΦkFor targeted advertisements machine k priority, m is the number of data to be transmitted frame, APi kFor with targeted advertisements machine The priority of i-th corresponding k of data frame, [] is to round symbol.
In a kind of possible implementation, the device also includes statistical module, schedule module and actual module;
Determined in sending module according to the priority of targeted advertisements machine suitable to the transmission of targeted advertisements machine transmission target resource After sequence, statistical module is used for the hair number of times for counting critical data frame, if having sent out number of times more than predetermined threshold value and not to mesh Mark advertisement machine is transmitted across critical data frame, then sending module is preferential sends critical data frame to targeted advertisements machine;
After priority block determines the transmission sequence of data frame, schedule module is used to determine that plan sends frame number:Wherein,For source advertisement machine U antenna number, QuFor data frame number to be sent in transmit queue;
Actual module is used to determine that reality sends frame number according to plan transmission frame number
Wherein,For the most codified data frame numbers of targeted advertisements machine V,It is likely to be received for targeted advertisements machine V Data frame number, XvRepresent all targeted advertisements machine V set.
In a kind of possible implementation, the device also includes:Feedback module and update module;
Sending module according to the transmission sequence of data frame to targeted advertisements machine send successively target resource data frame it Afterwards, feedback module is used for the reception message for receiving targeted advertisements machine feedback, and receiving message includes the number that targeted advertisements machine is received According to frame number and reception state;
Update module is used to determine whether this data transfer is normal according to reception message, normal in this data transfer When, update targeted advertisements machine target resource, and according to the target resource after renewal redefine data frame transmission sequence and The transmission order of target resource.
In a kind of possible implementation, determining module includes:
Unit is chosen, for choosing resource to be sent, and the summary info of resource to be sent is determined, summary info includes treating Send one or more in the title of resource, resource size, resource type, resource brief introduction;And
Authentication module, for being sent the summary info to targeted advertisements machines all nearby, checking in the form of broadcast Whether targeted advertisements machine is stored with resource to be sent;If resource to be sent is not present in targeted advertisements machine, resource to be sent is added In the target resource for adding to targeted advertisements machine;
Sending module is additionally operable to:Time synchronized is carried out between targeted advertisements machine, target is provided based on TDMA The data frame in source is sent to targeted advertisements machine;
Wherein, time synchronized is carried out between targeted advertisements machine includes:
Broadcast time signal based on broadcasting station updates the time of source advertisement machine and targeted advertisements;Or
The time service instruction adjustment source advertisement machine issued according to host computer and the time of targeted advertisements machine;Or
Voluntarily arrange a common time between source advertisement machine and targeted advertisements machine.
The method and device of a kind of advertisement machine shared resource provided in an embodiment of the present invention, according to target resource data frame Priority determines the transmission order of target resource and the transmission sequence of data frame, is needing to send mesh to multiple targeted advertisements machines When marking resource, by prioritization mechanism, the probability clashed in data transmission procedure can be effectively reduced;Simultaneously can To ensure effective transmission of the source advertisement machine to targeted advertisements machine, channel utilization is improved.Counted in units of the priority of data frame Calculate targeted advertisements machine priority, combine the priority of all data frames in target resource so that targeted advertisements machine it is preferential Level is more accurate.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write Specifically noted structure is realized and obtained in book, claims and accompanying drawing.
Below by drawings and examples, technical scheme is described in further detail.
Brief description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and constitutes a part for specification, the reality with the present invention Applying example is used to explain the present invention together, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the method flow diagram of advertisement machine shared resource in the embodiment of the present invention;
Fig. 2 transmits distribution map for source advertisement machine in the embodiment of the present invention to targeted advertisements machine;
Fig. 3 is source advertisement machine in the embodiment of the present invention to targeted advertisements machine transmitting procedure subdivision graph;
Fig. 4 is the first structure figure of the device of advertisement machine shared resource in the embodiment of the present invention;
Fig. 5 is the second structure chart of the device of advertisement machine shared resource in the embodiment of the present invention.
Embodiment
The preferred embodiments of the present invention are illustrated below in conjunction with accompanying drawing, it will be appreciated that preferred reality described herein Apply example to be merely to illustrate and explain the present invention, be not intended to limit the present invention.
Referring to Fig. 1, a kind of flow of the method for advertisement machine shared resource provided in an embodiment of the present invention is as follows, specifically includes Step 101-103:
Step 101:The target resource needed for targeted advertisements machine is determined, target resource includes word, picture, video, audio In one or more.
In the embodiment of the present invention, using local advertisement machine as source advertisement machine, other advertisement machines are regard as targeted advertisements Machine, the resource being locally stored is provided to targeted advertisements machine.Specifically, different target advertisement can be determined respectively according to the actual requirements Target resource needed for machine, the target resource includes one or more in word, picture, video, audio.
Step 102:The priority of targeted advertisements machine is determined according to the priority of data frame in target resource, and determines data The transmission sequence of frame.
In the embodiment of the present invention, target resource is made up of multiple data frames, and previously according to the significance level pair of data frame Data frame is classified, and determines the priority of data frame, and the priority further according to data frame in target resource determines target afterwards The priority of advertisement machine;Because the target resource needed for different target advertisement machine may be different, so that different target advertisement The priority of machine can also have difference, and then when needing to send resource to multiple targeted advertisements machines, can be according to targeted advertisements The priority of machine determines transmission order.
Simultaneously as data frame also is provided with priority this parameter, therefore simultaneously can also be true according to the priority of data frame Determine the transmission sequence of data frame, the high data frame of prioritised transmission priority.
Step 103:Determined to send the transmission order of target resource to targeted advertisements machine according to the priority of targeted advertisements machine, And at arrival transmission order corresponding time point, target money is sent according to the transmission sequence of data frame successively to targeted advertisements machine The data frame in source.
In the embodiment of the present invention, determined to send the hair of target resource to targeted advertisements machine according to the priority of targeted advertisements machine The preferential targeted advertisements machine high to priority of order, i.e. source advertisement machine is sent to send target resource.Meanwhile, source advertisement machine is wide to target When announcement machine sends target resource, the data frame of target resource is sent to targeted advertisements machine successively according to the transmission sequence of data frame, It is preferential to send the high data frame of priority so that the high targeted advertisements machine of priority can preferentially obtain important data frame Resource.
The method of a kind of advertisement machine shared resource provided in an embodiment of the present invention, according to the priority of target resource data frame The transmission order of target resource and the transmission sequence of data frame are determined, is needing to send target resource to multiple targeted advertisements machines When, by prioritization mechanism, the probability clashed in data transmission procedure can be effectively reduced;It can ensure simultaneously Effective transmission of the source advertisement machine to targeted advertisements machine, improves channel utilization.
Another embodiment of the present invention provides a kind of method of advertisement machine shared resource, and it includes the step shown in Fig. 1 101-103, and it implements process and technique effect embodiment shown in Figure 1;Meanwhile, in embodiments of the present invention, Step 102 determines the priority of targeted advertisements machine according to the priority of all data frames in target resource, specifically includes step A1- A2:
Step A1:It is determined that in current time target resource data frame waiting for transmission, and determine all data waiting for transmission The priority of frame.
In the embodiment of the present invention, the target resource of required transmission includes one or many in word, picture, video, audio , operational priority is there is between different types of resource, content most crucial in advertisement should be preferentially transmitted and be wrapped The material resource contained.Specifically the advertising resource of transmission can be divided into according to actual business requirement by different priority.Example Such as, general video resource is important, or important in part moment some poster pictures for being used to publicize, then can be by The priority of video resource or the poster picture is set to high priority.
In the embodiment of the present invention, ad data is the information that an advertisement is specifically included, such as a pictures, one section of video Or passage etc.;Ad data is divided into different priority AP, for example, for core data, AP in the embodiment of the present invention =0;For common data, AP=1.Meanwhile, target resource may include multiple ad datas, and each ad data is by more Individual data frame composition, determines the priority of data frame, the priority of ad data is defined as into the ad data institute for convenience Comprising data frame priority.Such as, target resource includes ad data A and ad data B, and ad data A includes data Frame a1, a2 and a3, ad data B include data frame b1 and b2;If ad data A priority is 0, ad data B's is preferential Level is 1, then data frame a1, a2 and a3 priority is 0, and data frame b1 and b2 priority are 1.
Optionally, in the embodiment of the present invention when setting the priority of ad data, while considering queuing time problem.By The problem of queue time is long is there may be in the ad data of part low priority, therefore by target in the embodiment of the present invention The priority AP of ad data in resource can be divided into following three-level:
For example, the priority level of a certain ad data is than relatively low (such as AP=2), it is determined that after target resource, if the advertisement Exist between data and other high priority ad datas in target resource and associate, and the row of the ad data of the low priority Team's overlong time, then can carry out priority compensation to the ad data of the low priority, that is, improve priority and (such as update AP For 1).The problem of ad data queue time of some low priorities is long is avoided by way of priority is compensated.
Step A2:Determine the priority of targeted advertisements machineWherein, ΦkFor targeted advertisements machine k's Priority, m is the number of data to be transmitted frame, APi kFor the priority of i-th data frame corresponding with targeted advertisements machine k, [] is to round symbol.
Shown in Figure 2 in the embodiment of the present invention, source advertisement machine U can be to multiple targeted advertisements machine Vk(k=1,2 ..., N) identical or different target resource is sent, so that different targeted advertisements machines can also have different priority.This In inventive embodiments, the priority of target resource is defined as to the priority of the priority of targeted advertisements machine, i.e. targeted advertisements machine For the priority of target resource.Specifically, target resource includes multiple data frames, the weighting of the priority of each data frame is put down Average as the target resource priority.
In the embodiment of the present invention, using the weighted average of data frame priority as the priority of targeted advertisements machine, calculate Mode is simple;Simultaneously as be transmitted in transmission objectives resource in units of data frame, therefore in the embodiment of the present invention The mode of priority of targeted advertisements machine is calculated in units of the priority of data frame, all data frames in target resource are combined Priority so that the priority of targeted advertisements machine is more accurate.If determining target resource according to the priority of ad data Priority may be inaccurate:For example, ad data A and multiple low priority of the target resource comprising a high priority advertisement Data B, C, D, and ad data A includes a large amount of important data frames, and the data frame that ad data B, C, D are included is seldom; Now because the major part of the target resource is important ad data A, the ad data accounting of remaining low priority is seldom, this When the priority of the target resource should be set higher.If determining the preferential of target resource according to the priority of ad data merely Level, because target resource has the ad data of a large amount of low priorities, then can cause the priority of the target resource relatively low;And root The priority for determining target resource according to data frame can solve the above problems well, it is determined that target resource priority more Accurately.
In a kind of possible implementation, determined in step 103 according to the priority of targeted advertisements machine to targeted advertisements Machine is sent after the transmission order of target resource, and this method also includes:The hair number of times of critical data frame is counted, if having sent out number of times Be transmitted across critical data frame more than predetermined threshold value and not to targeted advertisements machine, then it is preferential to send critical data to targeted advertisements machine Frame.
In the embodiment of the present invention, some data frames are all necessary, i.e., multiple targeted advertisements for multiple targeted advertisements machines The data frame is included in the target resource of machine, then the data frame is critical data frame.Due to there may be following situation:It is a certain In target resource in addition to the critical data frame, the priority of other data frames is relatively low, so as to cause the preferential of the target resource Level is relatively low, and queue time is more long so that targeted advertisements machine can not obtain the critical data frame in time, therefore the embodiment of the present invention The hair time field of middle increase data frame.
Specifically, each data frame statistics pending for the advertising resource in the advertisement machine of source has sent out number of times.If crucial Data frame DiTransmission times N0More than default threshold value, such as N0→N*, N*For critical data frame DiTransmission times most Big value, and now do not receive data frame D in targeted advertisements machine ki, then source advertisement machine is preferential sends out to targeted advertisements machine k Send critical data frame Di
The method of advertisement machine shared resource provided in an embodiment of the present invention, enters to the data frame of target resource and target resource Row sorts for two layers, while set third layer to sort always according to the number of times of hair of critical data frame, by three layers of priority ranking, The validity of advertising data transmission is effectively ensured, while the conflict of data transfer can be avoided again.
In a kind of possible implementation, after the transmission sequence that step 102 determines data frame, this method also includes It is determined that sending the process of frame number, following steps are specifically included:
Step B1:It is determined that plan sends frame number:Wherein,For source advertisement machine U antenna Number, QuFor data frame number to be sent in transmit queue.
Step B2:Frame number is sent according to plan and determines actual transmission frame number
Wherein, For the most codified data frame numbers of targeted advertisements machine V,For mesh The data frame number that mark advertisement machine V is likely to be received, XvRepresent all targeted advertisements machine V set.
The method of advertisement machine shared resource provided in an embodiment of the present invention can be transmitted based on TDMA, i.e., Data frame is sent to different targeted advertisements machines in each time slot;Therefore, it is determined that after the priority of targeted advertisements machine, in addition it is also necessary to root According to source advertisement machine U and targeted advertisements machine V actual conditions, it is determined that sending frame number.Specifically, source advertisement machine plan sends frame number For:
Wherein,For source advertisement machine U antenna number, QuFor number to be sent in transmit queue According to frame number, the data frame in the queue is arranged according to priority descending.
In the embodiment of the present invention, the actual data frame number that sends depends not only on source advertisement machine U, actually goes back and targeted advertisements Machine is relevant;Source advertisement machine determines actual transmission frame numberFor:
Wherein,For the most codified data frame numbers of targeted advertisements machine V,For mesh The data frame number that mark advertisement machine V is likely to be received, XvAll targeted advertisements machine V set is represented, i.e. targeted advertisements machine V is set XvIn an element.It is determined that after actual transmission frame number target resource can be sent to targeted advertisements machine respectively.
In addition, after the transmission sequence according to data frame sends the data frame of target resource successively to targeted advertisements machine, This method also includes checking stage, and source advertisement machine is specifically participated in shown in that Fig. 3 to the transmitting procedure of targeted advertisements machine, wherein, should Checking stage specifically includes step C1-C2:
Step C1:The reception message of targeted advertisements machine feedback is received, receiving message includes the number that targeted advertisements machine is received According to frame number and reception state.
Step C2:Determine whether this data transfer is normal according to message is received, when this data transfer is normal, update The target resource of targeted advertisements machine, and redefine according to the target resource after renewal the transmission sequence and target resource of data frame Transmission order.
In the embodiment of the present invention, in checking stage, targeted advertisements machine is received to send to source advertisement machine after data frame and connect Receiving text, feedback data reception condition.Source advertisement machine determines whether this data transfer is normal according to message is received, if abnormal Then need to retransmit;If normal, the priority of targeted advertisements machine is redefined, and then determine the transmission sequence and target of data frame The transmission order of resource.Specifically, can periodically according to receive message determine whether data transfer normal, can also by certain All data frames are all sent to targeted advertisements machine in one ad data, and the reception message fed back according to targeted advertisements machine is determined Whether data transfer is normal, and
The target resource and priority of targeted advertisements machine are updated when normal.
In a kind of possible implementation, in the embodiment of the present invention, step 101 determines the target needed for targeted advertisements machine Resource, specifically includes step D1-D2:
Step D1:Resource to be sent is chosen, and determines the summary info of resource to be sent, summary info includes money to be sent One or more in the title in source, resource size, resource type, resource brief introduction.
Step D2:The summary info is sent to targeted advertisements machines all nearby in the form of broadcast, checking target is wide Whether announcement machine is stored with resource to be sent;If resource to be sent is not present in targeted advertisements machine, resource to be sent is added to mesh In the target resource for marking advertisement machine.
In the embodiment of the present invention, many ad datas have been locally stored in source advertisement machine, choose one of ad data and make For resource to be sent, the summary info of the resource to be sent is determined afterwards, and summary info is sent to targeted advertisements machine;If mesh Mark advertisement machine be not present the resource to be sent, then to the non-existent information of source advertisement machine feedback resources, opisthogenesis advertisement machine To regard the resource to be sent as an ad data in the target resource of the targeted advertisements machine.
Optionally, the data frame for sending target resource is specifically included:Time synchronized is carried out between targeted advertisements machine, is based on TDMA sends the data frame of target resource to targeted advertisements machine.
Wherein, because source advertisement machine in the embodiment of the present invention can be based on TDMA simultaneously to many targeted advertisements Machine sends corresponding target resource, therefore needs to carry out time synchronized with targeted advertisements machine.Specifically, between targeted advertisements machine Carrying out time synchronized includes:
Broadcast time signal based on broadcasting station updates the time of source advertisement machine and targeted advertisements;Or
The time service instruction adjustment source advertisement machine issued according to host computer and the time of targeted advertisements machine;Or
Voluntarily arrange a common time between source advertisement machine and targeted advertisements machine.
In the embodiment of the present invention, pip is one section of time signal in existing broadcast singal, broadcast singal bag Include five low frequency signals and a high-frequency signal, five sound basses and a sound pitch sound that correspondence human ear is heard.Specifically, per hour Five sound basses are quoted before integral point, a sound pitch sound is quoted during integral point and integral point is used as using its high pitch starting point;The frequency of bass signal is 800HZ, the frequency 1600Hz of high pitched signal;0.25 second bass signal duration, 0.5 second high pitched signal duration, every two Sound interval time is 1 second.Regulation to pip is referred to《Pip》(GB/T 4961-1999).
Order of the timing code in five sound basses be year, month, day, when.From the 5th time cycle of every loud sinusoidal signal Proceed by timing code modulation.The time width for providing the time code element of a modulating wave is the half period of 800HZ sine waves. Binary number containing 8bit is often rung, its first bit is used as sync bit for 1, for identifying synchronizing signal;The last bit is odd even Check bit.Description is referred to as described in timing code《Pip is embedded in timing code specification》(GY/T 219-2006), timing code Full edition referring to shown in table 1 below:
Table 1
The method of a kind of advertisement machine shared resource provided in an embodiment of the present invention, according to the priority of target resource data frame The transmission order of target resource and the transmission sequence of data frame are determined, is needing to send target resource to multiple targeted advertisements machines When, by prioritization mechanism, the probability clashed in data transmission procedure can be effectively reduced;It can ensure simultaneously Effective transmission of the source advertisement machine to targeted advertisements machine, improves channel utilization.Target is calculated in units of the priority of data frame The priority of advertisement machine, combines the priority of all data frames in target resource so that the priority of targeted advertisements machine is more Accurately.
The flow of the method for advertisement machine shared resource in the embodiment of the present invention is described in detail above, and this method can also lead to Cross corresponding device to realize, the 26S Proteasome Structure and Function of the device is described in detail below.
A kind of device of advertisement machine shared resource provided in an embodiment of the present invention, it is shown in Figure 4, including:
Determining module 41, for determining the target resource needed for targeted advertisements machine, target resource includes word, picture, regarded Frequently, one or more in audio;
Determining module 42, the priority for determining targeted advertisements machine according to the priority of data frame in target resource, and Determine the transmission sequence of data frame;
Sending module 43, for being determined to send the hair of target resource to targeted advertisements machine according to the priority of targeted advertisements machine Order is sent, and at arrival transmission order corresponding time point, is sent out successively to targeted advertisements machine according to the transmission sequence of data frame Send the data frame of target resource.
In a kind of possible implementation, priority block 42 includes:
First determining unit, for determining the data frame waiting for transmission in current time target resource, and determines to be needed The priority of the data frame of transmission;
Second determining unit, the priority for determining targeted advertisements machine
Wherein, ΦkFor targeted advertisements machine k priority, m is the number of data to be transmitted frame, APi kFor with targeted advertisements machine The priority of i-th corresponding k of data frame, [] is to round symbol.
Shown in Figure 5 in a kind of possible implementation, the device also includes statistical module 44, schedule module 45 With actual module 46;
Determined to send the transmission of target resource to targeted advertisements machine according to the priority of targeted advertisements machine in sending module 43 After order, statistical module 44 is used to count the hair number of times of critical data frame, if not sent out number of times more than predetermined threshold value and not Critical data frame is transmitted across to targeted advertisements machine, then sending module 43 is preferential sends critical data frame to targeted advertisements machine.
After the transmission sequence that priority block 42 determines data frame, schedule module 45 is used to determine that plan sends frame Number:Wherein,For source advertisement machine U antenna number, QuFor data frame to be sent in transmit queue Number;
Actual module 46 is used to determine that reality sends frame number according to plan transmission frame number
Wherein,For the most codified data frame numbers of targeted advertisements machine V,It is likely to be received for targeted advertisements machine V Data frame number, XvRepresent all targeted advertisements machine V set.
Shown in Figure 5 in a kind of possible implementation, the device also includes:Feedback module 47 and update module 48;
The data frame of target resource is sent successively to targeted advertisements machine according to the transmission sequence of data frame in sending module 43 Afterwards, feedback module 47 is used for the reception message for receiving targeted advertisements machine feedback, receives message and is received including targeted advertisements machine Data frame number and reception state;
Update module 48 is used to determine whether this data transfer is normal according to reception message, normal in this data transfer When, update targeted advertisements machine target resource, and according to the target resource after renewal redefine data frame transmission sequence and The transmission order of target resource.
In a kind of possible implementation, determining module 41 includes:
Unit is chosen, for choosing resource to be sent, and the summary info of resource to be sent is determined, summary info includes treating Send one or more in the title of resource, resource size, resource type, resource brief introduction;And
Authentication module, for being sent the summary info to targeted advertisements machines all nearby, checking in the form of broadcast Whether targeted advertisements machine is stored with resource to be sent;If resource to be sent is not present in targeted advertisements machine, resource to be sent is added In the target resource for adding to targeted advertisements machine;
Sending module 43 is additionally operable to:Time synchronized is carried out between targeted advertisements machine, based on TDMA by target The data frame of resource is sent to targeted advertisements machine.
Wherein, time synchronized is carried out between targeted advertisements machine includes:
Broadcast time signal based on broadcasting station updates the time of source advertisement machine and targeted advertisements;Or
The time service instruction adjustment source advertisement machine issued according to host computer and the time of targeted advertisements machine;Or
Voluntarily arrange a common time between source advertisement machine and targeted advertisements machine.
The method and device of a kind of advertisement machine shared resource provided in an embodiment of the present invention, according to target resource data frame Priority determines the transmission order of target resource and the transmission sequence of data frame, is needing to send mesh to multiple targeted advertisements machines When marking resource, by prioritization mechanism, the probability clashed in data transmission procedure can be effectively reduced;Simultaneously can To ensure effective transmission of the source advertisement machine to targeted advertisements machine, channel utilization is improved.Counted in units of the priority of data frame Calculate targeted advertisements machine priority, combine the priority of all data frames in target resource so that targeted advertisements machine it is preferential Level is more accurate.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can be used in one or more computers for wherein including computer usable program code The shape for the computer program product that usable storage medium is implemented on (including but is not limited to magnetic disk storage and optical memory etc.) Formula.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (10)

1. a kind of method of advertisement machine shared resource, it is characterised in that comprise the following steps:
The target resource needed for targeted advertisements machine is determined, the target resource includes one in word, picture, video, audio Or it is multinomial;
The priority of the targeted advertisements machine is determined according to the priority of data frame in the target resource, and determines the data The transmission sequence of frame;
Determined to send the transmission order of the target resource to the targeted advertisements machine according to the priority of the targeted advertisements machine, And when reaching transmission order corresponding time point, according to the transmission sequence of the data frame to the targeted advertisements machine according to The secondary data frame for sending the target resource.
2. according to the method described in claim 1, it is characterised in that it is described according in the target resource all data frames it is excellent First level determines the priority of the targeted advertisements machine, including:
It is determined that in target resource described in current time data frame waiting for transmission, and determine all data frames waiting for transmission Priority;
Determine the priority of the targeted advertisements machine
Wherein, ΦkFor targeted advertisements machine k priority, m is the number of data to be transmitted frame, APi kFor with targeted advertisements machine k phases The priority of corresponding i-th of data frame, [] is to round symbol.
3. according to the method described in claim 1, it is characterised in that determined described according to the priority of the targeted advertisements machine After the transmission order that the target resource is sent to the targeted advertisements machine, in addition to:
The hair number of times of critical data frame is counted, if the number of times of having sent out is more than predetermined threshold value and not to the targeted advertisements machine Be transmitted across the critical data frame, then it is preferential to send the critical data frame to the targeted advertisements machine;
After the transmission sequence for determining the data frame, in addition to:
It is determined that plan sends frame number:Wherein,For source advertisement machine U antenna number, QuTo send team Data frame number to be sent in row;
Frame number is sent according to the plan and determines actual transmission frame number
<mrow> <msubsup> <mi>N</mi> <mi>u</mi> <mrow> <mi>a</mi> <mi>l</mi> <mi>l</mi> <mi>o</mi> <mi>w</mi> </mrow> </msubsup> <mo>=</mo> <msubsup> <mi>N</mi> <mi>u</mi> <mn>0</mn> </msubsup> <munder> <mi>min</mi> <mrow> <mi>v</mi> <mo>&amp;Element;</mo> <msub> <mi>X</mi> <mi>v</mi> </msub> </mrow> </munder> <mrow> <mo>(</mo> <mfrac> <msubsup> <mi>N</mi> <mi>v</mi> <mrow> <mi>d</mi> <mi>e</mi> <mi>c</mi> </mrow> </msubsup> <msubsup> <mi>N</mi> <mi>v</mi> <mrow> <mi>r</mi> <mi>e</mi> <mi>c</mi> </mrow> </msubsup> </mfrac> <mo>)</mo> </mrow> <mo>;</mo> </mrow>
Wherein,For the most codified data frame numbers of targeted advertisements machine V,The data being likely to be received for targeted advertisements machine V Frame number, XvRepresent all targeted advertisements machine V set.
4. according to any described methods of claim 1-3, it is characterised in that in the transmission sequence according to the data frame After the data frame of the target resource being sent successively to the targeted advertisements machine, in addition to:
The reception message of the targeted advertisements machine feedback is received, the reception message includes the number that the targeted advertisements machine is received According to frame number and reception state;
Determine whether this data transfer is normal according to the reception message, when this data transfer is normal, update the mesh The target resource of advertisement machine is marked, and redefines according to target resource after renewal the transmission sequence and target resource of data frame Transmission order.
5. according to any described methods of claim 1-3, it is characterised in that the target money needed for the determination targeted advertisements machine Source, including:
Resource to be sent is chosen, and determines the summary info of the resource to be sent, the summary info includes resource to be sent Title, resource size, resource type, one or more in resource brief introduction;And
The summary info is sent to targeted advertisements machines all nearby in the form of broadcast, whether checking targeted advertisements machine stores There is the resource to be sent;If the resource to be sent is not present in targeted advertisements machine, the resource to be sent is added to institute In the target resource for stating targeted advertisements machine;
The data frame for sending the target resource includes:
Time synchronized is carried out between targeted advertisements machine, based on TDMA by the data frame of the target resource send to Targeted advertisements machine;
Wherein, time synchronized is carried out between the machine with targeted advertisements includes:
Broadcast time signal based on broadcasting station updates the time of source advertisement machine and targeted advertisements;Or
The time service instruction adjustment source advertisement machine issued according to host computer and the time of targeted advertisements machine;Or
Voluntarily arrange a common time between source advertisement machine and targeted advertisements machine.
6. a kind of device of advertisement machine shared resource, it is characterised in that including:
Determining module, for determining the target resource needed for targeted advertisements machine, the target resource include word, picture, video, One or more in audio;
Priority block, for determining the preferential of the targeted advertisements machine according to the priority of data frame in the target resource Level, and determine the transmission sequence of the data frame;
Sending module, for being determined to send the target money to the targeted advertisements machine according to the priority of the targeted advertisements machine The transmission order in source, and when reaching transmission order corresponding time point, according to the transmission sequence of the data frame to institute State the data frame that targeted advertisements machine sends the target resource successively.
7. device according to claim 6, it is characterised in that the priority block includes:
First determining unit, for determining the data frame waiting for transmission in target resource described in current time, and determines to be needed The priority of the data frame of transmission;
Second determining unit, the priority for determining the targeted advertisements machine
Wherein, ΦkFor targeted advertisements machine k priority, m is the number of data to be transmitted frame, APi kFor with targeted advertisements machine k phases The priority of corresponding i-th of data frame, [] is to round symbol.
8. device according to claim 6, it is characterised in that also including statistical module, schedule module and actual module;
Determined to send the target to the targeted advertisements machine according to the priority of the targeted advertisements machine in the sending module After the transmission order of resource, the statistical module is used to count the hair number of times of critical data frame, if described, to have sent out number of times big The critical data frame is transmitted across in predetermined threshold value and not to the targeted advertisements machine, then the sending module is preferential to described Targeted advertisements machine sends the critical data frame;
After the transmission sequence that the priority block determines the data frame, the schedule module is used to determine that plan is sent Frame number:Wherein,For source advertisement machine U antenna number, QuFor data to be sent in transmit queue Frame number;
The actual module is used to determine that reality sends frame number according to the plan transmission frame number
<mrow> <msubsup> <mi>N</mi> <mi>u</mi> <mrow> <mi>a</mi> <mi>l</mi> <mi>l</mi> <mi>o</mi> <mi>w</mi> </mrow> </msubsup> <mo>=</mo> <msubsup> <mi>N</mi> <mi>u</mi> <mn>0</mn> </msubsup> <munder> <mi>min</mi> <mrow> <mi>v</mi> <mo>&amp;Element;</mo> <msub> <mi>X</mi> <mi>v</mi> </msub> </mrow> </munder> <mrow> <mo>(</mo> <mfrac> <msubsup> <mi>N</mi> <mi>v</mi> <mrow> <mi>d</mi> <mi>e</mi> <mi>c</mi> </mrow> </msubsup> <msubsup> <mi>N</mi> <mi>v</mi> <mrow> <mi>r</mi> <mi>e</mi> <mi>c</mi> </mrow> </msubsup> </mfrac> <mo>)</mo> </mrow> <mo>;</mo> </mrow>
Wherein,For the most codified data frame numbers of targeted advertisements machine V,The data being likely to be received for targeted advertisements machine V Frame number, XvRepresent all targeted advertisements machine V set.
9. according to any described devices of claim 6-8, it is characterised in that also include:Feedback module and update module;
The target is sent successively in the sending module to the targeted advertisements machine according to the transmission sequence of the data frame to provide After the data frame in source, the feedback module is used for the reception message for receiving the targeted advertisements machine feedback, the reception message The data frame number and reception state received including the targeted advertisements machine;
The update module is used to determine whether this data transfer is normal according to the reception message, in this data transfer just Chang Shi, updates the target resource of the targeted advertisements machine, and redefines according to the target resource after renewal the transmission of data frame The transmission order of order and target resource.
10. according to any described devices of claim 6-8, it is characterised in that the determining module includes:
Unit is chosen, for choosing resource to be sent, and the summary info of the resource to be sent, the summary info bag is determined Include one or more in the title of resource to be sent, resource size, resource type, resource brief introduction;And
Authentication module, for sending the summary info to targeted advertisements machines all nearby in the form of broadcast, verifies target Whether advertisement machine is stored with the resource to be sent;If the resource to be sent is not present in targeted advertisements machine, will be described pending Resource is sent to be added in the target resource of the targeted advertisements machine;
The sending module is additionally operable to:Time synchronized is carried out between targeted advertisements machine, based on TDMA by the mesh The data frame of mark resource is sent to targeted advertisements machine;
Wherein, time synchronized is carried out between the machine with targeted advertisements includes:
Broadcast time signal based on broadcasting station updates the time of source advertisement machine and targeted advertisements;Or
The time service instruction adjustment source advertisement machine issued according to host computer and the time of targeted advertisements machine;Or
Voluntarily arrange a common time between source advertisement machine and targeted advertisements machine.
CN201710288710.2A 2017-04-27 2017-04-27 A kind of method and device of advertisement machine shared resource Expired - Fee Related CN107171974B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710288710.2A CN107171974B (en) 2017-04-27 2017-04-27 A kind of method and device of advertisement machine shared resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710288710.2A CN107171974B (en) 2017-04-27 2017-04-27 A kind of method and device of advertisement machine shared resource

Publications (2)

Publication Number Publication Date
CN107171974A true CN107171974A (en) 2017-09-15
CN107171974B CN107171974B (en) 2018-02-23

Family

ID=59812277

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710288710.2A Expired - Fee Related CN107171974B (en) 2017-04-27 2017-04-27 A kind of method and device of advertisement machine shared resource

Country Status (1)

Country Link
CN (1) CN107171974B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108492139A (en) * 2018-03-20 2018-09-04 北京望远传媒有限公司 The method of advertising resource is shared between advertisement machine
CN108810959A (en) * 2018-07-24 2018-11-13 深圳友讯达科技股份有限公司 Communication protecting method and device
CN112637040A (en) * 2018-09-26 2021-04-09 深圳市云歌人工智能技术有限公司 Method, apparatus and storage medium for distributing information based on priority

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050177421A1 (en) * 2002-08-09 2005-08-11 Nissan Motor Co., Ltd. Advertisement distribution apparatus and advertisement distribution method
US20070256090A1 (en) * 2004-06-30 2007-11-01 Franck Hiron Method for Displaying Audiovisual Sequences at Receiver Level and Receiver for Displaying Said Sequences
CN101094220A (en) * 2006-06-19 2007-12-26 上海新纳广告传媒有限公司 Data transmission method of supporting diversiform network accesses
CN101360203A (en) * 2008-06-20 2009-02-04 北京宽视软件技术有限公司 Advertisement data pre-storage method, apparatus and system for digital television
CN102291451A (en) * 2011-08-09 2011-12-21 上海交通大学 Interactive digital media information service electronic label network system
CN105339915A (en) * 2013-06-28 2016-02-17 日本电气株式会社 Push-type information transmission device, push-type information transmission method, and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050177421A1 (en) * 2002-08-09 2005-08-11 Nissan Motor Co., Ltd. Advertisement distribution apparatus and advertisement distribution method
US20070256090A1 (en) * 2004-06-30 2007-11-01 Franck Hiron Method for Displaying Audiovisual Sequences at Receiver Level and Receiver for Displaying Said Sequences
CN101094220A (en) * 2006-06-19 2007-12-26 上海新纳广告传媒有限公司 Data transmission method of supporting diversiform network accesses
CN101360203A (en) * 2008-06-20 2009-02-04 北京宽视软件技术有限公司 Advertisement data pre-storage method, apparatus and system for digital television
CN102291451A (en) * 2011-08-09 2011-12-21 上海交通大学 Interactive digital media information service electronic label network system
CN105339915A (en) * 2013-06-28 2016-02-17 日本电气株式会社 Push-type information transmission device, push-type information transmission method, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108492139A (en) * 2018-03-20 2018-09-04 北京望远传媒有限公司 The method of advertising resource is shared between advertisement machine
CN108810959A (en) * 2018-07-24 2018-11-13 深圳友讯达科技股份有限公司 Communication protecting method and device
CN112637040A (en) * 2018-09-26 2021-04-09 深圳市云歌人工智能技术有限公司 Method, apparatus and storage medium for distributing information based on priority

Also Published As

Publication number Publication date
CN107171974B (en) 2018-02-23

Similar Documents

Publication Publication Date Title
CN107241805A (en) A kind of uplink resource allocating method and device
KR101120687B1 (en) Differential update for data broadcasting
CN103476123B (en) LTE network video traffic QoE Support Resource distribution method
CN103119899B (en) Reduce the method and apparatus of data transfer overhead
CN107171974B (en) A kind of method and device of advertisement machine shared resource
CN107734520A (en) A kind of resource allocation method and device
CN104662977B (en) A kind of method, apparatus and system sending feedback information
CN110278062A (en) Resource instruction determines method and device
TW201220771A (en) Wireless communication method and apparatus for transferring buffered enhanced uplink data from a mobile station to a Node-B
CN104253869B (en) A kind of blacklist sharing method, update method and device
CN106332285B (en) Semi-persistent resource distribution method and base station
CN114189889A (en) Wireless communication artificial intelligence processing method and device
CN110034866B (en) Method and device for feedback and computer storage medium
CN107613309A (en) Live resource self-defined distribution method, storage medium, electronic equipment and system
CN104936156A (en) Short message sending method and device
CN109548161A (en) A kind of method, apparatus and terminal device of wireless resource scheduling
CN107079297A (en) Configured for reducing with the small broadband cell of the interference of overlapping big bandwidth cell
CN105873173A (en) Graded access overload control method
CN110830964A (en) Information scheduling method, Internet of things platform and computer readable storage medium
CN102132590B (en) Distribution system, distribution device, terminal device, and method
CN101400137A (en) User equipment scheduling method and device
CN106254272A (en) Weighted-fair dispatching method based on hard-wired elasticity and dispatching patcher
CN103222325B (en) Descending and the implementation method of uplink baseband resource pool and base station
Maaloul et al. Performance analysis of existing its technologies: Evaluation and coexistence
CN105530705B (en) The distribution method and device of down control channel resources

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180223