CN115617237B - Method for generating advertisement position information display assembly by local recognition - Google Patents

Method for generating advertisement position information display assembly by local recognition Download PDF

Info

Publication number
CN115617237B
CN115617237B CN202211454159.1A CN202211454159A CN115617237B CN 115617237 B CN115617237 B CN 115617237B CN 202211454159 A CN202211454159 A CN 202211454159A CN 115617237 B CN115617237 B CN 115617237B
Authority
CN
China
Prior art keywords
advertisement
information
interface
advertisement space
button control
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
Application number
CN202211454159.1A
Other languages
Chinese (zh)
Other versions
CN115617237A (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.)
Chengdu Zhiyuanhui Information Technology Co Ltd
Original Assignee
Chengdu Zhiyuanhui Information Technology 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 Chengdu Zhiyuanhui Information Technology Co Ltd filed Critical Chengdu Zhiyuanhui Information Technology Co Ltd
Priority to CN202211454159.1A priority Critical patent/CN115617237B/en
Publication of CN115617237A publication Critical patent/CN115617237A/en
Application granted granted Critical
Publication of CN115617237B publication Critical patent/CN115617237B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/14Image acquisition
    • G06V30/148Segmentation of character regions
    • G06V30/153Segmentation of character regions using recognition of characters or words
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/18Extraction of features or characteristics of the image
    • G06V30/18105Extraction of features or characteristics of the image related to colour

Abstract

The invention discloses a method for generating an advertisement space information display assembly by local identification and an advertisement space display assembly, S1, importing and displaying a plan; s2, performing frame selection operation in a plan view by adopting a frame selection tool, wherein the frame selection operation simultaneously covers any advertisement space region and adjacent advertisement space coding regions; s3, calling an OCR recognition algorithm to scan out advertisement space coding characters; invoking a color recognition algorithm to scan the frame selection range to calculate coordinate information and length and width information of the advertisement space region under a pixel point coordinate system of the plan; s4, creating a button control; s5, superposing and locking the advertisement space coverage interface of the button control in the plan according to the position information of the advertisement space coverage interface and the position information of the coding interface of the button control. The button control of the advertisement space area in the 1 coverage plan can be quickly and automatically created, and the button control is configured with an interface, so that the quick creation of the display information can be realized, and the synchronous update of the display information can be realized.

Description

Method for generating advertisement position information display assembly by local recognition
Technical Field
The invention relates to the field of advertisement information interactive display, in particular to a method for generating an advertisement space information display assembly through local identification and an advertisement space display assembly.
Background
In an ad slot sales campaign, it is generally desirable to provide ad slot information to advertisers in order for the advertisers to select ad slots. The conventional advertisement slot display mode is a mode of providing advertisement slot numbers, advertisement slot types and advertisement slot geographical positions to advertisers in a list mode. This approach is not intuitive enough and lacks interactive friendliness.
In order to enhance interactive friendliness, applications are increasingly proposed that present ad slot information in a map manner. At present, the mode generally defines an advertisement position graphic element in a self-defining mode and coordinate values of the advertisement position graphic element in a map. This approach is generally applicable to outdoor advertising spots, when there are fewer spots in an area. Therefore, the custom map can be created in a custom way with less workload, the position information in the custom map can be converted according to the actual geographic information of the advertisement position, and then an advertisement bitmap pattern element can be configured. Meanwhile, the advertisement bitmap pattern elements created by the method can only display advertisement patterns configured in advance. The current information of the full period stage such as whether the advertisement bit is sold, the current new pattern, the monitoring information of the advertisement bit and the like cannot be introduced. Meanwhile, when a new idle advertisement space appears, an advertisement space graphic element needs to be customized again. The operation amount is large, and in indoor advertising scenes, for example, subway advertising scenes, advertisement spots built in one subway station are sometimes up to hundreds. Therefore, the display mode of the custom map and the advertisement space graphic element cannot realize dynamic and rapid updating display, and meanwhile, very many repeated configuration operations are needed during creation, such as manually converting coordinates and configuring coordinates, manually configuring sample maps of different advertisement spaces, and the like, and often a display map needs very long period to be constructed. Meanwhile, when a new sample or advertisement position sales state changes, dynamic synchronous updating cannot be realized, and manual re-plotting is also needed.
Disclosure of Invention
The invention aims to provide a method for generating an advertisement position information display assembly by local identification and an advertisement position display assembly, which is used for sampling graphic elements representing advertisement positions in a plan view based on the plan view and creating button controls for displaying advertisement information based on sampled information, wherein 1 button control covering advertisement position areas in the plan view can be quickly and automatically created, and the button controls are provided with information interfaces, so that quick creation of display information can be realized, synchronous update of display information can be realized, and secondary creation is not needed.
In one aspect, a method for generating an advertisement position information display component by local identification comprises the following steps:
s1, importing and displaying a plan view;
s2, performing frame selection operation in a plan view by adopting a frame selection tool to generate a selection frame, wherein the selection frame simultaneously covers the edge of the occupation range of any advertisement space region and the advertisement space coding region adjacent to the advertisement space region;
s3, invoking an OCR recognition algorithm to scan the frame selection range, and scanning out advertisement space coding characters; invoking a color recognition algorithm to scan the frame selection range, scanning out coordinate information of pixel points conforming to a preset color under the pixel point coordinate system of the plane graph, configuring the preset color according to the color of the advertisement bit zone, and calculating out the coordinate information and the length and width information of the advertisement bit zone under the pixel point coordinate system of the plane graph according to the coordinate information of the pixel points of the preset color;
s4, creating a button control, wherein an interface of the button control comprises a coding interface and an advertisement space area coverage interface;
the length and width of an advertisement space coverage interface of the button control are configured according to the length and width information of the calculated advertisement space; according to the position information of the advertisement position area coverage interface of the button control, which is calculated to be equal to the coordinate information of the advertisement position area, the position information of the advertisement position area coverage interface of the button control is configured; configuring position information of a coding interface according to the calculated coordinate information of the advertisement space region, wherein the coding interface is an advertisement space coding graphic element created according to advertisement space coding characters;
s5, superposing and locking the advertisement space coverage interface of the button control in a plan view according to the position information of the advertisement space coverage interface and the position information of the coding interface of the button control, so as to form an advertisement space coverage area coverage advertisement space of the button control and an advertisement space display assembly with the coding interface.
Preferably, the method comprises the steps of,
s3 specifically comprises the following steps: scanning coordinate information of pixel points conforming to a preset color under a pixel point coordinate system of a plan view to obtain a pixel point set of a row-column array, marking pixel points intersected by the outermost rows and columns as corner points, selecting 2 diagonal points which are in a diagonal relation, and marking the diagonal points as diagonal points D1 (x 1, y 1) and diagonal points D2 (x 2, y 2), wherein the diagonal points D1 (x 1, y 1) and the diagonal points D2 (x 2, y 2) are coordinate information of an advertisement space area under the pixel point coordinate system of the plan view; wherein x1 and x2 are the column numbers of the pixel points, and y1 and y2 are the row numbers of the pixel points;
calculating the length and the width according to the coordinate values of 2 diagonal points, and marking the length and the width as a= |x 2-x 1|, b= |y2-y1|, wherein a and b are the length and the width information of the advertisement space;
s4 specifically comprises the following steps:
according to the calculated length and width information of the advertisement space, the length and width of an advertisement space coverage interface of the configuration button control are calculated, namely, the length of the configuration advertisement space coverage interface is a '=a, and the width b' =b of the configuration advertisement space coverage interface is calculated;
and configuring the position information of the advertisement site coverage interface of the button control according to the calculated coordinate information of the advertisement site and the like, namely assigning values to coordinate values of 2 diagonal points of the advertisement site coverage interface, wherein the coordinate values of the 2 diagonal points of the advertisement site coverage interface are the same as the coordinate values of the 2 diagonal points of the advertisement site, and the 2 diagonal points of the advertisement site coverage interface are diagonal points D1 '(x 1' =x1, y1 '=y1) and diagonal points D2' (x 2 '=x2, y2' =y2).
Preferably, the method comprises the steps of,
also included is the inclusion of S0,
s0. the advertisement space number of the configuration button control is consistent with the advertisement space code text, the data request link interface of the configuration button control, and the trigger event of the configuration button control is: after the button control is triggered, the button control is linked to the target database through a data request linking interface, an advertisement position number and a data request thereof are sent to the target database, advertisement position information data responding to the advertisement position number is received, a display area is created in the advertisement position display component, and the advertisement position information data is displayed.
Preferably, the method comprises the steps of,
the S0 is performed at S4 or after S5.
Preferably, the method comprises the steps of,
the data request link interface comprises at least one of a first link interface linked with an advertisement position historical order information database, a second link interface linked with an advertisement position upper and lower periodical information database, a third link interface linked with an advertisement position monitoring information database and a fourth link interface linked with an advertisement position sample picture information database;
the data request comprises at least 1 of advertisement position historical order information request, advertisement position up-down periodical information request, advertisement position monitoring information request and advertisement position sample picture information.
Preferably, the method comprises the steps of,
the plan view comprises at least 1 advertisement space area, and the advertisement space area is a graphic element area in the plan view.
Preferably, the method comprises the steps of,
the plan view is a building plan view, and 1 advertisement space area represents the plane occupation area of 1 lamp box advertisement panel building or/and 1 television advertisement panel building in the building plan view.
In another aspect, an advertising spot display assembly, the assembly comprising:
a plan view as a master;
a button control used for triggering advertisement position information;
the interface of the 1 button control comprises: coding interface and advertisement space overlay interface
The size of the advertisement space coverage interface is configured to be the same as the occupation range of one advertisement space in the plan view;
the coordinate information of the advertisement space coverage interface is configured to be identical with the position information of one advertisement space in the plan view;
the position of the coding interface and the position of the advertisement space coverage interface are associated with each other in a follow-up way;
the interface of the button control is superimposed on the plan view.
Preferably, the method comprises the steps of,
the button control is configured with an advertisement position number, the button control is configured with a data request link interface, the button control is configured with a triggering event, and the triggering event is as follows: after the button control is triggered, the button control is linked to a target database through a data request link interface, an advertisement position number and a data request thereof are sent to the target database, advertisement position information data responding to the advertisement position number is received, a display area is created in an advertisement position display component, and the advertisement position information data is displayed
Preferably, the method comprises the steps of,
the data request link interface comprises at least one of a first link interface linked with an advertisement position historical order information database, a second link interface linked with an advertisement position upper and lower periodical information database, a third link interface linked with an advertisement position monitoring information database and a fourth link interface linked with an advertisement position sample picture information database;
the data request comprises at least 1 of advertisement position historical order information request, advertisement position up-down periodical information request, advertisement position monitoring information request and advertisement position sample picture information.
The beneficial effects of the invention are as follows:
the control in the invention is a button control, the button control can be configured with an interface and a configuration event, only one public button control needs to be configured in advance, the interface configured by the public button control can be linked to the advertisement information database, and when the advertisement information database is updated, the button control is triggered, the interface link can be provided to obtain the latest advertisement information. In order to distinguish different advertisement positions, each button control is further configured with an advertisement position number, and the advertisement information database can adapt corresponding advertisement information according to the advertisement position number uploaded by the advertisement button control, so that different advertisement positions can be distinguished. The advertisement information appears in a link response result mode, so that the button control designed in the way does not need to secondarily configure the advertisement information.
After the public button control is set, in order to enhance the geographical intuitiveness of an advertiser in selecting an advertisement position, the invention adopts a master, and the button control is overlapped on the master, but compared with the background technology, the invention has the following differences: the invention adopts the building plan as the master, and does not adopt the customized map as the master. Because the invention adopts the building plan, for example, in the subway station scene, the advertisement space area is generally marked in the building plan of the subway station, and the advertisement space area is generally a color area of a rectangular frame. If the corresponding button control needs to be configured, a button control interface needs to be created once according to the size of the advertisement space in the building plan, and the button control interface is manually dragged to the advertisement space and then overlapped and locked. This approach may require manual configuration of the interface size and dragging of the interface. The manufacturing time of the manufacturing personnel is very spent. In order to solve the problem, a rapid generation method is realized, the aim of improving production efficiency is fulfilled, and the rapid automatic creation of the button control is realized based on the information base of the picture pixel points.
What needs to be specified is: in the present invention, the advertisement space represents a specific color area in the building plan, such as a rectangular red area, for which the area contains several pixels at pixel level, each pixel having 1 coordinate in the building plan coordinate system, and RGB values thereof. In order to create a button control interface, the invention uses a framing tool to frame an ad spot region (red area range) and an ad spot coding region adjacent to the ad spot region. And then, identifying the advertisement space code words through ORC identification technology, and taking the advertisement space code words as advertisement space numbers required to be configured by the button control. And simultaneously, the color recognition technology is improved, pixel points with red RGB values are recognized, the pixel points form a rectangular array, the corner points of the rectangular array are found through a corner point calculation method, 2 diagonal points are selected as advertisement position area position information, and the interface position of the button control is configured through the position information of the advertisement position area. Thereby achieving the effect that the button control can cover the advertisement space. It should be noted that, although the selection frame formed by the frame selection tool has position information, in the present invention, since the frame selection range covers 2 areas, a manual manner may be generally provided to perform the frame, and the obtained frame range is generally large, so that the coordinates of the selection frame cannot be directly called, and the identification algorithm needs to be called to recalibrate the effective boundary of the red area, thereby determining the coordinate information of the advertisement space.
For the public button, the length, width and position information are automatically configured, so that a button control interface covering the area can be automatically created directly on the advertisement space area of the building plan, namely, the size data and the position data required by the button control are calibrated by means of a frame selection technology, so that the control is automatically created in the plan, and the frame selection action is not required or only required once, and the method does not need to manually fill the size data and the coordinate data, the advertisement space coding data and drag the button control. In the invention, a component can be automatically generated directly or generated after manually framing each advertisement space.
The button control has the characteristics of the size of a target area (advertisement space area) in the plan view and the characteristics of enlarging and reducing along with the plan view, the control is packaged with interfaces associated with other systems, the updated relevant attribute states of the other systems can be obtained, and the operation of the button control can be specifically as follows: click-window display, the contents of the window display are: data class, data values under each data class, the data values under each data class being derived from the results of other database-docking responses.
Drawings
FIG. 1 is a schematic flow chart of the present invention.
Fig. 2 is a plan view of a building at a subway station.
Fig. 3 is an enlarged schematic view of the region a in fig. 2.
FIG. 4 is a schematic diagram of a box selection operation performed on an ad spot region to generate a selection box.
FIG. 5 is a schematic diagram of generating a button control on an ad spot.
FIG. 6 is a diagram of a relationship between a building plan and a button control interface.
FIG. 7 is a schematic diagram of a link interface of a button control interacting with an external advertisement information database.
Reference numerals in the drawings are respectively:
1. the subway station building plan view, 2, a selection frame, 3, a button control, 11, a lamp box advertisement position area, 12, a stair area, 13, a channel area, 14, a column area, 15, a gate area, 16, an isolation fence area, 17 and an advertisement position coding area.
Detailed Description
The present invention will be described in further detail with reference to examples and drawings, but embodiments of the present invention are not limited thereto.
Example 1
Referring to fig. 1-7, the method for generating the advertisement space information display component by local identification comprises the following steps:
s1, importing and displaying a plan view;
s2, performing frame selection operation in a plan view by adopting a frame selection tool to generate a selection frame, wherein the selection frame simultaneously covers the edge of the occupation range of any advertisement space region and the advertisement space coding region adjacent to the advertisement space region;
s3, invoking an OCR recognition algorithm to scan the frame selection range, and scanning out advertisement space coding characters; invoking a color recognition algorithm to scan the frame selection range, scanning out coordinate information of pixel points conforming to a preset color under the pixel point coordinate system of the plane graph, configuring the preset color according to the color of the advertisement bit zone, and calculating out the coordinate information and the length and width information of the advertisement bit zone under the pixel point coordinate system of the plane graph according to the coordinate information of the pixel points of the preset color;
s4, creating a button control, wherein an interface of the button control comprises a coding interface and an advertisement space area coverage interface;
the length and width of an advertisement space coverage interface of the button control are configured according to the length and width information of the calculated advertisement space; according to the position information of the advertisement position area coverage interface of the button control, which is calculated to be equal to the coordinate information of the advertisement position area, the position information of the advertisement position area coverage interface of the button control is configured; configuring position information of a coding interface according to the calculated coordinate information of the advertisement space region, wherein the coding interface is an advertisement space coding graphic element created according to advertisement space coding characters;
s5, superposing and locking the advertisement space coverage interface of the button control in a plan view according to the position information of the advertisement space coverage interface and the position information of the coding interface of the button control, so as to form an advertisement space coverage area coverage advertisement space of the button control and an advertisement space display assembly with the coding interface.
Preferably, the method comprises the steps of,
s3 specifically comprises the following steps: scanning coordinate information of pixel points conforming to a preset color under a pixel point coordinate system of a plan view to obtain a pixel point set of a row-column array, marking pixel points intersected by the outermost rows and columns as corner points, selecting 2 diagonal points which are in a diagonal relation, and marking the diagonal points as diagonal points D1 (x 1, y 1) and diagonal points D2 (x 2, y 2), wherein the diagonal points D1 (x 1, y 1) and the diagonal points D2 (x 2, y 2) are coordinate information of an advertisement space area under the pixel point coordinate system of the plan view; wherein x1 and x2 are the column numbers of the pixel points, and y1 and y2 are the row numbers of the pixel points;
calculating the length and the width according to the coordinate values of 2 diagonal points, and marking the length and the width as a= |x 2-x 1|, b= |y2-y1|, wherein a and b are the length and the width information of the advertisement space;
s4 specifically comprises the following steps:
according to the calculated length and width information of the advertisement space, the length and width of an advertisement space coverage interface of the configuration button control are calculated, namely, the length of the configuration advertisement space coverage interface is a '=a, and the width b' =b of the configuration advertisement space coverage interface is calculated;
and configuring the position information of the advertisement site coverage interface of the button control according to the calculated coordinate information of the advertisement site and the like, namely assigning values to coordinate values of 2 diagonal points of the advertisement site coverage interface, wherein the coordinate values of the 2 diagonal points of the advertisement site coverage interface are the same as the coordinate values of the 2 diagonal points of the advertisement site, and the 2 diagonal points of the advertisement site coverage interface are diagonal points D1 '(x 1' =x1, y1 '=y1) and diagonal points D2' (x 2 '=x2, y2' =y2).
For the sake of easy understanding, the plan view is defined as a subway station building plan view 1, and the subway station building plan view 1 is a JPG format picture, and the size is 1200 pixels by 600 pixels. Referring to the drawings, subway station building plan view 1 is marked with: the lamp box advertisement space region 11, the stair region 12, the channel region 13, the column region 14, the gate region 15, the isolation fence region 16 and the advertisement space coding region 17 are graphically represented in the picture.
According to the technical scheme of the invention, after the subway station building plan 1 is imported and displayed, the size information and the position information required by the public button control interface are required to be obtained so as to create the button control 3 on the lamp box advertisement space 11 in the subway station building plan 1. The invention adopts a frame selection tool as a medium, marks an area, scans the area to obtain basic information, calculates data required by positioning the button control 3 in the plan according to the basic information, writes the data into the button control, and finally assembles the button control and the plan. As shown in fig. 3 and 4, a frame selection tool is used to perform a frame selection operation in a plan view, so as to obtain a selection frame 2, and the selection frame covers the lamp box advertisement space 11 and the advertisement space coding area 17. All pixel point information in the frame selection range is cached, and the information of each pixel point comprises coordinate information and RGB values of the pixel point under a plane view coordinate system. Invoking ORC to scan the region identifies CL01, the text representing the ad spot code. And calling color scanning to obtain a group of rectangular pixel points which are arranged in a row-column array, wherein the pixel values are red pixel values. For the group of arrays, 4 angles can be calibrated by applying an angular point algorithm, 2 diagonal points are taken as coordinate information of the lamp box advertisement space region 11, and the coordinate information is assigned to the button control, so that the position of the button control in the plan view can be calibrated. For example, coordinates of 2 diagonal points of the lamp box ad spot region 11, diagonal points D1 (320, 580), and diagonal points D2 (340, 590) may be obtained, and thus the a and b parameters of the lamp box ad spot region 11 are: 20. 10, as shown in fig. 5, the invention invokes the common button control, and the interface parameters configuring the common button control are: diagonal points D1 '(320, 580), D2' (340, 590) with an interface length of a '20, b' =10. Therefore, since the interface parameters are consistent with the coordinate system of the subway station building plan view 1, the interface anchor points can be directly arranged in the coordinate system of the subway station building plan view 1, and as shown in fig. 6, an effect diagram of superposition of the button control 3 and the subway station building plan view 1 can be obtained. The subway station building plan 1 is assembled with the button control as one assembly. Meanwhile, a graphic element is created as a part of the interface of the button control according to the advertisement space code words scanned by the ORC. The interface portion is in correspondence with the interface portion that overlies the light box ad spot area 11.
The button control is used as an interaction response control, and after being triggered, the button control can respond to a corresponding event, for example, advertisement information of the lamp box advertisement space 11 corresponding to the position of the button control is displayed.
Preferably, the method comprises the steps of,
also included is the inclusion of S0,
s0. the advertisement space number of the configuration button control is consistent with the advertisement space code text, the data request link interface of the configuration button control, and the trigger event of the configuration button control is: after the button control is triggered, the button control is linked to the target database through a data request linking interface, an advertisement position number and a data request thereof are sent to the target database, advertisement position information data responding to the advertisement position number is received, a display area is created in the advertisement position display component, and the advertisement position information data is displayed.
Preferably, the method comprises the steps of,
the S0 is performed at S4 or after S5.
Preferably, the method comprises the steps of,
the data request link interface comprises at least one of a first link interface linked with an advertisement position historical order information database, a second link interface linked with an advertisement position upper and lower periodical information database, a third link interface linked with an advertisement position monitoring information database and a fourth link interface linked with an advertisement position sample picture information database;
the data request comprises at least 1 of advertisement position historical order information request, advertisement position up-down periodical information request, advertisement position monitoring information request and advertisement position sample picture information.
Preferably, the method comprises the steps of,
the plan view comprises at least 1 advertisement space area, and the advertisement space area is a graphic element area in the plan view.
Preferably, the method comprises the steps of,
the plan view is a building plan view, and 1 advertisement space area represents the plane occupation area of 1 lamp box advertisement panel building or/and 1 television advertisement panel building in the building plan view.
Example 2
As shown in fig. 1-7, in another aspect, an advertising spot display assembly, the assembly comprising:
a plan view as a master;
a button control used for triggering advertisement position information;
the interface of the 1 button control comprises: coding interface and advertisement space overlay interface
The size of the advertisement space coverage interface is configured to be the same as the occupation range of one advertisement space in the plan view;
the coordinate information of the advertisement space coverage interface is configured to be identical with the position information of one advertisement space in the plan view;
the position of the coding interface and the position of the advertisement space coverage interface are associated with each other in a follow-up way;
the interface of the button control is superimposed on the plan view.
Preferably, the method comprises the steps of,
the button control is configured with an advertisement position number, the button control is configured with a data request link interface, the button control is configured with a triggering event, and the triggering event is as follows: after the button control is triggered, the button control is linked to a target database through a data request link interface, an advertisement position number and a data request thereof are sent to the target database, advertisement position information data responding to the advertisement position number is received, a display area is created in an advertisement position display component, and the advertisement position information data is displayed
Preferably, the method comprises the steps of,
referring to fig. 7, the data request link interface includes at least one of a first link interface linked with the advertisement space history order information database, a second link interface linked with the advertisement space upper and lower periodical information database, a third link interface linked with the advertisement space monitoring information database, and a fourth link interface linked with the advertisement space drawing information database;
the data request comprises at least 1 of advertisement position historical order information request, advertisement position up-down periodical information request, advertisement position monitoring information request and advertisement position sample picture information.
The advertisement space 11 is red originally, which is not convenient to distinguish, and the color attribute of the interface of the button control can be configured to be green.
In the present invention, the event may be one stage or multiple stages, for example, the event of one stage is: after the button control is triggered, the button control is linked to a target database through a data request linking interface, an advertisement position number and a data request thereof are sent to the target database, advertisement position information data responding to the advertisement position number are received, a display area is created in an advertisement position display component, and the advertisement position information data are displayed; the secondary events are: further triggering the display of the detailed contents of the historical order information of the advertisement position, the information of the advertisement position on-off periodicals, the information of the advertisement position monitoring and broadcasting and the information of the advertisement position sample picture. Even three levels of events can be configured: and modifying corresponding information of other databases by using the interface as an interface. Providing a new modification channel for database data modification, for example, uploading updated advertisement spot painting information or deleting outdated advertisement spot painting information can be modified.
The method is simple to operate, only needs to carry out picture frame selection, then automatically generates the corresponding button control, and adopts scanning recognition to calculate the position, so that the picture frame selection can be larger than a target area, the restriction on the action of the picture frame selection is small, other dragging operation and number inputting operation are not needed, and the operation is greatly simplified. The manufacturing efficiency can be efficiently improved.
It is to be understood that the above embodiments are merely illustrative of the application of the principles of the present invention and the invention is not limited thereto. Various modifications and improvements may be made by those skilled in the art without departing from the spirit and substance of the invention, and are also considered to be within the scope of the invention.

Claims (4)

1. The method for generating the advertisement space information display component by local recognition is characterized by comprising the following steps of:
s1, importing and displaying a plan view;
s2, performing frame selection operation in a plan view by adopting a frame selection tool to generate a selection frame, wherein the selection frame simultaneously covers the edge of the occupation range of any advertisement space region and the advertisement space coding region adjacent to the advertisement space region;
s3, invoking an OCR recognition algorithm to scan the frame selection range, and scanning out advertisement space coding characters; invoking a color recognition algorithm to scan the frame selection range, scanning out coordinate information of pixel points conforming to a preset color under the pixel point coordinate system of the plane graph, configuring the preset color according to the color of the advertisement bit zone, and calculating out the coordinate information and the length and width information of the advertisement bit zone under the pixel point coordinate system of the plane graph according to the coordinate information of the pixel points of the preset color;
s4, creating a button control, wherein an interface of the button control comprises a coding interface and an advertisement space area coverage interface;
the length and width of an advertisement space coverage interface of the button control are configured according to the length and width information of the calculated advertisement space; according to the position information of the advertisement position area coverage interface of the button control, which is calculated to be equal to the coordinate information of the advertisement position area, the position information of the advertisement position area coverage interface of the button control is configured; configuring position information of a coding interface according to the calculated coordinate information of the advertisement space region, wherein the coding interface is an advertisement space coding graphic element created according to advertisement space coding characters;
s5, superposing and locking the advertisement space coverage interface of the button control in a plan according to the position information of the advertisement space coverage interface and the position information of the coding interface of the button control to form an advertisement space coverage area of the button control and an advertisement space display assembly with the coding interface;
s3 specifically comprises the following steps: scanning coordinate information of pixel points conforming to a preset color under a pixel point coordinate system of a plan view to obtain a pixel point set of a row-column array, marking pixel points intersected by the outermost rows and columns as corner points, selecting 2 diagonal points which are in a diagonal relation, and marking the diagonal points as diagonal points D1 (x 1, y 1) and diagonal points D2 (x 2, y 2), wherein the diagonal points D1 (x 1, y 1) and the diagonal points D2 (x 2, y 2) are coordinate information of an advertisement space area under the pixel point coordinate system of the plan view; wherein x1 and x2 are the column numbers of the pixel points, and y1 and y2 are the row numbers of the pixel points;
calculating the length and the width according to the coordinate values of 2 diagonal points, and marking the length and the width as a= |x 2-x 1|, b= |y2-y1|, wherein a and b are the length and the width information of the advertisement space;
s4 specifically comprises the following steps:
according to the calculated length and width information of the advertisement space, the length and width of an advertisement space coverage interface of the configuration button control are calculated, namely, the length of the configuration advertisement space coverage interface is a '=a, and the width b' =b of the configuration advertisement space coverage interface is calculated;
the position information of the advertisement site coverage interface of the button control is configured according to the calculated coordinate information of the advertisement site and the like, namely, the coordinate values of 2 diagonal points of the advertisement site coverage interface are assigned, the coordinate values of 2 diagonal points of the advertisement site coverage interface are the same as the coordinate values of 2 diagonal points of the advertisement site, and the 2 diagonal points of the advertisement site coverage interface are respectively diagonal points D1 '(x 1' =x1, y1 '=y1) and D2' (x 2 '=x2, y2' =y2);
also included is the inclusion of S0,
s0. the advertisement space number of the configuration button control is consistent with the advertisement space code text, the data request link interface of the configuration button control, and the trigger event of the configuration button control is: after the button control is triggered, the button control is linked to a target database through a data request linking interface, an advertisement position number and a data request thereof are sent to the target database, advertisement position information data responding to the advertisement position number are received, a display area is created in an advertisement position display component, and the advertisement position information data are displayed;
the S0 is performed at S4 or after S5.
2. The method of generating ad spot information presentation component as claimed in claim 1, wherein,
the data request link interface comprises at least one of a first link interface linked with an advertisement position historical order information database, a second link interface linked with an advertisement position upper and lower periodical information database, a third link interface linked with an advertisement position monitoring information database and a fourth link interface linked with an advertisement position sample picture information database;
the data request comprises at least 1 of advertisement position historical order information request, advertisement position up-down periodical information request, advertisement position monitoring information request and advertisement position sample picture information.
3. The method of generating ad spot information presentation component as claimed in claim 1, wherein,
the plan view comprises at least 1 advertisement space area, and the advertisement space area is a graphic element area in the plan view.
4. The method of generating ad spot information presentation component as claimed in claim 1, wherein,
the plan view is a building plan view, and 1 advertisement space area represents the plane occupation area of 1 lamp box advertisement panel building or/and 1 television advertisement panel building in the building plan view.
CN202211454159.1A 2022-11-21 2022-11-21 Method for generating advertisement position information display assembly by local recognition Active CN115617237B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211454159.1A CN115617237B (en) 2022-11-21 2022-11-21 Method for generating advertisement position information display assembly by local recognition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211454159.1A CN115617237B (en) 2022-11-21 2022-11-21 Method for generating advertisement position information display assembly by local recognition

Publications (2)

Publication Number Publication Date
CN115617237A CN115617237A (en) 2023-01-17
CN115617237B true CN115617237B (en) 2023-05-02

Family

ID=84877556

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211454159.1A Active CN115617237B (en) 2022-11-21 2022-11-21 Method for generating advertisement position information display assembly by local recognition

Country Status (1)

Country Link
CN (1) CN115617237B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101055572A (en) * 2006-08-30 2007-10-17 钱志湘 Advertisement distribution method by providing button on web page advertisement position for matching with advertisement
CN101398997A (en) * 2007-09-24 2009-04-01 王兆珉 Method for setting and publishing advertisement by elevator operation electronic display window
CN103679487A (en) * 2012-09-05 2014-03-26 阿里巴巴集团控股有限公司 Advertisement display monitoring method and device
CN106033302A (en) * 2015-03-12 2016-10-19 深圳市腾讯计算机系统有限公司 An information display area operation processing method and system
CN110322284A (en) * 2019-06-14 2019-10-11 广州汇量信息科技有限公司 The methods of exhibiting and system of advertisement page view
CN110908757A (en) * 2019-11-18 2020-03-24 腾讯科技(深圳)有限公司 Method and related device for displaying media content
CN112817501A (en) * 2019-11-18 2021-05-18 腾讯科技(深圳)有限公司 Method and related device for displaying media content

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005032104A (en) * 2003-07-09 2005-02-03 Seiko Epson Corp Advertisement edit system, program, and method
US8494907B2 (en) * 2006-07-21 2013-07-23 Say Media, Inc. Systems and methods for interaction prompt initiated video advertising
CN102084386A (en) * 2008-03-24 2011-06-01 姜旻秀 Keyword-advertisement method using meta-information related to digital contents and system thereof
CN102141909B (en) * 2010-02-10 2014-09-10 深圳市金蝶中间件有限公司 Primitive creation method and system
US8732014B2 (en) * 2010-12-20 2014-05-20 Yahoo! Inc. Automatic classification of display ads using ad images and landing pages
CN102073966A (en) * 2011-01-21 2011-05-25 奇诺光瑞电子(深圳)有限公司 Method for releasing advertisements in network and system for implementing same
CN106371821A (en) * 2016-08-22 2017-02-01 深圳市科利德光电材料股份有限公司 Method for performing frame selection of entity by using closed graph
FR3055451A1 (en) * 2016-08-26 2018-03-02 Mediabong SYSTEMS AND METHODS FOR MEASURING THE ATTENTION OF A USER TO AT LEAST ONE VIDEO ADVERTISEMENT IN AN INTERNET PAGE AND RECTIFYING THE VIDEO ADVERTISEMENT DISPLAYED ACCORDING TO SAID MEASURE
CN110517080A (en) * 2019-08-26 2019-11-29 北京百度网讯科技有限公司 Outdoor advertising put-on method, device, equipment and computer readable storage medium
CN113449574A (en) * 2020-03-26 2021-09-28 上海际链网络科技有限公司 Method and device for identifying content on target, storage medium and computer equipment
CN112016957A (en) * 2020-08-12 2020-12-01 冯建明 Interactive advertisement propagation system and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101055572A (en) * 2006-08-30 2007-10-17 钱志湘 Advertisement distribution method by providing button on web page advertisement position for matching with advertisement
CN101398997A (en) * 2007-09-24 2009-04-01 王兆珉 Method for setting and publishing advertisement by elevator operation electronic display window
CN103679487A (en) * 2012-09-05 2014-03-26 阿里巴巴集团控股有限公司 Advertisement display monitoring method and device
CN106033302A (en) * 2015-03-12 2016-10-19 深圳市腾讯计算机系统有限公司 An information display area operation processing method and system
CN110322284A (en) * 2019-06-14 2019-10-11 广州汇量信息科技有限公司 The methods of exhibiting and system of advertisement page view
CN110908757A (en) * 2019-11-18 2020-03-24 腾讯科技(深圳)有限公司 Method and related device for displaying media content
CN112817501A (en) * 2019-11-18 2021-05-18 腾讯科技(深圳)有限公司 Method and related device for displaying media content

Also Published As

Publication number Publication date
CN115617237A (en) 2023-01-17

Similar Documents

Publication Publication Date Title
CN103634650B (en) A kind of image processing method and system based on intelligent television platform
US5448696A (en) Map information system capable of displaying layout information
EP0784296B1 (en) Data providing structure, method, and terminal
US5499325A (en) Brightness controls for visual separation of vector and raster information
WO1996012222A1 (en) A system and method for detecting screen hotspots
CN106383881A (en) Navigation secondary development control system based on cross-platform graphic middleware
CN105162120A (en) Web-GIS-based real-time geographical tidal current display method of large power grid
CN1200335C (en) Method and equipment for displaying objects on custom area and its used displaying apparatus
US20200327261A1 (en) Building Material Estimation System, Management Server thereof, and Building Material Estimation Method
CN115617237B (en) Method for generating advertisement position information display assembly by local recognition
CN110110028B (en) Method and system for displaying map according to user-defined area and oriented to OGC standard
CN115188349A (en) Method and system for editing user-defined content of mobile variable traffic information board
CN115495001B (en) Method and system for generating advertisement position information display component by selecting position from frame
CN115578130B (en) Method for generating advertisement position information display component by full image scanning
JP6694192B1 (en) Building material quotation system, its management server, and building material quotation method
JP2001202402A (en) Drawing generating device and method for displaying drawing alteration place
CN114663324A (en) Fusion display method of BIM (building information modeling) model and GIS (geographic information system) information and related components
CN102402531A (en) Method and system for processing geographic information symbol
CN112565851A (en) Method and device for personalized configuration of television homepage through mobile phone terminal
CN102053837A (en) Collision detection and avoidance method and device for space entity element marking
JP7381242B2 (en) Annotation method
CN101833779A (en) Method for carrying out collision detection and avoidance on element annotation based on spatial entity view model
JPH0773297A (en) Drawing updating method for map information system
JPH0831019B2 (en) Graphic element selection method, graphic element determination method, and computer-aided drawing device
JP4146281B2 (en) Monitoring control screen creation and display method and monitoring control 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