The invention discloses a multi-platform live
stream intelligent
distribution method and device, and is applied to the technical field of
data processing. Cloud service equipment receives platform configuration information and a unique SN code of edge equipment, the configuration is stored in a cloud MySQL
database, and the platform type is identified according to a push
stream address to complete filing classification; and receiving a plug flow request containing the SN code, the key and the
expiration time, allowing plug flow after
verification is passed, and otherwise, rejecting the plug flow. And after the
verification is passed, receiving the video
stream and segmenting the video stream into TS slices, generating M3U8 index storage, and only retaining the TS slices in the latest 3 seconds to prevent the hard disk from being overloaded. And after the plug flow notice is received, cloud distribution configuration is checked according to an SN code, the domestic platform directly reads local flow plug flow, and the foreign platform sends an HTTP POST request containing parameters such as a pull flow address and the like to trigger an overseas
server to pull flow. And receiving a flow pulling success notification, monitoring domestic and overseas flow pushing states, recording flow pushing key data in real time, locally backing up, and synchronously configuring and
logging to a
cloud database.