CN117675706B - Light and shadow show data processing method, device, medium and equipment of multiple concurrent terminals - Google Patents

Light and shadow show data processing method, device, medium and equipment of multiple concurrent terminals Download PDF

Info

Publication number
CN117675706B
CN117675706B CN202410135481.0A CN202410135481A CN117675706B CN 117675706 B CN117675706 B CN 117675706B CN 202410135481 A CN202410135481 A CN 202410135481A CN 117675706 B CN117675706 B CN 117675706B
Authority
CN
China
Prior art keywords
cloud server
data
transmission
terminals
processing
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
CN202410135481.0A
Other languages
Chinese (zh)
Other versions
CN117675706A (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.)
Lyad Smart Technology Group Co ltd
Original Assignee
Lyad Smart Technology Group 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 Lyad Smart Technology Group Co ltd filed Critical Lyad Smart Technology Group Co ltd
Priority to CN202410135481.0A priority Critical patent/CN117675706B/en
Publication of CN117675706A publication Critical patent/CN117675706A/en
Application granted granted Critical
Publication of CN117675706B publication Critical patent/CN117675706B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The application discloses a method, a device, a medium and equipment for processing shadow show data of multiple concurrent terminals, wherein the method comprises the following steps: acquiring a current time stamp, determining a target transmission strategy of the video watching data corresponding to the target time period according to the target time period to which the current time stamp belongs, transmitting the video watching data to a terminal accessed to the cloud server according to the target transmission strategy, monitoring the number of terminals accessed to the cloud server and the transmission speed of downlink data, and performing capacity expansion processing on the cloud server if the number of terminals exceeds a preset number threshold and the transmission speed is smaller than a preset safety speed threshold. According to the application, the transmission of the video data is carried out through different strategies in different time periods, and when the number of terminals connected to the cloud server exceeds the preset number threshold and the transmission speed of the downlink data of the cloud server is smaller than the preset safety speed threshold, the capacity expansion processing is carried out on the cloud server, so that the transmission efficiency of the cloud server on the video data when multiple concurrent terminals are connected can be improved.

Description

Light and shadow show data processing method, device, medium and equipment of multiple concurrent terminals
Technical Field
The application relates to the technical field of computers, in particular to a method, a device, a medium and equipment for processing shadow show data of multiple concurrent terminals.
Background
The light shadow is a unique visual effect created by combining light and images as the name suggests. It is not only an entertainment mode, but also an artistic expression mode, and is a perfect combination of art and technology. The concept of shadow shows results from the deep understanding and innovative use of light and shadows. Light, the basic element of vision, can illuminate darkness and can create various beautiful visual effects. Shadow, which is an extension of light, can enhance the effect of light and can also create a wide variety of visual effects. By skillfully utilizing light and shadow, the shadow show can create various visual effects, thereby bringing brand-new visual experience to people.
However, in the related art, when a plurality of terminals request the viewing data of the photo show from the cloud server at the same time, the efficiency of transmitting the viewing data by the cloud server is low.
Disclosure of Invention
The embodiment of the application provides a method, a device, a medium and equipment for processing shadow show data of multiple concurrent terminals, which can improve the transmission efficiency of a cloud server on the shadow show data when the multiple concurrent terminals are accessed.
In a first aspect, an embodiment of the present application provides a method for processing light show data of multiple concurrent terminals, which is applied to a cloud server, and includes:
Acquiring a current time stamp;
Determining a target transmission strategy of the video data corresponding to the target time period according to the target time period to which the current time stamp belongs;
transmitting the video data to a terminal accessed to the cloud server according to the target transmission strategy;
Monitoring the number of terminals accessed to the cloud server and the transmission speed of downlink data;
and if the number of the terminals exceeds a preset number threshold and the transmission speed is smaller than a preset safety speed threshold, performing capacity expansion processing on the cloud server.
In some embodiments, the determining, according to the target time period to which the current timestamp belongs, a target transmission policy of the viewing data corresponding to the target time period includes:
pre-establishing a corresponding relation between a time period and a transmission strategy of the video watching data;
and determining a target transmission strategy of the video data corresponding to the target time period according to the target time period and the corresponding relation.
In some embodiments, before the pre-establishing the correspondence between the time period and the transmission policy of the viewing data, the method further includes:
recording distribution conditions of transmission requests for the video data received by the cloud server in different time periods within the preset time;
And determining transmission strategies of the video data in different time periods according to the distribution conditions.
In some embodiments, the determining a transmission policy for the viewing data in different time periods according to the distribution condition includes:
Determining the frequency of the transmission request in different time periods according to the distribution condition;
and when the frequency is higher than a preset frequency threshold, the transmission strategy is to compress the video data to be transmitted and then transmit the video data.
In some embodiments, before the transmitting of the viewing data to the terminal accessing the cloud server according to the target transmission policy, the method further includes:
And storing the video watching data stored in the cloud server in a cache space.
In some embodiments, the performing capacity expansion processing on the cloud server includes:
Compressing the video watching data stored in the cloud server to obtain compressed video watching data;
And storing the compressed video watching data in the cloud server.
In some embodiments, the performing capacity expansion processing on the cloud server includes:
and performing capacity expansion processing on the cloud server, and initiating bandwidth capacity expansion processing.
In a second aspect, an embodiment of the present application further provides a device for processing light show data of multiple concurrent terminals, including:
An acquisition unit configured to acquire a current timestamp;
the determining unit is used for determining a target transmission strategy of the video data corresponding to the target time period according to the target time period to which the current time stamp belongs;
the transmission unit is used for transmitting the video data to the terminal accessed to the cloud server according to the target transmission strategy;
the monitoring unit is used for monitoring the number of terminals accessed to the cloud server and the transmission speed of downlink data;
And the capacity expansion processing unit is used for carrying out capacity expansion processing on the cloud server if the number of the terminals exceeds a preset number threshold and the transmission speed is smaller than a preset safety speed threshold.
In a third aspect, an embodiment of the present application further provides a computer readable storage medium, on which a computer program is stored, where the computer program when executed on a computer causes the computer to execute a method for processing light show data of multiple concurrent terminals as provided in any embodiment of the present application.
In a fourth aspect, an embodiment of the present application further provides an electronic device, including a processor and a memory, where the memory has a computer program, and the processor is configured to execute the method for processing the shadow show data of the multiple concurrent terminals according to any one of the embodiments of the present application by calling the computer program.
According to the technical scheme provided by the embodiment of the application, the current time stamp is obtained, the target transmission strategy of the video watching data corresponding to the target time period is determined according to the target time period to which the current time stamp belongs, the video watching data is transmitted to the terminal accessed to the cloud server according to the target transmission strategy, the number of terminals accessed to the cloud server and the transmission speed of downlink data are monitored, and if the number of terminals exceeds a preset number threshold and the transmission speed is smaller than a preset safety speed threshold, the capacity expansion processing is performed on the cloud server. According to the application, the transmission of the video data is carried out through different strategies in different time periods, and when the number of terminals connected to the cloud server exceeds the preset number threshold or the transmission speed of the downlink data of the cloud server is smaller than the preset safety speed threshold, the capacity expansion processing is carried out on the cloud server, so that the transmission efficiency of the cloud server on the video data when multiple concurrent terminals are connected can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a method for processing light show data of multiple concurrent terminals according to an embodiment of the present application.
Fig. 2 is a schematic structural diagram of a light show data processing device of a multi-concurrent terminal according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by a person skilled in the art without any inventive effort, are intended to be within the scope of the present application based on the embodiments of the present application.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
The embodiment of the application provides a method for processing the shadow play data of a multi-concurrent terminal, and an execution subject of the method for processing the shadow play data of the multi-concurrent terminal can be a shadow play data processing device of the multi-concurrent terminal or electronic equipment integrated with the shadow play data processing device of the multi-concurrent terminal, wherein the shadow play data processing device of the multi-concurrent terminal can be realized in a hardware or software mode. The electronic device may be a cloud server, and the cloud server may provide the viewing data to a terminal for playing a photo show. The terminal can be a smart phone, a tablet computer, a palm computer, a notebook computer, a desktop computer or the like. The terminal can request the video watching data from the cloud server, so that the video showing is played according to the acquired video watching data.
Referring to fig. 1, fig. 1 is a flow chart of a method for processing light show data of multiple concurrent terminals according to an embodiment of the present application. The shadow show data processing method of the multiple concurrent terminals provided by the embodiment of the application is applied to the cloud server, and the specific flow of the method can be as follows:
S110, acquiring a current time stamp.
The cloud server, namely a cloud server (Elastic Compute Service, ECS), is a virtual server based on cloud computing technology, and can be quickly created, deployed and managed on a cloud computing platform. Unlike traditional physical servers, cloud servers are virtualized servers that can be elastically expanded and contracted on a cloud computing platform according to the needs of users, thereby achieving higher availability and flexibility. Cloud servers generally provide powerful computing power, high-speed network connectivity, and flexible storage space, which can meet various different-scale application and business requirements. Meanwhile, the cloud server also has higher safety and reliability, and better service quality and user experience can be provided for the user.
The cloud server can provide the video data for the terminal for playing the photo show.
The terminal refers to a device for a user to watch a shadow show, and can be a smart phone, a tablet personal computer, a palm computer, a notebook computer, a desktop computer or other devices, and can also comprise a light emitting device, a projection device and other devices.
For example, in this embodiment, the current system time of the cloud server may be obtained as the current timestamp.
When the cloud server obtains the current time stamp, the current time stamp can be obtained by setting the current time stamp to be carried out every preset time, or when the terminal requests the video watching data of the cloud server, the cloud server can obtain the current time stamp so as to be convenient for determining a target transmission strategy for transmitting the video watching data to the terminal.
S120, determining a target transmission strategy of the video data corresponding to the target time period according to the target time period to which the current time stamp belongs.
In this embodiment, for example, the division of the time period may be performed with one time period per hour. After the current time stamp is obtained, the time period to which the current time stamp belongs can be determined, and the time period to which the current time stamp belongs is the target time period.
In some embodiments, the step of determining, according to the target time period to which the current timestamp belongs, the target transmission policy of the movie data corresponding to the target time period may include the following steps:
pre-establishing a corresponding relation between a time period and a transmission strategy of the video watching data;
and determining a target transmission strategy of the video data corresponding to the target time period according to the target time period and the corresponding relation.
In this embodiment, a correspondence between a time period and a transmission policy of the viewing data is pre-established, and the correspondence is stored in a preset buffer space, so that a server can quickly obtain the transmission policy of the viewing data corresponding to the current time period when transmitting the viewing data.
In some embodiments, before the step of "pre-establishing the correspondence between the time period and the transmission policy of the viewing data", the method further includes the steps of:
recording distribution conditions of transmission requests for the video data received by the cloud server in different time periods within the preset time;
And determining transmission strategies of the video data in different time periods according to the distribution conditions.
The past preset time is a period of time in the past, for example, may be a period of time in the past one year, a period of time in the past half a year, etc., and the specific time length may be set according to actual needs.
For example, the distribution case may include the number of transmission requests received by the cloud server in different time periods.
In some embodiments, the step of determining a transmission policy for the viewing data in different time periods according to the distribution condition may include the steps of:
Determining the frequency of the transmission request in different time periods according to the distribution condition;
and when the frequency is higher than a preset frequency threshold, the transmission strategy is to compress the video data to be transmitted and then transmit the video data.
The preset frequency threshold value can be set according to actual conditions.
In this embodiment, the frequency of the transmission requests in different time periods may be calculated by acquiring the number of the transmission requests received in the cloud server in different time periods according to the distribution condition. When the frequency in a certain time period is higher than a preset frequency threshold value, setting a transmission strategy corresponding to the time period to compress the video data to be transmitted, and transmitting the compressed video data.
S130, transmitting the video data to a terminal accessed to the cloud server according to the target transmission strategy.
In this embodiment, after determining a target transmission policy corresponding to a target time period to which a current timestamp belongs, the terminal accessing the cloud server performs transmission of the video viewing data according to the target transmission policy.
In some embodiments, before the transmitting of the viewing data to the terminal accessing the cloud server according to the target transmission policy, the method may further include the following steps:
And storing the video watching data stored in the cloud server in a cache space.
The buffer space refers to a storage space for storing temporary data. In computer systems, cache space is typically used to store frequently accessed data for quick access and improved performance. The cache space may include a memory cache (RAM), a disk cache (a cache on a hard disk or solid state drive), and a network cache (e.g., CDN cache). These cache spaces may store various types of data, including web page content, application data, media files, etc., to reduce access to the original data source, thereby improving the response speed and performance of the system.
In this embodiment, the video data is stored in the cache space in the cloud server, so that the efficiency of accessing the video data by the terminal can be facilitated.
And S140, monitoring the number of terminals accessed to the cloud server and the transmission speed of downlink data.
In this embodiment, the number of terminals accessing to the cloud server may be monitored by means of network traffic monitoring, user login log, terminal registration information, system resource utilization monitoring, and the like.
Specifically, network traffic monitoring: by monitoring network traffic received by the cloud server, the number of access terminals may be approximated. The network traffic generated by each terminal may be recorded and analyzed to derive an approximation of the number of terminals. User log-in: and recording logs of the user logging in the cloud server, wherein the logs comprise logging time, IP addresses and other information. By analyzing the log, the number of logins of different terminals can be counted, so that the number of terminals can be deduced. Terminal registration information: if the terminal needs to register or acquire the access right, the number of the terminals can be counted through the terminal registration information. Monitoring the utilization rate of system resources: by monitoring the system resource utilization rate of the cloud server, such as the CPU utilization rate, the memory utilization rate, etc., the number of terminals connected to the server can be deduced. As the number of terminals increases, the system resource utilization typically increases accordingly.
In this embodiment, the transmission speed of the downlink data of the cloud server may be monitored by some network monitoring tools, such as WIRESHARK, NAGIOS, ZABBIX.
And S150, if the number of the terminals exceeds a preset number threshold and the transmission speed is smaller than a preset safety speed threshold, performing capacity expansion processing on the cloud server.
The preset number threshold and the preset safety speed threshold can be set according to actual conditions.
In this embodiment, if the number of the terminals exceeds a preset number threshold and the transmission speed is less than a preset safety speed threshold, it is indicated that the current resources of the cloud server are insufficient to support the current workload, and the server capacity expansion request can be triggered by the automation script to perform capacity expansion processing on the cloud server.
For example, when a user views a shadow show shown by a Shenzhen harbour from 6 to 10 points on the mid-autumn day through a terminal, because the 6 to 10 points are play peaks, when the terminal requests the shadow data of the shadow show to a cloud server, the cloud server can acquire a current time stamp, and determines a target time period to which the current time belongs according to the current time stamp, at this time, a target transmission policy corresponding to the time period from 6 to 10 points on the mid-autumn day can be preset to compress the shadow data and then transmit the compressed shadow data, when the current time stamp of the terminal requesting the shadow data is determined to belong to the 6 to 10 points on the mid-autumn day, the cloud server can transmit the shadow data to the terminal according to the target transmission policy, and it can be understood that the terminal requesting the shadow data can have a plurality of terminals, in the process of transmitting the shadow data to the terminals, the number of the cloud server and the transmission speed of downlink data can be monitored, and when the number of the terminals exceeds the preset number and the preset number of the terminal exceeds the preset threshold, and the service expansion speed can be reduced.
In some embodiments, the step of performing the capacity expansion processing on the cloud server may include the following steps:
Compressing the video watching data stored in the cloud server to obtain compressed video watching data;
And storing the compressed video watching data in the cloud server.
In this embodiment, the following optimization processing may be performed on the video data stored in the cloud server, and the expansion processing may be performed by the cloud server:
optimizing storage: cleaning useless film watching data, compressing or archiving old data to release storage space;
Data caching: the data access speed is improved by using a caching technology;
data compression: data is compressed, so that transmission bandwidth and storage cost are reduced;
Data acceleration: acceleration techniques such as CDN (content delivery network) are used to provide faster data transfer speeds.
In some embodiments, the video data with higher transmission frequency can be determined according to the number of transmitted different video data recorded in the cloud server, the video data with higher transmission frequency is stored in a segmented mode, and the video data is stored in a cache space of the cloud server, so that the pressure of multiple concurrent terminals for simultaneously transmitting the video data is reduced, and the transmission efficiency is improved. For example, a preset video data transmission frequency threshold may be set according to actual needs, and when the transmission frequency of the video data stored in the cloud server is greater than the preset video data transmission frequency threshold, the video data is stored in segments, and the video data is stored in the cache space of the cloud server.
According to the application, the cloud server and the network resource can meet the requirements of video data transmission, and better video watching experience is provided for the terminal user through optimization processing.
In some embodiments, the step of performing the capacity expansion processing on the cloud server may include the following steps:
and performing capacity expansion processing on the cloud server, and initiating bandwidth capacity expansion processing.
In this embodiment, if the number of the terminals exceeds a preset number threshold and the transmission speed is less than a preset safety speed threshold, it is indicated that the current resources of the cloud server are insufficient to support the current workload, a server capacity expansion request may be triggered by an active script to perform capacity expansion processing on the cloud server, and meanwhile, the cloud server may initiate a bandwidth capacity expansion request to perform bandwidth capacity expansion processing on the cloud server.
In particular, the application is not limited by the order of execution of the steps described, as some of the steps may be performed in other orders or concurrently without conflict.
As can be seen from the above, in the method for processing the photo show data of multiple concurrent terminals provided by the embodiment of the present application, the transmission of the photo show data is performed through different strategies in different time periods, and when the number of terminals accessing to the cloud server exceeds the preset number threshold, or the transmission speed of the downlink data of the cloud server is less than the preset safety speed threshold, the expansion processing is performed on the cloud server, so that the transmission efficiency of the cloud server to the photo show data when the multiple concurrent terminals are accessed can be improved.
In an embodiment, a device for processing the shadow show data of the multiple concurrent terminals is also provided. Referring to fig. 2, fig. 2 is a schematic structural diagram of a light show data processing device 200 of a multi-concurrent terminal according to an embodiment of the application. The light show data processing device 200 of the multi-concurrent terminal is applied to an electronic device, and the light show data processing device 200 of the multi-concurrent terminal includes an acquisition unit 201, a determination unit 202, a transmission unit 203, a monitoring unit 204, and a capacity expansion processing unit 205, as follows:
An obtaining unit 201, configured to obtain a current timestamp;
A determining unit 202, configured to determine, according to a target time period to which the current timestamp belongs, a target transmission policy of movie data corresponding to the target time period;
The transmission unit 203 is configured to transmit the viewing data to a terminal accessing the cloud server according to the target transmission policy;
the monitoring unit 204 is configured to monitor the number of terminals accessing the cloud server and a transmission speed of downlink data;
And the capacity expansion processing unit 205 is configured to perform capacity expansion processing on the cloud server if the number of terminals exceeds a preset number threshold and the transmission speed is less than a preset safety speed threshold.
In some embodiments, the determining unit 202 may be configured to:
pre-establishing a corresponding relation between a time period and a transmission strategy of the video watching data;
and determining a target transmission strategy of the video data corresponding to the target time period according to the target time period and the corresponding relation.
In some embodiments, the determining unit 202 may also be configured to:
recording distribution conditions of transmission requests for the video data received by the cloud server in different time periods within the preset time;
And determining transmission strategies of the video data in different time periods according to the distribution conditions.
In some embodiments, the determining unit 202 may also be configured to:
Determining the frequency of the transmission request in different time periods according to the distribution condition;
and when the frequency is higher than a preset frequency threshold, the transmission strategy is to compress the video data to be transmitted and then transmit the video data.
In some embodiments, the transmission unit 203 may also be configured to:
And storing the video watching data stored in the cloud server in a cache space.
In some embodiments, the capacity expansion processing unit 205 may be configured to:
Compressing the video watching data stored in the cloud server to obtain compressed video watching data;
And storing the compressed video watching data in the cloud server.
In some embodiments, the capacity expansion processing unit 205 may be configured to:
and performing capacity expansion processing on the cloud server, and initiating bandwidth capacity expansion processing.
It should be noted that, the light show data processing device of the multiple concurrent terminal provided by the embodiment of the present application belongs to the same concept as the light show data processing method of the multiple concurrent terminal in the above embodiment, and any method provided in the light show data processing method embodiment of the multiple concurrent terminal can be implemented by the light show data processing device of the multiple concurrent terminal, and detailed implementation processes of the method are detailed in the light show data processing method embodiment of the multiple concurrent terminal, which is not described herein.
In addition, in order to better implement the method for processing the photo show data of the multiple concurrent terminals in the embodiment of the present application, the present application further provides an electronic device based on the method for processing the photo show data of the multiple concurrent terminals, please refer to fig. 3, fig. 3 shows a schematic structural diagram of an electronic device 300 provided by the present application, and as shown in fig. 3, the electronic device 300 provided by the present application includes a processor 301 and a memory 302, where the processor 301 is configured to implement steps of the method for processing the photo show data of the multiple concurrent terminals in the above embodiment of the present application when executing a computer program stored in the memory 302, for example:
Acquiring a current time stamp;
Determining a target transmission strategy of the video data corresponding to the target time period according to the target time period to which the current time stamp belongs;
transmitting the video data to a terminal accessed to the cloud server according to the target transmission strategy;
Monitoring the number of terminals accessed to the cloud server and the transmission speed of downlink data;
and if the number of the terminals exceeds a preset number threshold and the transmission speed is smaller than a preset safety speed threshold, performing capacity expansion processing on the cloud server.
By way of example, a computer program may be partitioned into one or more modules/units that are stored in memory 302 and executed by processor 301 to accomplish an embodiment of the application. One or more of the modules/units may be a series of computer program instruction segments capable of performing particular functions to describe the execution of the computer program in a computer device.
Electronic device 300 may include, but is not limited to, a processor 301, a memory 302. It will be appreciated by those skilled in the art that the illustration is merely an example of the electronic device 300 and is not limiting of the electronic device 300, and may include more or fewer components than shown, or may combine some of the components, or different components, e.g., the electronic device 300 may further include an input-output device, a network access device, a bus, etc., through which the processor 301, the memory 302, the input-output device, the network access device, etc., are connected.
The processor 301 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (DIGITAL SIGNAL processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), off-the-shelf programmable gate array (field-programmable GATE ARRAY, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or any conventional processor or the like that is a control center of the electronic device 300 that interfaces and lines to various portions of the overall electronic device 300.
The memory 302 may be used to store computer programs and/or modules, and the processor 301 implements various functions of the computer device by running or executing the computer programs and/or modules stored in the memory 302 and invoking data stored in the memory 302. The memory 302 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, video data, etc.) created according to the use of the electronic device 300, and the like. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart memory card (SMART MEDIA CARD, SMC), secure Digital (SD) card, flash memory card (FLASH CARD), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the detailed working process of the apparatus for processing the photo show data of the multi-concurrent terminal, the electronic device 300 and the corresponding units thereof described above may refer to the description of the method for processing the photo show data of the multi-concurrent terminal in the above embodiments of the present application, which is not repeated herein.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application provides a computer readable storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute steps in a method for processing light show data of multiple concurrent terminals in the above embodiment of the present application, for example:
Acquiring a current time stamp;
Determining a target transmission strategy of the video data corresponding to the target time period according to the target time period to which the current time stamp belongs;
transmitting the video data to a terminal accessed to the cloud server according to the target transmission strategy;
Monitoring the number of terminals accessed to the cloud server and the transmission speed of downlink data;
and if the number of the terminals exceeds a preset number threshold and the transmission speed is smaller than a preset safety speed threshold, performing capacity expansion processing on the cloud server.
The specific operation may refer to the description of the method for processing the shadow show data of the multiple concurrent terminals in the above embodiments of the present application, which is not repeated herein.
Wherein the computer-readable storage medium may comprise: read Only Memory (ROM), random access memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Since the instructions stored in the computer readable storage medium can execute the steps in the method for processing the photo show data of the multiple concurrent terminals in the above embodiment of the present application, the method for processing the photo show data of the multiple concurrent terminals in the above embodiment of the present application can achieve the beneficial effects, which can be achieved by the method for processing the photo show data of the multiple concurrent terminals, and are detailed in the foregoing description and will not be repeated here.
Furthermore, the terms "first," "second," and "third," and the like, herein, are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to the particular steps or modules listed and certain embodiments may include additional steps or modules not listed or inherent to such process, method, article, or apparatus.
The application provides a method, a device, an electronic device and a storage medium for processing light show data of multiple concurrent terminals, which are described in detail, wherein specific examples are applied to illustrate the principles and the implementation of the application, and the description of the above examples is only used for helping to understand the method and the core idea of the application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, the present description should not be construed as limiting the present application.

Claims (8)

1. A shadow show data processing method of a multi-concurrency terminal is applied to a cloud server and is characterized by comprising the following steps:
acquiring the current system time of the cloud server as a current time stamp;
Determining a target transmission strategy of the video data corresponding to the target time period according to the target time period to which the current time stamp belongs;
transmitting the video data to a terminal accessed to the cloud server according to the target transmission strategy;
Monitoring the number of terminals accessed to the cloud server and the transmission speed of downlink data;
If the number of the terminals exceeds a preset number threshold and the transmission speed is smaller than a preset safety speed threshold, performing capacity expansion processing on the cloud server;
The determining, according to the target time period to which the current timestamp belongs, a target transmission policy of the viewing data corresponding to the target time period includes:
recording distribution conditions of transmission requests for the video data received by the cloud server in different time periods within the preset time;
determining transmission strategies of the video data in different time periods according to the distribution conditions;
pre-establishing a corresponding relation between a time period and a transmission strategy of the video watching data;
and determining a target transmission strategy of the video data corresponding to the target time period according to the target time period and the corresponding relation.
2. The method for processing the light show data of the multiple concurrent terminals according to claim 1, wherein the determining the transmission policy of the viewing data in different time periods according to the distribution condition comprises:
Determining the frequency of the transmission request in different time periods according to the distribution condition;
and when the frequency is higher than a preset frequency threshold, the transmission strategy is to compress the video data to be transmitted and then transmit the video data.
3. The method for processing the photo show data of the multiple concurrent terminals according to claim 1, further comprising, before the transmitting the photo show data to the terminal accessing the cloud server according to the target transmission policy:
And storing the video watching data stored in the cloud server in a cache space.
4. The method for processing the light show data of the multiple concurrent terminals according to claim 1, wherein the performing the capacity expansion processing on the cloud server comprises:
Compressing the video watching data stored in the cloud server to obtain compressed video watching data;
And storing the compressed video watching data in the cloud server.
5. The method for processing the light show data of the multiple concurrent terminals according to claim 1, wherein the performing the capacity expansion processing on the cloud server comprises:
and performing capacity expansion processing on the cloud server, and initiating bandwidth capacity expansion processing.
6. A light show data processing device of a multi-concurrency terminal, comprising means for performing the light show data processing method of a multi-concurrency terminal according to any one of claims 1 to 5.
7. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when run on a computer, causes the computer to perform the method of light show data processing of a multi-concurrent terminal as claimed in any one of claims 1 to 5.
8. An electronic device comprising a processor and a memory, the memory storing a computer program, characterized in that the processor is adapted to perform the method of light show data processing of a multi-concurrent terminal according to any of claims 1 to 5 by invoking the computer program.
CN202410135481.0A 2024-01-31 2024-01-31 Light and shadow show data processing method, device, medium and equipment of multiple concurrent terminals Active CN117675706B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410135481.0A CN117675706B (en) 2024-01-31 2024-01-31 Light and shadow show data processing method, device, medium and equipment of multiple concurrent terminals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410135481.0A CN117675706B (en) 2024-01-31 2024-01-31 Light and shadow show data processing method, device, medium and equipment of multiple concurrent terminals

Publications (2)

Publication Number Publication Date
CN117675706A CN117675706A (en) 2024-03-08
CN117675706B true CN117675706B (en) 2024-04-19

Family

ID=90071680

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410135481.0A Active CN117675706B (en) 2024-01-31 2024-01-31 Light and shadow show data processing method, device, medium and equipment of multiple concurrent terminals

Country Status (1)

Country Link
CN (1) CN117675706B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872001A (en) * 2015-12-21 2016-08-17 乐视云计算有限公司 Data transmission method and device based on P2P network
CN108781309A (en) * 2016-04-29 2018-11-09 大众汽车(中国)投资有限公司 Control method and control device
CN112511456A (en) * 2020-12-21 2021-03-16 北京百度网讯科技有限公司 Flow control method, flow control device, flow control equipment, storage medium and computer program product
CN113986825A (en) * 2021-12-27 2022-01-28 北京星汉未来网络科技有限公司 System, method and device for data migration, electronic equipment and readable storage medium
CN114610437A (en) * 2020-12-07 2022-06-10 华为云计算技术有限公司 Cloud desktop access method and device and electronic equipment
CN115550983A (en) * 2022-11-14 2022-12-30 中国电子科技集团公司第二十八研究所 Hierarchical control-based mobile environment communication transmission method
CN117336521A (en) * 2022-06-27 2024-01-02 腾讯科技(深圳)有限公司 Control method and device, equipment and medium for video stream transmission

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11616823B2 (en) * 2021-09-01 2023-03-28 At&T Intellectual Property I, L.P. Methods, systems, and devices for streaming video content according to available encoding quality information

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872001A (en) * 2015-12-21 2016-08-17 乐视云计算有限公司 Data transmission method and device based on P2P network
CN108781309A (en) * 2016-04-29 2018-11-09 大众汽车(中国)投资有限公司 Control method and control device
CN114610437A (en) * 2020-12-07 2022-06-10 华为云计算技术有限公司 Cloud desktop access method and device and electronic equipment
CN112511456A (en) * 2020-12-21 2021-03-16 北京百度网讯科技有限公司 Flow control method, flow control device, flow control equipment, storage medium and computer program product
CN113986825A (en) * 2021-12-27 2022-01-28 北京星汉未来网络科技有限公司 System, method and device for data migration, electronic equipment and readable storage medium
CN117336521A (en) * 2022-06-27 2024-01-02 腾讯科技(深圳)有限公司 Control method and device, equipment and medium for video stream transmission
CN115550983A (en) * 2022-11-14 2022-12-30 中国电子科技集团公司第二十八研究所 Hierarchical control-based mobile environment communication transmission method

Also Published As

Publication number Publication date
CN117675706A (en) 2024-03-08

Similar Documents

Publication Publication Date Title
CN109640116B (en) Cloud mobile phone network video coding method and server
WO2021159770A1 (en) Video playback method, device, apparatus, and storage medium
CN110099134B (en) Video file downloading method and device, electronic equipment and storage medium
US9712835B2 (en) Video encoding system and method
CN113010818B (en) Access current limiting method, device, electronic equipment and storage medium
CN105872016B (en) The operation method of virtual machine in a kind of desktop cloud
CN111744174A (en) Account management method and device of cloud game, account login method and device and electronic equipment
US10917484B2 (en) Identifying and managing redundant digital content transfers
JP2012523176A (en) Accelerating image compression using multiple processors
WO2022199372A1 (en) Video editing method and apparatus, and computer device and storage medium
US20210049076A1 (en) Geographic zone data recovery in geographically distributed data storage environment
CN110324681A (en) Dicing method, device, storage medium and the Transmission system of multi-medium data
CN117675706B (en) Light and shadow show data processing method, device, medium and equipment of multiple concurrent terminals
CN111090818A (en) Resource management method, resource management system, server, and computer storage medium
US20200272568A1 (en) Adaptive retrieval of objects from remote storage
CN111939562B (en) Shared storage method, electronic device, and computer-readable storage medium
CN111031355B (en) Media resource playing processing method, device and system
EP3989082A1 (en) Multimedia file storage and access method
CN110401652B (en) Digital media data processing method based on super-fusion storage
CN112933611A (en) Cloud game progress sharing method and device and electronic equipment
CN112423099A (en) Video loading method and device and electronic equipment
CN113992493A (en) Video processing method, system, device and storage medium
CN108319493A (en) Data processing method, device and machine readable storage medium
CN110474954A (en) Sharing files method, apparatus, computer equipment and readable storage medium storing program for executing based on block chain
Huang et al. On the Performance Comparisons of Native and Clientless Real-Time Screen-Sharing Technologies

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