Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
To better understand the embodiments of the present invention, the following description refers to the internet of view:
some of the technologies applied in the video networking are as follows:
network Technology (Network Technology)
Network technology innovation in video networking has improved over traditional Ethernet (Ethernet) to face the potentially enormous video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network circuit Switching (circuit Switching), the Packet Switching is adopted by the technology of the video networking to meet the Streaming requirement. The video networking technology has the advantages of flexibility, simplicity and low price of packet switching, and simultaneously has the quality and safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Switching Technology (Switching Technology)
The video network adopts two advantages of asynchronism and packet switching of the Ethernet, eliminates the defects of the Ethernet on the premise of full compatibility, has end-to-end seamless connection of the whole network, is directly communicated with a user terminal, and directly bears an IP data packet. The user data does not require any format conversion across the entire network. The video networking is a higher-level form of the Ethernet, is a real-time exchange platform, can realize the real-time transmission of the whole-network large-scale high-definition video which cannot be realized by the existing Internet, and pushes a plurality of network video applications to high-definition and unification.
Server Technology (Server Technology)
The server technology on the video networking and unified video platform is different from the traditional server, the streaming media transmission of the video networking and unified video platform is established on the basis of connection orientation, the data processing capacity of the video networking and unified video platform is independent of flow and communication time, and a single network layer can contain signaling and data transmission. For voice and video services, the complexity of video networking and unified video platform streaming media processing is much simpler than that of data processing, and the efficiency is greatly improved by more than one hundred times compared with that of a traditional server.
Storage Technology (Storage Technology)
The super-high speed storage technology of the unified video platform adopts the most advanced real-time operating system in order to adapt to the media content with super-large capacity and super-large flow, the program information in the server instruction is mapped to the specific hard disk space, the media content is not passed through the server any more, and is directly sent to the user terminal instantly, and the general waiting time of the user is less than 0.2 second. The optimized sector distribution greatly reduces the mechanical motion of the magnetic head track seeking of the hard disk, the resource consumption only accounts for 20% of that of the IP internet of the same grade, but concurrent flow which is 3 times larger than that of the traditional hard disk array is generated, and the comprehensive efficiency is improved by more than 10 times.
Network Security Technology (Network Security Technology)
The structural design of the video network completely eliminates the network security problem troubling the internet structurally by the modes of independent service permission control each time, complete isolation of equipment and user data and the like, generally does not need antivirus programs and firewalls, avoids the attack of hackers and viruses, and provides a structural carefree security network for users.
Service Innovation Technology (Service Innovation Technology)
The unified video platform integrates services and transmission, and is not only automatically connected once whether a single user, a private network user or a network aggregate. The user terminal, the set-top box or the PC are directly connected to the unified video platform to obtain various multimedia video services in various forms. The unified video platform adopts a menu type configuration table mode to replace the traditional complex application programming, can realize complex application by using very few codes, and realizes infinite new service innovation.
Networking of the video network is as follows:
the video network is a centralized control network structure, and the network can be a tree network, a star network, a ring network and the like, but on the basis of the centralized control node, the whole network is controlled by the centralized control node in the network.
As shown in fig. 1, the video network is divided into an access network and a metropolitan network.
The devices of the access network part can be mainly classified into 3 types: node server, access switch, terminal (including various set-top boxes, coding boards, memories, etc.). The node server is connected to an access switch, which may be connected to a plurality of terminals and may be connected to an ethernet network.
The node server is a node which plays a centralized control function in the access network and can control the access switch and the terminal. The node server can be directly connected with the access switch or directly connected with the terminal.
Similarly, devices of the metropolitan network portion may also be classified into 3 types: a metropolitan area server, a node switch and a node server. The metro server is connected to a node switch, which may be connected to a plurality of node servers.
The node server is a node server of the access network part, namely the node server belongs to both the access network part and the metropolitan area network part.
The metropolitan area server is a node which plays a centralized control function in the metropolitan area network and can control a node switch and a node server. The metropolitan area server can be directly connected with the node switch or directly connected with the node server.
Therefore, the whole video network is a network structure with layered centralized control, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star and ring.
The access network part can form a unified video platform (the part in the dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform may be interconnected via metropolitan area and wide area video networking.
Video networking device classification
1.1 devices in the video network of the embodiment of the present invention can be mainly classified into 3 types: servers, switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, etc.). The video network as a whole can be divided into a metropolitan area network (or national network, global network, etc.) and an access network.
1.2 wherein the devices of the access network part can be mainly classified into 3 types: node servers, access switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
as shown in fig. 2, the system mainly includes anetwork interface module 201, aswitching engine module 202, aCPU module 203, and adisk array module 204;
thenetwork interface module 201, theCPU module 203, and thedisk array module 204 all enter theswitching engine module 202; theswitching engine module 202 performs an operation of looking up the address table 205 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a queue of thecorresponding packet buffer 206 based on the packet's steering information; if the queue of thepacket buffer 206 is nearly full, it is discarded; theswitching engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero. Thedisk array module 204 mainly implements control over the hard disk, including initialization, read-write, and other operations on the hard disk; theCPU module 203 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 205 (including a downlink protocol packet address table, an uplink protocol packet address table, and a data packet address table), and configuring thedisk array module 204.
The access switch:
as shown in fig. 3, the network interface module mainly includes a network interface module (a downlink network interface module 301 and an uplink network interface module 302), a switching engine module 303 and a CPU module 304;
wherein, the packet (uplink data) coming from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), the Source Address (SA), the packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 303, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 302 enters the switching engine module 303; the data packet coming from the CPU module 204 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up the address table 306 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with the stream-id; if the queue of the packet buffer 307 is nearly full, it is discarded; if the packet entering the switching engine module 303 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the guiding information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switching engine module 303 polls all packet buffer queues, which in this embodiment of the present invention is divided into two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) obtaining a token generated by a code rate control module;
if the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
The rate control module 208 is configured by theCPU module 204, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the code rate control module 308.
Ethernet protocol conversion gateway:
As shown in fig. 4, the apparatus mainly includes a network interface module (a downlinknetwork interface module 401 and an uplink network interface module 402), aswitching engine module 403, aCPU module 404, apacket detection module 405, arate control module 408, an address table 406, apacket buffer 407, aMAC adding module 409, and aMAC deleting module 410.
Wherein, the data packet coming from the downlinknetwork interface module 401 enters thepacket detection module 405; thepacket detection module 405 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, theMAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlinknetwork interface module 401 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MACSA of the ethernet coordination gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
wherein:
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of the data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are 256 possibilities at most, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses;
the Source Address (SA) is also composed of 8 bytes (byte), defined as the same as the Destination Address (DA);
the reserved byte consists of 2 bytes;
the payload part has different lengths according to different types of datagrams, and is 64 bytes if the datagram is various types of protocol packets, and is 32+1024 or 1056 bytes if the datagram is a unicast packet, of course, the length is not limited to the above 2 types;
the CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and a node switch and a node server. However, the metro network address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the embodiment of the present invention: a label to uniquely describe a metropolitan area network device.
In this specification, the definition of the Label is similar to that of the Label of MPLS (Multi-Protocol Label Switch), and assuming that there are two connections between the device a and the device B, there are 2 labels for the packet from the device a to the device B, and 2 labels for the packet from the device B to the device a. The label is classified into an incoming label and an outgoing label, and assuming that the label (incoming label) of the packet entering the device a is 0x0000, the label (outgoing label) of the packet leaving the device a may become 0x 0001. The network access process of the metro network is a network access process under centralized control, that is, address allocation and label allocation of the metro network are both dominated by the metro server, and the node switch and the node server are both passively executed, which is different from label allocation of MPLS, and label allocation of MPLS is a result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metro network mainly includes the following parts:
| DA | SA | Reserved | label (R) | Payload | CRC |
Namely Destination Address (DA), Source Address (SA), Reserved byte (Reserved), tag, payload (pdu), CRC. The format of the tag may be defined by reference to the following: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.
Based on the characteristics of the video network, one of the core concepts of the embodiment of the invention is provided, a whiteboard server controls a plurality of video network terminals to cooperatively process the same file according to a video network protocol, specifically, a first file sent by a first video network terminal is received first, and the first file is loaded into a whiteboard room created for the first video network terminal in advance; then, first ink information generated by all video network terminals (including a first video network terminal and a second video network terminal different from the first video network terminal) in the whiteboard room on the first file is periodically acquired; and arranging all the acquired first ink information, and sending the arranged first ink information to each video network terminal to update the original first file, so that each video network terminal can continuously edit the first file on the basis of the arranged first ink information, and the cooperative processing of a plurality of video network terminals on the same file is realized.
The application provides a method for cooperatively processing files, which is applied to a whiteboard server in a video network. Fig. 5 is a flowchart illustrating a method for collaboratively processing a file according to an embodiment of the present application. Referring to fig. 5, the method for co-processing files of the present application may include the steps of:
step S11: receiving a first file sent by a first video network terminal, and loading the first file into a whiteboard room, wherein the whiteboard room is created for the first video network terminal by the whiteboard server in advance.
In this embodiment, a plurality of video network terminals are connected to the whiteboard server. Electronic whiteboard is all installed to each video network terminal, and electronic whiteboard means electronic whiteboard software, or other application software that have electronic whiteboard function, and through this type of software, the user can edit all kinds of files on the video network terminal, and wherein the file can be: OFFICE files, PDF files, picture files, etc.
In general, a user may independently edit a first file by using an electronic whiteboard, and when the user needs to share the first file to other users and collaboratively process the first file with the other users, the user needs to apply for creating a whiteboard room from a whiteboard server, where the whiteboard room is used to manage a process in which the whiteboard server collaboratively processes the first file by using a plurality of video networking terminals.
The first video network terminal actively shares the file so as to be watched by other video network terminals or edit the file, and the file shared by the first video network terminal is the first file. After the whiteboard room is successfully created, the whiteboard server loads the first file into the whiteboard room for users of other video network terminals to view or edit, and all users in the whiteboard room can view or edit the activated files in the whiteboard room but cannot view or edit the files which are not loaded into the whiteboard room.
Step S12: and periodically acquiring first ink information generated by each video network terminal in the whiteboard room aiming at the first file, wherein the video network terminals comprise a first video network terminal and a second video network terminal, and the second video network terminal is different from the first video network terminal.
In this embodiment, the video network terminals in the whiteboard room are all the second video network terminals except the first video network terminal, and the number of the second video network terminals may be multiple. The first video network terminal and the second video network terminal have different management authorities to the whiteboard room, and the first video network terminal has all functions of the second video network terminal, for example: the first video network terminal has multiple functions of creating and dissembling a whiteboard room and managing the entrance and exit of the second video network terminal from the whiteboard room, which are not possessed by the second video network terminal, and has a function of watching or editing a first file in the whiteboard room, which is also possessed by the second video network terminal.
When the first video network terminal loads the first file into the whiteboard room, all the second video network terminals can not only view the first file, but also edit the first file.
The first ink information refers to information generated when the first file is edited, for example, when the first file is a WORD file, the first ink information may be comments made to the WORD file, parameters generated when the style of the document is adjusted, parameters generated when the format of the text is adjusted, and the like. Each video network terminal can edit the first file through an electronic whiteboard installed on the video network terminal, and generates first ink information. The whiteboard server acquires first ink information generated by all video network terminals in the whiteboard room in a T period. Illustratively, the time when the whiteboard server last acquires the first ink information is T0, the time when the whiteboard server currently acquires the first ink information is T1, and the difference between T0 and T1 is T, all the first ink information acquired by the whiteboard server at the time T1 is the sum of the first ink information generated by each video network terminal in the time period of T0-T1.
In a period of time, one video network terminal can generate a plurality of pieces of first ink information, and the video network terminals are not influenced mutually when generating the first ink information.
Step S13: and sorting the first ink mark information.
Specifically, step S13 may include:
and summarizing the first ink information according to the time stamp carried by the first ink information sent by each video network terminal.
The time when each video network terminal generates the first ink information can be different, and the first ink information is sorted according to the sequence of the time stamps of each piece of the first ink information, so that errors can be prevented when each video network terminal updates the first file on the electronic whiteboard.
The time stamp of the first ink information is marked by the electronic whiteboard. For example: the first video network terminal inserts a picture into the first file, the electronic whiteboard firstly generates a piece of first ink information, and the adopted format can be as follows: xxxyyyyzzz, where XXX is an event corresponding to the action of inserting a picture, YYY is information of the event, such as the size, position, and parameters of the picture, ZZZ is a timestamp, and the electronic whiteboard uses the current time of the first network-of-view terminal as the timestamp.
After acquiring first ink information generated by each video network terminal in a whiteboard room in a certain period, the whiteboard server sorts and arranges all the first ink information according to the sequence of the time corresponding to the timestamp of each piece of first ink information.
Step S14: and sending the sorted first ink mark information to each video network terminal in the whiteboard room, so that the video network terminals edit the first file on the basis of the sorted first ink mark information.
Specifically, step S14 may include:
and synchronizing the gathered first ink mark information to each video network terminal in the whiteboard room in a thread synchronization mode.
The whiteboard server synchronizes the first ink mark information after arrangement to each video network terminal in the whiteboard room in a thread synchronization mode, each video network terminal updates the first file on the electronic whiteboard of the whiteboard by using the first ink mark information after arrangement to obtain the updated new first file, so that each video network terminal in the whiteboard room can continuously edit the new first file, and the cooperative processing of the first file is realized through the plurality of video network terminals.
The following describes a process of cooperatively processing a first file by a plurality of video network terminals, taking a first video network terminal in a whiteboard room as a and a second video network terminal as B, C, D as an example. During the period of time T0-T1 (the difference between T0 and T1 is a period), a inserts a picture X into the first file at time T1 to generate first ink information MES1, B adds an annotation Y to the first file at time T2 to generate first ink information MES2, C thickens the text of paragraph Z in the first file at time T3 to generate first ink information MES3, D does not edit the first file and does not generate first ink information, wherein T1, T2 and T3 are located between T0-T1. At time T1, the whiteboard server obtains A, B, C, D all first ink information generated during the period T0-T1, including: MES1, MES2 and MES3, MES1, MES2 and MES3 are sorted according to the chronological order of t1, t2 and t3 and then synchronized to A, B, C, D. A. B, C, D, respectively using the sorted MES1, MES2 and MES3 to update the original first file on the electronic whiteboard, specifically, reading the MES1, MES2 and MES3 in sequence according to the time sequence of t1, t2 and t3, editing the original first file, and obtaining a new first file, for example: t1, t2 and t3 are sorted according to time sequence to be t2, t1 and t3, when updating, MES2 is read first, an annotation Y is added in the original first file, MES1 is read, a picture X is inserted in the original first file, MES3 is read finally, and characters of a paragraph Z in the original first file are thickened. The new first file contains both the annotation Y added to the a inserted picture X, B and the text of paragraph Z bold with C. In other words, A, B, C, D sees the same new first file on its own electronic whiteboard after the update is complete. By analogy, the whiteboard server periodically acquires A, B, C, D first ink information generated by each whiteboard server, and updates the first ink information to A, B, C, D after arrangement, so that cooperative processing of A, B, C, D four video network terminals on the first file is realized.
The embodiment provides a method for cooperatively processing files, wherein a whiteboard server controls a plurality of video networking terminals to cooperatively process files, and specifically, a first file sent by a first video networking terminal is received first, and the first file is loaded into a whiteboard room created for the first video networking terminal in advance; then, first ink information generated by all video network terminals (including a first video network terminal and a second video network terminal different from the first video network terminal) in the whiteboard room on the first file is periodically acquired; and arranging all the acquired first ink information, synchronizing the arranged first ink information to each video network terminal to update the original first file of the video network terminal to obtain a new first file, and continuously editing the first file by each video network terminal on the basis of the new first file, thereby realizing the cooperative processing of the first file by a plurality of video network terminals. By the method, the same file can be cooperatively edited through the multiple video network terminals, the problem of low file processing efficiency caused by the fact that the video network terminals in the related technology can only independently edit the file after acquiring the operation authority of the file is solved, the file processing efficiency is remarkably improved, the use experience of a user is improved, and great convenience is brought to the daily work and study of the user.
Fig. 6 is a flowchart illustrating a method for joining a second video network terminal according to an embodiment of the present application. Referring to fig. 6, optionally, after the first file is loaded into the whiteboard room, the method for collaboratively processing the file of the present application further includes the following steps:
step S21: and receiving a request for entering the whiteboard room initiated by the second video network terminal.
Step S22: verifying whether the second video network terminal has the permission to enter the whiteboard room according to the request;
step S23: and if the second video network terminal has the permission of entering the whiteboard room, adding the second video network terminal into the whiteboard room, and sending the latest first file to the second video network terminal, wherein the latest first file is obtained by updating the sorted first ink information.
And the second video network terminal in the whiteboard room has the authority to operate the first file. If the second video network terminal needs to acquire the permission for operating the first file, a request for entering the whiteboard room needs to be actively sent to the whiteboard server, and after the whiteboard server verifies that the second video network terminal initiating the request has the permission for entering the whiteboard room, the latest first file is sent to the second video network terminal, so that the second video network terminal can collaborate with other video network terminals in the whiteboard room to edit the latest first file.
The method and the system provide a channel for the second video network terminal to enter the whiteboard server actively, convenience is increased for the plurality of video network terminals to collaboratively edit the first file, and meanwhile, a permission verification link is set for the second video network terminal to enter a whiteboard room, so that safety in a file processing process is guaranteed.
Fig. 7 is a flowchart illustrating another method for joining a second video network terminal according to an embodiment of the present application. Referring to fig. 7, optionally, after the first file is loaded into the whiteboard room, the method for collaboratively processing the file according to the present application may further include the following steps:
step S31: receiving an invitation list sent by the first video network terminal;
step S32: extracting a second video network terminal in the invitation list, and verifying whether the second video network terminal has the permission to enter the whiteboard room;
step S33: and if the second video network terminal has the permission of entering the whiteboard room, adding the second video network terminal into the whiteboard room, and sending the latest first file to the second video network terminal, wherein the latest first file is obtained by updating the sorted first ink information.
After the first video network terminal creates the whiteboard room, the first video network terminal can also actively invite the second video network terminal to join the whiteboard room, and specifically, the first video network terminal sends an invitation list containing the second video network terminal to the whiteboard server. The first video network terminal presets the opening permission of the whiteboard room when the whiteboard room is created, so that the whiteboard server can verify whether the second video network terminal in the invitation list has the permission to enter the whiteboard room one by one according to the preset opening permission, if the second video network terminal is verified to have the permission to enter the whiteboard room, the second video network terminal is actively pulled into the whiteboard room, and the latest first file is sent to the second video network terminal, so that the second video network terminal can collaborate with other video network terminals in the whiteboard room to edit the latest first file.
The method and the system have the advantages that the channel for the first video network terminal to actively invite the second video network terminal to enter the whiteboard server is arranged, convenience is increased for the plurality of video network terminals to collaboratively edit the first file, meanwhile, the permission verification link is arranged for the second video network terminal to enter the whiteboard room, and safety in the file processing process is guaranteed.
Optionally, before the step S11, the method for collaboratively processing files according to the present application may further include the steps of:
receiving a request for creating a whiteboard room sent by the first video network terminal, and creating the whiteboard room according to the request;
and receiving permission configuration information input by the first video network terminal, and setting the opening permission of the whiteboard room according to the permission configuration information.
The open right may have multiple items, for example: whether a request for entering a whiteboard room initiated by a second video network terminal is received, whether permission verification is skipped when the second video network terminal is initiatively invited to enter the whiteboard room, blacklist management of the second video network terminal and the like are carried out, wherein if permission verification is skipped when initiative invitation is carried out, the second video network terminal is directly pulled into the whiteboard room when invitation is carried out. According to the method and the device, the opening permission of the whiteboard room is set, and great convenience is provided for a user to edit a file by using the electronic whiteboard.
On this basis, in step S22 or step S32, the verifying whether the second video network terminal has the right to enter the whiteboard room may include:
generating a confirmation request aiming at the second video network terminal according to the opening authority;
sending the confirmation request to the first video network terminal;
and if a confirmation response returned by the first video network terminal is received, determining that the second video network terminal has the permission to enter the whiteboard room.
The whiteboard server firstly generates a confirmation request corresponding to the second video network terminal, and then sends the confirmation request to the first video network terminal, the first video network terminal displays the request to the user through the display screen, then receives the response input by the user, and if the confirmation response input by the user is received, the second video network terminal is determined to have the permission of entering the whiteboard room.
According to the method and the device, the user verification link is set in the process of verifying the authority of the second video networking terminal through the whiteboard server, so that the safety in the file processing process is guaranteed.
Optionally, the method for collaboratively processing the document of the present application may further include the following steps:
receiving a second file sent by the first video network terminal, and loading the second file into a whiteboard room, wherein the second file is different from the first file;
and when an activation operation command for the second file sent by the first video network terminal is received, activating the second file.
In the application, the first video network terminal can load a plurality of files into the whiteboard room, but only one activated file exists in the plurality of files, and all the video network terminals in the whiteboard room can only edit the activated file. Therefore, in the process of editing the first file, if the first video network terminal needs to switch to other files, the first video network terminal only needs to select the second file and send an operation command for activating the second file to the whiteboard server.
On this basis, the step S12 may include:
and periodically acquiring second ink information generated by each video network terminal in the whiteboard room aiming at the activated second file.
The step S13 may include:
and finishing the second ink mark information.
The step S14 may include:
and sending the second ink information after finishing to each video network terminal in the whiteboard room.
After the first video network terminal switches to the second file, the processing procedure of the whiteboard server on the second file is the same as the processing procedure on the first file, which is specifically referred to the foregoing, and the details of the present application are not described herein.
In the application, the first video network terminal can arbitrarily select the file to be collaboratively edited through the activation mode, so that convenience is provided for the collaborative processing of the file.
In various embodiments of the present application, the first file and the second file may be: OFFICE files, PDF files, and picture files.
The file co-processing method provided by the application is suitable for various files, such as: OFFICE files, PDF files, and picture files.
Fig. 8 is a schematic diagram illustrating a method for collaboratively processing a document according to an embodiment of the present application. The method for collaboratively processing files according to the present application will be described in an embodiment with reference to fig. 8.
Referring to fig. 8, a video network soft terminal (sharer) first loads an office file onto an electronic whiteboard, i.e. a video network terminal installed with the electronic whiteboard; after a whiteboard room is created for a video networking soft terminal (sharer), an office file shared by the video networking soft terminal (sharer) and ink information edited on the office file are acquired by the whiteboard server and sent to the video networking soft terminal (operator), so that the video networking soft terminal (sharer) and a plurality of video networking soft terminals (operators) can cooperatively process the office file; meanwhile, the whiteboard server periodically acquires the ink information generated by each video network soft terminal, arranges the ink information and then sends the arranged ink information to each video network soft terminal again, so that each video network software terminal can collaboratively edit a new office file, and the new office file is obtained by updating according to the arranged ink information; after the office file is processed, the whiteboard server sends the office file to the video network hard terminal for storage. According to the file processing method and device, the multi-user cooperative processing of the same file is achieved, the problem that in the related art, the file processing efficiency is low when the video network terminal can only independently edit the file after acquiring the operation authority of the file is solved, the processing efficiency of the file is remarkably improved, the use experience of a user is improved, and great convenience is brought to daily work and learning of the user.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
The present application also provides awhiteboard server 900 deployed in the video network. Fig. 9 is a schematic structural diagram of a whiteboard server according to an embodiment of the present application. Referring to fig. 9, thewhiteboard server 900 includes:
afirst receiving module 901, configured to receive a first file sent by a first video network terminal, and load the first file into a whiteboard room, where the whiteboard room is created by a whiteboard server for the first video network terminal in advance;
an obtainingmodule 902, configured to periodically obtain first ink information generated by each video network terminal in the whiteboard room for the first file, where the video network terminals include the first video network terminal and a second video network terminal, and the second video network terminal is different from the first video network terminal;
asorting module 903, configured to sort the first ink information;
afirst sending module 904, configured to send the sorted first ink information to each video network terminal in the whiteboard room, so that the video network terminal edits the first file on the basis of the sorted first ink information.
Optionally, thesorting module 903 includes:
the summarizing module is used for summarizing the first ink information according to the timestamp carried by the first ink information sent by each video network terminal;
thefirst transmitting module 904 comprises:
and the synchronization module is used for synchronizing the gathered first ink mark information to each video network terminal in the whiteboard room in a thread synchronization mode.
Optionally, thewhiteboard server 900 further includes:
the second receiving module is used for receiving a request for entering the whiteboard room, which is initiated by the second video network terminal;
the first verification module is used for verifying whether the second video network terminal has the permission to enter the whiteboard room according to the request;
and the second sending module is used for adding the second video network terminal into the whiteboard room and sending the latest first file to the second video network terminal if the second video network terminal has the permission of entering the whiteboard room, wherein the latest first file is obtained by updating the sorted first ink information.
Optionally, thewhiteboard server 900 further includes:
the third receiving module is used for receiving the invitation list sent by the first video network terminal;
the second verification module is used for extracting the second video network terminal in the invitation list and verifying whether the second video network terminal has the permission of entering the whiteboard room;
and the third sending module is used for adding the second video network terminal into the whiteboard room and sending the latest first file to the second video network terminal if the second video network terminal has the permission of entering the whiteboard room, wherein the latest first file is obtained by updating the sorted first ink information.
Optionally, thewhiteboard server 900 further includes:
a fourth receiving module, configured to receive a request for creating a whiteboard room sent by the first video network terminal, and create the whiteboard room according to the request;
the fifth receiving module is used for receiving the permission configuration information input by the first video network terminal and setting the opening permission of the whiteboard room according to the permission configuration information;
the first verification module or the second verification module respectively comprises:
the generating module is used for generating a confirmation request aiming at the second video network terminal according to the opening authority;
the fourth sending module is used for sending the confirmation request to the first video network terminal;
and the determining module is used for determining that the second video network terminal has the permission to enter the whiteboard room if receiving the confirmation response returned by the first video network terminal.
Optionally, thewhiteboard server 900 further includes:
a sixth receiving module, configured to receive a second file sent by the first video network terminal, and load the second file into a whiteboard room, where the second file is different from the first file;
the activation module is used for activating the second file when receiving an activation operation command aiming at the second file and sent by the first video network terminal;
the obtainingmodule 902 includes:
the acquisition submodule is used for periodically acquiring second ink information generated by each video network terminal in the whiteboard room aiming at the activated second file;
thesorting module 903 further comprises:
the sorting submodule is used for sorting the second ink mark information;
thefirst sending module 904 further comprises:
and the first sending submodule is used for sending the second ink information after being sorted to each video network terminal in the whiteboard room.
Optionally, the first file and the second file respectively include: OFFICE files, PDF files, and picture files.
Based on the same inventive concept, another embodiment of the present application provides anelectronic device 1000, as shown in fig. 10. Fig. 10 is a schematic diagram of an electronic device according to an embodiment of the present application. Theelectronic device 1000 comprises amemory 1001, aprocessor 1002 and a computer program stored on the memory and executable on the processor, which when executed performs the steps of the method according to any of the embodiments of the present application.
Based on the same inventive concept, another embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps in the method according to any of the above-mentioned embodiments of the present application.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method, the server, the electronic device and the storage medium for collaborative processing of files provided by the present invention are introduced in detail, and a specific example is applied in the present document to illustrate the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.