CN114282949A - Method and device - Google Patents

Method and device Download PDF

Info

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

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a method and a device for publishing advertisement information based on micro-service, which receive a first request for obtaining advertisement information 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 service micro-service platform, and receiving first advertisement content information fed back by the service micro-service platform; and 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 equipment, wherein the second advertisement content information has the same format as the first advertisement information acquisition request message, so that the problem of inapplicability of single application for advertisement information release can be solved, and the data processing efficiency of advertisement information release is improved.

Description

Method and device
Technical Field
The embodiment of the application relates to the technical field of micro services, in particular to a method and a device for publishing advertisement information based on micro services.
Background
With the increase of population and the development of transportation, public transport such as public transport and subway becomes an important travel tool for people. The advertisement information is released on the public transport means, so that the method has the advantages of high cognition rate and receiving, long advertisement action time, strong flexibility and the like, and the advertisement information release becomes an essential media spreading form on the public transport means.
The traditional advertisement information issuing system mainly realizes the issuing of advertisements, the management of equipment and the state monitoring by providing a free information issuing system by hardware manufacturers, so that when the functions or information of the system need to be expanded, software upgrading needs to be carried out by depending on original manufacturers, a plurality of manufacturer systems cannot be used universally, a plurality of sets of systems need to be maintained, the system data is independent, equipment with the same functions of different manufacturer mainboards cannot be managed and maintained in a unified mode, and the operation and maintenance cost is increased.
The multimedia terminal devices of various manufacturers are accessed into the system, the connection of the single application is traditionally performed for centralized processing, but with the increase of the number and the richness of the types of the multimedia terminals, the whole single application is more and more bloated due to the increase of internal processing codes in the traditional single application architecture, the complexity of the system is not controllable, and the deployment time and the deployment difficulty are increased.
Disclosure of Invention
The embodiment of the application provides an advertisement information publishing method and device based on micro service, which can solve the problem that a single application is not suitable for publishing advertisement information and improve the data processing efficiency of advertisement information publishing.
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 service micro-service platform, and receiving first advertisement content information fed back by the service micro-service platform;
and 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 equipment, wherein the second advertisement content information has the same format as the first advertisement information acquisition request message.
Further, the information conversion processing is performed on the received advertisement information acquisition request to obtain a second advertisement information acquisition request, which specifically includes:
analyzing and processing a received first advertisement information acquisition request, and determining the type of 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 determined multimedia equipment type to which the first advertisement information acquisition request belongs;
and sending the first advertisement information obtaining request to a data processing micro-service through the communication micro-service subset and receiving the second advertisement information obtaining request fed back by the data processing micro-service.
Further, the analyzing and processing the received first advertisement information obtaining request to determine the multimedia device type to which the first advertisement information obtaining request belongs specifically includes:
and analyzing and processing according to the port type and the route type of the received first advertisement information acquisition request and the 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 advertisement information obtaining request to a 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 microservice in a service microservice platform;
and receiving first advertisement content information acquired by the advertisement information micro-service according to the second advertisement information acquisition request.
Further, the data processing microservice 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 enable the microservice system to perform communication transmission therein.
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 through the communication micro service subset and receiving second advertisement content information fed back by the data processing micro service, wherein the first advertisement content information is advertisement content information in a standard message format.
Further, the method comprises:
and storing the second advertisement information acquisition request to a message database micro-service in a database micro-service.
In a second aspect, an embodiment of the present application provides a micro service-based advertisement information publishing device, 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, and 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 service micro-service platform and receiving first advertisement content information fed back by the service micro-service platform;
and the second advertisement information sending unit is used for 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 equipment, wherein the second advertisement content information has the same format as the first advertisement information acquisition request message.
Further, the information conversion unit 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 determined multimedia equipment type to which the first advertisement information acquisition request belongs;
and sending the first advertisement information obtaining request to a data processing micro-service through the communication micro-service subset and receiving the second advertisement information obtaining request fed back by the data processing micro-service.
Further, the information conversion unit is further configured to perform analysis processing according to the port type and the route type of the received first advertisement information obtaining request and the message information in the first advertisement information obtaining request, and determine the type of the multimedia device to which the first advertisement information obtaining 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 service microservice platform;
and receiving first advertisement content information acquired by the advertisement information micro-service according to the second advertisement information acquisition request.
Further, the data processing microservice 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 enable the microservice system to perform communication transmission therein.
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 through the communication micro service subset and receiving second advertisement content information fed back by the data processing micro service, 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 microservice in a database microservice.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method for micro service-based advertising information distribution as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a storage medium containing computer-executable instructions for performing the method for micro-service based advertising information distribution as described in the first aspect when executed by a computer processor.
According to the method and the device for acquiring the advertisement information, a second request for acquiring the advertisement information in a standard message format is obtained by performing information conversion processing on a first request for acquiring the advertisement information sent by a receiving multimedia device, the second request for acquiring the advertisement information is sent to a service micro-service platform so as to acquire 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 request for acquiring the advertisement information, 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 in the standard message format, so that the information with the standard message format is transmitted in the micro service system, the uniform format of the information transmitted in 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, the returned advertisement content information is converted into the second advertisement content information with the same message format as the original first advertisement information acquisition request, 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 micro-service architecture can split the communication service, the data information conversion service and the service function service into the communication gateway micro-service, the data processing micro-service, the service micro-service platform and the like, so that each micro-service can independently run and manage, the code processing pressure in the system is relieved, the application requirements of the existing distributed multimedia advertisement information release are better met, the data transmission efficiency of multimedia equipment and the system is improved, and the running efficiency of a 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 connection diagram of micro service devices according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a connection of a portion of microservice devices in an embodiment of the present application;
fig. 4 is a schematic structural diagram of an advertisement information distribution 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, specific embodiments of the present application will be described in detail 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 of the application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The method and the device for publishing the advertisement information based on the micro service aim at receiving a first request for obtaining the advertisement information sent by a multimedia device and converting the first request into a second request for obtaining the advertisement information in a standard message format when the advertisement content information is requested to be obtained, receiving first advertisement content information fed back by a service micro service platform according to the second request for obtaining the advertisement information, converting the first advertisement content information into second advertisement content information in the same format as the first request for obtaining the advertisement information, and sending the second advertisement content information to the multimedia device. Compared with the traditional method for requesting to acquire the advertisement content, the method generally uses the single application to communicate with the multimedia devices, and as the number of the multimedia devices is increased, the number of internal processing codes of the traditional single application architecture is increased due to the increase of the number of the multimedia devices for communication, so that the interior of the single application is more and more bloated, and the deployment time and difficulty are further increased. Based on the above, the advertisement information publishing method based on the micro service is provided to solve the problem of poor data transmission efficiency caused by single application in the existing advertisement content information acquisition.
The first embodiment is as follows:
fig. 1 is a flowchart of an advertisement information distribution method based on a micro service according to an embodiment of the present application, where the advertisement information distribution method based on a micro service provided in this embodiment may be executed by an advertisement information distribution device based on a micro service, the advertisement information distribution device based on a micro service may be implemented in a software and/or hardware manner, and the advertisement information distribution device based on a micro service may be formed by two or more physical entities or may be formed by one physical entity. Generally, the advertisement information distribution device based on the micro service can be a terminal device, such as a computer, a tablet or a mobile phone.
The following description will be given taking a computer device as an example of a subject that executes the advertisement information distribution method based on the micro service. Referring to fig. 1, the method for publishing advertisement information based on micro service specifically includes:
s101, receiving a first advertisement information acquisition request sent by the multimedia equipment.
The public transportation equipment, such as bus equipment, is provided with multimedia equipment for issuing corresponding advertisement information. And the manufacturers corresponding to different multimedia devices are different because the message formats in the information sent by 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 side. The server uses a micro-service architecture, and a communication gateway micro-service is taken as an example for description. The method comprises the steps that a first advertisement information acquisition request sent by multimedia equipment is received through communication gateway micro-service, the first advertisement information acquisition request has a message format of the multimedia equipment, and the message format of the multimedia equipment 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, 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.
Referring to fig. 2 and fig. 3, analyzing the received first advertisement information acquisition request, and determining the type of the multimedia device to which the first advertisement information acquisition request belongs according to the port type and the route type of the received first advertisement information acquisition request and the message information in the first advertisement information acquisition request. According to the type of the multimedia equipment to which the first advertisement information obtaining request belongs, the first advertisement information obtaining request is distributed to the corresponding communication micro-service sub-cluster, the first advertisement information obtaining request is sent to the data processing micro-service through the communication micro-service sub-cluster, and the second advertisement information obtaining request fed back by the data processing micro-service is received.
Because the port and the route through which the first advertisement information acquisition request sent by different multimedia devices passes are different, and the message content in the first advertisement information acquisition request is also different, the type of the multimedia device sending the first advertisement information acquisition request can be judged according to the type of the port or the route through which the first advertisement information acquisition request is received, or the type of the multimedia device sending the first advertisement information acquisition request, such as an LCD screen device, can be judged according to the message content in the first advertisement information acquisition request. After the multimedia device type sending the first advertisement information obtaining request is determined, the first advertisement information obtaining request is distributed to a corresponding communication micro-service sub-cluster, such as an LCD screen communication micro-service sub-cluster. The communication micro-service sub-cluster is a sub-micro service in the communication network optical micro-service, each type of multimedia equipment corresponds to one communication micro-service sub-cluster, for example, multimedia equipment LCD screen equipment corresponds to an 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 subset. And 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 carry out communication transmission in the micro-service system. The data processing microservice performs data acquisition, data cleaning and data conversion for a first request to obtain advertising information. And the communication micro-service sub-cluster receives the second advertisement information acquisition request fed back by the data processing micro-service.
Illustratively, the second advertisement information acquisition request is stored in a message database microservice in a database microservice. And when the same request of the multimedia equipment of the same type is subsequently received, the second advertisement information acquisition request in the corresponding message database micro-service can be directly called, or when the same request of the multimedia equipment of the same type is subsequently received, the message format conversion is carried out again.
S103, sending the second advertisement information acquisition 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 service 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 being the advertisement information acquisition request in the standard message format, the transmission in the micro-service architecture can be realized, the information transmission in the uniform format is realized, the transmission efficiency is improved, and the data processing speed is improved. And the communication micro-service sub-cluster sends the second advertisement information acquisition request to a service micro-service platform, the service micro-service platform identifies information in the second advertisement information acquisition request, determines to distribute the second advertisement information acquisition 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 advertisement information acquisition 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 micro service is only applied to the advertisement information in the embodiment, and whether other micro services are used does not influence the operating speed of the advertisement micro service. Therefore, compared with the traditional single application, the micro-service structure has higher data processing speed and higher working efficiency.
S104, 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 equipment, wherein the second advertisement content information has the same format as the first advertisement information acquisition request message.
Distributing the received first advertisement content information to the communication micro-service sub-cluster, sending the first advertisement content information to a data processing micro-service through the communication micro-service sub-cluster, and receiving second advertisement content information fed back by the data processing micro-service, wherein the first advertisement content information is advertisement content information in a standard message format, and the second advertisement content information is in the same format as a first advertisement information acquisition request message. The first advertisement content information in the standard message format is converted into the second advertisement content information in the same format as the first advertisement information obtaining request message, and the second advertisement content information is sent to the multimedia equipment. The second advertisement content information received by the multimedia device has the same format as 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 data information transmission failure caused by different message formats, improving the effectiveness of data transmission and improving the data transmission efficiency.
In an embodiment, referring to fig. 2 and 3, the multimedia device is an LCD screen device as an example. The method comprises the steps that a first advertisement information acquisition request with a self-contained message format is sent to a communication gateway micro-service in a micro-service architecture through an LCD screen device, the first advertisement information acquisition request is received by the pass gateway micro-service, the multimedia device sending the first advertisement information acquisition request is determined to be the LCD screen device according to the fact that the first advertisement information acquisition request sent by the LCD screen device is received, the port type, the route type or the message information of the first advertisement information acquisition request is analyzed, and therefore the first advertisement information acquisition request is distributed to an LCD screen communication micro-service sub-cluster in the pass gateway micro-service, and the first advertisement information acquisition request is sent to a data processing micro-service through the LCD screen communication micro-service sub-cluster. And 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 transmits the second advertisement information acquisition request in the standard message format to the advertisement information micro-service in the service micro-service platform through the LCD screen communication micro-service subset. 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. And 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 returns the second advertisement content information to the LCD screen communication micro-service sub-cluster. And the LCD screen communication micro-service sub-cluster sends the second advertisement content information with the same message format as the first advertisement information acquisition 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 as the LCD screen communication micro-service sub-cluster.
In an embodiment, referring to fig. 2 and fig. 3, the microservice system further includes a management and control platform WEB, a configuration center, and a data cluster microservice. The configuration center comprises a dynamic configuration microservice and a registration center cluster microservice, and the dynamic configuration microservice performs configuration registration of the service platform microservice. The data cluster micro-service comprises a Redis database micro-service, a MySQL database micro-service, a Mongobb database micro-service, a message database micro-service, an air pressure database micro-service and the like.
The method comprises the steps of carrying out information conversion processing on a first advertisement information obtaining request sent by a receiving multimedia device to obtain a second advertisement information obtaining request in a standard message format, sending the second advertisement information obtaining request to a service micro-service platform to obtain first advertisement information fed back by the service micro-service platform, converting the first advertisement information into second advertisement content information in the same form as the first advertisement information obtaining request message, and sending the second advertisement content information to the multimedia device. By adopting the technical means, the first advertisement information acquisition request is converted into the second advertisement information acquisition request in the standard message format, so that the information with the standard message format is transmitted in the micro service system, the uniform format of the information transmitted in 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, the returned advertisement content information is converted into the second advertisement content information with the same message format as the original first advertisement information acquisition request, 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 micro-service architecture can split the communication service, the data information conversion service and the service function service into the communication gateway micro-service, the data processing micro-service, the service micro-service platform and the like, so that each micro-service can independently run and manage, the code processing pressure in the system is relieved, the application requirements of the existing distributed multimedia advertisement information release are better met, the data transmission efficiency of multimedia equipment and the system is improved, and the running efficiency of a micro-service system is improved.
Example two:
on the basis of the above embodiments, fig. 4 is a schematic structural diagram of an advertisement information distribution 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 micro service provided in this 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.
The request information receiving unit 21 is configured to receive a first advertisement information obtaining request sent by a 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;
the first advertisement information obtaining unit 23 is configured to send the second advertisement information obtaining request to a service microservice platform, and receive first advertisement content information fed back by the service microservice 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 has the same format as the first advertisement information obtaining request message.
Further, the information conversion unit 22 is further configured to analyze and process the received first advertisement information obtaining request, and determine a multimedia device type to which the first advertisement information obtaining request belongs;
distributing the first advertisement information acquisition request to a corresponding communication micro-service sub-cluster according to the determined multimedia equipment type to which the first advertisement information acquisition request belongs;
and sending the first advertisement information obtaining request to a data processing micro-service through the communication micro-service subset and receiving the second advertisement information obtaining request fed back by the data processing micro-service.
Further, the information conversion unit 22 is further configured to perform analysis processing according to the port type and the route type of the received first advertisement information obtaining request and the message information in the first advertisement information obtaining request, and determine the type of the multimedia device 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 microservice in a service microservice platform;
and receiving first advertisement content information acquired by the advertisement information micro-service according to the second advertisement information acquisition request.
Further, the data processing microservice 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 enable the microservice system to perform communication transmission therein.
Further, the second advertisement information sending unit 24 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 through the communication micro service subset and receiving second advertisement content information fed back by the data processing micro service, 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 microservice in a database microservice.
In one embodiment, the apparatus comprises a microservice system comprising a communication gateway microservice, a communication microservice sub-cluster, a data processing microservice, a business platform microservice, an advertising information microservice;
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, and 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 service micro-service platform and receiving first advertisement content information fed back by the service micro-service platform;
and the communication gateway micro-service is used for 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 equipment, wherein the second advertisement content information has the same format as the first advertisement information acquisition request message.
Further, the communication gateway microservice 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 determined multimedia equipment type to which the first advertisement information acquisition request belongs;
and sending the first advertisement information obtaining request to a data processing micro-service through the communication micro-service subset and receiving the second advertisement information obtaining request fed back by the data processing micro-service.
Further, the communication gateway microservice is further configured to perform analysis processing according to the port type and the routing type of the received first advertisement information acquisition request and the message information in the first advertisement information acquisition request, and determine the type of the multimedia device to which the first advertisement information acquisition request belongs.
Further, the communication micro-service sub-cluster is configured to send the second advertisement information obtaining request to an advertisement information micro-service in a service micro-service platform;
and receiving first advertisement content information acquired by the advertisement information micro-service according to the second advertisement information acquisition request.
Further, the data processing microservice 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 enable the microservice system to perform communication transmission therein.
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 through the communication micro service subset and receiving second advertisement content information fed back by the data processing micro service, 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 microservice in a database microservice.
The method comprises the steps of carrying out information conversion processing on a first advertisement information obtaining request sent by a receiving multimedia device to obtain a second advertisement information obtaining request in a standard message format, sending the second advertisement information obtaining request to a service micro-service platform to obtain first advertisement information fed back by the service micro-service platform, converting the first advertisement information into second advertisement content information in the same form as the first advertisement information obtaining request message, and sending the second advertisement content information to the multimedia device. By adopting the technical means, the first advertisement information acquisition request is converted into the second advertisement information acquisition request in the standard message format, so that the information with the standard message format is transmitted in the micro service system, the uniform format of the information transmitted in 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, the returned advertisement content information is converted into the second advertisement content information with the same message format as the original first advertisement information acquisition request, 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 micro-service architecture can split the communication service, the data information conversion service and the service function service into the communication gateway micro-service, the data processing micro-service, the service micro-service platform and the like, so that each micro-service can independently run and manage, the code processing pressure in the system is relieved, the application requirements of the existing distributed multimedia advertisement information release are better met, the data transmission efficiency of multimedia equipment and the system is improved, and the running efficiency of a micro-service system is improved.
The advertisement information publishing device based on the micro service provided by the second embodiment of the application can be used for executing the advertisement information publishing method based on the micro service provided by the first embodiment of the application, and has corresponding functions and beneficial effects.
Example three:
an embodiment of the present application provides an electronic device, and with reference to fig. 5, the electronic device includes: a processor 31, a memory 32, a communication module 33, an input device 34, and an output device 35. 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 can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the advertisement information distribution method based on the micro-service according to any embodiment of the present application (for example, a request information receiving unit, an information converting unit, a first advertisement information acquiring unit, and a second advertisement information transmitting unit in the advertisement information distribution device based on the micro-service). The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system and an application program required by at least one function; the storage data area may store data created according to use of the device, and the like. Further, 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 located remotely from the processor, and these remote memories may be connected to the device over 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 and data processing of the device by running software programs, instructions and modules stored in the memory, that is, implements the above-described advertisement information distribution method based on the micro service.
The input device 34 may be used to receive entered numeric or character information and to generate key signal inputs relating to user settings and function controls of the apparatus. The output device 35 may include a display device such as a display screen.
The electronic device provided by the above can be used to execute the advertisement information publishing method based on the micro service provided by the first embodiment, and has corresponding functions and beneficial effects.
Example four:
embodiments of the present application also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for publishing advertisement information based on a micro service, the method comprising: 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 service micro-service platform, and receiving first advertisement content information fed back by the service micro-service platform; and 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 equipment, wherein the second advertisement content information has the same format as the first advertisement information acquisition request message.
Storage medium-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 different second 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) that are executable by one or more processors.
Of course, the storage medium provided in the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the method for publishing advertisement information based on micro service as described above, and may also perform related operations in the method for publishing advertisement information based on micro service as provided in any embodiment of the present application.
The advertisement information distribution device, the storage medium, and the electronic device based on micro service provided in the above embodiments may execute the advertisement information distribution method based on micro service provided in any embodiment of the present application, and reference may be made to the advertisement information distribution method based on micro service provided in any embodiment of the present application without detailed technical details described in the above embodiments.
The foregoing is considered as illustrative of the preferred embodiments of the invention and the technical principles employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.

Claims (10)

1. A method for publishing advertisement information based on micro service is characterized by comprising the following steps:
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 service micro-service platform, and receiving first advertisement content information fed back by the service micro-service platform;
and 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 equipment, wherein the second advertisement content information has the same format as the first advertisement information acquisition request message.
2. The method for publishing advertisement information based on micro-services according to claim 1, wherein the step of performing information conversion processing on the received request for obtaining advertisement information to obtain a second request for obtaining advertisement information specifically comprises:
analyzing and processing a received first advertisement information acquisition request, and determining the type of 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 determined multimedia equipment type to which the first advertisement information acquisition request belongs;
and sending the first advertisement information obtaining request to a data processing micro-service through the communication micro-service subset and receiving the second advertisement information obtaining request fed back by the data processing micro-service.
3. The method for issuing advertising information based on microservices, according to claim 2, wherein the analyzing process is performed to the received first request for obtaining advertising information to determine the multimedia device type to which the first request for obtaining advertising information belongs, specifically:
and analyzing and processing according to the port type and the route type of the received first advertisement information acquisition request and the 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.
4. The method for publishing advertisement information based on micro-service according to claim 2, wherein the sending the second request for obtaining advertisement information to a service micro-service platform and receiving 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 microservice in a service microservice platform;
and receiving first advertisement content information acquired by the advertisement information micro-service according to the second advertisement information acquisition request.
5. The method of claim 2, wherein the data processing microservice 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 microservice system to perform communication transmission therein.
6. The method for publishing advertisement information based on micro-services according to claim 2, wherein the step of 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 specifically comprises:
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 through the communication micro service subset and receiving second advertisement content information fed back by the data processing micro service, wherein the first advertisement content information is advertisement content information in a standard message format.
7. The method of claim 6, wherein the method comprises:
and storing the second advertisement information acquisition request to a message database micro-service in a database micro-service.
8. An advertisement information distribution apparatus based on a micro service, comprising:
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, and 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 service micro-service platform and receiving first advertisement content information fed back by the service micro-service platform;
and the second advertisement information sending unit is used for 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 equipment, wherein the second advertisement content information has the same format as the first advertisement information acquisition request message.
9. An electronic device, comprising:
a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
10. A storage medium containing computer-executable instructions for performing the method of any one of claims 1-7 when executed by a computer processor.
CN202111619057.6A 2021-12-27 2021-12-27 Method and device Pending CN114282949A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111619057.6A CN114282949A (en) 2021-12-27 2021-12-27 Method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111619057.6A CN114282949A (en) 2021-12-27 2021-12-27 Method and device

Publications (1)

Publication Number Publication Date
CN114282949A true CN114282949A (en) 2022-04-05

Family

ID=80876585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111619057.6A Pending CN114282949A (en) 2021-12-27 2021-12-27 Method and device

Country Status (1)

Country Link
CN (1) CN114282949A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040177163A1 (en) * 2003-01-31 2004-09-09 Qwest Communications International Inc. Systems and methods for integrating microservers with a network interface device
KR20100104700A (en) * 2009-03-18 2010-09-29 (주)다인시스 A system for remote monitoring advertisement display state and methode thereof
KR20130089900A (en) * 2012-01-10 2013-08-13 주식회사 더블유코퍼레이션 Method for simultaneously processing advertisement material at internet mobile device
WO2016013718A1 (en) * 2014-07-21 2016-01-28 주식회사 이루온 System and method for providing web-based advertisement by using wi-fi network
US20160105503A1 (en) * 2014-10-11 2016-04-14 Papaya Mobile, Inc. Data Synchronization Methods and Systems
CN106210810A (en) * 2016-08-16 2016-12-07 王晚丁 A kind of advertisement information processing method and device
CN110532101A (en) * 2019-09-03 2019-12-03 中国联合网络通信集团有限公司 The deployment system and method for micro services cluster
US20200287977A1 (en) * 2019-03-06 2020-09-10 At&T Intellectual Property I, L.P. Connectionless service and other services for devices using microservices in 5g or other next generation communication systems
CN112231565A (en) * 2020-10-16 2021-01-15 杭州推啊网络科技有限公司 H5 advertisement information configuration and transmission method and system
CN113469740A (en) * 2021-06-28 2021-10-01 康键信息技术(深圳)有限公司 Advertisement data acquisition method, device, equipment and storage medium
CN113487370A (en) * 2021-07-29 2021-10-08 广州数励科技有限公司 Advertisement putting method and device, computer equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040177163A1 (en) * 2003-01-31 2004-09-09 Qwest Communications International Inc. Systems and methods for integrating microservers with a network interface device
KR20100104700A (en) * 2009-03-18 2010-09-29 (주)다인시스 A system for remote monitoring advertisement display state and methode thereof
KR20130089900A (en) * 2012-01-10 2013-08-13 주식회사 더블유코퍼레이션 Method for simultaneously processing advertisement material at internet mobile device
WO2016013718A1 (en) * 2014-07-21 2016-01-28 주식회사 이루온 System and method for providing web-based advertisement by using wi-fi network
US20160105503A1 (en) * 2014-10-11 2016-04-14 Papaya Mobile, Inc. Data Synchronization Methods and Systems
CN106210810A (en) * 2016-08-16 2016-12-07 王晚丁 A kind of advertisement information processing method and device
US20200287977A1 (en) * 2019-03-06 2020-09-10 At&T Intellectual Property I, L.P. Connectionless service and other services for devices using microservices in 5g or other next generation communication systems
CN110532101A (en) * 2019-09-03 2019-12-03 中国联合网络通信集团有限公司 The deployment system and method for micro services cluster
CN112231565A (en) * 2020-10-16 2021-01-15 杭州推啊网络科技有限公司 H5 advertisement information configuration and transmission method and system
CN113469740A (en) * 2021-06-28 2021-10-01 康键信息技术(深圳)有限公司 Advertisement data acquisition method, device, equipment and storage medium
CN113487370A (en) * 2021-07-29 2021-10-08 广州数励科技有限公司 Advertisement putting method and device, computer equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
佚名: "智能媒体微服务划分", pages 1, Retrieved from the Internet <URL:https://microservice.cuc.edu.cn/2021/0811/c7205a185560/page.htm> *
张明森;黄宏敏;詹瑞典;: "基于Spring Cloud微服务架构的广告系统的设计与实现", 电子世界, no. 08, 30 April 2020 (2020-04-30) *

Similar Documents

Publication Publication Date Title
CN102902536B (en) A kind of Internet of Things computer system
CN101587639B (en) City bus information management and dispatch decision support system based on network
CN112511218B (en) Satellite ground station monitoring system based on microservice
CN110413418B (en) Cache synchronization device and method, cache synchronization system and electronic equipment
CN114615096B (en) Event-driven architecture-based telecommunication charging method, system and related equipment
CN105183299A (en) Human-computer interface service processing system and method
CN103442032A (en) Vehicle navigation method and system based on cloud service
CN114339719B (en) DPI data acquisition method and related device
CN115002681A (en) Computing power sensing network and using method and storage medium thereof
CN110769018A (en) Message pushing method and device
CN114448686B (en) Cross-network communication device and method based on micro-service
KR20160092672A (en) Image processing system and device of meteorological and environmental satellite, and method using the same
CN114513552A (en) Data processing method, device, equipment and storage medium
CN114282949A (en) Method and device
CN112542002A (en) Car renting system control method and device
CN114979144B (en) Cloud edge communication method and device and electronic equipment
CN112236979A (en) Data Sample Template (DST) management for enabling fog-based data processing
CN102904739A (en) Method for realizing event transmission and common information model (CIM) server
CN115314896A (en) Computing power cooperation and transaction method based on communication network
CN109274715A (en) The platform resource management system of vehicle-mounted multi-channel communication systems
CN112583927B (en) Service management system based on airborne embedded real-time operating system
CN112883110A (en) Terminal big data distribution method, storage medium and system based on NIFI
CN107911642A (en) A kind of cable television network management system
CN112416980A (en) Data service processing method, device and equipment
CN102624766B (en) System integration method and apparatus thereof

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

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.

CB02 Change of applicant information