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.
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.