CN110457264B - Conference file processing method, device, equipment and computer readable storage medium - Google Patents

Conference file processing method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN110457264B
CN110457264B CN201910755596.9A CN201910755596A CN110457264B CN 110457264 B CN110457264 B CN 110457264B CN 201910755596 A CN201910755596 A CN 201910755596A CN 110457264 B CN110457264 B CN 110457264B
Authority
CN
China
Prior art keywords
data
file
whiteboard
model
picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910755596.9A
Other languages
Chinese (zh)
Other versions
CN110457264A (en
Inventor
孙兴振
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
MINGNA INFORMATION TECHNOLOGY SHENZHEN Co.,Ltd.
Original Assignee
Shenzhen Weiping Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Weiping Technology Co ltd filed Critical Shenzhen Weiping Technology Co ltd
Priority to CN201910755596.9A priority Critical patent/CN110457264B/en
Publication of CN110457264A publication Critical patent/CN110457264A/en
Application granted granted Critical
Publication of CN110457264B publication Critical patent/CN110457264B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/113Details of archiving
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a conference file processing method, a device, equipment and a computer readable storage medium, wherein the method comprises the following steps: when the electronic whiteboard is detected to be started, establishing a data model according to a preset data structure; acquiring whiteboard data generated based on the electronic whiteboard, and filling the whiteboard data into the data model to obtain whiteboard model data; and when a file storage instruction is detected, sorting the whiteboard model data according to a preset filing sequence and storing the whiteboard model data as a file in a target format. The invention organizes various data generated based on the electronic whiteboard according to a uniform data model and sorts and stores the data according to a specific filing sequence, thereby realizing uniform and safe storage of the data and files generated in the video conference.

Description

Conference file processing method, device, equipment and computer readable storage medium
Technical Field
The invention relates to the technical field of artificial intelligence, in particular to a conference file processing method, a conference file processing device, conference file processing equipment and a computer readable storage medium.
Background
With the expansion of the Internet field, related applications are increasing, such as video conferences and audio conferences. The multimedia video conference is also called as a conference television, a video conference and the like, and can realize real-time transmission of information in the forms of moving images, voice, application data (electronic white boards, graphs) and the like between two points and multiple points. At present, how to store different data and files generated in a video conference uniformly and safely has become an urgent need.
Disclosure of Invention
The invention mainly aims to provide a conference file processing method, a conference file processing device, conference file processing equipment and a computer readable storage medium, and aims to provide a solution for uniformly and safely storing data and files generated in a video conference.
In order to achieve the above object, the present invention provides a method for processing a conference file, including:
when the electronic whiteboard is detected to be started, establishing a data model according to a preset data structure;
acquiring whiteboard data generated based on the electronic whiteboard, and filling the whiteboard data into the data model to obtain whiteboard model data;
and when a file storage instruction is detected, sorting the whiteboard model data according to a preset filing sequence and storing the whiteboard model data as a file in a target format.
Optionally, before the step of acquiring whiteboard data generated based on the electronic whiteboard, and filling the whiteboard data into the data model to obtain whiteboard model data, the method further includes:
when an instruction for displaying a target file in the electronic whiteboard is detected, detecting whether the target file is a file in a picture format;
and when the target file is not a file in a picture format, converting the target file into a picture according to the file content, and importing the picture into the electronic whiteboard.
Optionally, the step of converting the target file into a picture according to file content, and importing the picture into the electronic whiteboard includes:
sending the target file to a preset server so that the preset server correspondingly converts each page of content of the target file into a picture;
and receiving the picture returned by the preset server, and importing the picture into the electronic whiteboard.
Optionally, the step of receiving the picture returned by the preset server and importing the picture into the electronic whiteboard includes:
and receiving the compressed picture returned by the preset server, and guiding the compressed picture into the electronic whiteboard.
Optionally, the whiteboard template data includes picture model data and stroke model data, the whiteboard data includes picture data and stroke data, and the step of filling the whiteboard data into the data model to obtain whiteboard model data includes:
and filling the picture data into a picture model in the data model to obtain the picture model data, and filling the stroke data into a stroke model in the data model to obtain the stroke model data.
Optionally, after the step of acquiring whiteboard data generated based on the electronic whiteboard, and filling the whiteboard data into the data model to obtain whiteboard model data, the method further includes:
adding additional information of the equipment in the whiteboard model data, wherein the additional information at least comprises size information of the equipment;
the step of sorting the whiteboard model data according to a preset filing sequence and storing the whiteboard model data as a file in a target format comprises the following steps:
and sequencing the whiteboard model data added with the additional information according to a preset filing sequence, storing the whiteboard model data as a file in a target format, extracting the additional information from the file in the target format when other equipment opens the file in the target format, and adaptively displaying the file in the target format on screens of other equipment based on the additional information.
Optionally, the step of sorting the whiteboard model data according to a preset filing order and storing the whiteboard model data as a file in a target format includes:
sorting the data of each attribute in the whiteboard model data according to a preset filing sequence, and acquiring the number of bytes occupied by the data of each attribute;
and storing the sequenced whiteboard model data into a file in a target format by adopting a preset filing algorithm, and encapsulating byte counts occupied by the data of each attribute in the file in the target format so as to extract byte counts occupied by the data of each attribute according to the preset filing sequence when other equipment opens the file in the target format, and extracting the data of each attribute from the file in the target format according to the byte counts.
In addition, to achieve the above object, the present invention also provides a conference file processing apparatus, including:
the model building module is used for building a data model according to a preset data structure when the electronic whiteboard is detected to be started;
the filling module is used for acquiring whiteboard data generated based on the electronic whiteboard, and filling the whiteboard data into the data model to obtain whiteboard model data;
and the storage module is used for sorting the whiteboard model data according to a preset filing sequence and storing the whiteboard model data as a file in a target format when a file storage instruction is detected.
In addition, in order to achieve the above object, the present invention also provides a conference file processing apparatus, which includes a memory, a processor and a conference file processing program stored on the memory and operable on the processor, and when executed by the processor, the conference file processing program implements the steps of the conference file processing method as described above.
Further, to achieve the above object, the present invention also provides a computer readable storage medium having stored thereon a conference file processing program which, when executed by a processor, implements the steps of the conference file processing method as described above.
According to the method, when the electronic whiteboard is detected to be started, a data model is established according to a preset data structure, whiteboard data generated based on the electronic whiteboard is obtained, the whiteboard data is filled into the data model to obtain whiteboard model data, when a file storage instruction is detected, the whiteboard model data is stored into a file in a target format after being sorted according to a preset filing sequence, various data generated based on the electronic whiteboard are organized according to a unified data model and sorted and stored according to a specific filing sequence, and unified and safe storage of the data and the files generated in a video conference is achieved.
Drawings
FIG. 1 is a schematic diagram of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a conference file processing method according to a first embodiment of the present invention;
fig. 3 is a block diagram of a conference document processing apparatus according to a preferred embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides conference file processing equipment, and referring to fig. 1, fig. 1 is a schematic structural diagram of a hardware operating environment according to an embodiment of the invention.
It should be noted that fig. 1 is a schematic structural diagram of a hardware operating environment of the conference file processing apparatus. The conference file processing device in the embodiment of the invention can be a PC, and can also be a terminal device with a display function, such as a smart phone, a smart television, a tablet personal computer, a portable computer and the like.
As shown in fig. 1, the conference file processing apparatus may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the conference file processing device may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Those skilled in the art will appreciate that the configuration of the meeting document processing device shown in FIG. 1 does not constitute a limitation of meeting document processing devices and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a conference file processing program.
In the conference file processing apparatus shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and communicating with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call the conference file handling program stored in the memory 1005 and perform the following operations:
when the electronic whiteboard is detected to be started, establishing a data model according to a preset data structure;
acquiring whiteboard data generated based on the electronic whiteboard, and filling the whiteboard data into the data model to obtain whiteboard model data;
and when a file storage instruction is detected, sorting the whiteboard model data according to a preset filing sequence and storing the whiteboard model data as a file in a target format.
Further, before the step of acquiring whiteboard data generated based on the electronic whiteboard, and filling the whiteboard data into the data model to obtain whiteboard model data, the processor 1001 may be configured to call a conference file processing program stored in the memory 1005, and perform the following operations:
when an instruction for displaying a target file in the electronic whiteboard is detected, detecting whether the target file is a file in a picture format;
and when the target file is not a file in a picture format, converting the target file into a picture according to the file content, and importing the picture into the electronic whiteboard.
Further, the step of converting the target file into a picture according to the file content and importing the picture into the electronic whiteboard includes:
sending the target file to a preset server so that the preset server correspondingly converts each page of content of the target file into a picture;
and receiving the picture returned by the preset server, and importing the picture into the electronic whiteboard.
Further, the step of receiving the picture returned by the preset server and importing the picture into the electronic whiteboard includes:
and receiving the compressed picture returned by the preset server, and guiding the compressed picture into the electronic whiteboard.
Further, the whiteboard template data includes picture model data and stroke model data, the whiteboard data includes picture data and stroke data, and the step of filling the whiteboard data into the data model to obtain whiteboard model data includes:
and filling the picture data into a picture model in the data model to obtain the picture model data, and filling the stroke data into a stroke model in the data model to obtain the stroke model data.
Further, after the step of acquiring whiteboard data generated based on the electronic whiteboard, and filling the whiteboard data into the data model to obtain whiteboard model data, the processor 1001 may be configured to call a conference file processing program stored in the memory 1005, and perform the following operations:
adding additional information of the equipment in the whiteboard model data, wherein the additional information at least comprises size information of the equipment;
the step of sorting the whiteboard model data according to a preset filing sequence and storing the whiteboard model data as a file in a target format comprises the following steps:
and sequencing the whiteboard model data added with the additional information according to a preset filing sequence, storing the whiteboard model data as a file in a target format, extracting the additional information from the file in the target format when other equipment opens the file in the target format, and adaptively displaying the file in the target format on screens of other equipment based on the additional information.
Further, the step of sorting the whiteboard model data according to a preset filing sequence and storing the whiteboard model data as a file in a target format includes:
sorting the data of each attribute in the whiteboard model data according to a preset filing sequence, and acquiring the number of bytes occupied by the data of each attribute;
and storing the sequenced whiteboard model data into a file in a target format by adopting a preset filing algorithm, and encapsulating byte counts occupied by the data of each attribute in the file in the target format so as to extract byte counts occupied by the data of each attribute according to the preset filing sequence when other equipment opens the file in the target format, and extracting the data of each attribute from the file in the target format according to the byte counts.
Based on the above hardware structure, embodiments of the conference file processing method of the present invention are provided.
Referring to fig. 2, a first embodiment of a conference file processing method according to the present invention provides a conference file processing method, and it should be noted that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that here. The executing subject of each embodiment of the conference document processing method of the present invention may be a terminal device such as a PC, a smart phone, a smart television, a tablet computer, and a portable computer, and for convenience of description, the conference device is taken as the executing subject in each embodiment described below. The conference file processing method comprises the following steps:
step S10, when the electronic whiteboard is detected to be started, establishing a data model according to a preset data structure;
in this embodiment, an electronic whiteboard software (referred to as an electronic whiteboard for short) is installed in the conference device. It should be noted that the conference file and the conference device in the embodiments of the present invention do not limit the usage scenario, that is, the electronic whiteboard in the conference device is not necessarily used in the conference scenario, and may also be used in other scenarios, such as an educational scenario, and therefore the conference file is also limited to the file generated in the conference. And when the conference equipment detects that the electronic whiteboard is started, establishing a data model according to a preset data structure. The preset data structure is a predefined data structure, and the data structure specifies the organization mode of various data generated in the electronic whiteboard, such as picture data inserted into the electronic whiteboard, and stroke data written by a user on a display interface of the electronic whiteboard.
Specifically, in one embodiment, the electronic whiteboard is designed to display one or two pages of contents in the display interface, and a user may create a new document (default to only one page) in the electronic whiteboard, open a stored document in the electronic whiteboard format or other formats in the electronic whiteboard, add or delete pages (default to at least one remaining page) in the electronic whiteboard, and insert a picture or perform stroke writing in the currently displayed page. Based on the above design, the default data structure may be defined as follows:
ClipData: data representing a page; ClipGroupData: represents a set of data, including at least one page of clipData.
The data structure of ClipGroupData is as follows:
@property(nullable,nonatomic,retain)NSData*activeClipID;
@property(nullable,nonatomic,retain)NSData*clipGroupID;
@property(nullable,nonatomic,copy)NSDate*createDate;
@property(nullable,nonatomic,retain)MetaData*metaData;
@property(nullable,nonatomic,copy)NSString*name;
@property(nullable,nonatomic,retain)ClipGroupFolder*belongToFolder;
@property(nullable,nonatomic,retain)NSSet<ClipData*>*clipDataArray。
the ClipData can be divided into a painting brush layer and an element layer, the painting brush layer is used for writing strokes, the element layer is used for placing picture elements, pictures inserted into the electronic whiteboard are located on the element layer, the element layer is located below the painting brush layer, and a specific data structure is as follows:
@ property (nullable, nonatomIc, copy) NSString @ background type; // background color;
@property(nullable,nonatomic,retain)NSData*clipID;
@property(nullable,nonatomic,copy)NSDate*createDate;
@ property (noble, retain) NSArray imagestreokedarray; /bottom graph array;
@property(nonatomic)BOOL isSend;
@property(nonatomic)BOOL isSynchronized;
@ property (nullable, nontomic, retain) matrix data × martrix; v/deformation parameters;
@property(nullable,nonatomic,copy)NSString*properties;
@property(nullable,nonatomic,retain)NSMutableArray*redoArray;
@property(nullable,nonatomIc,retain)NSArray<StrokeData*>
strokeDataArray; // curve array;
@property(nullable,nonatomic,retain)NSMutableArray
*sychronicedSessionIDs;
@property(nullable,nonatomic,retain)NSMutableArray*undoarray;
@property(nullable,nonatomic,retain)UIImage*strokeThumbnail;
@property(nullable,nonatomic,retain)ClipGroupData
*belongToClipGroupData。
wherein, Matrix is used for saving a deformation value, and the translation of the canvas and the base map is determined through 6 parameters, and the translation is enlarged and reduced as follows:
@property(nonatomic,assign)double M11;
@property(nonatomic,assign)double M12;
@property(nonatomic,assign)double M21;
@property(nonatomic,assign)double M22;
@property(nonatomic,assign)double offsetX;
@property(nonatomic,assign)double offsetY。
the Stroke data is used for storing stroke basic information, including the line width of the stroke, the color of the stroke, the point coordinate information contained in the stroke, the ID identification of the stroke, etc., as follows:
@property(nonatomic,retain)NSData*strokeID;
@property(nonatomic,strong)UIColor*fillColor;
@property(nonatomic,assign)double strokewidth;
@property(nonatomic,assign)double stroke Height;
@property(nonatomic,assign)BOOL isHighlighter;
@property(nonatomic,assign)BOOL fitToCurve;
@property(nonatomIc,assign)int shapeMoDe;
@property(nonatomic,strong)UIColor*strokeColor;
@property(nonatomIc,strong)NSArray*pointArray。
the conference equipment establishes a data model in the memory based on the preset data structure, and for each attribute in the data model, some default data can be filled, such as default stroke line width, stroke color and the like.
Step S20, whiteboard data generated based on the electronic whiteboard is acquired, and the whiteboard data is filled into the data model to obtain whiteboard model data;
the conference equipment acquires whiteboard data generated based on the electronic whiteboard, and fills the whiteboard data into the data model to obtain whiteboard model data. The whiteboard data generated based on the electronic whiteboard may include picture data inserted into a current display page of the electronic whiteboard, stroke data of writing, a document opened in the electronic whiteboard, and the like. And the conference equipment fills the whiteboard data into the data model according to the corresponding attributes to obtain whiteboard model data.
Specifically, the whiteboard template data includes picture model data and stroke model data, the whiteboard data includes picture data and stroke data, and step S20 includes:
step S201, filling the picture data into a picture model in the data model to obtain the picture model data, and filling the stroke data into a stroke model in the data model to obtain the stroke model data.
When the conference equipment detects an operation of inserting a picture into a current page of the electronic whiteboard, picture data of the picture to be inserted, such as the size of the picture, information of each pixel point in the picture and the like, is acquired, the picture data is filled into a picture model in the data model, specifically, each data in the picture data is correspondingly filled into the picture model according to attributes, and picture model data is acquired. The data model established based on the preset data structure comprises a picture model used for storing picture basic information, such as information of each pixel point of the picture, a zoom coefficient of the picture, a rotation angle of the picture and the like.
When the conference equipment detects stroke operation triggered based on the electronic whiteboard display interface, stroke data corresponding to the stroke operation, such as coordinate positions of all points in the stroke on a screen, width and color of the stroke, are obtained, and the conference equipment fills the stroke data into a stroke model in the data model to obtain stroke model data. The data model established based on the preset data structure comprises a stroke model used for storing stroke basic information, including the line width of the stroke, the color of the stroke, the point coordinate information contained in the stroke, the ID identification of the stroke and the like.
It should be noted that, in the process of a user operating the display content in the electronic whiteboard display interface, such as adding a page, deleting a page, inserting a picture, rotating a picture, writing a stroke, deleting a stroke, and the like, the conference device updates the data of each attribute in the data model according to the user operation, and therefore, the whiteboard model data is updated based on the user operation.
And step S30, when a file storage instruction is detected, sorting the whiteboard model data according to a preset filing sequence and storing the whiteboard model data as a file in a target format.
An operation menu can be set in the electronic whiteboard display interface, wherein a control for a user to save files is set, and the user can trigger a file saving instruction for saving the files based on the control at any time. In addition, the conference device can also store the files under construction in the electronic whiteboard according to a preset frequency, so as to avoid the loss of the files under construction of the user caused by equipment failure.
When the conference equipment detects a file storage instruction, the whiteboard model data are sorted according to a preset filing sequence, and the sorted whiteboard model data are stored as a file in a target format. The preset filing sequence may be a preset sequence, and is used to specify an arrangement sequence of data of each attribute in the whiteboard model data. The target format may be a predefined file format, and the suffix name of the format is distinguished from the suffix name of the existing file format, so that when the conference device opens the file of the target format, the conference device can recognize that the file is the file of the target format according to the suffix name of the file, and call an electronic whiteboard in the conference device to open the file of the target format. Specifically, the conference device sorts the data of each attribute in the whiteboard model data according to a preset filing sequence, writes the sorted whiteboard model data into the hard disk, and stores the whiteboard model data as a file in a target format, that is, the suffix name of the file is the suffix name of the target format. It should be noted that the files in the target format that are sorted according to the preset filing order and are finally stored are binary files, which increases the security of data and prevents human tampering.
Further, when the conference equipment opens a file in a target format, an electronic whiteboard is called to open the file, specifically, the electronic whiteboard is started, a data model is established according to a preset data structure, data of each attribute is extracted from file contents one by one according to a preset filing sequence, the data of each attribute is filled into the data model to obtain whiteboard model data, and based on the whiteboard model data of the current page, the content of the current page is rendered into a display interface, so that the opening and displaying processes of the file in the target format are realized.
In this embodiment, when it is detected that the electronic whiteboard is started, a data model is established according to a preset data structure, whiteboard data generated based on the electronic whiteboard is acquired, the whiteboard data is filled into the data model to obtain whiteboard model data, when a file storage instruction is detected, the whiteboard model data is stored as a file in a target format after being sorted according to a preset filing sequence, various data generated based on the electronic whiteboard are organized according to a unified data model and sorted and stored according to a specific filing sequence, and unified and safe storage of the data and the file generated in the video conference is realized.
Further, based on the first embodiment, a second embodiment of the conference file processing method according to the present invention provides a conference file processing method. In this embodiment, before the step S20, the method further includes:
step S40, when detecting the instruction of displaying the target file in the electronic whiteboard, detecting whether the target file is a file in a picture format;
an operation menu can be set in a display interface of the electronic whiteboard, a control for a user to open a file is set in the operation menu, the user can trigger an instruction for opening (namely showing) a certain file in the electronic whiteboard based on the control, and the file can be a file in a picture format, such as a file in JPEG and PNG formats, and can also be a file in a document format, such as a file in PDF and WORLD formats. When the conference equipment detects an instruction for displaying a target file in the electronic whiteboard, whether the target file is a file in a picture format is detected, specifically, a suffix name in a file name of the target file can be detected, and the format of the target file is judged according to the suffix name.
And step S50, when the target file is not a file in a picture format, converting the target file into a picture according to the file content, and importing the picture into the electronic whiteboard.
When the target file is detected not to be a file in a picture format, the conference equipment converts the target file into a picture according to the file content and guides the picture into the electronic whiteboard. Specifically, tool software for converting a file in a document format into a picture can be pre-installed in the conference device, when a target file needs to be converted into the picture, the tool software is called to convert, the picture successfully converted by the tool software is obtained, the picture is imported into the electronic whiteboard, the picture data of the picture is filled into the data model, and the picture is rendered in a display interface of the electronic whiteboard based on the whiteboard model data. It should be noted that, the tool software converts the target file into the picture according to the file content, that is, the picture includes the content of the target file, and may be that each page of the file is correspondingly converted into one picture.
When the conference equipment detects that the target file is a file in a picture format, the target file is directly imported into the electronic whiteboard.
In this embodiment, when an instruction for displaying a target file in an electronic whiteboard is detected, whether the target file is a file in a picture format is detected, if not, the target file is converted into a picture and then is imported into the electronic whiteboard, and if so, the target file is directly imported into the electronic whiteboard, so that the electronic whiteboard can compatibly open files in common formats such as PDF, WORLD, JPEG, PNG, and the like.
Further, the step S50 includes:
step S501, the target file is sent to a preset server, so that the preset server correspondingly converts each page of content of the target file into a picture;
the conference device may also send the target file to a preset server. The preset server is internally provided with tool software for converting a file in a document format into a picture, and the preset server correspondingly converts each page of content of the target file into one picture by calling the tool software and returns the picture to the conference equipment. The preset server may be a preset server specially used for converting a file, or may be a server for realizing file sharing among a plurality of conference devices, and an access address of the preset server is preset in the conference device. The preset server can send the target file uploaded by the conference equipment to other equipment which shares the conference file with the conference equipment, so that the other equipment can synchronously display the target file with the conference equipment. It should be noted that, if the preset server implements file sharing between the conference devices, the conference devices may directly upload the target file to be displayed to the preset server, and the preset server performs an operation of determining whether the target file is a picture format file.
Step S502, receiving the picture returned by the preset server, and importing the picture into the electronic whiteboard.
And the conference equipment receives the pictures returned by the preset server and guides the pictures into the electronic whiteboard. In this embodiment, the target file is uploaded to the preset server by the conference device, and the preset server converts the target file into a picture and returns the picture, so that files in common formats such as PDF, WORLD, JPEG, and PNG can be compatibly opened in the electronic whiteboard even when a conversion tool is not installed in the conference device.
Further, in order to reduce the size of the file, the preset server may compress the converted picture, and return the compressed picture to the conference device. In addition, if the conversion is performed locally by the conference equipment, the conference equipment can perform picture compression locally, and the compressed picture is imported into the electronic whiteboard for display.
Further, based on the first or second embodiment, a third embodiment of the conference file processing method of the present invention provides a conference file processing method. In this embodiment, after the step S20, the method further includes:
step S60, adding additional information of the own device to the whiteboard model data, wherein the additional information at least includes size information of the own device;
the conference device may add additional information of the device to the whiteboard model data, where the additional information at least includes size information of the device, and may also include other information, such as a model of the device.
The step S30 includes:
step S301, the whiteboard model data added with the additional information is sorted according to a preset filing sequence and stored as a file in a target format, so that when other equipment opens the file in the target format, the additional information is extracted from the file in the target format, and the file in the target format is adaptively displayed on screens of the other equipment based on the additional information.
And when the conference equipment detects a file storage instruction, sorting the whiteboard model data added with the additional information according to a preset filing sequence, and storing the whiteboard model data as a file in a target format. Files in the target format stored in the conference equipment can be shared in other equipment in a network or USB flash disk copying mode. And when the other equipment opens the file in the target format, calling the electronic whiteboard to open the file in the target format. Specifically, the present apparatus is expressed as an apparatus 1, and the other apparatuses are expressed as apparatuses 2; the device 2 calls an electronic whiteboard, establishes a data model according to a preset data structure, and extracts data of each attribute in a file in a target format according to a preset filing sequence, wherein the data comprises additional information of the device 1; the device 2 acquires the additional information of the device 2, compares the additional information of the device 1 with the additional information of the device 2, and converts the extracted data which needs to be adapted, such as point coordinate information in stroke data, into data of the additional information of the adapting device 2; the device 2 fills the converted data into the data model to obtain whiteboard model data of the device 2, and the device 2 renders an electronic whiteboard display interface in the device 2 based on the whiteboard model data, so that the content of the target format file is displayed on a screen of the device 2.
In this embodiment, the additional information of the device is added to the whiteboard model data, and the whiteboard model data added with the additional information is stored, so that when the stored file is opened by other devices, the content of the file can be adaptively displayed according to the additional information, and the situations that the file content is fuzzy and the file is in disorder when the file is displayed on other devices with different sizes are avoided.
Further, in one embodiment, step S30 includes:
s302, sorting the data of each attribute in the whiteboard model data according to a preset filing sequence, and acquiring the number of bytes occupied by the data of each attribute;
and the conference equipment sorts the data of each attribute in the whiteboard model data according to a preset filing sequence and acquires the number of bytes occupied by the data of each attribute. Specifically, the conference device arranges the data of each attribute according to a preset filing sequence, and reads the number of bytes actually occupied by the data of each attribute in the memory.
And S303, storing the sorted whiteboard model data into a target format file by adopting a preset filing algorithm, and encapsulating byte counts occupied by the data of each attribute in the target format file so as to extract byte counts occupied by the data of each attribute according to the preset filing sequence when other equipment opens the target format file, and extracting the data of each attribute from the target format file according to the byte counts.
And the conference equipment stores the sequenced whiteboard model data into a file with a target format by adopting a preset filing algorithm, and encapsulates and stores the byte number occupied by each acquired attribute data into the file. The preset archiving algorithm may be a commonly used archiving algorithm. Files in the target format stored in the conference equipment can be shared in other equipment in a network or USB flash disk copying mode. When the file in the target format is opened, other equipment extracts the byte number occupied by the data of each attribute from the file according to a preset filing sequence, and then extracts the data of each attribute from the file in the target format according to the byte number. Specifically, the other device calculates the storage address of each attribute data in the storage space according to the start address of the file in the storage space and the byte number of each attribute data, and extracts the data of each attribute from the storage space according to the storage address of each attribute data, so as to fill the extracted data into the data model.
Note that the whiteboard model data in step S302 may be whiteboard model data to which additional information is added.
In this embodiment, the whiteboard model data is sorted according to a preset filing sequence, the number of bytes occupied by each attribute data in the memory is obtained, and the number of bytes occupied by the data of each attribute is stored in a file, so that other devices can extract the data of each attribute according to the number of bytes occupied by each attribute. Because the attribute data are sequentially stored according to the number of bytes actually occupied, the waste of memory space is avoided, the size of the finally stored target format file is reduced, and the file decoding efficiency is improved.
In addition, an embodiment of the present invention further provides a conference file processing apparatus, and referring to fig. 3, the conference file processing apparatus includes:
the model building module 10 is configured to build a data model according to a preset data structure when detecting that the electronic whiteboard is started;
a filling module 20, configured to obtain whiteboard data generated based on the electronic whiteboard, and fill the whiteboard data into the data model to obtain whiteboard model data;
and the storage module 30 is configured to, when a file storage instruction is detected, sort the whiteboard model data according to a preset filing order and store the whiteboard model data as a file in a target format.
Further, the conference file processing apparatus further includes:
the detection module is used for detecting whether the target file is a file in a picture format or not when an instruction of displaying the target file in the electronic whiteboard is detected;
and the importing module is used for converting the target file into a picture according to the file content and importing the picture into the electronic whiteboard when the target file is not a file in a picture format.
Further, the import module includes:
the sending unit is used for sending the target file to a preset server so that the preset server correspondingly converts each page of content of the target file into a picture;
and the importing unit is used for receiving the picture returned by the preset server and importing the picture into the electronic whiteboard.
Further, the importing unit is further configured to receive the compressed picture returned by the preset server, and import the compressed picture into the electronic whiteboard.
Further, the whiteboard template data includes picture model data and stroke model data, the whiteboard data includes picture data and stroke data, and the filling module 20 is further configured to:
and filling the picture data into a picture model in the data model to obtain picture model data, and filling the stroke data into a stroke model in the data model to obtain stroke model data.
Further, the conference file processing apparatus further includes:
the adding module is used for adding additional information of the equipment in the whiteboard model data, wherein the additional information at least comprises size information of the equipment;
the saving module 30 is further configured to:
and sequencing the whiteboard model data added with the additional information according to a preset filing sequence, storing the whiteboard model data as a file in a target format, extracting the additional information from the file in the target format when other equipment opens the file in the target format, and adaptively displaying the file in the target format on screens of other equipment based on the additional information.
Further, the saving module 30 includes:
the sorting unit is used for sorting the data of each attribute in the whiteboard model data according to a preset filing sequence and acquiring the number of bytes occupied by the data of each attribute;
and the storage unit is used for storing the sequenced whiteboard model data into a file in a target format by adopting a preset filing algorithm, and encapsulating byte counts occupied by the data of each attribute in the file in the target format so as to extract byte counts occupied by the data of each attribute according to the preset filing sequence when other equipment opens the file in the target format, and extracting the data of each attribute from the file in the target format according to the byte counts.
The expanding content of the specific implementation of the conference file processing apparatus of the present invention is basically the same as that of each embodiment of the conference file processing method described above, and is not described herein again.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a conference file processing program is stored on the computer-readable storage medium, and when being executed by a processor, the conference file processing program implements the steps of the conference file processing method described above.
The expanding contents of the specific embodiments of the conference file processing apparatus and the computer-readable storage medium of the present invention are basically the same as those of the embodiments of the conference file processing method described above, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system 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 system. 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 system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A conference file processing method is characterized by comprising the following steps:
when the electronic whiteboard is detected to be started, establishing a data model according to a preset data structure;
acquiring whiteboard data generated based on the electronic whiteboard, and filling the whiteboard data into the data model to obtain whiteboard model data;
when a file storage instruction is detected, sorting the whiteboard model data according to a preset filing sequence and storing the whiteboard model data as a file in a target format;
after the step of acquiring whiteboard data generated based on the electronic whiteboard, and filling the whiteboard data into the data model to obtain whiteboard model data, the method further includes:
adding additional information of the equipment in the whiteboard model data, wherein the additional information at least comprises size information of the equipment;
the step of sorting the whiteboard model data according to a preset filing sequence and storing the whiteboard model data as a file in a target format comprises the following steps:
and sequencing the whiteboard model data added with the additional information according to a preset filing sequence, storing the whiteboard model data as a file in a target format, extracting the additional information from the file in the target format when other equipment opens the file in the target format, and adaptively displaying the file in the target format on screens of other equipment based on the additional information.
2. The method for processing a conference file according to claim 1, wherein before the step of obtaining whiteboard data generated based on the electronic whiteboard, and filling the whiteboard data into the data model to obtain whiteboard model data, the method further comprises:
when an instruction for displaying a target file in the electronic whiteboard is detected, detecting whether the target file is a file in a picture format;
and when the target file is not a file in a picture format, converting the target file into a picture according to the file content, and importing the picture into the electronic whiteboard.
3. The method for processing the conference file according to claim 2, wherein the step of converting the target file into a picture according to the file content and importing the picture into the electronic whiteboard comprises:
sending the target file to a preset server so that the preset server correspondingly converts each page of content of the target file into a picture;
and receiving the picture returned by the preset server, and importing the picture into the electronic whiteboard.
4. The method for processing the conference file according to claim 3, wherein the step of receiving the picture returned by the preset server and importing the picture into the electronic whiteboard comprises:
and receiving the compressed picture returned by the preset server, and guiding the compressed picture into the electronic whiteboard.
5. The proceedings method of claim 1, wherein the whiteboard model data includes picture model data and stroke model data,
the whiteboard data comprises picture data and stroke data, and the step of filling the whiteboard data into the data model to obtain whiteboard model data comprises the following steps:
and filling the picture data into a picture model in the data model to obtain the picture model data, and filling the stroke data into a stroke model in the data model to obtain the stroke model data.
6. The conference file processing method according to any one of claims 1 to 5, wherein the step of storing the whiteboard model data as a file in a target format after sorting the whiteboard model data according to a preset filing order comprises:
sorting the data of each attribute in the whiteboard model data according to a preset filing sequence, and acquiring the number of bytes occupied by the data of each attribute;
and storing the sequenced whiteboard model data into a file in a target format by adopting a preset filing algorithm, and encapsulating byte counts occupied by the data of each attribute in the file in the target format so as to extract byte counts occupied by the data of each attribute according to the preset filing sequence when other equipment opens the file in the target format, and extracting the data of each attribute from the file in the target format according to the byte counts.
7. A conference file processing apparatus, characterized by comprising:
the model building module is used for building a data model according to a preset data structure when the electronic whiteboard is detected to be started;
the filling module is used for acquiring whiteboard data generated based on the electronic whiteboard, and filling the whiteboard data into the data model to obtain whiteboard model data;
the storage module is used for sorting the whiteboard model data according to a preset filing sequence and storing the whiteboard model data as a file in a target format when a file storage instruction is detected;
the conference file processing apparatus further includes:
the adding module is used for adding additional information of the equipment in the whiteboard model data, wherein the additional information at least comprises size information of the equipment;
the saving module is further configured to:
and sequencing the whiteboard model data added with the additional information according to a preset filing sequence, storing the whiteboard model data as a file in a target format, extracting the additional information from the file in the target format when other equipment opens the file in the target format, and adaptively displaying the file in the target format on screens of other equipment based on the additional information.
8. A conference file handling apparatus, characterized in that the conference file handling apparatus comprises a memory, a processor and a conference file handling program stored on the memory and executable on the processor, the conference file handling program, when executed by the processor, implementing the steps of the conference file handling method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a conference file processing program, which, when executed by a processor, implements the steps of the conference file processing method according to any one of claims 1 to 6.
CN201910755596.9A 2019-08-15 2019-08-15 Conference file processing method, device, equipment and computer readable storage medium Active CN110457264B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910755596.9A CN110457264B (en) 2019-08-15 2019-08-15 Conference file processing method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910755596.9A CN110457264B (en) 2019-08-15 2019-08-15 Conference file processing method, device, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110457264A CN110457264A (en) 2019-11-15
CN110457264B true CN110457264B (en) 2022-04-01

Family

ID=68486892

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910755596.9A Active CN110457264B (en) 2019-08-15 2019-08-15 Conference file processing method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110457264B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116737667A (en) * 2022-11-22 2023-09-12 荣耀终端有限公司 Method for importing portable document format file and terminal equipment
CN117591484A (en) * 2023-11-29 2024-02-23 广东保伦电子股份有限公司 Real-time storage method, equipment and medium for whiteboard content data

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101572794A (en) * 2008-10-20 2009-11-04 深圳华为通信技术有限公司 Conference terminal, conference server, conference system and data processing method
CN102395025A (en) * 2011-11-04 2012-03-28 北京佳讯飞鸿电气股份有限公司 Video scheduling system with electronic whiteboard function and method for realizing electronic whiteboard function
CN105405325A (en) * 2015-12-22 2016-03-16 深圳市时尚德源文化传播有限公司 Network teaching method and system
CN106484759A (en) * 2016-08-09 2017-03-08 广州视睿电子科技有限公司 The analysis method and device of interactive electric whiteboard storage file
CN106933571A (en) * 2017-02-16 2017-07-07 广州视源电子科技股份有限公司 Blank document storing method and system
CN108037085A (en) * 2017-11-29 2018-05-15 日照职业技术学院 Surface of workpiece defect inspection method based on spectral signature
CN108132989A (en) * 2017-12-15 2018-06-08 华中师范大学 A kind of distributed system based on education big data
CN108459998A (en) * 2018-01-25 2018-08-28 广州视源电子科技股份有限公司 Document update, format conversion method, device and equipment, readable storage medium storing program for executing
CN108595171A (en) * 2018-04-27 2018-09-28 广州视源电子科技股份有限公司 Model generating method, device, equipment and the storage medium of object
CN109426600A (en) * 2017-12-21 2019-03-05 中国平安人寿保险股份有限公司 Data acquisition treatment method, device, equipment and readable storage medium storing program for executing

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101585871B1 (en) * 2009-04-08 2016-01-15 삼성전자주식회사 Apparatus and method for providing white board service in mobile communication system
JP2014077777A (en) * 2012-09-21 2014-05-01 Ricoh Co Ltd Communication terminal, communication method and program

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101572794A (en) * 2008-10-20 2009-11-04 深圳华为通信技术有限公司 Conference terminal, conference server, conference system and data processing method
CN102395025A (en) * 2011-11-04 2012-03-28 北京佳讯飞鸿电气股份有限公司 Video scheduling system with electronic whiteboard function and method for realizing electronic whiteboard function
CN105405325A (en) * 2015-12-22 2016-03-16 深圳市时尚德源文化传播有限公司 Network teaching method and system
CN106484759A (en) * 2016-08-09 2017-03-08 广州视睿电子科技有限公司 The analysis method and device of interactive electric whiteboard storage file
CN106933571A (en) * 2017-02-16 2017-07-07 广州视源电子科技股份有限公司 Blank document storing method and system
CN108037085A (en) * 2017-11-29 2018-05-15 日照职业技术学院 Surface of workpiece defect inspection method based on spectral signature
CN108132989A (en) * 2017-12-15 2018-06-08 华中师范大学 A kind of distributed system based on education big data
CN109426600A (en) * 2017-12-21 2019-03-05 中国平安人寿保险股份有限公司 Data acquisition treatment method, device, equipment and readable storage medium storing program for executing
CN108459998A (en) * 2018-01-25 2018-08-28 广州视源电子科技股份有限公司 Document update, format conversion method, device and equipment, readable storage medium storing program for executing
CN108595171A (en) * 2018-04-27 2018-09-28 广州视源电子科技股份有限公司 Model generating method, device, equipment and the storage medium of object

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Study on the development and training of electronic whiteboard;Guiying Guo;《2014 IEEE Workshop on Electronics, Computer and Applications》;20140630;第318-320页 *
交互式电子白板系统软件的设计与实现;吴敏;《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》;20140915;I138-767 *
基于Agent的电子白板模型在网上教学中的应用;魏巍 等;《电化教育研究》;20060201;第59-61页 *

Also Published As

Publication number Publication date
CN110457264A (en) 2019-11-15

Similar Documents

Publication Publication Date Title
CN110446062B (en) Receiving processing method for big data file transmission, electronic device and storage medium
CN102056099B (en) By using hand-written data to reproduce the apparatus and method of hand-written message
CN106911943B (en) Video display method and device and storage medium
US20120188286A1 (en) Dynamic image tiling
US20080013864A1 (en) Thumbnail image browsing method in an embedded system
CN106453572B (en) Method and system based on Cloud Server synchronous images
CN110377391B (en) Picture display method and device, mobile terminal and storage medium
CN110457264B (en) Conference file processing method, device, equipment and computer readable storage medium
CN111836052B (en) Image compression method, image compression device, electronic equipment and storage medium
CN111681291A (en) Image processing method, device, equipment and computer readable storage medium
CN100336381C (en) Method for capturing of real-time image
CN109272449A (en) Image display method and device, computer installation and readable storage medium storing program for executing
CN112560840A (en) Method for identifying multiple identification areas, identification terminal and readable storage medium
CN112423101B (en) Remote display method, device, equipment and computer readable storage medium
US9282331B2 (en) Image processing method and electronic device
CN112862073B (en) Compressed data analysis method and device, storage medium and terminal
CN111009017B (en) Picture compression method and device, storage medium and computer equipment
CN114039969A (en) Data transmission method and device
CN114726997A (en) Image storage and reading method and device, electronic equipment and storage medium
CN110119380B (en) Storage and reading method and device for scalable vector graphics file
CN111506272B (en) Storage method, device and equipment of note file and computer readable storage medium
WO2007099327A2 (en) Data compression
CN112351420A (en) Networking identity creating method and device of terminal device and readable storage medium
US8369637B2 (en) Image processing apparatus, image processing method, and program
CN106874285B (en) Photo file processing method and terminal equipment

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
TR01 Transfer of patent right

Effective date of registration: 20221009

Address after: Room 1601, 16th Floor, Block A, Jindingsheng Science and Technology Park, Qinghu Community, Longhua Street, Longhua District, Shenzhen, Guangdong 518000

Patentee after: MINGNA INFORMATION TECHNOLOGY SHENZHEN Co.,Ltd.

Address before: 518000 Wenchuang 408, 1970, 39 Wuhe Avenue (South), Nankeng Community, Bantian Street, Longgang District, Shenzhen City, Guangdong Province

Patentee before: Shenzhen Weiping Technology Co.,Ltd.

TR01 Transfer of patent right