CN109981523B - Multimedia file processing method and device and cloud computing platform - Google Patents

Multimedia file processing method and device and cloud computing platform Download PDF

Info

Publication number
CN109981523B
CN109981523B CN201711444832.2A CN201711444832A CN109981523B CN 109981523 B CN109981523 B CN 109981523B CN 201711444832 A CN201711444832 A CN 201711444832A CN 109981523 B CN109981523 B CN 109981523B
Authority
CN
China
Prior art keywords
multimedia file
server
enhancement
user terminal
target multimedia
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
CN201711444832.2A
Other languages
Chinese (zh)
Other versions
CN109981523A (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.)
China Mobile Communications Group Co Ltd
China Mobile Group Yunnan Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Yunnan 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 China Mobile Communications Group Co Ltd, China Mobile Group Yunnan Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201711444832.2A priority Critical patent/CN109981523B/en
Publication of CN109981523A publication Critical patent/CN109981523A/en
Application granted granted Critical
Publication of CN109981523B publication Critical patent/CN109981523B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/765Media network packet handling intermediate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a multimedia file processing method and device and a cloud computing platform. The method comprises the following steps: the method comprises the steps of receiving identification information of a multimedia file carried in a multimedia file access request message sent by a user terminal to obtain the multimedia file, determining an edge server corresponding to the user terminal according to the geographical position of the user terminal, if judging that an enhancement server exists in a preset area range of the edge server, setting an enhancement label for the multimedia file to obtain a target multimedia file, and sending the target multimedia file to the edge server, so that the edge server sends the target multimedia file to the enhancement server, and the enhancement server can optimize the target multimedia file. The device and the cloud computing platform are used for executing the method. The method, the device and the cloud computing platform provided by the embodiment of the invention improve the quality of the multimedia file acquired by the user.

Description

Multimedia file processing method and device and cloud computing platform
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a multimedia file sending method, a multimedia file sending device and a cloud computing platform.
Background
Cloud computing has been rapidly developed in recent years, and it has become a trend of development of information industry to use a cloud computing platform to carry various large-scale services, and with the progress of multimedia technology, a large number of novel multimedia services have emerged on the internet and are popularized among users, and under the two large backgrounds, how to improve the quality of multimedia files provided by the cloud computing platform is taken as a core problem for using the cloud computing platform to carry the multimedia services is also more and more concerned by people.
Cloud computing includes not only applications delivered to users in the form of services on the internet, but also hardware and software providing these services in a data center, and a data center containing these software and hardware is called "cloud" where all resources (including frameworks, platforms, and software) are delivered as services. Currently, mainstream cloud computing platforms are established for general cloud computing services, and as shown in fig. 1, the cloud computing platforms include a source station server, a central server, and an edge server, which are configured to provide services; the source station server provides an information source (multimedia source file), the central server group mainly provides work such as processing, security and distribution strategy of information, the edge servers specifically perform data distribution, the resources of the edge servers dominate the CPU capacity and the storage capacity (especially the central server and the edge servers), but the requirements for video multimedia files occupying 87% of data traffic of operators at present are difficult to meet, and the quality of the multimedia files provided for the user terminals is greatly influenced.
Therefore, it is an important issue to be solved in the industry at present to propose a method for sending multimedia files to improve the quality of multimedia files acquired by users.
Disclosure of Invention
Aiming at the defects in the prior art, the embodiment of the invention provides a multimedia file processing method and device and a cloud computing platform.
In a first aspect, an embodiment of the present invention provides a method for sending a multimedia file, including:
receiving a multimedia file access request message sent by a user terminal, wherein the multimedia file access request message carries identification information of a multimedia file requested to be accessed and the geographical position of the user terminal;
acquiring the multimedia file according to the identification information of the multimedia file, and determining an edge server corresponding to the user terminal according to the geographical position of the user terminal;
if judging that an enhancement server exists in a preset area range of an edge server corresponding to the user terminal, setting an enhancement tag for the multimedia file to obtain a target multimedia file;
and sending the target multimedia file to an edge server corresponding to the user terminal, so that the edge server sends the target multimedia file to the enhancement server, and the enhancement server performs optimization processing on the target multimedia file.
In a second aspect, an embodiment of the present invention provides a method for sending a multimedia file, including:
receiving a target multimedia file sent by a central server; the target multimedia file is a multimedia file carrying an enhanced tag;
and sending the target multimedia file to the enhancement server so that the enhancement server performs optimization processing on the target multimedia file.
In a third aspect, an embodiment of the present invention provides a central server, including a receiving unit, an obtaining unit, a determining unit, and a sending unit, where:
the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a multimedia file access request message sent by a user terminal, and the multimedia file access request message carries identification information of a multimedia file requested to be accessed and the geographic position of the user terminal;
the acquisition unit is used for acquiring the multimedia file according to the identification information of the multimedia file and determining an edge server corresponding to the user terminal according to the geographical position of the user terminal;
a judging unit, configured to set an enhancement tag for the multimedia file if it is judged and known that an enhancement server exists within a preset area range of an edge server corresponding to the user terminal, so as to obtain a target multimedia file;
and the sending unit is used for sending the target multimedia file to an edge server corresponding to the user terminal so that the edge server sends the target multimedia file to the enhancement server to optimize the target multimedia file.
In a fourth aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a bus, where:
the processor and the memory complete mutual communication through a bus;
the processor may invoke a computer program in memory to perform the steps of the above-described method.
In a fifth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the above method.
In a sixth aspect, an embodiment of the present invention provides an edge server, including a receiving unit and a sending unit, where:
the receiving unit is used for receiving the target multimedia file sent by the central server; the target multimedia file is a multimedia file carrying an enhanced tag; (ii) a
And the sending unit is used for sending the target multimedia file to the enhancement server so that the enhancement server performs optimization processing on the target multimedia file.
In a seventh aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a bus, where:
the processor and the memory complete mutual communication through a bus;
the processor may invoke a computer program in memory to perform the steps of the above-described method.
In an eighth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the above-mentioned method.
In a ninth aspect, an embodiment of the present invention provides a cloud computing platform, including a source station server, an enhancement server, a central server according to the third aspect, and an edge server according to the sixth aspect, where the central server is connected to the source station server and the edge server, respectively, and the enhancement server is connected to the edge server, where:
and the enhancement server is used for receiving the target multimedia file sent by the edge server and optimizing the target multimedia file.
In the multimedia file sending method, the device and the cloud computing platform provided by the embodiment of the invention, the central server receives the identification information of the multimedia file requested to be accessed, which is carried in the multimedia file access request message sent by the user terminal, to obtain the multimedia file, the edge server corresponding to the user terminal is determined according to the geographical position of the user terminal carried in the multimedia file access request message, if the enhancement server exists in the preset area range of the edge server corresponding to the user terminal, an enhancement tag is set for the multimedia file, a target multimedia file is obtained, the target multimedia file is sent to the edge server corresponding to the user terminal, the edge server sends the target multimedia file to the enhancement server, and the enhancement server performs optimization processing on the target multimedia file, the file quality of the multimedia file is improved, and meanwhile the multimedia file processing capacity of the cloud computing platform is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of a cloud computing platform in the prior art;
fig. 2 is a schematic flow chart of a method for sending a multimedia file according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a method for sending a multimedia file according to another embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a central server according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device entity apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an edge server according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device entity apparatus according to another embodiment of the invention;
fig. 8 is a schematic diagram of a cloud computing platform according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some embodiments, but not all embodiments, of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 2 is a schematic flow chart of a method for sending a multimedia file according to an embodiment of the present invention, and as shown in fig. 2, the embodiment provides a method for sending a multimedia file, including:
s101, receiving a multimedia file access request message sent by a user terminal, wherein the multimedia file access request message carries identification information of a multimedia file requested to be accessed and the geographic position of the user terminal;
specifically, a user may send a media file access request message to the central server by clicking a link of a certain multimedia file on each application platform through a user terminal, where the multimedia file access request message carries identification information of the multimedia file requested to be accessed and also carries a geographic location of the user terminal, and the central server receives the multimedia file access request message.
It can be understood that the multimedia files include files such as pictures, videos, live broadcasts, and the like, and may also include other multimedia files, which may be specifically set and adjusted according to actual situations, and are not specifically limited herein; the user terminal can be various mobile terminals, such as a mobile phone, a tablet computer and the like; the geographical position of the user terminal may be a longitude and latitude of a position where the user terminal is located; the identification information of the multimedia file may be a link of the multimedia file, a file name of the multimedia file, or other identification information, and may be specifically set and adjusted according to an actual situation, which is not specifically limited herein.
S102, acquiring the multimedia file according to the identification information of the multimedia file, and determining an edge server corresponding to the user terminal according to the geographical position of the user terminal;
specifically, the central server transmits a multimedia file download request message to the source station server, the download request message carries the identification information of the multimedia file, the source station server sends the multimedia file to the central server after receiving the download request message of the multimedia file, the central server receives the multimedia file, matches the geographical position of the user terminal with a pre-stored edge server list, the edge server list includes a plurality of edge servers and a service area range of each of the edge servers, and if the central server judges that the geographic position of the user terminal is within the service area range of the edge server, taking the edge server as the edge server corresponding to the user terminal.
S103, if judging that an enhancement server exists in a preset area range of an edge server corresponding to the user terminal, setting an enhancement label for the multimedia file to obtain a target multimedia file;
specifically, if the central server judges that an enhancement server exists in a preset area range of an edge server corresponding to the user terminal, the central server sets an enhancement tag for the multimedia file, and takes the multimedia file with the enhancement tag as the target multimedia file; the enhanced tag can be any tag which plays a role in identification, and can be specifically set and adjusted according to actual conditions, and is not specifically limited herein; the preset area range may be a circular area with one kilometer as a center and one radius, which is corresponding to the user terminal, or other areas, and may be specifically set and adjusted according to an actual situation, which is not specifically limited herein.
S104, the target multimedia file is sent to an edge server corresponding to the user terminal, so that the edge server sends the target multimedia file to the enhancement server, and the enhancement server performs optimization processing on the target multimedia file.
Specifically, the central server sends the target multimedia file to an edge server corresponding to the user terminal, and if the edge server recognizes that the enhancement tag is set in the target multimedia file, the edge server sends the target multimedia file to the enhancement server, and the enhancement server performs optimization processing on the target multimedia file and then sends the optimized target multimedia file to the user terminal.
The method for sending a multimedia file according to the embodiment of the present invention obtains the multimedia file by receiving, by a central server, identification information of a multimedia file requested to be accessed, which is carried in a multimedia file access request message sent by a user terminal, determines an edge server corresponding to the user terminal according to a geographical location of the user terminal carried in the multimedia file access request message, sets an enhancement tag for the multimedia file if it is determined that an enhancement server exists within a preset area range of the edge server corresponding to the user terminal, obtains a target multimedia file, sends the target multimedia file to the edge server corresponding to the user terminal, sends the target multimedia file to the enhancement server by the edge server, and optimizes the target multimedia file by the enhancement server, the file quality of the multimedia file is improved, and meanwhile the multimedia file processing capacity of the cloud computing platform is improved.
On the basis of the above embodiment, further, the method further includes:
and if judging that no enhancement server exists in the preset area range of the edge server corresponding to the user terminal, sending the multimedia file serving as a non-target multimedia file to the edge server corresponding to the user terminal.
Specifically, if the central server judges that no enhancement server exists in the preset area range of the edge server corresponding to the user terminal, the central server sends the multimedia file to the edge server corresponding to the user terminal as a non-target multimedia file, and the edge server sends the non-target multimedia file to the user terminal after receiving the non-target multimedia file.
The method for sending a multimedia file according to the embodiment of the present invention obtains the multimedia file by receiving, by a central server, identification information of a multimedia file requested to be accessed, which is carried in a multimedia file access request message sent by a user terminal, determines an edge server corresponding to the user terminal according to a geographical location of the user terminal carried in the multimedia file access request message, sets an enhancement tag for the multimedia file if it is determined that an enhancement server exists within a preset area range of the edge server corresponding to the user terminal, obtains a target multimedia file, sends the target multimedia file to the edge server corresponding to the user terminal, sends the target multimedia file to the enhancement server by the edge server, and optimizes the target multimedia file by the enhancement server, the file quality of the multimedia file is improved, and meanwhile the multimedia file processing capacity of the cloud computing platform is improved.
Fig. 3 is a schematic flow chart of a method for sending a multimedia file according to another embodiment of the present invention, and as shown in fig. 3, the embodiment provides a method for sending a multimedia file, including:
s201, receiving a target multimedia file sent by a central server; the target multimedia file is a multimedia file carrying an enhanced tag;
specifically, a user can send a media file access request message to the central server by clicking a link of a certain multimedia file on each application platform through a user terminal, the multimedia file access request message carries identification information of the multimedia file requested to be accessed and simultaneously carries the geographical position of the user terminal, the central server receives the multimedia file access request message, acquires the multimedia file from the source station server and determines an edge server corresponding to the user terminal according to the geographical position of the user terminal, then, if the central server judges that an enhancement server exists in a preset area range of the edge server corresponding to the user terminal, the central server sets an enhancement tag for the multimedia file, and takes the multimedia file with the enhancement tag as the target multimedia file, and sending the target multimedia file to an edge server corresponding to the user terminal, wherein the edge server receives the target multimedia file sent by the central server.
S202, sending the target multimedia file to the enhancement server so that the enhancement server can optimize the target multimedia file.
Specifically, the edge server recognizes that the enhancement tag is set in the target multimedia file, and sends the target multimedia file to the enhancement server, and the enhancement server performs optimization processing on the target multimedia file and then sends the optimized target multimedia file to the user terminal.
The method for sending a multimedia file according to the embodiment of the present invention obtains the multimedia file by receiving, by a central server, identification information of a multimedia file requested to be accessed, which is carried in a multimedia file access request message sent by a user terminal, determines an edge server corresponding to the user terminal according to a geographical location of the user terminal carried in the multimedia file access request message, sets an enhancement tag for the multimedia file if it is determined that an enhancement server exists within a preset area range of the edge server corresponding to the user terminal, obtains a target multimedia file, sends the target multimedia file to the edge server corresponding to the user terminal, sends the target multimedia file to the enhancement server by the edge server, and optimizes the target multimedia file by the enhancement server, the file quality of the multimedia file is improved, and meanwhile the multimedia file processing capacity of the cloud computing platform is improved.
On the basis of the above embodiment, further, the method further includes:
and acquiring the terminal characteristic parameters of the user terminal, and sending the terminal characteristic parameters to the enhancement server so that the enhancement server performs optimization processing on the target multimedia file according to the terminal characteristic parameters.
Specifically, after receiving the target multimedia file, the edge server sends a terminal characteristic parameter request message to the core network, where the terminal characteristic parameter request message carries an identifier of the user terminal and receives a terminal characteristic parameter of the user terminal sent by the core network, then the edge server sends the terminal characteristic parameter to the enhancement server while sending the target multimedia file to the enhancement server, and the enhancement server performs optimization processing on the target multimedia file according to the terminal characteristic parameter, and then sends the optimized target multimedia file to the user terminal. It should be noted that the terminal characteristic parameters include the terminal model of the user terminal, the currently registered network type, and may also include other characteristic parameters that affect the display quality of the multimedia file, and may be specifically set and adjusted according to the actual situation, which is not specifically limited herein; different characteristic parameters correspond to different optimization strategies, and can be specifically set and adjusted according to actual conditions, which is not specifically limited herein.
On the basis of the above embodiment, further, the method further includes:
and receiving the non-target multimedia file sent by the central server, and sending the non-target multimedia file to the user terminal.
Specifically, if the central server judges that no enhancement server exists in the preset area range of the edge server corresponding to the user terminal, the central server sends the multimedia file to the edge server corresponding to the user terminal as a non-target multimedia file, and if the edge server recognizes that the enhancement label is not set in the non-target multimedia file, the edge server directly sends the non-target multimedia file to the user terminal.
On the basis of the above embodiment, further, the method further includes:
counting the times of receiving each multimedia file at intervals of a preset time period respectively as the first receiving times of each media file, and broadcasting the first receiving times of each multimedia file to other edge servers; the multimedia files comprise target multimedia files and non-target multimedia files;
receiving the receiving times of the multimedia files broadcasted by the other edge servers as second receiving times of the multimedia files;
and calculating the hot characteristic value of each multimedia file according to the first receiving times and the second receiving times, and generating a multimedia file sequence list according to the hot characteristic values.
Specifically, the edge server respectively counts the number of times of receiving each multimedia file every a preset time period as a first receiving number of times of each media file, broadcasts the first receiving number of times of each multimedia file to other edge servers, the multimedia file comprises a target multimedia file and a non-target multimedia file, receives the receiving number of times of each multimedia file broadcasted by other edge servers as a second receiving number of times of each multimedia file, calculates the total receiving number of times of each multimedia file by summing the first receiving number of times and the second receiving number of times, calculates the hot characteristic value of each multimedia file according to different weights according to the total receiving number of times of each multimedia file, and sorts each multimedia file according to the sequence of the hot characteristic values from large to small, a multimedia file sequence table is generated, which may be as shown in table 1. It is understood that the preset time period may be set to 24 hours or one week, and may be specifically set and adjusted according to actual situations, which is not specifically limited herein.
TABLE 1
Serial number Multimedia file name
1 M-1
2 M-2
3 M-3
…… ……
On the basis of the above embodiment, further, the target multimedia files are multiple; accordingly, the method further comprises:
if the number of the target multimedia files is larger than a first preset number, the target multimedia files are sequenced according to a preset multimedia file sequence table, and the target multimedia files with the first preset number in the front of the sequence are sent to the enhancement server, so that the enhancement server performs optimization processing on the target multimedia files.
Specifically, if the edge server judges that the number of the target multimedia files received at the same time is larger than a first preset number, the edge server sorts the target multimedia files according to a preset multimedia file sequence table, and sends the first preset number of target multimedia files which are sorted in the front to the enhancement server, so that the enhancement server optimizes the target multimedia files, and then sends the optimized target multimedia files to corresponding user terminals respectively. It should be noted that the first preset number is the total number of multimedia files that can be simultaneously processed by the enhancement server, and may be specifically adjusted according to practical situations, and is not specifically limited herein.
For example, referring to table 1, if the target multimedia files which are sent by the central server and requested to be accessed by the multiple user terminals and received by the edge server at the same time are M-1, M-3, M-4, M-5, and M-7, respectively, and the first preset number is 3, the edge server sorts the target multimedia files according to table 1, and sends the top three target multimedia files M-1, M-3, and M-4 to the enhancement server, so that the enhancement server performs optimization processing on the three target multimedia files, and then sends the optimized target multimedia files to each user terminal requesting to access the target multimedia file; and send the multimedia files M-5, M-7 directly to their corresponding user terminals.
On the basis of the above embodiment, further, the method further includes:
according to a preset multimedia file sequence table, if the target media file is judged to be a hot multimedia file, the target multimedia file is sent to the enhancement server, so that the enhancement server performs optimization processing on the target multimedia file; the hot multimedia files are multimedia files with a second preset number which are ranked at the top in the multimedia file sequence list.
Specifically, the edge server sends the target multimedia file to the enhancement server according to a preset multimedia file sequence table if the target media file is judged to be the hot multimedia file, so that the enhancement server performs optimization processing on the target multimedia file, and then sends the optimized target multimedia file to corresponding user terminals respectively; otherwise, the target multimedia file is directly sent to the corresponding user terminal. It is understood that the popular multimedia files are multimedia files with a second preset number, which are sorted at the top in the multimedia file sequence list, and the second preset number is not greater than the total number of multimedia files that can be optimized by the enhancement server at the same time, and may be specifically set and adjusted according to actual situations, and is not specifically limited herein.
The method for sending a multimedia file according to the embodiment of the present invention obtains the multimedia file by receiving, by a central server, identification information of a multimedia file requested to be accessed, which is carried in a multimedia file access request message sent by a user terminal, determines an edge server corresponding to the user terminal according to a geographical location of the user terminal carried in the multimedia file access request message, sets an enhancement tag for the multimedia file if it is determined that an enhancement server exists within a preset area range of the edge server corresponding to the user terminal, obtains a target multimedia file, sends the target multimedia file to the edge server corresponding to the user terminal, sends the target multimedia file to the enhancement server by the edge server, and optimizes the target multimedia file by the enhancement server, the file quality of the multimedia file is improved, and meanwhile the multimedia file processing capacity of the cloud computing platform is improved.
Fig. 4 is a schematic structural diagram of a central server according to an embodiment of the present invention, and as shown in fig. 4, the embodiment of the present invention provides a central server, which includes a receiving unit 301, an obtaining unit 302, a determining unit 303, and a sending unit 304, where:
the receiving unit 301 is configured to receive a multimedia file access request message sent by a user terminal, where the multimedia file access request message carries identification information of a multimedia file requested to be accessed and a geographic location of the user terminal; the obtaining unit 302 is configured to obtain the multimedia file according to the identification information of the multimedia file, and determine an edge server corresponding to the user terminal according to the geographic location of the user terminal; the determining unit 303 is configured to set an enhancement tag for the multimedia file to obtain a target multimedia file if it is determined that an enhancement server exists within a preset area range of an edge server corresponding to the user terminal; the sending unit 304 is configured to send the target multimedia file to an edge server corresponding to the user terminal, so that the edge server sends the target multimedia file to the enhancement server, so that the enhancement server performs optimization processing on the target multimedia file.
Optionally, if it is determined that there is no enhancement server in the preset area range of the edge server corresponding to the user terminal, the sending unit 304 sends the multimedia file as a non-target multimedia file to the edge server corresponding to the user terminal.
The central server provided in the embodiments of the present invention obtains the multimedia file by receiving the identification information of the multimedia file requested to be accessed, which is carried in the multimedia file access request message sent by the user terminal, determines the edge server corresponding to the user terminal according to the geographical location of the user terminal carried in the multimedia file access request message, sets an enhancement tag for the multimedia file if it is determined that there is an enhancement server within the preset area range of the edge server corresponding to the user terminal, obtains the target multimedia file, and sends the target multimedia file to the edge server corresponding to the user terminal, so that the edge server sends the target multimedia file to the enhancement server, so that the enhancement server performs optimization processing on the target multimedia file, thereby improving the file quality of the multimedia file, meanwhile, the multimedia file processing capacity of the cloud computing platform is improved.
Fig. 5 is a schematic structural diagram of an entity apparatus of an electronic device according to an embodiment of the present invention, and as shown in fig. 5, the electronic device may include: a processor (processor)401, a memory (memory)402, and a bus 403, wherein the processor 401 and the memory 402 communicate with each other via the bus 403. The processor 401 may call the computer program in the memory 402 to perform the method provided by the above method embodiments, for example, including: receiving a multimedia file access request message sent by a user terminal, wherein the multimedia file access request message carries identification information of a multimedia file requested to be accessed and the geographical position of the user terminal; acquiring the multimedia file according to the identification information of the multimedia file, and determining an edge server corresponding to the user terminal according to the geographical position of the user terminal; if judging that an enhancement server exists in a preset area range of an edge server corresponding to the user terminal, setting an enhancement tag for the multimedia file to obtain a target multimedia file; and sending the target multimedia file to an edge server corresponding to the user terminal, so that the edge server sends the target multimedia file to the enhancement server, and the enhancement server performs optimization processing on the target multimedia file.
An embodiment of the present invention discloses a computer program product, which includes a computer program stored on a non-transitory computer readable storage medium, the computer program including program instructions, when the program instructions are executed by a computer, the computer can execute the methods provided by the above method embodiments, for example, the method includes: receiving a multimedia file access request message sent by a user terminal, wherein the multimedia file access request message carries identification information of a multimedia file requested to be accessed and the geographical position of the user terminal; acquiring the multimedia file according to the identification information of the multimedia file, and determining an edge server corresponding to the user terminal according to the geographical position of the user terminal; if judging that an enhancement server exists in a preset area range of an edge server corresponding to the user terminal, setting an enhancement tag for the multimedia file to obtain a target multimedia file; and sending the target multimedia file to an edge server corresponding to the user terminal, so that the edge server sends the target multimedia file to the enhancement server, and the enhancement server performs optimization processing on the target multimedia file.
An embodiment of the present invention provides a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores a computer program, where the computer program causes the computer to execute the method provided by the foregoing method embodiments, for example, the method includes: receiving a multimedia file access request message sent by a user terminal, wherein the multimedia file access request message carries identification information of a multimedia file requested to be accessed and the geographical position of the user terminal; acquiring the multimedia file according to the identification information of the multimedia file, and determining an edge server corresponding to the user terminal according to the geographical position of the user terminal; if judging that an enhancement server exists in a preset area range of an edge server corresponding to the user terminal, setting an enhancement tag for the multimedia file to obtain a target multimedia file; and sending the target multimedia file to an edge server corresponding to the user terminal, so that the edge server sends the target multimedia file to the enhancement server, and the enhancement server performs optimization processing on the target multimedia file.
Fig. 6 is a schematic structural diagram of an edge server according to an embodiment of the present invention, and as shown in fig. 6, an embodiment of the present invention provides a central server, which includes a receiving unit 501 and a sending unit 502, where:
the receiving unit 501 is configured to receive a target multimedia file sent by a central server; the target multimedia file is a multimedia file carrying an enhanced tag; the sending unit 502 is configured to send the target multimedia file to the enhancement server, so that the enhancement server performs optimization processing on the target multimedia file.
Optionally, the sending unit 502 is further configured to obtain a terminal characteristic parameter of the user terminal, and send the terminal characteristic parameter to the enhancement server, so that the enhancement server performs optimization processing on the target multimedia file according to the terminal characteristic parameter.
Optionally, the receiving unit 501 is further configured to receive a non-target multimedia file sent by the central server, and the sending unit 502 is further configured to send the non-target multimedia file to the user terminal.
Optionally, the edge server further includes a processing unit, configured to count the number of times each multimedia file is received at every preset time interval as a first number of times each media file is received, and broadcast the first number of times each multimedia file is received to other edge servers; the multimedia files comprise target multimedia files and non-target multimedia files; receiving the receiving times of the multimedia files broadcasted by the other edge servers as second receiving times of the multimedia files; and calculating the hot characteristic value of each multimedia file according to the first receiving times and the second receiving times, and generating a multimedia file sequence list according to the hot characteristic values.
Optionally, the target multimedia file is multiple; correspondingly, the sending unit 502 is further configured to sort the target multimedia files according to a preset multimedia file sequence table if it is determined that the number of the target multimedia files is greater than a first preset number, and send the first preset number of target multimedia files that are sorted earlier to the enhancement server, so that the enhancement server performs optimization processing on the target multimedia files.
Optionally, the sending unit 502 is further configured to send the target multimedia file to the enhancement server according to a preset multimedia file sequence table if it is determined that the target multimedia file is a hot multimedia file, so that the enhancement server performs optimization processing on the target multimedia file; the hot multimedia files are multimedia files with a second preset number which are ranked at the top in the multimedia file sequence list.
Fig. 7 is a schematic structural diagram of an entity apparatus of an electronic device according to another embodiment of the present invention, as shown in fig. 7, the electronic device may include: a processor (processor)601, a memory (memory)602, and a bus 603, wherein the processor 601 and the memory 602 communicate with each other via the bus 603. The processor 601 may call the computer program in the memory 602 to execute the methods provided by the above method embodiments, for example, including: receiving a target multimedia file sent by a central server; the target multimedia file is a multimedia file carrying an enhanced tag; and sending the target multimedia file to the enhancement server so that the enhancement server performs optimization processing on the target multimedia file.
An embodiment of the present invention discloses a computer program product, which includes a computer program stored on a non-transitory computer readable storage medium, the computer program including program instructions, when the program instructions are executed by a computer, the computer can execute the methods provided by the above method embodiments, for example, the method includes: receiving a target multimedia file sent by a central server; the target multimedia file is a multimedia file carrying an enhanced tag; and sending the target multimedia file to the enhancement server so that the enhancement server performs optimization processing on the target multimedia file.
An embodiment of the present invention provides a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores a computer program, where the computer program causes the computer to execute the method provided by the foregoing method embodiments, for example, the method includes: receiving a target multimedia file sent by a central server; the target multimedia file is a multimedia file carrying an enhanced tag; and sending the target multimedia file to the enhancement server so that the enhancement server performs optimization processing on the target multimedia file.
Fig. 8 is a schematic view of a cloud computing platform according to an embodiment of the present invention, and as shown in fig. 8, an embodiment of the present invention further provides a cloud computing platform, which includes a source station server 701, an enhanced server 702, a central server 703 in the foregoing embodiments, and an edge server 704 in the foregoing embodiments, where the central server 703 is connected to the source station server 701 and the edge server 704, and the enhanced server 702 is connected to the edge server 704, where:
the enhancement server 702 is configured to receive the target multimedia file sent by the edge server, and perform optimization processing on the target multimedia file.
It is understood that the enhancement server 702 is disposed within the predetermined area of the edge server, and the enhancement server includes a portion of the storage resources and a large amount of GPU resources, so as to achieve the optimized processing of the received multimedia file. It should be noted that the cloud computing platform may further include a core network 705, and may further include other devices, which may be specifically set and adjusted according to actual situations, and are not specifically limited herein.
The embodiments of the central server, the edge server and the cloud computing platform provided by the present invention may be specifically used to execute the processing flows of the above method embodiments, and the functions thereof are not described herein again, and reference may be made to the detailed description of the above method embodiments.
Furthermore, the logic instructions in the memory 402 and the memory 602 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-described embodiments of the central server, the edge server and the cloud computing platform are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, may be located in one place, or may also be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (14)

1. A method for processing a multimedia file, comprising:
receiving a multimedia file access request message sent by a user terminal, wherein the multimedia file access request message carries identification information of a multimedia file requested to be accessed and the geographical position of the user terminal;
acquiring the multimedia file according to the identification information of the multimedia file, and determining an edge server corresponding to the user terminal according to the geographical position of the user terminal;
if judging that an enhancement server exists in a preset area range of an edge server corresponding to the user terminal, setting an enhancement tag for the multimedia file to obtain a target multimedia file;
sending the target multimedia file to an edge server corresponding to the user terminal, so that the edge server sends the target multimedia file to the enhancement server, and the enhancement server performs optimization processing on the target multimedia file according to the terminal characteristic parameters; the enhancement server is connected with the edge server.
2. The method of claim 1, further comprising:
and if judging that no enhancement server exists in the preset area range of the edge server corresponding to the user terminal, sending the multimedia file serving as a non-target multimedia file to the edge server corresponding to the user terminal.
3. A method for processing a multimedia file, comprising:
receiving a target multimedia file sent by a central server; the target multimedia file is a multimedia file carrying an enhanced tag;
sending the target multimedia file to the enhancement server so that the enhancement server performs optimization processing on the target multimedia file;
and acquiring the terminal characteristic parameters of the user terminal, and sending the terminal characteristic parameters to the enhancement server so that the enhancement server performs optimization processing on the target multimedia file according to the terminal characteristic parameters.
4. The method of claim 3, further comprising:
and receiving the non-target multimedia file sent by the central server, and sending the non-target multimedia file to the user terminal.
5. The method of claim 4, further comprising:
counting the times of receiving each multimedia file at intervals of a preset time period respectively as the first receiving times of each media file, and broadcasting the first receiving times of each multimedia file to other edge servers; the multimedia files comprise target multimedia files and non-target multimedia files;
receiving the receiving times of the multimedia files broadcasted by the other edge servers as second receiving times of the multimedia files;
and calculating the hot characteristic value of each multimedia file according to the first receiving times and the second receiving times, and generating a multimedia file sequence list according to the hot characteristic values.
6. The method of claim 5, wherein the target multimedia file is plural; accordingly, the method further comprises:
if the number of the target multimedia files is larger than a first preset number, the target multimedia files are sequenced according to a preset multimedia file sequence table, and the target multimedia files with the first preset number in the front of the sequence are sent to the enhancement server, so that the enhancement server performs optimization processing on the target multimedia files.
7. The method of claim 5, further comprising:
according to a preset multimedia file sequence table, if the target media file is judged to be a hot multimedia file, the target multimedia file is sent to the enhancement server, so that the enhancement server performs optimization processing on the target multimedia file; the hot multimedia files are multimedia files with a second preset number which are ranked at the top in the multimedia file sequence list.
8. A central server is characterized by comprising a receiving unit, an obtaining unit, a judging unit and a sending unit, wherein:
the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a multimedia file access request message sent by a user terminal, and the multimedia file access request message carries identification information of a multimedia file requested to be accessed and the geographic position of the user terminal;
the acquisition unit is used for acquiring the multimedia file according to the identification information of the multimedia file and determining an edge server corresponding to the user terminal according to the geographical position of the user terminal;
a judging unit, configured to set an enhancement tag for the multimedia file if it is judged and known that an enhancement server exists within a preset area range of an edge server corresponding to the user terminal, so as to obtain a target multimedia file;
a sending unit, configured to send the target multimedia file to an edge server corresponding to the user terminal, so that the edge server sends the target multimedia file to the enhancement server, so that the enhancement server performs optimization processing on the target multimedia file according to the terminal characteristic parameter; the enhancement server is connected with the edge server.
9. An electronic device comprising a processor, a memory, and a bus, wherein:
the processor and the memory complete mutual communication through a bus;
the processor may invoke a computer program in a memory to perform the steps of the method of claim 1 or 2.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method as claimed in claim 1 or 2.
11. An edge server, comprising a receiving unit and a sending unit, wherein:
the receiving unit is used for receiving the target multimedia file sent by the central server; the target multimedia file is a multimedia file carrying an enhanced tag;
a sending unit, configured to send the target multimedia file to the enhancement server, so that the enhancement server performs optimization processing on the target multimedia file; and the system is also used for acquiring the terminal characteristic parameters of the user terminal and sending the terminal characteristic parameters to the enhancement server so that the enhancement server performs optimization processing on the target multimedia file according to the terminal characteristic parameters.
12. An electronic device comprising a processor, a memory, and a bus, wherein:
the processor and the memory complete mutual communication through a bus;
the processor may invoke a computer program in memory to perform the steps of the method of any of claims 3-7.
13. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 3 to 7.
14. A cloud computing platform comprising a source station server, an enhancement server, the central server of claim 8 and the edge server of claim 11, the central server being connected to the source station server and the edge server respectively, the enhancement server being connected to the edge server, wherein:
and the enhancement server is used for receiving the target multimedia file sent by the edge server and optimizing the target multimedia file.
CN201711444832.2A 2017-12-27 2017-12-27 Multimedia file processing method and device and cloud computing platform Active CN109981523B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711444832.2A CN109981523B (en) 2017-12-27 2017-12-27 Multimedia file processing method and device and cloud computing platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711444832.2A CN109981523B (en) 2017-12-27 2017-12-27 Multimedia file processing method and device and cloud computing platform

Publications (2)

Publication Number Publication Date
CN109981523A CN109981523A (en) 2019-07-05
CN109981523B true CN109981523B (en) 2022-02-25

Family

ID=67071518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711444832.2A Active CN109981523B (en) 2017-12-27 2017-12-27 Multimedia file processing method and device and cloud computing platform

Country Status (1)

Country Link
CN (1) CN109981523B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112328174A (en) * 2020-10-29 2021-02-05 北京京东尚科信息技术有限公司 Data pushing method, device, system and medium for cloud computing platform
CN115190120B (en) * 2021-03-22 2024-03-01 中国联合网络通信集团有限公司 Multimedia data interaction method, device and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635635A (en) * 2009-08-25 2010-01-27 北京原力创新科技有限公司 Cloud mode streaming media service platform
CN104348841A (en) * 2013-07-23 2015-02-11 中国联合网络通信集团有限公司 Content delivery method, analysis and management and control system and content delivery network system
CN106797485A (en) * 2014-10-02 2017-05-31 恩特里克丝有限公司 High in the clouds stream media service system, high in the clouds stream media service method and its device using optimal GPU

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090178131A1 (en) * 2008-01-08 2009-07-09 Microsoft Corporation Globally distributed infrastructure for secure content management
US9641530B2 (en) * 2015-06-02 2017-05-02 JumpCloud, Inc. Integrated hosted directory

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635635A (en) * 2009-08-25 2010-01-27 北京原力创新科技有限公司 Cloud mode streaming media service platform
CN104348841A (en) * 2013-07-23 2015-02-11 中国联合网络通信集团有限公司 Content delivery method, analysis and management and control system and content delivery network system
CN106797485A (en) * 2014-10-02 2017-05-31 恩特里克丝有限公司 High in the clouds stream media service system, high in the clouds stream media service method and its device using optimal GPU

Also Published As

Publication number Publication date
CN109981523A (en) 2019-07-05

Similar Documents

Publication Publication Date Title
CN104202396B (en) A kind of information sharing method, device, server, terminal device and system
CN105898823B (en) It realizes the method for communication connection and matches card server-side
CN112512100B (en) Slice priority-based AMF (advanced metering framework) redirection method and newly-added management network element
CN104348798B (en) A kind of method, apparatus, dispatch server and system for distributing network
CN109462831B (en) Method, distribution server and system for accessing network by application program in mobile terminal
CN103874032A (en) Information pushing method and device based on mobile terminals
CN106658040A (en) Resource distribution method and device
CN109981523B (en) Multimedia file processing method and device and cloud computing platform
CN102761609A (en) Data push system and method for server
CN106850720A (en) Method for upgrading software, apparatus and system
CN106210153A (en) The method for pushing of a kind of resource information, system and electronic equipment thereof
CN113055878B (en) Cloud card distribution method and device, electronic equipment and storage medium
CN110753323B (en) Card resource allocation method and server
CN104486769B (en) A kind of choosing method and device for being worth cell
CN105915648B (en) Resource scheduling method and device based on cache platform
CN104954487B (en) A kind of method, proxy server and system being carried out by network positioning
CN105472707A (en) Traffic sharing method and device
CN105120444B (en) A kind of image transfer method, proxy server and network access system
CN109525991B (en) Method, distribution server and system for network login
CN102638871B (en) Access network selection method for virtual terminal
CN105992142A (en) Service location area indicating method, device and system
CN109587270B (en) Method for mobile terminal to access network in flow-saving mode and mobile terminal
CN112449301B (en) Broadcast method of positioning auxiliary information, positioning server and RAN node
CN109526009B (en) Communication method, mobile terminal and system
CN109379704B (en) Method, device and equipment for correcting regional information of short message and storage medium

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