[go: up one dir, main page]

CN114282949B - A method and device for publishing advertising information based on microservices - Google Patents

A method and device for publishing advertising information based on microservices Download PDF

Info

Publication number
CN114282949B
CN114282949B CN202111619057.6A CN202111619057A CN114282949B CN 114282949 B CN114282949 B CN 114282949B CN 202111619057 A CN202111619057 A CN 202111619057A CN 114282949 B CN114282949 B CN 114282949B
Authority
CN
China
Prior art keywords
micro
service
advertisement information
acquisition request
advertisement
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
CN202111619057.6A
Other languages
Chinese (zh)
Other versions
CN114282949A (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.)
Guangzhou Huixing Information Technology Co ltd
Guangzhou Tongda Auto Electric Co Ltd
Original Assignee
Guangzhou Huixing Information Technology Co ltd
Guangzhou Tongda Auto Electric 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 Guangzhou Huixing Information Technology Co ltd, Guangzhou Tongda Auto Electric Co Ltd filed Critical Guangzhou Huixing Information Technology Co ltd
Priority to CN202111619057.6A priority Critical patent/CN114282949B/en
Publication of CN114282949A publication Critical patent/CN114282949A/en
Application granted granted Critical
Publication of CN114282949B publication Critical patent/CN114282949B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the application discloses an advertisement information issuing method and device based on micro-service, which are characterized by receiving a first advertisement information acquisition request sent by multimedia equipment, carrying out information conversion processing on the received advertisement information acquisition request to obtain a second advertisement information acquisition request, wherein the second advertisement information acquisition request is an advertisement information acquisition request in a standard message format, sending the second advertisement information acquisition request to a business micro-service platform, receiving first advertisement content information fed back by the business micro-service platform, carrying out information conversion processing on the received first advertisement content information to obtain second advertisement content information, and sending the second advertisement content information to the multimedia equipment, wherein the second advertisement content information and the first advertisement information acquisition request are in the same message format, so that the inapplicability problem of advertisement information issuing by single application can be solved, and the data processing efficiency of advertisement information issuing can be improved.

Description

Advertisement information release method and device based on micro-service
Technical Field
The embodiment of the application relates to the technical field of micro services, in particular to an advertisement information release method and device based on micro services.
Background
With population growth and traffic and transportation development, public transportation such as bus subways become important travel tools for people to travel. The advertising information is released on the public transport means, and the advertising information is released into an indispensable media transmission form on the public transport means, wherein the advertising information has the advantages of high cognition rate and receiving, long advertising action time, strong flexibility and the like.
The traditional advertisement information release system mainly comprises a free information release system provided by a hardware manufacturer to realize release of advertisements, management of equipment and state monitoring, so that when system functions or information need to be expanded, software upgrading is needed depending on the original manufacturer, a plurality of manufacturer systems cannot be used generally, a plurality of sets of systems need to be maintained, system data are independent, equipment with the same functions of mainboards of different manufacturers cannot be managed and maintained uniformly, and operation and maintenance cost is increased.
In the system for accessing the multimedia terminal devices of various factories, the traditional method is to connect single applications for centralized processing, but with the increase of the number and the abundance of the types of the multimedia terminals, the traditional single application architecture can cause the whole single application to be more and more bloated due to the increase of internal processing codes, the complexity of the system is uncontrollable, and the deployment time and difficulty are increased.
Disclosure of Invention
The embodiment of the application provides an advertising information release method and device based on micro-services, which can solve the inapplicable problem of advertising information release by single application and improve the data processing efficiency of advertising information release.
In a first aspect, an embodiment of the present application provides a method for publishing advertisement information based on a micro service, including:
receiving a first advertisement information acquisition request sent by multimedia equipment;
performing information conversion processing on the received advertisement information acquisition request to obtain a second advertisement information acquisition request, wherein the second advertisement information acquisition request is an advertisement information acquisition request in a standard message format;
Sending the second advertisement information acquisition request to a business micro-service platform, and receiving first advertisement content information fed back by the business micro-service platform;
And carrying out information conversion processing on the received first advertisement content information to obtain second advertisement content information, and sending the second advertisement content information to the multimedia equipment, wherein the format of the second advertisement content information is the same as that of the first advertisement information acquisition request message.
Further, the information conversion processing is performed on the received request for obtaining the advertisement information, so as to obtain a second request for obtaining the advertisement information, which specifically includes:
analyzing and processing the received first advertisement information acquisition request, and determining the type of the multimedia equipment to which the first advertisement information acquisition request belongs;
Distributing the first advertisement information acquisition request to a corresponding communication micro-service sub-cluster according to the multimedia equipment type to which the first advertisement information acquisition request belongs;
And sending the first advertisement information acquisition request to a data processing micro-service and receiving the second advertisement information acquisition request fed back by the data processing micro-service through the communication micro-service sub-cluster.
Further, the analyzing and processing the received first request for obtaining advertisement information, and determining the type of the multimedia device to which the first request for obtaining advertisement information belongs specifically includes:
And analyzing and processing according to the received port type, route type and message information in the first advertisement information acquisition request, and determining the type of the multimedia equipment to which the first advertisement information acquisition request belongs.
Further, the sending the second request for obtaining the advertisement information to the service micro-service platform and receiving the first advertisement content information fed back by the service micro-service platform specifically includes:
Sending the second advertisement information acquisition request to an advertisement information micro service in a business micro service platform;
and receiving the first advertisement content information acquired by the advertisement information microservice according to the second advertisement information acquisition request.
Further, the data processing micro-service is configured to convert the first request for obtaining advertisement information into a second request for obtaining advertisement information in a standard message format, so as to allow the micro-service system to perform communication transmission.
Further, the information conversion processing is performed on the received first advertisement content information to obtain second advertisement content information, and the second advertisement content information is sent to the multimedia device, specifically:
distributing the received first advertisement content information to the communication micro-service sub-cluster;
and sending the first advertisement content information to a data processing micro service and receiving second advertisement content information fed back by the data processing micro service through the communication micro service sub-cluster, wherein the first advertisement content information is advertisement content information in a standard message format.
Further, the method comprises the steps of:
And storing the second advertisement information acquisition request into a message database micro-service in a database micro-service.
In a second aspect, an embodiment of the present application provides an advertisement information distribution device based on a micro service, including:
The request information receiving unit is used for receiving a first advertisement information acquisition request sent by the multimedia equipment;
the information conversion unit is used for carrying out information conversion processing on the received advertisement information acquisition request to obtain a second advertisement information acquisition request, wherein the second advertisement information acquisition request is an advertisement information acquisition request in a standard message format;
The first advertisement information acquisition unit is used for sending the second advertisement information acquisition request to a business micro-service platform and receiving first advertisement content information fed back by the business micro-service platform;
And the second advertisement information sending unit is used for carrying out information conversion processing on the received first advertisement content information to obtain second advertisement content information and sending the second advertisement content information to the multimedia equipment, wherein the formats of the second advertisement content information and the first advertisement information acquisition request message are the same.
Further, the information conversion unit is further configured to analyze the received first advertisement information acquisition request, and determine a multimedia device type to which the first advertisement information acquisition request belongs;
Distributing the first advertisement information acquisition request to a corresponding communication micro-service sub-cluster according to the multimedia equipment type to which the first advertisement information acquisition request belongs;
And sending the first advertisement information acquisition request to a data processing micro-service and receiving the second advertisement information acquisition request fed back by the data processing micro-service through the communication micro-service sub-cluster.
Further, the information conversion unit is further configured to perform analysis processing according to the received port type, route type and message information in the first advertisement information acquisition request, and determine a multimedia device type to which the first advertisement information acquisition request belongs.
Further, the first advertisement information obtaining unit is configured to send the second advertisement information obtaining request to an advertisement information microservice in a business microservice platform;
and receiving the first advertisement content information acquired by the advertisement information microservice according to the second advertisement information acquisition request.
Further, the data processing micro-service is configured to convert the first request for obtaining advertisement information into a second request for obtaining advertisement information in a standard message format, so as to allow the micro-service system to perform communication transmission.
Further, the second advertisement information sending unit is further configured to distribute the received first advertisement content information to the communication micro service sub-cluster;
and sending the first advertisement content information to a data processing micro service and receiving second advertisement content information fed back by the data processing micro service through the communication micro service sub-cluster, wherein the first advertisement content information is advertisement content information in a standard message format.
Further, the device is further configured to store the second advertisement information acquisition request in a message database micro-service in a database micro-service.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a memory and one or more processors;
The memory is used for storing one or more programs;
The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the micro-service based advertising information distribution method as described in the first aspect.
In a fourth aspect, an embodiment of the present application provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the micro-service based advertising information distribution method according to the first aspect.
According to the embodiment of the application, the second advertisement information acquisition request in the standard message format is obtained by carrying out information conversion processing on the first advertisement information acquisition request sent by the receiving multimedia device, the second advertisement information acquisition request is sent to the service micro-service platform to acquire the first advertisement information fed back by the service micro-service platform, the first advertisement information is converted into the second advertisement content information in the same form as the first advertisement information acquisition request message, and the second advertisement content information is sent to the multimedia device. By adopting the technical means, the first advertisement information acquisition request is converted into the second advertisement information acquisition request with the standard message format, so that the information with the standard message format is transmitted in the micro-service system, the unified format of the internal transmission information of the micro-service is realized, the problem that the information sent by the multimedia equipment corresponding to different manufacturers is heterogeneous is solved, the data transmission efficiency is improved, and the second advertisement content information with the same message format as the original first advertisement information acquisition request is converted into the second advertisement content information after the advertisement content information is returned, so that the message adaptability requirement of the multimedia equipment is met, the information intercommunication between the multimedia equipment and the micro-service system is realized, and the information transmission efficiency is improved. In addition, the communication service, the data information conversion service and the business function service can be subjected to business splitting through the micro-service architecture to form a communication gateway micro-service, a data processing micro-service, a business micro-service platform and the like, so that each micro-service can be independently operated and managed, the internal code processing pressure of the system is relieved, the application requirements of the existing distributed multimedia advertisement information release are met, the data transmission efficiency of the multimedia equipment and the system is improved, and the operation efficiency of the micro-service system is improved.
Drawings
FIG. 1 is a flowchart of a method for publishing advertisement information based on micro-services according to an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating connection of micro-service devices according to a first embodiment of the present application;
FIG. 3 is a schematic diagram illustrating connection of a portion of a micro service device according to an embodiment of the present application;
Fig. 4 is a schematic structural diagram of an advertisement information publishing device based on micro-service according to a second embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to a third embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the following detailed description of specific embodiments of the present application is given with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the matters related to the present application are shown in the accompanying drawings. Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently, or at the same time. Furthermore, the order of the operations may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The application provides a method and a device for publishing advertisement information based on micro-service, aiming at receiving a first advertisement information acquisition request sent by multimedia equipment and converting the first advertisement information acquisition request into a second advertisement information acquisition request in a standard message format when the advertisement information acquisition is requested, receiving the first advertisement content information fed back by a business micro-service platform according to the second advertisement information acquisition request, converting the first advertisement content information into second advertisement content information in the same message format as the first advertisement information acquisition request, and sending the second advertisement content information to the multimedia equipment. Compared with the traditional mode of requesting to acquire advertisement content, the method generally uses the single application to communicate with the multimedia equipment, and as the number of the multimedia equipment is increased, the traditional single application architecture can increase the number of internal processing codes due to the increased number of the communicated multimedia equipment, so that the single application is increasingly bulked, and the deployment time and difficulty are further increased. Based on the above, the advertisement information publishing method based on the micro-service provided by the embodiment of the application is used for solving the problem of poor data transmission efficiency caused by single application in the existing advertisement content information acquisition.
Embodiment one:
Fig. 1 is a flowchart of a micro-service-based advertisement information publishing method according to a first embodiment of the present application, where the micro-service-based advertisement information publishing method according to the first embodiment may be executed by a micro-service-based advertisement information publishing device, and the micro-service-based advertisement information publishing device may be implemented in software and/or hardware, and the micro-service-based advertisement information publishing device may be formed by two or more physical entities or may be formed by one physical entity. In general, the micro-service based advertisement information distribution device may be a terminal device such as a computer, a tablet, a cell phone, or the like.
The following description will be made taking a computer device as an example of a main body for executing the advertisement information distribution method based on the micro service. Referring to fig. 1, the advertisement information distribution method based on the micro service specifically includes:
S101, receiving a first advertisement information acquisition request sent by multimedia equipment.
On public transportation equipment, such as bus equipment, multimedia equipment is arranged for issuing corresponding advertisement information. The manufacturers corresponding to the different multimedia devices are different, because the message formats inside the information sent by the different multimedia devices are different. Before the multimedia device needs to play the advertisement, a request for acquiring the corresponding advertisement content information needs to be sent to the server. The server uses a micro-service architecture, and a communication gateway micro-service is taken as an example for explanation. The method comprises the steps of receiving a first advertisement information acquisition request sent by multimedia equipment through a communication gateway microservice, wherein the first advertisement information acquisition request has a message format of the multimedia equipment, and the message format of the self is set by a multimedia equipment manufacturer during production, so that the message formats of the first advertisement information acquisition requests sent by different multimedia equipment are different.
S102, carrying out information conversion processing on the received advertisement information acquisition request to obtain a second advertisement information acquisition request, wherein the second advertisement information acquisition request is an advertisement information acquisition request in a standard message format.
Referring to fig. 2 and 3, the received first advertisement information acquisition request is analyzed, and according to the port type, the route type and the message information in the first advertisement information acquisition request, the multimedia device type to which the first advertisement information acquisition request belongs is determined. And distributing the first acquired advertisement information request to a corresponding communication micro-service sub-cluster according to the type of the multimedia equipment to which the first acquired advertisement information request belongs, and sending the first acquired advertisement information request to a data processing micro-service and receiving the second acquired advertisement information request fed back by the data processing micro-service through the communication micro-service sub-cluster.
Because the ports and routes through which the first advertisement information acquisition requests sent by different multimedia devices pass are different, and the message content in the first advertisement information acquisition requests is also different, the type of the multimedia device sending the first advertisement information acquisition requests can be judged according to the port type or the route type through which the first advertisement information acquisition requests are received, or the type of the multimedia device sending the first advertisement information acquisition requests can be judged according to the message content in the first advertisement information acquisition requests, such as an LCD screen device. After determining the type of the multimedia device from which the first request for obtaining advertisement information is sent, the first request for obtaining advertisement information is allocated to a corresponding sub-cluster of communication micro-services, such as a sub-cluster of communication micro-services of an LCD screen. The communication micro-service sub-clusters are sub-micro services in the communication network optical micro-service, and each type of multimedia equipment corresponds to one communication micro-service sub-cluster, for example, the LCD screen equipment of the multimedia equipment corresponds to the LCD screen communication micro-service sub-cluster. And sending the first advertisement information acquisition request to a data processing micro-service through the communication micro-service sub-cluster. The data processing micro-service is used for converting the first advertisement information acquisition request into a second advertisement information acquisition request in a standard message format for communication transmission in the micro-service system. The data processing micro-service performs data acquisition, data cleaning and data conversion of the first advertisement information acquisition request. And the communication micro-service sub-cluster receives the second advertisement information acquisition request fed back by the data processing micro-service.
The second request for obtaining advertisement information is illustratively stored in a message database micro-service in a database micro-service. When the same request of the same type of multimedia equipment is received subsequently, the second advertisement information acquisition request in the corresponding message database micro service can be directly called, or when the same request of the same type of multimedia equipment is received subsequently, the conversion of the message format is carried out again.
S103, sending the second advertisement information obtaining request to a service micro-service platform, and receiving first advertisement content information fed back by the service micro-service platform.
And sending the second advertisement information acquisition request to an advertisement information micro service in a business micro service platform, and receiving first advertisement content information acquired by the advertisement information micro service according to the second advertisement information acquisition request.
Based on the second advertisement information acquisition request in the standard message format, transmission in the micro-service architecture can be realized, uniform format information transmission is realized, transmission efficiency is improved, and data processing speed is improved. The communication micro-service sub-cluster sends the second acquired advertisement information request to a business micro-service platform, the business micro-service platform identifies information in the second acquired advertisement information request, determines to distribute the second acquired advertisement information request to the advertisement information micro-service, and the advertisement information micro-service starts first advertisement content information to the communication micro-service sub-cluster according to the second acquired advertisement information request. The business micro-service platform also comprises basic data micro-service, platform business micro-service, open interface micro-service, task scheduling micro-service, data analysis micro-service, report center micro-service, advertisement information micro-service and the like. Each micro-service operates independently, so that the embodiment is only applied to the advertisement information micro-service, and whether other micro-services are used or not does not influence the operation speed of the advertisement micro-service. Therefore, compared with the traditional single application, the micro-service structure has the advantages of higher data processing speed and higher working efficiency.
S104, carrying out information conversion processing on the received first advertisement content information to obtain second advertisement content information, and sending the second advertisement content information to the multimedia equipment, wherein the second advertisement content information and the first acquired advertisement information request message have the same format.
Distributing the received first advertisement content information to the communication micro-service sub-cluster, and sending the first advertisement content information to a data processing micro-service and receiving second advertisement content information fed back by the data processing micro-service through the communication micro-service sub-cluster, wherein the first advertisement content information is advertisement content information in a standard message format, and the second advertisement content information is the same as a first acquired advertisement information request message format. And converting the first advertisement content information in the standard message format into the second advertisement content information in the same format as the first advertisement information acquisition request message format, and transmitting the second advertisement content information to the multimedia device. The second advertisement content information received by the multimedia device is the same as the format of the first advertisement information acquisition request message sent by the multimedia device so as to adapt to the format requirement of the multimedia device, thereby avoiding the failure of data information transmission caused by the different message formats, improving the effectiveness of data transmission and the efficiency of data transmission.
In an embodiment, referring to fig. 2 and 3, a multimedia device is taken as an example of an LCD screen device. The method comprises the steps that a first acquired advertisement information request with a self-messaging format is sent to a communication gateway micro-service in a micro-service architecture through LCD screen equipment, the first acquired advertisement information request is received by the traffic gateway micro-service, the multimedia equipment sending the first acquired advertisement information request is determined to be the LCD screen equipment according to the received message information of the analysis port type, the route type or the first acquired advertisement information request sent by the LCD screen equipment, and therefore the first acquired advertisement information request is distributed to an LCD screen communication micro-service sub-cluster in the traffic gateway micro-service, and the first acquired advertisement information request is sent to a data processing micro-service through the LCD screen communication micro-service sub-cluster. The data processing micro-service performs data cleaning and data conversion on the received first advertisement information acquisition request, performs data conversion on the cleaned first advertisement information acquisition request into a second advertisement information acquisition request in a standard message format, and sends the second advertisement information acquisition request in the standard message format to the advertisement information micro-service in the business micro-service platform through the LCD screen communication micro-service sub-cluster. And the advertisement information micro-service extracts corresponding advertisement content information according to the second advertisement information acquisition request, forms first advertisement content information with a standard message format and sends the first advertisement content information to the LCD screen communication micro-service sub-cluster. The LCD screen communication micro-service sub-cluster receives the first advertisement content information and sends the first advertisement content information to the data processing micro-service for data conversion into second advertisement content information with the same message format as the first advertisement information acquisition request and sends the second advertisement content information back to the LCD screen communication micro-service sub-cluster. The LCD screen communication micro-service sub-cluster sends the second advertisement content information with the same message format as the first advertisement information obtaining request to the LCD screen equipment, and the LCD screen equipment issues corresponding advertisement content according to the received second advertisement content information with the same message format.
In one embodiment, referring to fig. 2 and 3, the micro-service system further includes a management platform WEB, a configuration center, and a data cluster micro-service. The configuration center comprises a dynamic configuration micro-service and a registration center cluster micro-service, wherein the dynamic configuration micro-service carries out configuration registration of the business platform micro-service. The data cluster micro-services comprise a Redis database micro-service, a MySQL database micro-service, mongodb database micro-service, a message database micro-service, an air pressure database micro-service and the like.
And the second advertisement information acquisition request in the standard message format is obtained by carrying out information conversion processing on the first advertisement information acquisition request sent by the receiving multimedia equipment, the second advertisement information acquisition request is sent to a service micro-service platform to acquire the first advertisement information fed back by the service micro-service platform, the first advertisement information is converted into second advertisement content information in the same form as the first advertisement information acquisition request message, and the second advertisement content information is sent to the multimedia equipment. By adopting the technical means, the first advertisement information acquisition request is converted into the second advertisement information acquisition request with the standard message format, so that the information with the standard message format is transmitted in the micro-service system, the unified format of the internal transmission information of the micro-service is realized, the problem that the information sent by the multimedia equipment corresponding to different manufacturers is heterogeneous is solved, the data transmission efficiency is improved, and the second advertisement content information with the same message format as the original first advertisement information acquisition request is converted into the second advertisement content information after the advertisement content information is returned, so that the message adaptability requirement of the multimedia equipment is met, the information intercommunication between the multimedia equipment and the micro-service system is realized, and the information transmission efficiency is improved. In addition, the communication service, the data information conversion service and the business function service can be subjected to business splitting through the micro-service architecture to form a communication gateway micro-service, a data processing micro-service, a business micro-service platform and the like, so that each micro-service can be independently operated and managed, the internal code processing pressure of the system is relieved, the application requirements of the existing distributed multimedia advertisement information release are met, the data transmission efficiency of the multimedia equipment and the system is improved, and the operation efficiency of the micro-service system is improved.
Embodiment two:
Based on the foregoing embodiments, fig. 4 is a schematic structural diagram of an advertisement information publishing device based on micro-services according to a second embodiment of the present application. Referring to fig. 4, the advertisement information distribution apparatus based on the micro service provided in the present embodiment specifically includes a request information receiving unit 21, an information converting unit 22, a first advertisement information acquiring unit 23, and a second advertisement information transmitting unit 24.
Wherein, the request information receiving unit 21 is configured to receive a first request for acquiring advertisement information sent by the multimedia device;
an information conversion unit 22, configured to perform information conversion processing on the received advertisement information acquisition request to obtain a second advertisement information acquisition request, where the second advertisement information acquisition request is an advertisement information acquisition request in a standard message format;
A first advertisement information obtaining unit 23, configured to send the second advertisement information obtaining request to a service micro-service platform, and receive first advertisement content information fed back by the service micro-service platform;
And a second advertisement information sending unit 24, configured to perform information conversion processing on the received first advertisement content information to obtain second advertisement content information, and send the second advertisement content information to the multimedia device, where the second advertisement content information and the first acquired advertisement information request message have the same format.
Further, the information converting unit 22 is further configured to analyze the received first request for obtaining advertisement information, and determine a type of multimedia device to which the first request for obtaining advertisement information belongs;
Distributing the first advertisement information acquisition request to a corresponding communication micro-service sub-cluster according to the multimedia equipment type to which the first advertisement information acquisition request belongs;
And sending the first advertisement information acquisition request to a data processing micro-service and receiving the second advertisement information acquisition request fed back by the data processing micro-service through the communication micro-service sub-cluster.
Further, the information converting unit 22 is further configured to perform analysis processing according to the received port type, route type and message information in the first advertisement information obtaining request, and determine a multimedia device type to which the first advertisement information obtaining request belongs.
Further, the first advertisement information obtaining unit 23 is configured to send the second advertisement information obtaining request to an advertisement information micro service in a service micro service platform;
and receiving the first advertisement content information acquired by the advertisement information microservice according to the second advertisement information acquisition request.
Further, the data processing micro-service is configured to convert the first request for obtaining advertisement information into a second request for obtaining advertisement information in a standard message format, so as to allow the micro-service system to perform communication transmission.
Further, the second advertisement information sending unit 24 is further configured to allocate the received first advertisement content information to the communication micro service sub cluster;
and sending the first advertisement content information to a data processing micro service and receiving second advertisement content information fed back by the data processing micro service through the communication micro service sub-cluster, wherein the first advertisement content information is advertisement content information in a standard message format.
Further, the device is further configured to store the second advertisement information acquisition request in a message database micro-service in a database micro-service.
In one embodiment, the device comprises a micro-service system, wherein the micro-service system comprises a communication gateway micro-service, a communication micro-service sub-cluster, a data processing micro-service, a service platform micro-service and an advertisement information micro-service;
the communication gateway micro-service is used for receiving a first advertisement information acquisition request sent by the multimedia equipment;
The data processing micro-service is used for carrying out information conversion processing on the received advertisement information acquisition request to obtain a second advertisement information acquisition request, wherein the second advertisement information acquisition request is an advertisement information acquisition request in a standard message format;
the communication micro-service sub-cluster is used for sending the second advertisement information acquisition request to a business micro-service platform and receiving first advertisement content information fed back by the business micro-service platform;
and the communication gateway micro-service is used for carrying out information conversion processing on the received first advertisement content information to obtain second advertisement content information and sending the second advertisement content information to the multimedia equipment, wherein the formats of the second advertisement content information and the first advertisement information acquisition request message are the same.
Further, the communication gateway micro-service is further configured to analyze and process the received first advertisement information acquisition request, and determine a multimedia device type to which the first advertisement information acquisition request belongs;
Distributing the first advertisement information acquisition request to a corresponding communication micro-service sub-cluster according to the multimedia equipment type to which the first advertisement information acquisition request belongs;
And sending the first advertisement information acquisition request to a data processing micro-service and receiving the second advertisement information acquisition request fed back by the data processing micro-service through the communication micro-service sub-cluster.
Further, the communication gateway micro-service is further configured to perform analysis processing according to the received port type, route type and message information in the first advertisement information acquisition request, and determine a multimedia device type to which the first advertisement information acquisition request belongs.
Further, the communication micro-service sub-cluster is configured to send the second advertisement information acquisition request to an advertisement information micro-service in a service micro-service platform;
and receiving the first advertisement content information acquired by the advertisement information microservice according to the second advertisement information acquisition request.
Further, the data processing micro-service is configured to convert the first request for obtaining advertisement information into a second request for obtaining advertisement information in a standard message format, so as to allow the micro-service system to perform communication transmission.
Further, the communication gateway micro-service is further configured to distribute the received first advertisement content information to the communication micro-service sub-cluster;
and sending the first advertisement content information to a data processing micro service and receiving second advertisement content information fed back by the data processing micro service through the communication micro service sub-cluster, wherein the first advertisement content information is advertisement content information in a standard message format.
Further, the device is further configured to store the second advertisement information acquisition request in a message database micro-service in a database micro-service.
And the second advertisement information acquisition request in the standard message format is obtained by carrying out information conversion processing on the first advertisement information acquisition request sent by the receiving multimedia equipment, the second advertisement information acquisition request is sent to a service micro-service platform to acquire the first advertisement information fed back by the service micro-service platform, the first advertisement information is converted into second advertisement content information in the same form as the first advertisement information acquisition request message, and the second advertisement content information is sent to the multimedia equipment. By adopting the technical means, the first advertisement information acquisition request is converted into the second advertisement information acquisition request with the standard message format, so that the information with the standard message format is transmitted in the micro-service system, the unified format of the internal transmission information of the micro-service is realized, the problem that the information sent by the multimedia equipment corresponding to different manufacturers is heterogeneous is solved, the data transmission efficiency is improved, and the second advertisement content information with the same message format as the original first advertisement information acquisition request is converted into the second advertisement content information after the advertisement content information is returned, so that the message adaptability requirement of the multimedia equipment is met, the information intercommunication between the multimedia equipment and the micro-service system is realized, and the information transmission efficiency is improved. In addition, the communication service, the data information conversion service and the business function service can be subjected to business splitting through the micro-service architecture to form a communication gateway micro-service, a data processing micro-service, a business micro-service platform and the like, so that each micro-service can be independently operated and managed, the internal code processing pressure of the system is relieved, the application requirements of the existing distributed multimedia advertisement information release are met, the data transmission efficiency of the multimedia equipment and the system is improved, and the operation efficiency of the micro-service system is improved.
The advertisement information issuing device based on the micro-service provided by the second embodiment of the application can be used for executing the advertisement information issuing method based on the micro-service provided by the first embodiment, and has corresponding functions and beneficial effects.
Embodiment III:
An electronic device according to a third embodiment of the present application includes a processor 31, a memory 32, a communication module 33, an input device 34, and an output device 35, referring to fig. 5. The number of processors in the electronic device may be one or more and the number of memories in the electronic device may be one or more. The processor, memory, communication module, input device, and output device of the electronic device may be connected by a bus or other means.
The memory 32 is a computer-readable storage medium, and may be used to store a software program, a computer-executable program, and a module, as program instructions/modules corresponding to the micro-service based advertisement information distribution method according to any embodiment of the present application (e.g., a request information receiving unit, an information converting unit, a first advertisement information acquiring unit, and a second advertisement information transmitting unit in the micro-service based advertisement information distribution apparatus). The memory may mainly include a storage program area that may store an operating system, an application program required for at least one function, and a storage data area that may store data created according to use of the device, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some examples, the memory may further include memory remotely located with respect to the processor, the remote memory being connectable to the device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The communication module 33 is used for data transmission.
The processor 31 executes various functional applications of the device and data processing by running software programs, instructions and modules stored in the memory, i.e., implements the above-described micro-service-based advertisement information distribution method.
The input means 34 may be used to receive entered numeric or character information and to generate key signal inputs related to user settings and function control of the device. The output means 35 may comprise a display device such as a display screen.
The electronic device provided by the above embodiment can be used for executing the advertisement information publishing method based on the micro service provided by the above embodiment, and has corresponding functions and beneficial effects.
Embodiment four:
The embodiment of the application also provides a storage medium containing computer executable instructions, which when executed by a computer processor, are used for executing a micro-service-based advertisement information issuing method, the micro-service-based advertisement information issuing method comprises the steps of receiving a first advertisement information acquisition request sent by multimedia equipment; the method comprises the steps of receiving an advertisement information acquisition request, carrying out information conversion processing on the received advertisement information acquisition request to obtain a second advertisement information acquisition request which is in a standard message format, sending the second advertisement information acquisition request to a service micro-service platform, receiving first advertisement content information fed back by the service micro-service platform, carrying out information conversion processing on the received first advertisement content information to obtain second advertisement content information, and sending the second advertisement content information to the multimedia equipment, wherein the message format of the second advertisement content information and the message format of the first advertisement information acquisition request are the same.
Storage media-any of various types of memory devices or storage devices. The term "storage medium" is intended to include mounting media such as CD-ROM, floppy disk or tape devices, computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, lanbas (Rambus) RAM, etc., non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage), registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a second, different computer system connected to the first computer system through a network such as the internet. The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations (e.g., in different computer systems connected by a network). The storage medium may store program instructions (e.g., embodied as a computer program) executable by one or more processors.
Of course, the storage medium containing the computer executable instructions provided in the embodiments of the present application is not limited to the method for publishing advertisement information based on micro-services described above, and may also perform the related operations in the method for publishing advertisement information based on micro-services provided in any embodiment of the present application.
The advertisement information issuing device, the storage medium and the electronic device based on the micro service provided in the foregoing embodiments may execute the advertisement information issuing method based on the micro service provided in any embodiment of the present application, and technical details not described in detail in the foregoing embodiments may be referred to the advertisement information issuing method based on the micro service provided in any embodiment of the present application.
The foregoing description is only of the preferred embodiments of the application and the technical principles employed. The present application is not limited to the specific embodiments described herein, but is capable of numerous modifications, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, while the application has been described in connection with the above embodiments, the application is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit of the application, the scope of which is set forth in the following claims.

Claims (7)

1. The utility model provides a advertising information release method based on micro-service, which is characterized in that, is used for micro-service system, the micro-service system includes communication gateway micro-service, data processing micro-service, business platform micro-service, management platform WEB, configuration center and data cluster micro-service, wherein the configuration center includes dynamic configuration micro-service and registry cluster micro-service, the dynamic configuration micro-service carries out the configuration registration of business platform micro-service, the data cluster micro-service includes Redis database micro-service, mySQL database micro-service, mongodb database micro-service, message database micro-service and air pressure database micro-service, the method includes:
The communication gateway micro-service receives a first advertisement information acquisition request sent by the multimedia equipment, the first advertisement information acquisition request has a message format carried by the multimedia equipment, and message formats of the first advertisement information acquisition requests sent by different multimedia equipment are different;
performing information conversion processing on the received advertisement information acquisition request to obtain a second advertisement information acquisition request, wherein the second advertisement information acquisition request is an advertisement information acquisition request in a standard message format;
Sending the second advertisement information acquisition request to a business micro-service platform, and receiving first advertisement content information fed back by the business micro-service platform;
Performing information conversion processing on the received first advertisement content information to obtain second advertisement content information, and sending the second advertisement content information to the multimedia device, wherein the second advertisement content information and the first acquired advertisement information request message have the same format;
The information conversion processing is performed on the received advertisement information acquisition request to obtain a second advertisement information acquisition request, specifically:
analyzing and processing the received first advertisement information acquisition request, and determining the type of the multimedia equipment to which the first advertisement information acquisition request belongs;
According to the type of the multimedia equipment to which the first advertisement information acquisition request belongs, distributing the first advertisement information acquisition request to corresponding communication micro-service sub-clusters, wherein each type of multimedia equipment corresponds to one communication micro-service sub-cluster;
The communication micro-service sub-cluster is used for sending the first advertisement information acquisition request to a data processing micro-service and receiving the second advertisement information acquisition request fed back by the data processing micro-service, wherein the data processing micro-service is used for converting the first advertisement information acquisition request into a second advertisement information acquisition request in a standard message format so as to be used for communication transmission in a micro-service system;
and storing the second advertisement information acquisition request into a message database micro-service in a database micro-service, and calling the second advertisement information acquisition request in the corresponding message database micro-service when the same request of the multimedia equipment of the same type is received.
2. The method for publishing advertisement information based on micro-service according to claim 1, wherein the analyzing the received first request for obtaining advertisement information determines a multimedia device type to which the first request for obtaining advertisement information belongs, specifically:
And analyzing and processing according to the received port type, route type and message information in the first advertisement information acquisition request, and determining the type of the multimedia equipment to which the first advertisement information acquisition request belongs.
3. The method for publishing the advertisement information based on the micro service according to claim 1, wherein the sending the second request for obtaining the advertisement information to the service micro service platform and receiving the first advertisement content information fed back by the service micro service platform specifically comprises:
Sending the second advertisement information acquisition request to an advertisement information micro service in a business micro service platform;
and receiving the first advertisement content information acquired by the advertisement information microservice according to the second advertisement information acquisition request.
4. The method for publishing advertisement information based on micro-service according to claim 1, wherein the information conversion processing of the received first advertisement content information is performed to obtain second advertisement content information, and the second advertisement content information is sent to the multimedia device, specifically:
distributing the received first advertisement content information to the communication micro-service sub-cluster;
and sending the first advertisement content information to a data processing micro service and receiving second advertisement content information fed back by the data processing micro service through the communication micro service sub-cluster, wherein the first advertisement content information is advertisement content information in a standard message format.
5. The utility model provides an advertising information issuing device based on micro-service, which is characterized in that, is used for micro-service system, micro-service system includes communication gateway micro-service, data processing micro-service, business platform micro-service, management and control platform WEB, configuration center and data cluster micro-service, wherein the configuration center includes dynamic configuration micro-service and registry cluster micro-service, the configuration registration of business platform micro-service is carried out to dynamic configuration micro-service, data cluster micro-service includes Redis database micro-service, mySQL database micro-service, mongodb database micro-service, message database micro-service and atmospheric pressure database micro-service, the device includes:
The request information receiving unit is used for receiving a first advertisement information acquisition request sent by the multimedia equipment by the communication gateway micro-service, wherein the first advertisement information acquisition request has a message format of the multimedia equipment, and the message formats of the first advertisement information acquisition requests sent by different multimedia equipment are different;
the information conversion unit is used for carrying out information conversion processing on the received advertisement information acquisition request to obtain a second advertisement information acquisition request, wherein the second advertisement information acquisition request is an advertisement information acquisition request in a standard message format;
The first advertisement information acquisition unit is used for sending the second advertisement information acquisition request to a business micro-service platform and receiving first advertisement content information fed back by the business micro-service platform;
The second advertisement information sending unit is used for carrying out information conversion processing on the received first advertisement content information to obtain second advertisement content information and sending the second advertisement content information to the multimedia equipment, wherein the formats of the second advertisement content information and the first advertisement information acquisition request message are the same;
The information conversion unit is further used for analyzing and processing the received first advertisement information acquisition request and determining the type of the multimedia equipment to which the first advertisement information acquisition request belongs;
According to the type of the multimedia equipment to which the first advertisement information acquisition request belongs, distributing the first advertisement information acquisition request to corresponding communication micro-service sub-clusters, wherein each type of multimedia equipment corresponds to one communication micro-service sub-cluster;
The communication micro-service sub-cluster is used for sending the first advertisement information acquisition request to a data processing micro-service and receiving the second advertisement information acquisition request fed back by the data processing micro-service, wherein the data processing micro-service is used for converting the first advertisement information acquisition request into a second advertisement information acquisition request in a standard message format so as to be used for communication transmission in a micro-service system;
The device is further used for storing the second advertisement information acquisition request into a message database micro-service in a database micro-service, and when the same request of the same type of multimedia equipment is received, the second advertisement information acquisition request in the corresponding message database micro-service is called.
6. An electronic device, comprising:
a memory and one or more processors;
The memory is used for storing one or more programs;
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-4.
7. A storage medium containing computer executable instructions which, when executed by a computer processor, are for performing the method of any of claims 1-4.
CN202111619057.6A 2021-12-27 2021-12-27 A method and device for publishing advertising information based on microservices Active CN114282949B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111619057.6A CN114282949B (en) 2021-12-27 2021-12-27 A method and device for publishing advertising information based on microservices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111619057.6A CN114282949B (en) 2021-12-27 2021-12-27 A method and device for publishing advertising information based on microservices

Publications (2)

Publication Number Publication Date
CN114282949A CN114282949A (en) 2022-04-05
CN114282949B true CN114282949B (en) 2025-02-18

Family

ID=80876585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111619057.6A Active CN114282949B (en) 2021-12-27 2021-12-27 A method and device for publishing advertising information based on microservices

Country Status (1)

Country Link
CN (1) CN114282949B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116795907B (en) * 2022-06-10 2026-01-23 中移(苏州)软件技术有限公司 ETL data processing method, ETL data processing device, electronic equipment and computer storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100104700A (en) * 2009-03-18 2010-09-29 (주)다인시스 A system for remote monitoring advertisement display state and methode thereof
CN113469740A (en) * 2021-06-28 2021-10-01 康键信息技术(深圳)有限公司 Advertisement data acquisition method, device, equipment and storage medium

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6782240B1 (en) * 2000-04-27 2004-08-24 Joseph A Tabe Megatel communication information system
US7793003B2 (en) * 2003-01-31 2010-09-07 Qwest Communications International Inc Systems and methods for integrating microservers with a network interface device
KR100744286B1 (en) * 2005-07-11 2007-07-30 삼성전자주식회사 Digital multimedia broadcasting advertising data transmission method and system
US20110067066A1 (en) * 2009-09-14 2011-03-17 Barton James M Multifunction Multimedia Device
KR20130089900A (en) * 2012-01-10 2013-08-13 주식회사 더블유코퍼레이션 Method for simultaneously processing advertisement material at internet mobile device
KR101638315B1 (en) * 2014-07-21 2016-07-20 주식회사 이루온 System and method for providing advertisement based on web using wifi network
US9894154B2 (en) * 2014-10-11 2018-02-13 Papaya Mobile, Inc. Data synchronization methods and systems
CN106210810B (en) * 2016-08-16 2020-06-05 王晚丁 Advertisement information processing method and device
US11019157B2 (en) * 2019-03-06 2021-05-25 At&T Intellectual Property I, L.P. Connectionless service and other services for devices using microservices in 5G or other next generation communication systems
CN110532101B (en) * 2019-09-03 2022-05-03 中国联合网络通信集团有限公司 Microservice cluster deployment system and method
CN112231565A (en) * 2020-10-16 2021-01-15 杭州推啊网络科技有限公司 H5 advertisement information configuration and transmission method and system
CN113487370A (en) * 2021-07-29 2021-10-08 广州数励科技有限公司 Advertisement putting method and device, computer equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100104700A (en) * 2009-03-18 2010-09-29 (주)다인시스 A system for remote monitoring advertisement display state and methode thereof
CN113469740A (en) * 2021-06-28 2021-10-01 康键信息技术(深圳)有限公司 Advertisement data acquisition method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN114282949A (en) 2022-04-05

Similar Documents

Publication Publication Date Title
CN110413418B (en) Cache synchronization device and method, cache synchronization system and electronic equipment
CN108446335B (en) Heterogeneous system data extraction and unified external data exchange method based on database
WO2021114816A1 (en) Method and device for message processing based on robot operating system, and computer device
CN104639654A (en) Integrated access system and integrated access method for mass electricity information acquisition terminals
CN102868736A (en) Design and implementation method of cloud computing monitoring framework, and cloud computing processing equipment
CN118353597B (en) A blockchain data management system, method, device and storage medium
CN114615096A (en) Telecommunication charging method, system and related equipment based on event-driven architecture
CN116932168A (en) Heterogeneous core scheduling method and device, storage medium and electronic equipment
CN114282949B (en) A method and device for publishing advertising information based on microservices
CN117062185A (en) Federal learning node discovery and registration method and device, storage medium and equipment
CN105530289A (en) A platform and method for seamlessly integrating heterogeneous business systems of affiliated airports
CN112883110A (en) Terminal big data distribution method, storage medium and system based on NIFI
CN114490128A (en) Data storage method and device under remote multi-active architecture
CN112542002A (en) Car renting system control method and device
CN109039427B (en) Ship monitoring management device
CN116708501A (en) An information processing system, method, device and product
CN116886782A (en) Internet of things platform protocol adaptation method, device and medium
CN116450189A (en) System, processing method, medium and equipment for software integration
CN112995095B (en) Data processing method, device and computer-readable storage medium
CN114448981A (en) Resource scheduling system based on family cloud
CN114760348A (en) Business processing method and device, storage medium and electronic device
CN119854095B (en) Information transmission method and device for distributed joint simulation system
CN112383904A (en) Pair-free quick peripheral calling method and device
CN116112375B (en) Avionics embedded/non-embedded joint simulation architecture and design method thereof
CN116546117B (en) Method and system for analyzing MQTT protocol of intelligent fusion terminal

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 605-3, supporting service building, No. 8, Kesheng Road, Guangzhou private science and Technology Park, No. 1633 Beitai Road, Baiyun District, Guangzhou City, Guangdong Province

Applicant after: GUANGZHOU TONGDA AUTO ELECTRIC Co.,Ltd.

Applicant after: Guangzhou Huixing Information Technology Co.,Ltd.

Address before: Room 605-3, supporting service building, No. 8, Kesheng Road, Guangzhou private science and Technology Park, No. 1633 Beitai Road, Baiyun District, Guangzhou City, Guangdong Province

Applicant before: GUANGZHOU TONGDA AUTO ELECTRIC Co.,Ltd.

Applicant before: Guangzhou Huixing Technology Co.,Ltd.

Address after: Room 605-3, supporting service building, No. 8, Kesheng Road, Guangzhou private science and Technology Park, No. 1633 Beitai Road, Baiyun District, Guangzhou City, Guangdong Province

Applicant after: GUANGZHOU TONGDA AUTO ELECTRIC Co.,Ltd.

Applicant after: Guangzhou Huixing Technology Co.,Ltd.

Address before: Room 605-3, supporting service building, No. 8, Kesheng Road, Guangzhou private science and Technology Park, No. 1633 Beitai Road, Baiyun District, Guangzhou City, Guangdong Province

Applicant before: GUANGZHOU TONGDA AUTO ELECTRIC Co.,Ltd.

Applicant before: Guangzhou bus Online Information Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant