CN114070813B - Method for broadcasting multimedia screen information - Google Patents

Method for broadcasting multimedia screen information Download PDF

Info

Publication number
CN114070813B
CN114070813B CN202111285538.8A CN202111285538A CN114070813B CN 114070813 B CN114070813 B CN 114070813B CN 202111285538 A CN202111285538 A CN 202111285538A CN 114070813 B CN114070813 B CN 114070813B
Authority
CN
China
Prior art keywords
node
message
websocket
module
master
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111285538.8A
Other languages
Chinese (zh)
Other versions
CN114070813A (en
Inventor
李梁
廖海波
彭鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Haici Network Technology Co ltd
Original Assignee
Guangzhou Haici Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Haici Network Technology Co ltd filed Critical Guangzhou Haici Network Technology Co ltd
Priority to CN202111285538.8A priority Critical patent/CN114070813B/en
Publication of CN114070813A publication Critical patent/CN114070813A/en
Application granted granted Critical
Publication of CN114070813B publication Critical patent/CN114070813B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the technical field of information real-time display, and discloses a method for broadcasting multimedia screen information, which specifically comprises the following steps: s1: an administrator sends a message to be displayed, the message is forwarded to a main node through a nginx, and the main websocket node fast response is used for message integration; s2: the master websocket node sends the message to a data large screen which establishes long connection with the master websocket node, and the data large screen displays the message sent by an administrator; s3: and the master websocket node sends the message to the rock MQ module in the form of sequential message, and the rock MQ module backups the received message and issues the message to the slave websocket node. According to the invention, the messages are broadcasted by the rock MQ module, so that each slave node can receive the messages pushed by the rock MQ module in a distributed scene, and then each slave node sends the messages broadcasted by the rock MQ module to the data large screen, and the data consistency of each data large screen is ensured.

Description

Method for broadcasting multimedia screen information
Technical Field
The invention relates to the technical field of information real-time display, in particular to a method for broadcasting multimedia screen information.
Background
The bank usually has a large data screen (a display screen for displaying some data information, and in practical cases, the screen has a plurality of blocks) for displaying the transaction total amount of the current day, the transaction ranks of each branch, the month and quarter ranks, the transaction trend and other data, and the transaction conditions of the bank in a certain period are displayed, and the data of the large data screen, such as real-time transaction and other data, are refreshed in real time.
At present, the realization of the large data screen is to push messages in real time by utilizing websocket. websocket has an obvious defect that when an application program is distributed, the situation of message loss is caused, and the specific embodiment is that when a plurality of data large screens exist, the problem that the content displayed on each screen is inconsistent can occur.
Disclosure of Invention
The invention aims to provide a method for broadcasting multimedia screen information, which is characterized in that a rock MQ module broadcasts messages so as to ensure that each slave node can receive the messages pushed by the rock MQ module under a distributed scene and ensure the data consistency of each large data screen, and aims to solve the problem that the messages are lost when application programs are distributed in the prior art, and the problem that the content displayed on each screen is inconsistent when a plurality of large data screens exist is particularly reflected.
The invention is realized in such a way that the method for broadcasting the multimedia screen information comprises the following steps:
s1: an administrator sends a message to be displayed, the message is forwarded to a main node through a nginx, and the main websocket node fast response is used for message integration;
s2: the master websocket node sends the message to a data large screen which establishes long connection with the master websocket node, and the data large screen displays the message sent by an administrator;
s3: the master websocket node sends the message to a rock MQ module in the form of sequential message, and the rock MQ module backups after receiving the message and issues the message to the slave websocket node;
s4: and obtaining the message sent by the administrator from the websocket node, and sending the message sent by the administrator to a data large screen display with which a long link is established.
Further, the slave websocket nodes use a publish-subscribe mode of the rock mq module to ensure that each slave websocket node can receive a client request.
Further, when the rock MQ module publishes the subscription mode, the received messages are sequentially arranged, and the ordered messages are sequentially sent to each slave websocket node to ensure the order of the messages.
Further, the master websocket node is the same as the slave websocket node, and an administrator sends a message to the first websocket node, namely the master websocket node, and the master websocket node sends the message to a dockmq module, and the dockmq module publishes a subscription mode to the rest of slave websocket nodes.
Further, the nginx forwarding balances the message load issued by the administrator to a certain websocket node, and the loaded websocket node is called a master websocket node.
Further, after the master websocket node acquires all the data large screens connected with the master node, the master websocket node traverses the data large screen nodes and sequentially sends messages to each data large screen for message display.
Further, after traversing the data large screen nodes, the master websocket node sequentially sends the messages, and then sends the messages to the dockmq module for message backup sending.
Further, after the slave websocket node subscribes to the rock mq to acquire the message, acquiring all the data large screens connected with the slave node, and then traversing the data large screen nodes to sequentially send the message to each data large screen for message display.
Further, the backet flash memory module is arranged on the backetmq module, and a transfer port is arranged on the backetsflash module, and the transfer port realizes transfer of the message.
Furthermore, a network memory is further arranged on the backup flash memory module, the network memory backs up the message only to the cloud, and an administrator checks the message through cloud login.
Compared with the prior art, the method for broadcasting the multimedia screen information has the following beneficial effects:
1. the method comprises the steps that a rock MQ module is utilized to store information, a websocket application program does not directly send the information to a data large screen, the information is sent to the rock MQ module, the rock MQ module broadcasts the information, so that the information pushed by the rock MQ module can be received by each slave websocket node in a distributed scene, then the information broadcasted by the rock MQ module is sent to the data large screen by each slave websocket node, and the data consistency of each data large screen is guaranteed;
2. the application program of the large data screen supports distributed deployment by utilizing the master websocket node and the slave websocket node to convey messages, so that the performance load of the reconciliation system in operation is effectively reduced, the situation of process breakdown is avoided, the robustness of the system is improved, the performance of the large data screen is improved, the pushing of data is completed in real time more efficiently, the backup flash memory module is arranged by the rock MQ module, and the problem of message loss of the large data screen can be solved by utilizing the backup flash memory module for transfer and cloud storage.
Drawings
Fig. 1 is a schematic diagram of a method of broadcasting multimedia screen information according to the present invention;
fig. 2 is a flowchart of a master websocket node in the method for broadcasting multimedia screen information according to the present invention;
fig. 3 is a flowchart of a websocket node in the method for broadcasting multimedia screen information according to the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The implementation of the present invention will be described in detail below with reference to specific embodiments.
Referring to fig. 1-3, the method for broadcasting multimedia screen information specifically comprises the following steps:
s1: the administrator sends the message to be displayed, forwards the message to the main node through the nginx, the main websocket node fast responds to integrate the message, and the main websocket node can perform the next action after recognizing the nginx message;
s2: the master websocket node sends the message to a data large screen which establishes long connection with the master websocket node, and the data large screen displays the message sent by an administrator;
s3: the master websocket node sends the message to a rock MQ module in the form of sequential message, and the rock MQ module backups after receiving the message and issues the message to the slave websocket node;
s4: and obtaining the information sent by the administrator from the websocket nodes, sending the information sent by the administrator to a data large screen for displaying the information which establishes a long link with the information, broadcasting the information by a rock MQ module, so as to ensure that each slave websocket node can receive the information pushed by the rock MQ module under a distributed scene, and then each slave websocket node sends the information broadcasted by the rock MQ module to the data large screen, thereby ensuring the data consistency of each data large screen.
In this embodiment, the slave websocket nodes use the publish-subscribe mode of the rock mq module to ensure that each slave websocket node can receive a client request, and the rock mq module firstly sequentially arranges the received messages when publishing the subscribe mode, and then sequentially sends the arranged messages to each slave websocket node to ensure the order of the messages, and the master websocket node and the slave websocket node are used for transmitting the messages to enable an application program of a data large screen to support distributed deployment, so that the robustness of the system is improved, the performance of the data large screen is improved, and the pushing of the data is more efficiently completed in real time.
In this embodiment, the master websocket node is the same as the slave websocket node, the master websocket node sends a message to the first websocket node, the master websocket node sends the message to the lockmq module, the lockmq module issues a subscription mode to the rest of the slave websocket nodes, the nginx forwarding balances the message load issued by the master to a certain websocket node, at this time, the loaded websocket node is called the master websocket node, that is, in the system, each websocket node can become the master websocket node, in such a way that the websocket node looking for the first-entering websocket node of the message issued by the manager sends the message to the lockmq module, and the rest of the websocket nodes also monitor the information of the lockmq module in real time.
In this embodiment, referring to fig. 2, which is a flowchart of a master websocket node, after acquiring all data large screens connected with the master node, the master websocket node traverses the data large screen nodes to sequentially send messages to each data large screen for message display, and after traversing the data large screen nodes to sequentially send messages, the master websocket node sends the messages to a dockmq module for message backup and sending.
In this embodiment, referring to fig. 3, a flow chart of a slave websocket node is shown, after a slave websocket node subscribes to a lockmq to obtain all data large screens connected with the slave node, the slave node traverses the data large screen node and sequentially sends a message to each data large screen for message display.
In this embodiment, a backup flash memory module is provided on the dockmq module, a dump port is provided on the backup flash memory module, the dump port achieves the dump of the message, a network memory is further provided on the backup flash memory module, the network memory backs up the message only to the cloud, an administrator checks through the cloud login, the dockmq module is provided with the backup flash memory module, and the problem of the loss of the data large-screen message can be solved by utilizing the backup flash memory module for dump and cloud storage.
When the method and the device are used, an administrator issues messages, the websocket application program firstly sends the messages to the locktMQ module, the locktMQ module broadcasts the messages, so that under a distributed scene, each slave websocket node can receive the messages pushed by the locktMQ module, then each slave websocket node sends the messages broadcasted by the locktMQ module to a data large screen, the master websocket node and the slave websocket node are used for transmitting the messages to enable the application program of the data large screen to support distributed deployment, the performance load during operation of a reconciliation system is effectively reduced, the situation of process crash is avoided, the robustness of the system is improved, the performance of the data large screen is improved, data pushing is completed more efficiently and in real time, and the problem of message loss of the data large screen can be solved by using the backup flash memory module to transfer and cloud storage.
In this embodiment, the whole operation process may be controlled by a computer, and a PLC or the like, so as to implement automatic operation control, and in each operation link, signal feedback may be performed by setting a sensor, so as to implement sequential steps, which are conventional knowledge of current automatic control, and are not described in detail in this embodiment.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the invention.

Claims (8)

1. The method for broadcasting the multimedia screen information is characterized by comprising the following steps:
s1: an administrator sends a message to be displayed, the message is forwarded to a main node through a nginx, and the main websocket node quickly responds to integrate the message; the master websocket node is the same as the slave websocket node, an administrator sends a message to the first websocket node, namely the master websocket node, the master websocket node is sent to a dockMQ module, and the dockMQ module publishes a subscription mode to other slave websocket nodes;
s2: the master websocket node sends the message to a data large screen which establishes long connection with the master websocket node, and the data large screen displays the message sent by an administrator;
s3: the master websocket node sends the message to a rock MQ module in the form of sequential message, and the rock MQ module backups after receiving the message and issues the message to the slave websocket node; when the rock MQ module publishes the subscription mode, firstly, sequentially arranging received messages, and sequentially sending the arranged messages to each slave websocket node to ensure the order of the messages;
s4: and obtaining the message sent by the administrator from the websocket node, and sending the message sent by the administrator to a data large screen display with which a long link is established.
2. The method of claim 1, wherein the slave websocket nodes use a publish-subscribe mode of a lockmq module to ensure that each slave websocket node can receive a client request.
3. The method of broadcasting multimedia screen information according to claim 1, wherein said nginx forwarding balances the message load issued by the administrator to a certain websocket node, and the loaded websocket node is called a master websocket node.
4. The method of claim 3, wherein the master websocket node, after acquiring all the data large screens connected with the master node, traverses the data large screen nodes and sequentially transmits the message to each data large screen for message display.
5. The method of claim 4, wherein the master websocket node sends the message to the lockmq module for message backup transmission after traversing the data large screen node to send the message in sequence.
6. The method of claim 5, wherein the slave websocket node acquires all the data large screens connected with the slave after subscribing to the lockmq, and then traverses the data large screen nodes to sequentially send the message to each data large screen for message display.
7. The method of claim 6, wherein the backetq module is provided with a backup flash memory module, and the backup flash memory module is provided with a dump port, and the dump port realizes the dump of the message.
8. The method of claim 7, wherein a network memory is further provided on the backup flash memory module, and the network memory backs up the message only to the cloud, and an administrator checks the message through a cloud login.
CN202111285538.8A 2021-11-02 2021-11-02 Method for broadcasting multimedia screen information Active CN114070813B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111285538.8A CN114070813B (en) 2021-11-02 2021-11-02 Method for broadcasting multimedia screen information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111285538.8A CN114070813B (en) 2021-11-02 2021-11-02 Method for broadcasting multimedia screen information

Publications (2)

Publication Number Publication Date
CN114070813A CN114070813A (en) 2022-02-18
CN114070813B true CN114070813B (en) 2023-04-21

Family

ID=80236384

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111285538.8A Active CN114070813B (en) 2021-11-02 2021-11-02 Method for broadcasting multimedia screen information

Country Status (1)

Country Link
CN (1) CN114070813B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111221490A (en) * 2019-12-31 2020-06-02 深圳市康拓普信息技术有限公司 Multi-screen linkage method and system
CN112511869A (en) * 2020-11-27 2021-03-16 云南昆钢电子信息科技有限公司 Enterprise multi-terminal video processing method, storage medium and streaming media server

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7064410B2 (en) * 2018-09-11 2022-05-10 サトーホールディングス株式会社 Information processing terminal, information processing method, and program
US11108890B2 (en) * 2019-04-10 2021-08-31 Advanced New Technologies Co., Ltd. Management client and device monitoring
CN113495705B (en) * 2020-04-07 2024-09-24 上海际链网络科技有限公司 Large screen data processing system
CN112632348A (en) * 2020-12-01 2021-04-09 北京博瑞彤芸科技股份有限公司 Method and system for monitoring data and electronic equipment
CN112579691B (en) * 2020-12-24 2022-11-08 安徽航天信息科技有限公司 Data processing method and device supporting large-screen display
CN113286190A (en) * 2021-05-19 2021-08-20 湖南快乐阳光互动娱乐传媒有限公司 Cross-network and same-screen control method and device and cross-network and same-screen system
CN113518190B (en) * 2021-09-14 2021-12-21 浙江虎哥数字科技有限公司 Playing scheduling control method and system for coordinated multiple screens and readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111221490A (en) * 2019-12-31 2020-06-02 深圳市康拓普信息技术有限公司 Multi-screen linkage method and system
CN112511869A (en) * 2020-11-27 2021-03-16 云南昆钢电子信息科技有限公司 Enterprise multi-terminal video processing method, storage medium and streaming media server

Also Published As

Publication number Publication date
CN114070813A (en) 2022-02-18

Similar Documents

Publication Publication Date Title
CN101867613B (en) Content delivery CDN sub system and data synchronization method
CN104539740A (en) Information push method and device
JP2014523568A (en) Efficient conditioning
CN112689170B (en) Content playing method of display terminal, display terminal and readable storage medium
US20220116746A1 (en) Special effect synchronization method, device, and storage medium
CN111953785B (en) Data transmission method, system and server
US20160142778A1 (en) Network camera, network camera control terminal, and video recording/delivering system
CN111949515B (en) Test scene reproduction method and device and electronic equipment
CN113138995A (en) Update notification method and device in micro-service cluster
CN103618952A (en) Method for playing boot animation of intelligent television and intelligent television
US20220308821A1 (en) Dividing method, distribution method, medium, server, system
CN113050904A (en) Screen sharing method and device
CN103546771A (en) Television program review processing method and system based on smart terminal
CN107124628B (en) Advertisement data publishing method and system
US11134037B2 (en) Increasing capacity in a topic-subscription messaging system
WO2020134752A1 (en) Method and apparatus for issuing message, and storage medium
CN114070813B (en) Method for broadcasting multimedia screen information
CN113553511A (en) User real-time recommendation method, device, system, equipment and readable storage medium
CN105871994A (en) Static file service method and unit
CN103475948A (en) P2P live video based intelligent resource matching system
CN111641656A (en) Hospital data real-time screen projection system
CN111767176A (en) Method and device for remotely controlling terminal equipment
CN102740122A (en) Method and system for hotel room internet film and television on demand
CN108345437B (en) Signal stream transmission opening and closing method and device
CN113918359B (en) Data copy and paste system, method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant