CN107580240B - A kind of efficient Advertisement arrangement method and system - Google Patents
A kind of efficient Advertisement arrangement method and system Download PDFInfo
- Publication number
- CN107580240B CN107580240B CN201710817406.2A CN201710817406A CN107580240B CN 107580240 B CN107580240 B CN 107580240B CN 201710817406 A CN201710817406 A CN 201710817406A CN 107580240 B CN107580240 B CN 107580240B
- Authority
- CN
- China
- Prior art keywords
- character
- array
- advertising information
- bit
- compiled
- 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.)
- Active
Links
Landscapes
- Information Transfer Between Computers (AREA)
- Document Processing Apparatus (AREA)
Abstract
The present invention relates to Advertisement arrangement technical field, in particular to a kind of efficient Advertisement arrangement method and system;Advertisement arrangement method includes the following steps: S1: establishing corresponding bit array according to the waiting element of system, and bit array is carried out secondary coding, form character array;S2: the advertising information that user submits is received;S3: the advertising information received is compiled into corresponding bit array, and bit array secondary coding is formed into corresponding character array;S4: the character array of conversion is matched with the character array of system corresponding channel position.The present invention provides a kind of new efficient Advertisement arrangement method and system, the waiting element of system is compiled character array by the Advertisement arrangement method and system, and the advertising information received is compiled into character array, and the character array that advertising information is compiled is matched with the character array of system, substantially reduce operand, the appearance for avoiding advertisement conflict, improves user experience.
Description
Technical field
The present invention relates to Advertisement arrangement technical field, in particular to a kind of efficient Advertisement arrangement method and system.
Background technique
In EPG ad system, it is desirable that the same channel, same position, the same time can only one advertisement of layout, that
When each new advertisement of layout enters system, new advertisement exhaust and the Advertisement arrangement originally set may all be clashed simultaneously
Lead to system data disorder.
Patent CN102006522B discloses a kind of Advertisement arrangement method and system, which needs
Compared with the new waiting added every time is carried out once with the bit array of the corresponding channel position in waiting statistical module;But certain
The data volume of the bit array of 1 year some position is 525600, it is meant that has 525600 digits to be compared, operand still compares
It is larger, and need to match according to time span according to the on-demand waiting of book, cause Advertisement arrangement unreasonable, influence to use
Family experience.
Summary of the invention
In view of the above-mentioned problems, the present invention provides a kind of new efficient Advertisement arrangement method and system, the Advertisement arrangement method
The character of character array is matched with system, reduces operand, Advertisement arrangement is reasonable, improves user experience.
Specific technical solution of the present invention is as follows:
The present invention provides a kind of efficient Advertisement arrangement method, and Advertisement arrangement method includes the following steps:
S1: corresponding bit array is established according to the waiting element of system, and bit array is subjected to secondary coding, forms character
Array;
S2: the advertising information that user submits is received;
S3: the advertising information received is compiled into corresponding bit array, and bit array secondary coding is formed accordingly
Character array;
S4: the character array of conversion is matched with the character array of system corresponding channel position.
It is further to improve, step S1's method particularly includes:
S11: the waiting element of system is compiled into the bit array being made of 1 and 0, one minute in 1 expression 1 year is occupied
With one minute in 0 expression 1 year is unoccupied;
S12: carrying out secondary coding for bit array, forms the character array being made of multiple characters, and the identification position of character is 0
Or 1, the number that number of bits is 0 or 1.
Further to improve, step S1 further includes following steps:
S13: separator F is added between each character.
Further to improve, step S1 further includes following steps:
S14: identifier is converted to by 0 or the 1 of each character recognition position.
It is further to improve, step S3's method particularly includes:
S31: the advertising information received is compiled to the bit array formed by 1;
S32: bit array is subjected to secondary coding, forms the character array being made of multiple characters, the identification position of character is
1, the number that number of bits is 1;
S33: separator F is added between each character.
It is further to improve, step S4's method particularly includes:
S41: in the character array of system corresponding channel position, the character that identification position is 0 is picked out;
S42: the character picked out in character and above-mentioned steps that advertising information is compiled is matched;
S43: judge the data of the number of bits for the character that advertising information is compiled and the number of bits for the system characters picked out
Data it is whether equal, if equal, carry out step S44, if unequal, carry out step S42;
S44: in the character array for the character insertion system corresponding channel position that the advertising information is compiled.
Further to improve, Advertisement arrangement method includes going back following steps:
S5: advertising information is deleted.
Further to improve, step S5 includes:
S51: the advertising information to be deleted of selection;
S52: the character array of the advertising information to be deleted is established;
S53: the character bit of character array to be deleted is negated to the character bit of rear and corresponding channel position character array
Carry out logical AND operation;
S54: corresponding advertising information is deleted.
The present invention provides a kind of efficient Advertisement arrangement system, described including the database in server and the server
Server includes:
Waiting management module: corresponding bit array is established for the waiting element according to system, and bit array is carried out two
Secondary coding forms character array;
Receiving module: for receiving the advertising information of user's submission;
Editor module: for the advertising information received to be compiled corresponding bit array, and by bit array secondary coding
Form corresponding character array;
Matching module: the character array of conversion is matched with the character array of system corresponding channel position.
It is further to improve, the server further include:
Removing module: for deleting advertising information.
Beneficial effects of the present invention are as follows:
The present invention provides a kind of new efficient Advertisement arrangement method and system, and the Advertisement arrangement method and system is by system
Waiting element compiles character array, and the advertising information received is compiled character array, and advertising information is compiled
Character array matched with the character array of system, substantially reduce operand, avoid the appearance of advertisement conflict, improve
User experience.
Detailed description of the invention
Fig. 1 is the flow chart of efficient Advertisement arrangement method in embodiment 1;
Fig. 2 is the flow chart of step S1 in embodiment 2;
Fig. 3 is the flow chart of step S1 in embodiment 3;
Fig. 4 is the flow chart of step S3 in embodiment 4;
Fig. 5 is the flow chart of step S4 in embodiment 5;
Fig. 6 is the flow chart of step S5 in embodiment 6;
Fig. 7 is the structural block diagram of efficient Advertisement arrangement system in embodiment 7.
Specific embodiment
Invention is further described in detail with following embodiment with reference to the accompanying drawing.
Embodiment 1
The embodiment of the present invention 1 provides a kind of efficient Advertisement arrangement method, as shown in Figure 1, the Advertisement arrangement method includes such as
Lower step:
S1: corresponding bit array is established according to the waiting element of system, and bit array is subjected to secondary coding, forms character
Array;
S2: the advertising information that user submits is received;
S3: the advertising information received is compiled into corresponding bit array, and bit array secondary coding is formed accordingly
Character array;
S4: the character array of conversion is matched with the character array of system corresponding channel position;
S5: advertising information is deleted.
The present invention provides a kind of new efficient Advertisement arrangement method and system, and the Advertisement arrangement method and system is by system
Waiting element compiles character array, and the advertising information received is compiled character array, and advertising information is compiled
Character array matched with the character array of system, substantially reduce operand, avoid the appearance of advertisement conflict, improve
User experience.
Advertising information includes waiting element and ad material in the present invention, and waiting element includes: channel description, location expression
It is described with the time;After the completion of character array matching, needs to delete part advertising information, avoids the repeated matching of character array,
Reduce operand.
Embodiment 2
The embodiment of the present invention 2 provides a kind of efficient Advertisement arrangement method, and this method is essentially identical with embodiment 1, different
, as shown in Fig. 2, step S1 method particularly includes:
S11: the waiting element of system is compiled into the bit array being made of 1 and 0, one minute in 1 expression 1 year is occupied
With one minute in 0 expression 1 year is unoccupied;
S12: carrying out secondary coding for bit array, forms the character array being made of multiple characters, and the character bit of character is 0
Or 1, the number that number of bits is 0 or 1;
S13: separator F is added between each character.
Each bit array corresponds to one by channel information, location information, annual from date or time in the present invention
The key value (Key) of composition can navigate to this bit array by this Key, and each bit value in bit array represents one
Whether one minute in year is occupied, and 1 indicates occupied, and 0 indicates unoccupied, the number of minutes that the length of bit array is 1 year.
In the present invention character bit can in the character bit of character, can also in the last bit of character, even interposition, according to
Depending on actual conditions;In the present embodiment be equipped at least one character bit and number of bits, according to the actual situation depending on.
Below in conjunction with waiting bit array table in 2009 of table 1, table 2 not plus waiting character in 2009 of separator
Waiting character array table in 2009 of the addition separator of array list and table 3 is illustrated the embodiment.
Table 1 2009 years waiting bit array tables
Table 2 does not add waiting character bit array list in 2009 of separator
Waiting character bit array list in 2009 of the addition separator of table 3
Wherein Sn represents some channel, and Pn represents some location advertising of the channel, and 20090101 indicate 2009
From date January 1, first of bit array represent first minute in 2009, and second represents second point of corresponding date
Clock, and so on, n is natural number, and first character 06 of the character array of 2 channel, 3 position indicates continuous six in serial number 6
Minute is unoccupied, and the second character 18 indicates occupied by continuous eight minutes.
Character array is using character bit as character bit in table 2 and table 3, and secondary position is to be illustrated for number of bits.
Each character is separated in the present invention using separator F, can also be separated each character with space, avoided and be
The disorder of data in system, it is therein such as the character array 1601218010112021401... of 3 channel, 1 position in 2 serial number 7 of table
01011 expression is two characters 010 and 11, but is only seen in this way, may regard 01 and 011 two character as, it may appear that be
The disorder for data of uniting, therefore the two characters are separated into F010 and F11 plus separator, it in this way can be clearly by each character
It shows;0 or 1 is character bit in F0n or F1n, and n is number of bits, indicates 0 or 1 number, n is natural number.
The character array that advertising information is compiled can be matched with the character array of system in the present invention, be contracted significantly
Short operand, avoids the appearance of advertisement conflict.
Embodiment 3
The embodiment of the present invention 3 provides a kind of efficient Advertisement arrangement method, and this method is essentially identical with embodiment 1, different
, as shown in figure 3, step S1 further includes following steps:
S11: the waiting element of system is compiled into the bit array being made of 1 and 0, one minute in 1 expression 1 year is occupied
With one minute in 0 expression 1 year is unoccupied;
S12: carrying out secondary coding for bit array, forms the character array being made of multiple characters, and the character bit of character is 0
Or 1, the number that number of bits is 0 or 1;
S14: identifier is converted to by 0 or the 1 of each character recognition position.
0 or 1 are converted to identifier by the present invention, may not need addition separator in this way, capital and small letter that identifier is 0 or 1,
Other characters such as X or Y, the disorder of system data will not be led to by being added without separator in this way, distinguish number of characters with can be convenient
Each character in group.
Below will be using X or Y as identifier, that is, identify and be illustrated for position is X or Y, such as 2009 of table 4
Waiting character array table.
Table 4 2009 years waiting character bit array lists
One minute in character array of the present invention in Y expression 1 year is occupied, and one minute in X expression 1 year is not occupied
With.
Embodiment 4
The embodiment of the present invention 4 provides a kind of efficient Advertisement arrangement method, and this method is essentially identical with embodiment 1, different
, as shown in figure 4, step S3 method particularly includes:
S31: the advertising information received is compiled to the bit array formed by 1;
S32: bit array is subjected to secondary coding, forms the character array being made of multiple characters, the identification position of character is
1, the number that number of bits is 1;
S33: separator F is added between each character.
Advertising information is compiled to the character array formed by 1, only the advertising programme of waiting as needed in the present invention
Time span edit, such as one needs to be discharged to the advertising programme of channel 1 position 1, play time is 8 minutes, then its digit
Group are as follows: 11111111, character array F18, in this way, when waiting advertising programme, it is only necessary to which the number of bits of operational character array is
Can, reduce operand.
Embodiment 5
The embodiment of the present invention 5 provides a kind of efficient Advertisement arrangement method, and this method is essentially identical with embodiment 1, different
, as shown in figure 5, step S4 method particularly includes:
S41: in the character array of system corresponding channel position, the character that identification position is 0 is picked out;
S42: the character picked out in character and above-mentioned steps that advertising information is compiled is matched;
S43: judge the data of the number of bits for the character that advertising information is compiled and the number of bits for the system characters picked out
Data it is whether equal, if equal, carry out step S44, if unequal, carry out step S42;
S44: in the character array for the character insertion system corresponding channel position that the advertising information is compiled.
The character that advertising information is compiled is matched with the character of system corresponding channel position in the present invention, is subtracted significantly
Small operand, improves user experience;Character as character bit is 0 in the character array of 2 channel, 2 position in 3 serial number 6 of table has
F06F014F021 matches character F16 in character array that advertising information is compiled with the character F06 in system characters array,
Since number of bits is all 6, data are equal, therefore successful match, character F16 can be inserted into the character array of 2 channel, 2 position
Position corresponding with character F06;Character F114 is matched with F014, and since number of bits is all 14, data are equal, therefore
With success, character F114 can be inserted into position corresponding with character F114 in the character array of 2 channel, 2 position, if character
It is unequal with 21 for F18,18, then it is mismatched with F021, the character compiled for reselecting advertising information is matched, operation
Amount is few, and method is simple, greatly accelerates waiting speed.
Embodiment 6
The embodiment of the present invention 6 provides a kind of efficient Advertisement arrangement method, and this method is essentially identical with embodiment 1, different
, as shown in fig. 6, step S5 includes:
S51: the advertising information to be deleted of selection;
S52: the character array of the advertising information to be deleted is established;
S53: the character bit of character array to be deleted is negated to the character bit of rear and corresponding channel position character array
Carry out logical AND operation;
S54: corresponding advertising information is deleted.
It in the present invention after the completion of character array matching, needs to delete corresponding advertising information, remaining advertisement letter
It ceases the character compiled to continue to match, this avoid matched characters to have an impact not matched character;It deletes
When, the operation of character bit in character array need to be only carried out, greatly reduces operand, this method is simple, easy to use.
Embodiment 7
The embodiment of the present invention 7 provides a kind of efficient Advertisement arrangement method and system, as shown in fig. 7, comprises server 1 and institute
The database in server 1 is stated, the server 1 includes:
Waiting management module 10: corresponding bit array is established for the waiting element according to system, and bit array is carried out
Secondary coding forms character array;
Receiving module 20: for receiving the advertising information of user's submission;
Editor module 30: for the advertising information received to be compiled corresponding bit array, and by the secondary volume of bit array
Code forms corresponding character array;
Matching module 40: by the character array of the character array of conversion and system corresponding channel position according to time span into
Row matching;
Removing module 50: for deleting advertising information.
Efficient Advertisement arrangement method and system of the invention a kind of new, the search management system and method are by the waiting of system
Element compiles character array, and the advertising information received is compiled character array, and the word that advertising information is compiled
Symbol array is matched with the character array of system according to time span, is substantially reduced operand, is avoided advertisement conflict
Occur, improves user experience.
Embodiment described above is only that the preferred embodiment of the present invention is described, not to the scope of the present invention into
Row limits, and without departing from the spirit of the design of the present invention, those of ordinary skill in the art make technical solution of the present invention
Various changes and improvements out, should fall within the scope of protection determined by the claims of the present invention.
Claims (4)
1. a kind of efficient Advertisement arrangement method, which is characterized in that Advertisement arrangement method includes the following steps:
S1: corresponding bit array is established according to the waiting element of system, and bit array is subjected to secondary coding, forms number of characters
Group;
S2: the advertising information that user submits is received;
S3: the advertising information received is compiled into corresponding bit array, and bit array secondary coding is formed into corresponding character
Array;
S4: the character array of conversion is matched with the character array of system corresponding channel position;
Step S3's method particularly includes:
S31: the advertising information received is compiled to the bit array formed by 1;
S32: carrying out secondary coding for bit array, forms the character array being made of multiple characters, and the identification position of character is 1, number
The number that position is 1 is measured, number of bits indicates to need the time span of the advertising programme of waiting;
S33: separator F is added between each character;
Step S1's method particularly includes:
S11: compiling the bit array being made of 1 and 0 for the waiting element of system, and one minute in 1 expression 1 year is occupied, and 0
Indicate one minute in 1 year unoccupied, the number of minutes that the length of bit array is 1 year, and N of bit array represent 1 year
N minutes;
S12: carrying out secondary coding for bit array, forms the character array being made of multiple characters, when the identification position of character is 0,
The number that number of bits is continuous 0, when the identification position of character is 1, number that number of bits is continuous 1;
Step S1 further includes following steps:
S13: separator F is added between each character;
Alternatively,
Step S1 further includes following steps:
S14: different identifiers is converted to by 0 or the 1 of each character recognition position.
2. efficient Advertisement arrangement method according to claim 1, which is characterized in that step S4's method particularly includes:
S41: in the character array of system corresponding channel position, the character that identification position is 0 is picked out;
S42: the character picked out in character and above-mentioned steps that advertising information is compiled is matched;
S43: judge the number of the data of the number of bits for the character that advertising information is compiled and the number of bits for the system characters picked out
According to whether equal, if equal, step S44 is carried out, if unequal, carries out step S42;
S44: in the character array for the character insertion system corresponding channel position that the advertising information is compiled.
3. efficient Advertisement arrangement method according to claim 1, which is characterized in that Advertisement arrangement method includes also following step
It is rapid:
S5: advertising information is deleted.
4. efficient Advertisement arrangement method according to claim 3, which is characterized in that step S5 includes:
S51: the advertising information to be deleted of selection;
S52: the character array of the advertising information to be deleted is established;
S53: the character bit that the character bit of character array to be deleted negates rear and corresponding channel position character array is carried out
Logical AND operation;
S54: corresponding advertising information is deleted.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710817406.2A CN107580240B (en) | 2017-09-12 | 2017-09-12 | A kind of efficient Advertisement arrangement method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710817406.2A CN107580240B (en) | 2017-09-12 | 2017-09-12 | A kind of efficient Advertisement arrangement method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107580240A CN107580240A (en) | 2018-01-12 |
CN107580240B true CN107580240B (en) | 2019-06-28 |
Family
ID=61033108
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710817406.2A Active CN107580240B (en) | 2017-09-12 | 2017-09-12 | A kind of efficient Advertisement arrangement method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107580240B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101727638A (en) * | 2009-11-13 | 2010-06-09 | 深圳市同洲电子股份有限公司 | Advertisement scheduling method and device and advertisement system |
CN102006522A (en) * | 2010-11-04 | 2011-04-06 | 深圳市同洲电子股份有限公司 | Advertisement scheduling method and system |
CN102004997A (en) * | 2010-11-25 | 2011-04-06 | 深圳市同洲电子股份有限公司 | Advertisement broadcasting method and related system |
CN102542438A (en) * | 2011-12-31 | 2012-07-04 | 北京亿赞普网络技术有限公司 | Network advertising serving scheduling system and scheduling method |
CN105025336A (en) * | 2015-06-30 | 2015-11-04 | 广州西维尔计算机系统有限公司 | Intelligent visual advertisement scheduling method and system |
CN105869383A (en) * | 2016-04-13 | 2016-08-17 | 北京精益理想科技有限公司 | Infrared data processing method, infrared instruction calling method and infrared instruction calling system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020069404A1 (en) * | 2000-11-28 | 2002-06-06 | Navic Systems, Incorporated | Targeted promotion deployment |
-
2017
- 2017-09-12 CN CN201710817406.2A patent/CN107580240B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101727638A (en) * | 2009-11-13 | 2010-06-09 | 深圳市同洲电子股份有限公司 | Advertisement scheduling method and device and advertisement system |
CN102006522A (en) * | 2010-11-04 | 2011-04-06 | 深圳市同洲电子股份有限公司 | Advertisement scheduling method and system |
CN102004997A (en) * | 2010-11-25 | 2011-04-06 | 深圳市同洲电子股份有限公司 | Advertisement broadcasting method and related system |
CN102542438A (en) * | 2011-12-31 | 2012-07-04 | 北京亿赞普网络技术有限公司 | Network advertising serving scheduling system and scheduling method |
CN105025336A (en) * | 2015-06-30 | 2015-11-04 | 广州西维尔计算机系统有限公司 | Intelligent visual advertisement scheduling method and system |
CN105869383A (en) * | 2016-04-13 | 2016-08-17 | 北京精益理想科技有限公司 | Infrared data processing method, infrared instruction calling method and infrared instruction calling system |
Also Published As
Publication number | Publication date |
---|---|
CN107580240A (en) | 2018-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101976253B (en) | Chinese variation text matching recognition method | |
CN102637180B (en) | Character post processing method and device based on regular expression | |
EP1052576A3 (en) | Method for searching in large databases of automatically recognized text | |
CN1149737A (en) | Method and device for information treatment and storage medium for storaging and impelementing said method program | |
CN103440252B (en) | Information extracting method arranged side by side and device in a kind of Chinese sentence | |
JPH06187497A (en) | Character recognition method | |
CN101159704A (en) | Microcontent similarity based antirubbish method | |
CN101082908A (en) | Method and system for dividing Chinese sentences | |
CN101751430A (en) | Electronic dictionary fuzzy searching method | |
JPH07160389A (en) | Data input workstation | |
CN1601520A (en) | System and method for the recognition of organic chemical names in text documents | |
CN107463537A (en) | A kind of method that structuring processing is carried out to text message | |
US20080195580A1 (en) | Method and system for determining whether an entered character string corresponds to terminology utilized in a database | |
CN103902599A (en) | Fuzzy search method and fuzzy search device | |
CN105589862A (en) | License plate data index structure building method, retrieval method and device | |
CN107580240B (en) | A kind of efficient Advertisement arrangement method and system | |
CN109670365B (en) | Handwriting identification system and method | |
CN107608981A (en) | Character match method and system based on regular expression | |
CN100421107C (en) | Data structure and management system for a superset of relational databases | |
CN113704406A (en) | Chinese paraphrase matching system and method for popular abbreviations | |
CN102841988B (en) | A kind of system and method that nucleic acid sequence information is mated | |
JP2009098952A (en) | Information retrieval system | |
CN108573003B (en) | Integrated storage system and method for multi-source data related to automobile | |
CN106933934A (en) | The connection method of tables of data and device | |
CN110245215B (en) | Text retrieval method and device |
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 | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: An efficient advertisement scheduling method and system Effective date of registration: 20210622 Granted publication date: 20190628 Pledgee: Beijing culture science and technology financing Company limited by guarantee Pledgor: CBC CLOUD TECHNOLOGY Co.,Ltd. Registration number: Y2021980005035 |
|
PE01 | Entry into force of the registration of the contract for pledge of patent right |