CN113242278A - Communication method and device for manufacturing heterogeneous network based on movie cloud and electronic equipment - Google Patents
Communication method and device for manufacturing heterogeneous network based on movie cloud and electronic equipment Download PDFInfo
- Publication number
- CN113242278A CN113242278A CN202110420448.9A CN202110420448A CN113242278A CN 113242278 A CN113242278 A CN 113242278A CN 202110420448 A CN202110420448 A CN 202110420448A CN 113242278 A CN113242278 A CN 113242278A
- Authority
- CN
- China
- Prior art keywords
- client
- rendering
- cloud
- task
- user request
- 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.)
- Granted
Links
- 238000004891 communication Methods 0.000 title claims abstract description 88
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000004519 manufacturing process Methods 0.000 title claims abstract description 43
- 238000009877 rendering Methods 0.000 claims description 58
- 238000012545 processing Methods 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 8
- 238000003860 storage Methods 0.000 claims description 8
- 230000006870 function Effects 0.000 description 12
- 230000008569 process Effects 0.000 description 10
- 230000005540 biological transmission Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012856 packing Methods 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/161—Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
- H04L69/162—Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention provides a communication method, a device and electronic equipment for manufacturing a heterogeneous network based on a movie cloud, wherein the method comprises the following steps: acquiring a user request sent by a client; generating corresponding task parameters according to the user request; sending the task parameters to a distributed node machine so that the distributed node machine can execute corresponding tasks according to the task parameters; receiving task execution condition information fed back by the distributed node machine through an asynchronous message queue; and establishing long connection with the client, feeding back the client according to the task execution condition information, and updating the task state. The invention can meet the cloud production heterogeneous network communication of the film production requirement, and can greatly improve the communication efficiency.
Description
Technical Field
The invention relates to the technical field of movies and communication, in particular to a communication method, a communication device and electronic equipment for manufacturing a heterogeneous network based on a movie cloud.
Background
With the coming of the opinion on accelerating the construction of movie theaters and promoting the prosperous development of the movie market, the movie market enters the standardized development stage. In the aspect of technical application, it is also a development trend to reduce the whole shooting and post-production time greatly by cloud computing technology and establishing a cloud platform to produce movies.
Movies are artistic creations of people. According to the deep research of the film industry, a large amount of computing resources are consumed for the film post-production, and especially in the process of processing one frame of image, the whole film production efficiency can be improved through a cloud platform distributed parallel cluster computing mode.
Compared with single deployment, the traditional distributed cluster deployment is easy to have the problems of program fluctuation, low communication efficiency and the like caused by unstable multi-terminal communication, and the film production process is combined to relate to inherent service requirements of wide regional distribution, long production time, mass data required for production to support and the like, so that a heterogeneous network becomes a necessary support mode in the background of a film cloud production platform. Heterogeneous networks are composed of computers, network devices and systems produced by different manufacturers, most often running over different protocols to support different functions or applications. The heterogeneous network of the movie cloud production platform mainly comprises a client, a service system and a distributed node machine. The user interacts with the service system through the client, and the distributed node machine performs related manufacturing operations according to the user requirements, such as: rendering, compressing, packing, etc. In order to provide services for users, data transmission, communication synchronization, and the like need to be performed between the heterogeneous networks. According to researches, heterogeneous networks can become geometric multiples to aggravate communication instability and increase the occurrence probability of communication fluctuation, the overall communication efficiency is greatly reduced, the data volume of film material files is large, the requirement on communication stability is high, and therefore a film production system for building a distributed cluster mode under the heterogeneous networks faces huge multi-terminal communication challenges.
How to provide a communication mode of a heterogeneous network capable of meeting the requirement of film production, improve communication efficiency and ensure communication stability is an urgent problem to be solved.
Disclosure of Invention
The invention provides a communication method, a communication device and electronic equipment for manufacturing a heterogeneous network based on a movie cloud, which are used for solving the defects that the communication of the heterogeneous network manufactured by the movie cloud in the prior art is unstable and communication fluctuation is easy to occur, realizing the communication of the heterogeneous network manufactured by the cloud capable of meeting the movie manufacturing requirement, and greatly improving the communication efficiency.
The invention provides a communication method for manufacturing a heterogeneous network based on a movie cloud, which comprises the following steps: acquiring a user request sent by a client; generating corresponding task parameters according to the user request; sending the task parameters to a distributed node machine so that the distributed node machine can execute corresponding tasks according to the task parameters; receiving task execution condition information fed back by the distributed node machine through an asynchronous message queue; and establishing long connection with the client, feeding back the client according to the task execution condition information, and updating the task state.
According to the communication method for manufacturing the heterogeneous network based on the movie cloud, provided by the invention, between the step of acquiring the user request sent by the client and the step of generating the corresponding task parameters according to the user request, the method further comprises the following steps: verifying whether the user request is erroneous; and if the user request is wrong, feeding back request error information to the client.
According to the communication method for manufacturing the heterogeneous network based on the movie cloud, which is provided by the invention, the long connection with the client is established, and the method comprises the following steps: and establishing a long connection with the client in a WebSocket long connection mode.
According to the communication method for manufacturing the heterogeneous network based on the movie cloud, provided by the invention, the user request comprises a request rendering file and rendering mode information, and corresponding task parameters are generated according to the user request, and the method comprises the following steps: acquiring a file address of the request rendering file, and generating a corresponding rendering parameter according to the rendering mode information; the task parameters comprise file addresses of the requested rendering files and the rendering parameters, and the task execution condition information comprises rendering progress information.
The invention also provides a communication device for manufacturing a heterogeneous network based on the movie cloud, which comprises: the first communication module is used for acquiring a user request sent by a client; the second communication module is used for sending task parameters corresponding to the user request to the distributed node machine so that the distributed node machine can execute corresponding tasks according to the task parameters; the second communication module is also used for receiving task execution condition information fed back by the distributed node machine through the asynchronous message queue; the control processing module is used for generating the task parameters according to the user request; the first communication module is further configured to establish a long connection with the client, and feed back and update a task state to the client according to the task execution condition information.
According to the communication device for manufacturing the heterogeneous network based on the movie cloud, the control processing module is further used for verifying whether the user request is wrong; and if the user request is wrong, feeding back request error information to the client through the first communication module.
According to the communication device for manufacturing the heterogeneous network based on the movie cloud, the first communication module establishes long connection with the client in a WebSocket long connection mode.
According to the communication device for manufacturing the heterogeneous network based on the movie cloud, the user request comprises a request for rendering a file and rendering mode information; the control processing module is used for acquiring the file address of the request rendering file and generating corresponding rendering parameters according to the rendering mode information; the task parameters comprise file addresses of the requested rendering files and the rendering parameters, and the task execution condition information comprises rendering progress information.
The invention also provides an electronic device, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the processor executes the program, the steps of the communication method for manufacturing the heterogeneous network based on the movie cloud are realized.
The present invention also provides a non-transitory computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the method for making a heterogeneous network based on a movie cloud as described in any one of the above.
According to the communication method, the communication device and the electronic equipment for manufacturing the heterogeneous network based on the movie cloud, the business system generates corresponding task parameters according to the user request and sends the task parameters to the distributed node machines after acquiring the user request, the distributed node machines execute tasks and feed back task execution condition information to the business system through the asynchronous message queues, and the asynchronous message queue feedback information mode can ensure that the distributed node machines cannot cause abnormal operation problems due to message sending failure or synchronous message failure caused by network fluctuation in the operation process, so that the operation stability of the core program is ensured. After receiving the information of the task execution condition, the service system establishes long connection with the client, feeds back and updates the task state to the client, can solve the problem of data synchronization under the condition that the client foreground is not started and the like, does not need to return after receiving the information, and can greatly improve the communication efficiency.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for 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 flow chart of a communication method for producing a heterogeneous network based on a movie cloud according to the present invention;
fig. 2 is a block diagram of a communication device for producing a heterogeneous network based on a movie cloud according to the present invention;
fig. 3 is a schematic diagram of the structure of an electronic device in one example of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, 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.
It should be appreciated that reference throughout this specification to "an embodiment" or "one embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrase "in an embodiment" or "in one embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
In the description of the present invention, it is to be understood that the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it is to be noted that, unless otherwise explicitly specified or limited, the term "connected" is to be interpreted broadly, e.g. as either directly or indirectly through intervening media. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
The inventor of the application finds that, through a lot of creative labor, a HyperText Transfer Protocol (HTTP) request application sends a request message to a server at a client, and a websocket can realize that the server actively pushes data to the client in a long connection mode, so that data exchange between the client and a server becomes simpler. The message queue can effectively avoid the problem of program abnormity caused by network fluctuation or message sending failure in an asynchronous mode. Based on this, the present invention has been proposed.
The communication method for making a heterogeneous network based on a movie cloud according to the present invention is described below with reference to fig. 1.
As shown in fig. 1, the communication method for manufacturing a heterogeneous network based on a movie cloud of the present invention includes:
s1: and acquiring a user request sent by a client.
Specifically, the movie cloud production heterogeneous network comprises a client, a service system and a distributed node machine. Wherein the client may be a browser end. And the user sends a user request to the service system through the client. The user request may be an HTTP request, which is used to render a certain file, upload or download a certain file, compress or package a certain file, or the like.
S2: and generating corresponding task parameters according to the user request.
Specifically, after receiving the user request, the service system first verifies whether the user request is incorrect, for example, whether a request address in the user request exists, or the like. If the user requests the error, feeding back request error information to the client, for example, the requested address does not exist, and then ending the process; and if the user request is correct, feeding back confirmation information to the user.
After verifying that the user request is correct, the service system may initiate a kernel program deployed on the distributed node machine based on a Remote Procedure Call (RPC) framework Remote command. The RPC framework can callout remote functions as if it were calling a local function. Using the RPC framework requires Call ID mapping, serialization and deserialization and network transmission. In a local call, the body of the function is specified directly by a function pointer. However, in remote calls, the function pointer is not used because the address spaces of the two processes are completely different. Therefore, in RPC, all functions must have their own ID. This ID is uniquely determined in all processes. The client must attach this ID when making remote procedure calls. Then, a corresponding table needs to be maintained at the client and the server, respectively. The tables of both need not be identical, but the Call IDs corresponding to the same function need to be identical. When the client needs to be remotely called, the corresponding table needs to be inquired, the corresponding Call ID is found out and then is transmitted to the server, the server determines the function to be called by the client through table look-up, and then the code of the corresponding function is executed. In local calling, it is only necessary to push the parameter to the stack and then let the function read from the stack. However, when the remote process is called, the client and the server are different processes, and parameters cannot be transmitted through the memory. Even sometimes the client and server use different languages. At this time, the client is required to convert the parameters into a byte stream, and then convert the byte stream into a format which can be read by the client after the parameters are transmitted to the server. This process is called serialization and deserialization. Similarly, the value returned from the server also requires a serialization deserialization process. Remote invocation is often used over a network, with the client and server connected through the network. All data needs to be transported over the network and therefore a network transport layer is required. The network transmission layer needs to transmit the Call ID and the serialized parameter byte stream to the server, and then transmit the serialized Call result back to the client. Both of these can be used as the transport layer as long as they can be accomplished. Thus, the protocol used is not limited in nature and the transfer can be accomplished.
In this embodiment, after the core program is started, the core program requests the service system to acquire the required task parameters in a synchronous manner based on the HTTP protocol interface. And the service system generates corresponding task parameters according to the user request. Specifically, the service system extracts request content information in a user request, for example, when a user requests to render a certain file, the requested rendering file and rendering mode information selected by the user need to be extracted. The rendering mode is preset by the service system and is selected by a user, for example, the service system provides a rendering mode X, a rendering mode Y and a rendering mode Z, and the user can select one of the rendering modes from the rendering mode X, the rendering mode Y and the rendering mode Z through the client. And when the user selects the rendering mode, the service system can acquire the corresponding rendering parameters through the rendering mode selected by the user. The business system takes the request rendering file and the rendering parameters as task parameters,
s3: and sending the task parameters to the distributed node machine so that the distributed node machine executes corresponding tasks according to the task parameters.
Specifically, when the distributed node machine receives the task parameters, the distributed node machine executes corresponding tasks according to the task parameters, for example, when a user requests to render a requested rendering file, the distributed node machine renders the requested rendering file according to the rendering parameters. And when the distributed node machine executes the corresponding task, the task execution condition information is stored.
S4: and receiving task execution condition information fed back by the distributed node machine through the asynchronous message queue.
Specifically, the distributed node machine receives task execution condition information fed back by the distributed node machine through the asynchronous message queue. The distributed node machine sends messages to the queue, the service system obtains the messages from the queue, the distributed node machine and the service system are decoupled, and when the distributed node machine sends the messages, the asynchronous mode is achieved without the response of the service system. The embodiment can ensure that the problem of abnormal operation of the core program caused by failure of message sending or failure of synchronous messages due to network fluctuation can not occur in the operation process of the core program by the mode of feeding back the information by the asynchronous message queue, thereby ensuring the operation stability of the core program.
S5: and establishing long connection with the client, feeding back the client according to the task execution condition information, and updating the task state.
Specifically, WebSocket is a protocol of HTML5, HTTP is not supported for persistent connections. Websocket only needs to pass through one HTTP request, thus avoiding the non-stateness of HTTP and realizing continuous information transmission. In this embodiment, the service system establishes a long connection with the client through a long connection manner of the WebSocket, feeds back to the client according to the task execution condition information and updates the task state, so that data synchronization under the conditions that the client foreground is not started and the like can be solved, the client foreground does not need to return after receiving the message, and the communication efficiency can be greatly improved.
And after the service system finishes the content request of the user of the client, releasing the node resources and stopping using the scheduling server and the file transmission server.
The following describes the communication device based on the heterogeneous movie cloud production network, and the communication device based on the heterogeneous movie cloud production network described below and the communication method based on the heterogeneous movie cloud production network described above may be referred to in correspondence.
Fig. 2 is a block diagram of a communication device for producing a heterogeneous network based on a movie cloud according to the present invention. As shown in fig. 2, the communication device for manufacturing a heterogeneous network based on a movie cloud according to the present invention includes: a first communication module 210, a second communication module 220, and a control processing module 230.
The first communication module 210 is configured to obtain a user request sent by a client. The second communication module 220 is configured to send the task parameter corresponding to the user request to the distributed node machine, so that the distributed node machine executes a corresponding task according to the task parameter. The second communication module 220 is further configured to receive task execution status information fed back by the distributed node machine through the asynchronous message queue. The control processing module 230 is used for generating task parameters according to a user request. The first communication module 210 is further configured to establish a long connection with the client, and feedback and update the task state to the client according to the task execution condition information.
In one embodiment of the invention, the control processing module 230 is further configured to verify whether the user request is incorrect; if the user requests an error, request error information is fed back to the client through the first communication module 210.
In an embodiment of the present invention, the first communication module 210 establishes a long connection with the client through a WebSocket long connection manner.
In one embodiment of the invention, the user request includes a request to render a file and rendering mode information. The control processing module 230 is configured to obtain a file address of the requested rendering file, and generate a corresponding rendering parameter according to the rendering mode information. The task parameters comprise file addresses and rendering parameters of the requested rendering files, and the task execution condition information comprises rendering progress information.
It should be noted that, in the embodiment of the present invention, a specific implementation manner of the communication apparatus for creating a heterogeneous network based on a movie cloud is similar to a specific implementation manner of the communication method for creating a heterogeneous network based on a movie cloud, and reference is specifically made to the description of the communication method for creating a heterogeneous network based on a movie cloud, and details are not repeated in order to reduce redundancy.
In addition, other configurations and functions of the communication device for creating the heterogeneous network based on the movie cloud according to the embodiment of the present invention are known to those skilled in the art, and are not described in detail for reducing redundancy.
Fig. 3 is a schematic diagram of the structure of an electronic device in one example of the invention. As shown in fig. 3, the electronic device may include: a processor 310, a communication interface 320, a memory 330 and a communication bus 340, wherein the processor 310, the communication interface 320 and the memory 330 are communicated with each other through the communication bus 340. The processor 310 may invoke logic instructions in the memory 330 to perform a method of communication based on a movie cloud production heterogeneous network, the method comprising: acquiring a user request sent by a client; generating corresponding task parameters according to the user request; sending the task parameters to a distributed node machine so that the distributed node machine can execute corresponding tasks according to the task parameters; receiving task execution condition information fed back by the distributed node machine through an asynchronous message queue; and establishing long connection with the client, feeding back the client according to the task execution condition information, and updating the task state.
In an embodiment of the invention, the processor may be an integrated circuit chip having signal processing capability.
In another aspect, the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented by a processor to execute the foregoing provided communication method based on a movie cloud production heterogeneous network, where the method includes: acquiring a user request sent by a client; generating corresponding task parameters according to the user request; sending the task parameters to a distributed node machine so that the distributed node machine can execute corresponding tasks according to the task parameters; receiving task execution condition information fed back by the distributed node machine through an asynchronous message queue; and establishing long connection with the client, feeding back the client according to the task execution condition information, and updating the task state.
The storage medium may be a memory, for example, which may be volatile memory or nonvolatile memory, or which may include both volatile and nonvolatile memory.
The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory.
The volatile Memory may be a Random Access Memory (RAM) which serves as an external cache. By way of example and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (ddr Data Rate SDRAM), Enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and Direct Rambus RAM (DRRAM).
The storage media described in connection with the embodiments of the invention are intended to comprise, without being limited to, these and any other suitable types of memory.
Those skilled in the art will appreciate that the functionality described in the present invention may be implemented in a combination of hardware and software in one or more of the examples described above. When software is applied, the corresponding functionality may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may 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 (10)
1. A communication method for manufacturing a heterogeneous network based on a movie cloud is characterized by comprising the following steps:
acquiring a user request sent by a client;
generating corresponding task parameters according to the user request;
sending the task parameters to a distributed node machine so that the distributed node machine can execute corresponding tasks according to the task parameters;
receiving task execution condition information fed back by the distributed node machine through an asynchronous message queue;
and establishing long connection with the client, feeding back the client according to the task execution condition information, and updating the task state.
2. The communication method for manufacturing the heterogeneous network based on the movie cloud end according to claim 1, wherein between acquiring the user request sent by the client and generating the corresponding task parameter according to the user request, the method further comprises:
verifying whether the user request is erroneous;
and if the user request is wrong, feeding back request error information to the client.
3. The communication method for the heterogeneous network based on the movie cloud, according to claim 1, wherein the establishing of the long connection with the client comprises:
and establishing a long connection with the client in a WebSocket long connection mode.
4. The communication method for manufacturing the heterogeneous network based on the movie cloud as claimed in claim 1, wherein the user request includes a request for rendering a file and rendering mode information, and the generating of the corresponding task parameter according to the user request includes:
acquiring a file address of the request rendering file, and generating a corresponding rendering parameter according to the rendering mode information;
the task parameters comprise file addresses of the requested rendering files and the rendering parameters, and the task execution condition information comprises rendering progress information.
5. A communication device for manufacturing a heterogeneous network based on a movie cloud, comprising:
the first communication module is used for acquiring a user request sent by a client;
the second communication module is used for sending task parameters corresponding to the user request to the distributed node machine so that the distributed node machine can execute corresponding tasks according to the task parameters; the second communication module is also used for receiving task execution condition information fed back by the distributed node machine through the asynchronous message queue;
the control processing module is used for generating the task parameters according to the user request;
the first communication module is further configured to establish a long connection with the client, and feed back and update a task state to the client according to the task execution condition information.
6. The movie cloud-based heterogeneous network communication device according to claim 5, wherein the control processing module is further configured to verify whether the user request is incorrect; and if the user request is wrong, feeding back request error information to the client through the first communication module.
7. The communication device based on the movie cloud heterogeneous network, according to claim 5, wherein the first communication module establishes a long connection with the client in a WebSocket long connection manner.
8. The movie cloud based heterogeneous network communication device according to claim 5, wherein the user request comprises a request for rendering files and rendering mode information; the control processing module is used for acquiring the file address of the request rendering file and generating corresponding rendering parameters according to the rendering mode information; the task parameters comprise file addresses of the requested rendering files and the rendering parameters, and the task execution condition information comprises rendering progress information.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to implement the steps of the communication method for creating the heterogeneous network based on the movie cloud according to any one of claims 1 to 4.
10. A non-transitory computer readable storage medium having a computer program stored thereon, wherein the computer program when executed by a processor implements the steps of the communication method for manufacturing a heterogeneous network based on a movie cloud according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110420448.9A CN113242278B (en) | 2021-04-19 | 2021-04-19 | Communication method and device for manufacturing heterogeneous network based on movie cloud and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110420448.9A CN113242278B (en) | 2021-04-19 | 2021-04-19 | Communication method and device for manufacturing heterogeneous network based on movie cloud and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113242278A true CN113242278A (en) | 2021-08-10 |
CN113242278B CN113242278B (en) | 2023-04-14 |
Family
ID=77128684
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110420448.9A Active CN113242278B (en) | 2021-04-19 | 2021-04-19 | Communication method and device for manufacturing heterogeneous network based on movie cloud and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113242278B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140171204A1 (en) * | 2012-12-13 | 2014-06-19 | Microsoft Corporation | Asynchronous cloud rendered video delivery |
CN107093138A (en) * | 2017-04-21 | 2017-08-25 | 山东佳联电子商务有限公司 | Auction Ask-Bid System and its operation method based on distributed clog-free asynchronous message tupe |
CN109242945A (en) * | 2018-12-13 | 2019-01-18 | 深圳市彬讯科技有限公司 | Intelligent dispatching method, device, equipment and the storage medium of Distributed Rendering Environment |
CN110471772A (en) * | 2019-08-19 | 2019-11-19 | 上海云绅智能科技有限公司 | A kind of distributed system and its rendering method, client computer |
CN111404931A (en) * | 2020-03-13 | 2020-07-10 | 清华大学 | Remote data transmission method based on persistent memory |
CN111552580A (en) * | 2020-05-07 | 2020-08-18 | 深圳前海微众银行股份有限公司 | Distributed micro-service decision-making method, device, equipment and computer storage medium |
CN111629028A (en) * | 2020-04-10 | 2020-09-04 | 清华大学 | Data transmission scheduling system for distributed multi-cloud storage |
CN111951363A (en) * | 2020-07-16 | 2020-11-17 | 广州玖的数码科技有限公司 | Cloud computing chain-based rendering method and system and storage medium |
CN112463288A (en) * | 2019-09-09 | 2021-03-09 | 北京奇虎科技有限公司 | Behavior monitoring method and system based on pile insertion |
-
2021
- 2021-04-19 CN CN202110420448.9A patent/CN113242278B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140171204A1 (en) * | 2012-12-13 | 2014-06-19 | Microsoft Corporation | Asynchronous cloud rendered video delivery |
CN107093138A (en) * | 2017-04-21 | 2017-08-25 | 山东佳联电子商务有限公司 | Auction Ask-Bid System and its operation method based on distributed clog-free asynchronous message tupe |
CN109242945A (en) * | 2018-12-13 | 2019-01-18 | 深圳市彬讯科技有限公司 | Intelligent dispatching method, device, equipment and the storage medium of Distributed Rendering Environment |
CN110471772A (en) * | 2019-08-19 | 2019-11-19 | 上海云绅智能科技有限公司 | A kind of distributed system and its rendering method, client computer |
CN112463288A (en) * | 2019-09-09 | 2021-03-09 | 北京奇虎科技有限公司 | Behavior monitoring method and system based on pile insertion |
CN111404931A (en) * | 2020-03-13 | 2020-07-10 | 清华大学 | Remote data transmission method based on persistent memory |
CN111629028A (en) * | 2020-04-10 | 2020-09-04 | 清华大学 | Data transmission scheduling system for distributed multi-cloud storage |
CN111552580A (en) * | 2020-05-07 | 2020-08-18 | 深圳前海微众银行股份有限公司 | Distributed micro-service decision-making method, device, equipment and computer storage medium |
CN111951363A (en) * | 2020-07-16 | 2020-11-17 | 广州玖的数码科技有限公司 | Cloud computing chain-based rendering method and system and storage medium |
Non-Patent Citations (1)
Title |
---|
刘达;方捷新: "云计算技术在数字电影中的应用策略及宏观思考", 《现代电影技术》 * |
Also Published As
Publication number | Publication date |
---|---|
CN113242278B (en) | 2023-04-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10554607B2 (en) | Heterogeneous cloud controller | |
WO2016127793A1 (en) | Message sending method, apparatus, system, and server | |
CN111756674B (en) | Network communication method, system, device and computer readable storage medium | |
TW202038581A (en) | Management client, and device monitoring system and method | |
CN107222321B (en) | Configuration message sending method and device | |
US8533734B2 (en) | Application programming interface for managing time sharing option address space | |
WO2021073395A1 (en) | Yang model management method, apparatus and system, device, and storage medium | |
CN110138753B (en) | Distributed message service system, method, apparatus, and computer-readable storage medium | |
CN114860473A (en) | Message processing method, processor and storage medium | |
CN113242278B (en) | Communication method and device for manufacturing heterogeneous network based on movie cloud and electronic equipment | |
CN112583630A (en) | Device management method, device, system, device and storage medium | |
WO2024074091A1 (en) | Sip dynamic load balancing method and system, and device and storage medium | |
US9838470B2 (en) | Write access to a variable in a server | |
CN111917859B (en) | Data transmission method and device, computer equipment and storage medium | |
CN110677443A (en) | Data transmitting and receiving method, transmitting end, receiving end, system and storage medium | |
CN112187916B (en) | Cross-system data synchronization method and device | |
CN105049255A (en) | Net element data synchronization method and device thereof | |
WO2022028189A1 (en) | Screen projection method and apparatus, electronic device, and computer readable storage medium | |
WO2019100364A1 (en) | Dynamic resource allocation method in cloud video platform | |
CN111083182B (en) | Distributed Internet of things equipment management method and device | |
CN113722115A (en) | Method, device, equipment and computer readable medium for calling interface | |
WO2018120960A1 (en) | Proxy-based service processing method, device, and network element device | |
CN117440446B (en) | Data transmission method and device based on data distribution service | |
CN115412865B (en) | Short message gateway protocol calling method, system, electronic equipment and storage medium | |
WO2023082244A1 (en) | Group affiliation method and corresponding device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: 100086 No. 44 South Road, Haidian District Academy of Sciences, Beijing Patentee after: China Film Science and Technology Research Institute (Film Technology Quality Inspection Institute of the Central Propaganda Department) Address before: 100086 No. 44 South Road, Haidian District Academy of Sciences, Beijing Patentee before: CHINA FILM SCIENCE AND TECHNOLOGY INST. |
|
CP01 | Change in the name or title of a patent holder |