CN108512875A - A kind of storage method and device of online question-answering content - Google Patents

A kind of storage method and device of online question-answering content Download PDF

Info

Publication number
CN108512875A
CN108512875A CN201710108346.7A CN201710108346A CN108512875A CN 108512875 A CN108512875 A CN 108512875A CN 201710108346 A CN201710108346 A CN 201710108346A CN 108512875 A CN108512875 A CN 108512875A
Authority
CN
China
Prior art keywords
file
answering
questions
reverse proxy
data packet
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.)
Pending
Application number
CN201710108346.7A
Other languages
Chinese (zh)
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.)
Suzhou Qianwen wandaba Education Technology Co., Ltd
Original Assignee
Shanghai Qian Wan Answer Cloud Computing 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 Shanghai Qian Wan Answer Cloud Computing Technology Co Ltd filed Critical Shanghai Qian Wan Answer Cloud Computing Technology Co Ltd
Priority to CN201710108346.7A priority Critical patent/CN108512875A/en
Publication of CN108512875A publication Critical patent/CN108512875A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Electrically Operated Instructional Devices (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a kind of storage methods and device of online question-answering content.The method includes:Teacher side obtains online question-answering data packet, and is stored the online question-answering data packet into the file of answering questions of corresponding format according to the type of the online question-answering data packet;The teacher side is after determining online question-answering, using Reverse Proxy as transfer, the file of answering questions is uploaded in cloud storage service device the broadcasting for playback terminal and is called.Technical solution through the invention can reduce bandwidth and memory pressure, reduce cost, promote user experience.

Description

A kind of storage method and device of online question-answering content
Technical field
The present embodiments relate to the storage of the information processing technology more particularly to a kind of online question-answering content and devices.
Background technology
With the continuous development of network, the teaching method between teacher and student has developed under line on line, online to teach It is bred as a kind of technology trends, and existing online question-answering equipment mainly uses voice mutually to be tied with notes (writing on the blackboard) at present The mode of conjunction provides real-time online question-answering service for academics and students, i.e. teacher is explained by voice and student's real time phone call, And special answer questions originally for passing through teacher end is that student carries out writing on the blackboard writing with digital pen.
In addition, needing to carry out live reduction to academics and students' process of answering questions in online question-answering business, need to this mistake On the one hand Cheng Jinhang recording and storings record the playback for carrying out knowledge point and reviewing knowledge already acquired summary so that later stage student answers questions to history;Separately On the one hand for internal check, i.e., teacher is currently answerred questions in audit or whether student has carried out violation operation, improperly speech or old Whether careless explanation of teacher etc., or audit and the current voice call quality of automatic or manual detection, person's handwriting transmission are complete It is whole and qualified.
Existing online question-answering content package storage is:At teacher end by record screen software recording audio and person's handwriting, then press Contracting is encoded into video format (general mp4 formats), and is uploaded directly into rear end cloud storage service.
In the prior art, the compression of video format file itself can be very time-consuming, and occupies the memory at teacher end, to lead The software of answering questions at teacher end is caused interim card occur;Furthermore the size of storage file also very big (such as the 480p/15fps/ of 1 hour The video size of 500Kbps is likely to be breached 200M), cause local disk storage pressure excessive;File is uploaded to third party cloud and deposits When being stored in storage, since each teacher end is required for upper transmitting file, for the cloud storage service by entrance charging mode Speech increases the expense for uploading entrance, can also be greatly increased so as to cause cost is uploaded;In addition, teacher end software window size Variation cannot be adjusted, because if window size changes, recording the video pictures shielded will be inconsistent when showing again, leads User experience is caused to reduce.
Invention content
The embodiment of the present invention provides a kind of storage method and device of online question-answering content, reduces bandwidth and memory to realize Pressure reduces cost, promotes user experience.
In a first aspect, an embodiment of the present invention provides a kind of storage methods of online question-answering content, including:
Teacher side obtains online question-answering data packet, and according to the type of the online question-answering data packet by the online question-answering Data packet is stored into the file of answering questions of corresponding format;
The teacher side is after determining online question-answering, using Reverse Proxy as transfer, answers questions described File is uploaded in cloud storage service device the calling of the broadcasting for playback terminal.
Further, the teacher side obtains online question-answering data packet, and according to the type of the online question-answering data packet The online question-answering data packet is stored into the file of answering questions of corresponding format, including:
Student's VoP that the teacher side obtains the teacher's VoP locally acquired and student side is sent, And teacher's VoP and student's VoP are combined generation simultaneous voice data packet and are stored in In the file of answering questions of phonetic matrix;
The teacher side obtains the teacher's person's handwriting data packet locally acquired, and is stored in the file of answering questions of person's handwriting format.
Further, the teacher side is after determining online question-answering, will using Reverse Proxy as transfer The file of answering questions is uploaded in cloud storage service device the calling of the broadcasting for playback terminal, including:
The teacher side is segmented the file of answering questions, and the file fragmentation of answering questions is uploaded to the reversed generation Manage server;
The teacher side is corresponded to according to the upload for different segmentations that the Reverse Proxy returns as a result, determining Segmentation upload strategy and update storage upload status information corresponding with the upload result;
The teacher side is answerred questions described in determination after file is completely uploaded to the Reverse Proxy, is answered described in deletion Doubt the upload status information of file and the file of answering questions;
Wherein, the file of answering questions for being completely uploaded to the Reverse Proxy is transferred in the cloud storage service device It is called for the broadcasting of playback terminal.
Further, the teacher's person's handwriting data packet locally acquired includes:
Acquisition time of the acquisition time of current teacher's person's handwriting data packet relative to first simultaneous voice data packet Relative time stamp so that the playback terminal is stabbed according to the relative time completes simultaneous voice data packet and the teacher pen The synchronization of mark data packet.
Second aspect, the embodiment of the present invention additionally provide a kind of storage method of online question-answering content, and this method includes:
The file of answering questions that teacher side uploads is stored by Reverse Proxy, wherein the file is the teacher side After obtaining online question-answering data packet, generated according to the type of the online question-answering data packet;
File full storage is answerred questions described in determination when the Reverse Proxy, and the file of answering questions is transferred to So that the broadcasting of playback terminal is called in cloud storage service device.
Further, the file of answering questions that teacher side upload is stored by Reverse Proxy, including:
The file fragment of answering questions that the teacher side segmentation uploads is received by Reverse Proxy;
If meeting the first verification condition by file fragment of answering questions described in Reverse Proxy verification, it is based on The file fragment of answering questions is sent to service server by load-balancing technique;Otherwise, by the Reverse Proxy to The teacher side returns to the response of the first authentication failed as upload result;
If meeting the second verification condition by file fragment of answering questions described in service server verification, by described The file fragment of answering questions is stored in the setting position of itself and is returned successfully to the teacher side by Reverse Proxy Response is uploaded as upload result;Otherwise, the second authentication failed is returned to the teacher side by the Reverse Proxy Response is as upload result.
Further, the file full storage of answering questions described in determination, will be described when the Reverse Proxy File of answering questions is transferred in cloud storage service device the calling of the broadcasting for playback terminal, including:
If by the service server determine described in answer questions file full storage when the Reverse Proxy, Complete upload response is then returned to the teacher side by the reverse proxy service and is used as upload as a result, and by the business The file of answering questions is transferred in cloud storage service device by server;
If receiving the successful unloading that the cloud storage service device returns by the service server to respond, pass through The service server deletes the file of answering questions stored in the reverse proxy service;
Wherein, the cloud storage service device is answerred questions described in successful reception after file, notice Web server generate with it is described The corresponding uniform resource location of file of answering questions calls for the broadcasting of playback terminal.
The third aspect, the embodiment of the present invention additionally provide a kind of storage device of online question-answering content, are configured at teacher side In, which includes:
Data acquisition module, for obtaining online question-answering data packet, and will according to the type of the online question-answering data packet The online question-answering data packet is stored into the file of answering questions of corresponding format;
File uploading module, for after determining online question-answering, using Reverse Proxy as transfer, by institute The broadcasting that file of answering questions is uploaded in cloud storage service device for playback terminal is stated to call.
Further, the data acquisition module includes:
Voice acquisition submodule, student's language for obtaining the teacher's VoP locally acquired and student side transmission Sound data packet, and teacher's VoP and student's VoP are combined and generate simultaneous voice data Packet is stored in the file of answering questions of phonetic matrix;
Person's handwriting acquisition submodule for obtaining the teacher's person's handwriting data packet locally acquired, and is stored in answering for person's handwriting format It doubts in file.
Further, the file uploading module includes:
Segmentation uploads submodule, for being segmented to the file of answering questions, and the file fragmentation of answering questions is uploaded to The Reverse Proxy;
State updates submodule, the upload knot for different segmentations for being returned according to the Reverse Proxy Fruit determines that corresponding segmentation uploads strategy and updates storage upload status information corresponding with the upload result;
State deletes submodule, after being completely uploaded to the Reverse Proxy for file of answering questions described in determination, It answers questions described in deletion the upload status information of file and the file of answering questions;
Wherein, the file of answering questions for being completely uploaded to the Reverse Proxy is transferred in the cloud storage service device It is called for the broadcasting of playback terminal.
Further, the teacher's person's handwriting data packet locally acquired includes:
Acquisition time of the acquisition time of current teacher's person's handwriting data packet relative to first simultaneous voice data packet Relative time stamp so that the playback terminal is stabbed according to the relative time completes simultaneous voice data packet and the teacher pen The synchronization of mark data packet.
Fourth aspect, the embodiment of the present invention additionally provide a kind of storage device of online question-answering content, are configured at server In cluster, which is characterized in that including:
File storage module, for storing the file of answering questions that teacher side uploads by Reverse Proxy, wherein described File is after the teacher side obtains online question-answering data packet, to be generated according to the type of the online question-answering data packet;
File unloading module will for answering questions file full storage described in determination when the Reverse Proxy The file of answering questions is transferred in cloud storage service device the calling of the broadcasting for playback terminal.
Further, the file storage module includes:
Segment receiving submodule, for receiving the file of answering questions that the teacher side segmentation uploads by Reverse Proxy Segment;
Segment sending submodule, if for being met by file fragment of answering questions described in Reverse Proxy verification The file fragment of answering questions then is sent to service server by the first verification condition based on load-balancing technique;
First failure response submodule, if for passing through file fragment of answering questions described in Reverse Proxy verification It is unsatisfactory for the first verification condition, then returning to the response of the first authentication failed to the teacher side by the Reverse Proxy makees To upload result;
Segment sub-module stored, if for meeting second by file fragment of answering questions described in service server verification Verification condition, then by the Reverse Proxy by the file fragment of answering questions be stored in itself setting position and to The teacher side, which returns, successfully uploads response as upload result;
Second failure response submodule, if for discontented by file fragment of answering questions described in service server verification The second verification condition of foot returns to the response of the second authentication failed to the teacher side by the Reverse Proxy and is used as upload As a result.
Further, the file unloading module is specifically used for:
If by the service server determine described in answer questions file full storage when the Reverse Proxy, Complete upload response is then returned to the teacher side by the reverse proxy service and is used as upload as a result, and by the business The file of answering questions is transferred in cloud storage service device by server;
If receiving the successful unloading that the cloud storage service device returns by the service server to respond, pass through The service server deletes the file of answering questions stored in the reverse proxy service;
Wherein, the cloud storage service device is answerred questions described in successful reception after file, notice Web server generate with it is described The corresponding uniform resource location of file of answering questions calls for the broadcasting of playback terminal.
The embodiment of the present invention obtains online question-answering data packet by teacher side, and online question-answering data packet is stored to correspondence In the file of answering questions of format, after determining online question-answering, using Reverse Proxy as transfer, it will answer questions on file It reaches the broadcasting in cloud storage service device for playback terminal to call, data classification storage is utilized and Reverse Proxy is made The advantages of carrying out file upload for transfer, solves in the prior art because using teacher side recorded video file and directly uploading cloud It stores and leads to committed memory and bandwidth, of high cost, poor user experience, realize and reduce bandwidth and memory pressure, drop Low cost promotes the effect of user experience.
Description of the drawings
Fig. 1 is a kind of flow diagram of the storage method for online question-answering content that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow diagram of the storage method of online question-answering content provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow diagram of the storage method for online question-answering content that the embodiment of the present invention three provides;
Fig. 4 is a kind of flow diagram of the storage method for online question-answering content that the embodiment of the present invention four provides;
Fig. 5 is a kind of flow diagram of the storage method for online question-answering content that the embodiment of the present invention five provides;
Fig. 6 is a kind of structural schematic diagram of the storage device for online question-answering content that the embodiment of the present invention six provides;
Fig. 7 is a kind of structural schematic diagram of the storage device for online question-answering content that the embodiment of the present invention seven provides;
Fig. 8 is that the mobile phone playback terminal online question-answering software that the embodiment of the present invention one provides playbacks picture view;
Fig. 9 is that mobile phone playback terminal online question-answering software provided by Embodiment 2 of the present invention playbacks picture view.
Specific implementation mode
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limitation of the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of flow diagram of the storage method for online question-answering content that the embodiment of the present invention one provides.The party Method is applicable to the case where being stored to online question-answering content, and this method can be held by the storage device of online question-answering content Row, which can be made of hardware and/or software, and can be integrated in the teacher side with online question-answering and recording function.Tool Body includes as follows:
S110, teacher side obtain online question-answering data packet, and according to the type of online question-answering data packet by online question-answering number It is stored into the file of answering questions of corresponding format according to packet.
Wherein, online question-answering data packet carries out generated data packet when online question-answering between teacher side and student side. Specifically, online question-answering process is:Teacher is explained by voice and student's real time phone call, and answers questions this by the special of teacher side Writing on the blackboard writing is carried out for student, wherein answer questions originally and digital pen is customization specialized hardware product, answer questions on originally and be furnished with digital pen Exclusive data dot matrix, digital pen pass through USB (Universal Serial Bus, universal serial bus) data lines and teacher side electricity Brain is connected.During writing, digital pen collects the lattice position on book, and is real-time transmitted to teacher side computer;And lead to Proprietary transfer server is crossed handwriting data forwarding is transferred to mobile phone for pupil end using upper description and is shown;Simultaneously to this The online question-answering data packet that process generates is stored, and to be playbacked, it is as shown in Figure 8 to playback picture.Wherein, online question-answering Data packet may include VoP and handwriting data packet.Preferably, the VoP of audio types can be stored to .mp3 in the file of answering questions of type format, the handwriting data packet of information type is stored to the file of answering questions of .pen type formats In.
Online question-answering data packet, which is stored respectively according to data type into the file of answering questions of corresponding format, to be advantageous in that, It is possible to prevente effectively from the online question-answering data packet file that is uniformly stored as answering questions after video format is excessive, caused by video compress Expend memory, video upload occupy excessive bandwidth, a series of problems, such as file storage high in the clouds cost is excessively high, only obtain with voice and The related effective data packets of person's handwriting, effectively have compressed the size for file of answering questions, and reduce bandwidth and storage pressure, have saved interior Resource is deposited, cost is reduced.In addition, due to only obtaining data related with content of answering questions when obtaining online question-answering data packet, with The display window size of teacher side is unrelated, therefore solves and be unable to adjust teacher side when recording and answer questions the display window size of software The problem of, the user experience is improved.
S120, teacher side are after determining online question-answering, using Reverse Proxy as transfer, by file of answering questions The broadcasting for playback terminal is uploaded in cloud storage service device to call.
Wherein, Reverse Proxy is to provide the computer of reverse proxy service.Preferably, it can use multiple reversed Proxy server, teacher side are primarily based on the load-balancing technique file that will answer questions and are uploaded to phase after determining online question-answering The Reverse Proxy answered, interim storage file of answering questions in the Reverse Proxy, then answering the interim storage Doubtful file is uploaded to cloud storage service device and is called for the broadcasting of playback terminal.
The file that will be answerred questions using Reverse Proxy as transfer, which is uploaded to cloud storage service device, to be advantageous in that, can be with The file consolidation of answering questions that all teacher sides upload is uploaded to cloud storage service device, since cloud storage service is provided by third party The storage server using entrance charging mode, thus avoid and cloud storage service be directly uploaded to by single teacher side respectively It needs to upload problem of high cost caused by multiple storage entrances when device, in addition, will answer questions for teacher side in the prior art The problem of file is unable to control uploading rate when directly uploading cloud storage service device, can be with as transfer using Reverse Proxy So that teacher side is uploaded, uploading rate when answering questions file is controllable, and teacher side can be automatic by finger daemon (i.e. deamon subprocess) Current uplink network bandwidth is detected, adjust automatically uploading rate improves so as to ensure not influence normal online question-answering User experience.
The technical solution of the present embodiment obtains online question-answering data packet by teacher side, and online question-answering data packet is deposited It stores up into the file of answering questions of corresponding format, after determining online question-answering, using Reverse Proxy as transfer, will answer Doubtful file is uploaded in cloud storage service device the calling of the broadcasting for playback terminal, and data classification storage and reverse proxy is utilized The advantages of server carries out file upload as transfer solves in the prior art because using teacher side recorded video file and straight It connects and passes cloud storage and lead to committed memory and bandwidth, of high cost, poor user experience, realize and reduce bandwidth and memory Pressure reduces cost, promotes the effect of user experience.
Embodiment two
Fig. 2 is a kind of flow diagram of the storage method of online question-answering content provided by Embodiment 2 of the present invention.This reality It applies example to optimize based on above-described embodiment, provides the storage method of preferred online question-answering content, specifically, will teach Teacher end obtains online question-answering data packet, and is stored online question-answering data packet to corresponding lattice according to the type of online question-answering data packet Advanced optimized in the file of answering questions of formula for, including:Teacher side obtains the teacher's VoP locally acquired and student side Student's VoP of transmission, and teacher's VoP and student's VoP are combined generation simultaneous voice Data packet is stored in the file of answering questions of phonetic matrix;Teacher side obtains the teacher's person's handwriting data packet locally acquired, and is stored in In the file of answering questions of person's handwriting format.
S210, student's voice data that teacher side obtains the teacher's VoP locally acquired and student side is sent Packet, and teacher's VoP and student's VoP are combined generation simultaneous voice data packet and are stored in voice lattice In the file of answering questions of formula.
Optionally, the VoP of acquisition may include the teacher's VoP and student that teacher side locally acquires End acquires and is sent to student's VoP of teacher side.Illustratively, when teacher side recorded speech, to get two After kind of VoP carries out echo cancellation, noise suppressed processing, to by VoP generate Lai PCM (Pulse Code Modulation, pulse code modulation) signal is sampled, is compressed, and real-time coding is combined into the alliteration of phonetic matrix Track data.Wherein, phonetic matrix can be mp3 formats.
Under normal circumstances, teacher side, which synchronizes, obtains teacher's VoP and student's VoP, but if answering questions Occur the VoP time-out of a certain end acquisition to be obtained such as one party voice data packet loss or teacher side in the process, It can then be filled with the mute packet of corresponding length, to keep synchronous.For example, teacher side is normally got at the 3rd second to the 4th second The teacher's VoP locally acquired, and student's voice data packet loss that student side is sent, then when being filled since the 3rd second A length of 1 second quiet data packet is to student's VoP, to keep teacher's VoP synchronous with student's VoP It obtains.
Get synchronous teacher's VoP and student's VoP and be aligned after, by both data packets into Row assembly coding forms the simultaneous voice data packet of two-channel.For example, mp3 formats to being stored with simultaneous voice data packet It is to carry out teacher's VoP and student's VoP by left and right two sound channels respectively when file of answering questions plays out It plays.
Preferably, the simultaneous voice data packet of generation is stored in the file of answering questions of .mp3 formats.
S220, teacher side obtain the teacher's person's handwriting data packet locally acquired, and are stored in the file of answering questions of person's handwriting format.
Wherein, the type of the file of answering questions of storage person's handwriting format can be .pen type files.
Optionally, can by teacher's person's handwriting packet definitions of acquisition be jsonp formats, the format support computer end, Page end, mobile phone application end the rendering handwriting data that plays compatible simultaneously work as browser to solve the problems, such as that browser is cross-domain Directly internal it can be parsed into jsonp data after reading person's handwriting file.Preferably, the jsonp formats of handwriting data packet specifically may be used To be defined as:Including handwriting data head and handwriting data body, wherein setting handwriting data head purpose be in order to player into The purpose of key state point during clearly teacher being marked to answer questions on degree item, setting handwriting data body is to describe person's handwriting letter The specific data value of breath.
Illustratively, handwriting data head includes variable s, and the different state (0 of answering questions of teacher is indicated with different assignment: Examine the topic stage;1:Start the explanation stage;Other are reserved);Further include variable t, indicates that current teacher answers questions teacher's person's handwriting under state Relative time of the data packet relative to the acquisition time of first simultaneous voice data packet.For example, playback terminal plays out When calling, the careful topic stage can be skipped according to s the and t values in handwriting data head, as shown in Figure 9.
Preferably, the teacher's person's handwriting data packet locally acquired includes:The acquisition time of current teacher's person's handwriting data packet The relative time of acquisition time relative to first simultaneous voice data packet stabs, so that playback terminal is stabbed according to relative time It is synchronous with teacher's person's handwriting data packet to complete simultaneous voice data packet.
Illustratively, handwriting data body includes variable t, indicates that the acquisition time of current teacher's person's handwriting data packet is opposite In the relative time of the acquisition time of first simultaneous voice data packet;Further include variable c, positional representation person's handwriting related command Operation, for example, 0 expression pen is write in the 1st, 1 indicates that pen suspends, the color of 2-4 expression person's handwritings;Further include variable s, table The page number of the page where showing person's handwriting;Further include x1, y1, x2 and y2, indicates the coordinate of the coordinate and terminating point of starting point respectively.
S230, teacher side are after determining online question-answering, using Reverse Proxy as transfer, by file of answering questions The broadcasting for playback terminal is uploaded in cloud storage service device to call.
The technical solution of the present embodiment obtains teacher's VoP and student's VoP by teacher side respectively, The simultaneous voice data packet that generates is stored in the file of answering questions of audio format after both data packets are combined, then by acquisition Teacher's person's handwriting data packet is stored in the file of answering questions of person's handwriting format, and audio data is utilized and handwriting data is stored separately eight-legged essay The small advantage of part is solved in the prior art because being recorded using video format file, and when leading to compressing file and uploading The problem of committed memory and bandwidth, realizes the effect for reducing bandwidth and memory pressure.
Embodiment three
Fig. 3 is a kind of flow diagram of the storage method for online question-answering content that the embodiment of the present invention three provides.This reality It applies example to optimize based on the various embodiments described above, provides the storage method of preferred online question-answering content, it specifically, will Teacher side is after determining online question-answering, and using Reverse Proxy as transfer, the file that will answer questions is uploaded to cloud storage In server for the broadcasting of playback terminal calling advanced optimize for, including:Teacher side is segmented file of answering questions, and will File fragmentation of answering questions is uploaded to Reverse Proxy;Teacher side according to Reverse Proxy return for different segmentations It uploads as a result, determining that corresponding segmentation uploads strategy and updates storage upload status information corresponding with result is uploaded;Teacher side After determining that file of answering questions completely is uploaded to Reverse Proxy, the upload state letter of answer questions file and file of answering questions is deleted Breath;Wherein, the file of answering questions for being completely uploaded to Reverse Proxy is transferred in cloud storage service device for playback terminal Broadcasting call.
S310, teacher side obtain online question-answering data packet, and according to the type of online question-answering data packet by online question-answering number It is stored into the file of answering questions of corresponding format according to packet.
After determining online question-answering, to answering questions, file is segmented, and will be answerred questions on file fragmentation for S320, teacher side Reach Reverse Proxy.
Illustratively, teacher side is completed, to the recording of online question-answering content, to generate after determining online question-answering The deamon subprocess of complete file of answering questions, running background is responsible for the file of answering questions by domain name and based on load balancing skill Art, breakpoint transmission to corresponding Reverse Proxy, the file that will first answer questions is segmented when file uploads, and using in segmentation The mode of biography carries out sequential delivery to file of answering questions, wherein segmented mode can carry out equivalent by data volume and intercept successively Mode, file of answering questions may include voice document and person's handwriting file, it is preferred that re-segmenting passes after the completion of voice document segment transmissions Defeated person's handwriting file.Carrying out segmentation upload to file of answering questions is advantageous in that, the uploading rate of teacher side can be made controllable, to subtract The occupancy of small bandwidth.
The upload for different segmentations that S330, teacher side are returned according to Reverse Proxy is as a result, determination is corresponding Segmentation uploads strategy and updates storage upload status information corresponding with result is uploaded.
Optionally, all files of answering questions that same online question-answering data packet generates can correspond to an order number of answering questions, and show Example property, deamon subprocess in teacher side be responsible for each answering questions under the corresponding order number of answering questions of record file upload as a result, Upload progress is determined by upload result, to according to upload progress determine it is next need the segment that uploads, and update storage with Upload the corresponding upload status information of result.Mesh is locally stored in the file of answering questions specified by deamon subprocess scan rounds Record, to ensure that the file of answering questions to all unfinished uploads carries out breakpoint transmission.
It can be determined according to the upload result of a upper segment specifically, segmentation uploads strategy.For example, if reverse proxy takes Business device returns to a upper segment and uploads successful as a result, then continuing to upload the content of next segment;If Reverse Proxy returns A upper segment uploads failing as a result, then retransmitting a upper segment.
S340, teacher side are answerred questions after file is completely uploaded to Reverse Proxy determining, deletion answer questions file and It answers questions the upload status information of file.
Wherein, the file of answering questions for being completely uploaded to Reverse Proxy is transferred in cloud storage service device for playing The broadcasting of terminal is called.
Specifically, teacher side and receives Reverse Proxy and returns when the file fragment that will answer questions all is uploaded and finished When the successful result of upload returned, it is determined that file of answering questions completely is uploaded to Reverse Proxy, and then deletes text of answering questions Part and with the relevant upload status information of file of answering questions, to save the local storage space of teacher side.
The technical solution of the present embodiment is uploaded to Reverse Proxy by carrying out segmentation to file of answering questions, and is directed to The upload result of return determines corresponding upload strategy, and update is corresponding to upload status information, finally complete in determining file of answering questions Corresponding file and status information are deleted after whole upload, realizes reduction bandwidth usage, save the effect of local storage space.
Example IV
Fig. 4 is a kind of flow diagram of the storage method for online question-answering content that the embodiment of the present invention four provides.The party Method is applicable to the case where being stored to online question-answering content, and this method can be held by the storage device of online question-answering content Row, the device can be made of hardware and/or software, and can be integrated in the server cluster with storage and upload function, In, server cluster may include Reverse Proxy, service server and web server, and the server cluster can To be used cooperatively with cloud storage service device, the file of answering questions for uploading user is forwarded to cloud storage service device.It specifically includes It is as follows:
S410, the file of answering questions that teacher side uploads is stored by Reverse Proxy.
Wherein, file of answering questions is after teacher side obtains online question-answering data packet, to be given birth to according to the type of online question-answering data packet At.
Illustratively, as soon as Reverse Proxy often receives the file of answering questions of teacher side upload, according to load Weigh the corresponding service server of strategy matching, and service server is responsible for be temporarily stored in the text of answering questions in Reverse Proxy Part generates globally unique filename as keyword, it is preferred that after the name of the file of answering questions of phonetic matrix is with .mp3 Sew, the name of the file of answering questions of person's handwriting format is using .pen as suffix.The purpose for carrying out renaming is to be different from other uploads It answers questions file, in order to which playback terminal distinguishes file of answering questions, to realize the accurate broadcasting tune for file of answering questions to target With.
S420, determining that the file that will answer questions is transferred to cloud storage when answering questions file full storage in Reverse Proxy So that the broadcasting of playback terminal is called in server.
Illustratively, file full storage is answerred questions in Reverse Proxy and after being named in determination, business service Device is by calling the third party cloud service interface file that will answer questions to be transferred to cloud storage service device, for the broadcasting tune of playback terminal With.
It is answerred questions file using Reverse Proxy interim storage, then cloud storage service device is transferred to by service server Be advantageous in that, multiple storage entrances can be needed to avoid being directly uploaded to respectively by single teacher side when cloud storage service device and It is caused to upload problem of high cost, can also make teacher side upload answer questions file when uploading rate it is controllable, in addition, using reversed Proxy server carries out interim storage to file consolidation of answering questions can improve the safety of system, and malice is effectively prevent to upload other File is to cloud storage service device.
The technical solution of the present embodiment stores the file of answering questions that teacher side uploads by Reverse Proxy, and true Surely file full storage is answerred questions when Reverse Proxy, is transferred to cloud storage service device, Reverse Proxy is utilized The advantages of same progress file unloading, solves in the prior art because video file is directly uploaded to cloud storage service by teacher side Caused by occupied bandwidth, it is of high cost, safety is poor the problems such as, realize reduction bandwidth pressure, reduce cost, improve safety Effect.
Embodiment five
Fig. 5 is a kind of flow diagram of the storage method for online question-answering content that the embodiment of the present invention five provides.This reality It applies example to optimize based on above-described embodiment, provides the storage method of preferred online question-answering content, specifically, will lead to Cross Reverse Proxy storage teacher side upload file of answering questions advanced optimize for, including:Pass through Reverse Proxy Receive the file fragment of answering questions that teacher side segmentation uploads;If meeting the by Reverse Proxy verification file fragment of answering questions One verification condition is then based on the load-balancing technique file fragment that will answer questions and is sent to service server;Otherwise, pass through reverse proxy Server returns to the response of the first authentication failed as upload result to teacher side;If verifying file of answering questions by service server Segment meets the second verification condition, then file fragment of answering questions is stored in the setting position of itself by Reverse Proxy And it is returned to teacher side and successfully uploads response as upload result;Otherwise, by Reverse Proxy the is returned to teacher side The response of two authentication faileds is as upload result.
S510, the file fragment of answering questions that teacher side segmentation uploads is received by Reverse Proxy.
Specifically, file fragment of answering questions is the file fragment for file of answering questions formed after segment processing.Wherein, it is segmented Mode can be in such a way that data volume progress equivalent intercepts successively, and file fragment of answering questions may include voice document segment and pen Mark file fragment, it is preferred that voice document segment receives person's handwriting file fragment again after all finishing receiving.To answering questions, file carries out Subsection receiing is advantageous in that, the uploading rate of teacher side can be made controllable, to reduce the occupancy of bandwidth, meanwhile, it can make Reverse Proxy handles the file fragment of answering questions that teacher side uploads the memory usage that can reduce server, unlikely In resulting in blockage.
Whether S520, file fragment of being answerred questions by Reverse Proxy verification meet the first verification condition, if so, holding Row S530;If it is not, then executing S540.
Wherein, the first verification condition can be legitimacy, i.e., verifying file fragment of answering questions by Reverse Proxy is No legal purpose is, verifies whether the file fragment of answering questions received is to be sent by teacher side.Verify file fragment of answering questions Whether meeting the first verification condition is advantageous in that, can tentatively shield by the apocrypha of the client transmission of non-teacher side, Improve the safety that file uploads.
S530, the file fragment that will be answerred questions based on load-balancing technique are sent to service server.
When meeting the first verification condition, the file fragment that illustrates to answer questions is negative to be further based on tentatively by verification It carries the balancing technique file fragment that will answer questions and is sent to service server.Wherein, load-balancing technique principle is will to ask or data Share on multiple operating units and executed, such as (File Transfer Protocol, file pass by Web server, FTP Defeated agreement) server, enterprise's key application server and other key task servers etc., to complete task jointly, Load-balancing technique is established on existing network infrastructure, it provides a kind of cheap effectively transparent method extended network equipment With the bandwidth of server, increase handling capacity, Strengthens network data-handling capacity improves flexibility and the availability of network.
S540, it returns to the first authentication failed to teacher side by Reverse Proxy and responds and be used as upload result.
When being unsatisfactory for the first verification condition, needs refusal this time to upload fragment request, then pass through Reverse Proxy The response of the first authentication failed is returned as upload as a result, to inform the teacher side text of answering questions to the teacher side for sending this document segment Part segment uploads failure.
Illustratively, when file fragment of answering questions is illegal, Reverse Proxy returns to errored response to teacher side, and Refusal this time uploads fragment request.
Whether S550, file fragment of being answerred questions by service server verification meet the second verification condition, if so, executing S560;If it is not, then executing S570.
Illustratively, single service server receive Reverse Proxy based on load-balancing technique distribution come It answers questions after file fragment, verifies whether the file fragment of answering questions meets the second verification condition, wherein the second verification condition is preferably Requirement to file fragment upload request header fields, token (token), file format and type.For example, passing through business service Device verifies whether file fragment of answering questions is audio format file or person's handwriting formatted file.Whether verification file fragment of answering questions meets the The purpose of two verification conditions is, shields the undesirable file uploaded by legal teacher side, improves the peace that file uploads Quan Xing.
S560, file fragment of answering questions is stored in by the setting position of itself by Reverse Proxy and to teacher side It returns and successfully uploads response as upload result.
If file fragment of answering questions meet the second verification condition, by Reverse Proxy will answer questions file fragment storage In the setting position of itself, wherein setting position is the corresponding text in the storage folder reserved in Reverse Proxy Part is stored into the file of .mp3 formats, the file if this is answerred questions if file fragment is audio file segment for example, this is answerred questions Frequency range is person's handwriting file fragment, then is stored in the file of .pen formats.
It returns successfully to upload to respond by Reverse Proxy and is used as upload as a result, illustrative, file of individually answering questions After segment uploads successfully, Reverse Proxy returns to http201 to the deamon subprocess in teacher side;In entire text of answering questions After part whole segment uploads successfully, Reverse Proxy returns to http200 and responds to the deamon subprocess in teacher side.
S570, it returns to the second authentication failed to teacher side by Reverse Proxy and responds and be used as upload result.
If file fragment of answering questions is unsatisfactory for the second verification condition, illustrate that the file fragment of answering questions does not meet particular requirement, then The response of the second authentication failed is returned to teacher side by Reverse Proxy and be used as upload result, wherein the second authentication failed Response can be identical as the first authentication failed response, that is, is errored response, can also be different from the response of the first authentication failed, with Teacher side is prompted to upload the different reasons of failure.
S580, determining that the file that will answer questions is transferred to cloud storage when answering questions file full storage in Reverse Proxy So that the broadcasting of playback terminal is called in server.
Preferably, file full storage is answerred questions when Reverse Proxy if determined by service server, lead to It crosses reverse proxy service and is returned to teacher side and complete upload response as uploading as a result, and will answer questions file by service server It is transferred in cloud storage service device.
Illustratively, after entire file whole segment of answering questions uploads successfully, Reverse Proxy returns to http200 Respond to the deamon subprocess in teacher side.
Preferably, if the successful unloading for receiving the return of cloud storage service device by service server responds, pass through Service server deletes the file of answering questions stored in reverse proxy service;Wherein, cloud storage service device is answerred questions text in successful reception After part, notice Web server generates uniform resource location corresponding with file of answering questions and is called for the broadcasting of playback terminal.
Wherein, deleting the file of answering questions stored in Reverse Proxy is advantageous in that, can remove and upload into time The file of answering questions of the interim storage of work(, to save the memory space of Reverse Proxy.Illustratively, service server at Work(will answer questions after file is transferred to cloud storage service device, and notice backstage Web server file uploads successfully, to make Web service Device records the corresponding each uniform resource location answerred questions corresponding to file answerred questions under order number and stores to corresponding in time Database in.
The technical solution of the present embodiment is verified after receiving file fragment of answering questions by Reverse Proxy, and It is sent to service server after being verified to be verified again, is proved to be successful the file fragment that will just answer questions and stores to reversed generation The setting position of server is managed, and corresponding response results are returned to teacher side by Reverse Proxy, realizes and carries The effect of the safety of high upload procedure.
Embodiment six
Fig. 6 is a kind of structural schematic diagram of the storage device for online question-answering content that the embodiment of the present invention five provides.The dress It sets and is configured in teacher side.With reference to figure 6, the storage device of online question-answering content includes:On data acquisition module 610 and file Transmission module 620 is below specifically described each module.
Data acquisition module 610, for obtaining online question-answering data packet, and according to the type of the online question-answering data packet The online question-answering data packet is stored into the file of answering questions of corresponding format;
File uploading module 620, for after determining online question-answering, using Reverse Proxy as transfer, The file of answering questions is uploaded in cloud storage service device the broadcasting for playback terminal to call.
The storage device of online question-answering content provided in this embodiment obtains online question-answering data packet by teacher side, and will Online question-answering data packet is stored into the file of answering questions of corresponding format, after determining online question-answering, is taken using reverse proxy Device be engaged in as transfer, file of answering questions is uploaded in cloud storage service device the broadcasting for playback terminal and is called, data are utilized The advantages of classification storage and Reverse Proxy carry out file upload as transfer, solves in the prior art because using teacher End recorded video file simultaneously directly uploads cloud storage and leads to committed memory and bandwidth, of high cost, poor user experience, real Show reduction bandwidth and memory pressure, reduced cost, promotes the effect of user experience.
Optionally, data acquisition module 610 may include:
Voice acquisition submodule, student's language for obtaining the teacher's VoP locally acquired and student side transmission Sound data packet, and teacher's VoP and student's VoP are combined and generate simultaneous voice data Packet is stored in the file of answering questions of phonetic matrix;
Person's handwriting acquisition submodule for obtaining the teacher's person's handwriting data packet locally acquired, and is stored in answering for person's handwriting format It doubts in file.
Optionally, file uploading module 620 may include:
Segmentation uploads submodule, for being segmented to the file of answering questions, and the file fragmentation of answering questions is uploaded to The Reverse Proxy;
State updates submodule, the upload knot for different segmentations for being returned according to the Reverse Proxy Fruit determines that corresponding segmentation uploads strategy and updates storage upload status information corresponding with the upload result;
State deletes submodule, after being completely uploaded to the Reverse Proxy for file of answering questions described in determination, It answers questions described in deletion the upload status information of file and the file of answering questions;
Wherein, the file of answering questions for being completely uploaded to the Reverse Proxy is transferred in the cloud storage service device It is called for the broadcasting of playback terminal.
Optionally, may include in the teacher's person's handwriting data packet locally acquired:
Acquisition time of the acquisition time of current teacher's person's handwriting data packet relative to first simultaneous voice data packet Relative time stamp so that the playback terminal is stabbed according to the relative time completes simultaneous voice data packet and the teacher pen The synchronization of mark data packet.
The said goods can perform the method that any embodiment is provided in the embodiment of the present invention one to embodiment three, has and holds The corresponding function module of row method and advantageous effect.
Embodiment seven
Fig. 7 is a kind of structural schematic diagram of the storage device for online question-answering content that the embodiment of the present invention five provides.The dress It sets and is configured in server cluster.With reference to figure 7, the storage device of online question-answering content includes:File storage module 710 and text Part unloading module 720, is below specifically described each module.
File storage module 710, for storing the file of answering questions that teacher side uploads by Reverse Proxy, wherein The file is after the teacher side obtains online question-answering data packet, to be generated according to the type of the online question-answering data packet;
File unloading module 720, for answering questions file full storage described in determination when the Reverse Proxy, The file of answering questions is transferred in cloud storage service device the broadcasting for playback terminal to call.
The storage device of online question-answering content provided in this embodiment stores teacher side by Reverse Proxy and uploads File of answering questions, and determine answer questions file full storage in Reverse Proxy when, be transferred to cloud storage service device, utilize It the advantages of Reverse Proxy same progress file unloading, solves in the prior art because teacher side is directly by video file Be uploaded to occupied bandwidth caused by cloud storage service, it is of high cost, safety is poor the problems such as, realize reduction bandwidth pressure, drop Low cost improves the effect of safety.
Optionally, file storage module 710 may include:
Segment receiving submodule, for receiving the file of answering questions that the teacher side segmentation uploads by Reverse Proxy Segment;
Segment sending submodule, if for being met by file fragment of answering questions described in Reverse Proxy verification The file fragment of answering questions then is sent to service server by the first verification condition based on load-balancing technique;
First failure response submodule, if for passing through file fragment of answering questions described in Reverse Proxy verification It is unsatisfactory for the first verification condition, then returning to the response of the first authentication failed to the teacher side by the Reverse Proxy makees To upload result;
Segment sub-module stored, if for meeting second by file fragment of answering questions described in service server verification Verification condition, then by the Reverse Proxy by the file fragment of answering questions be stored in itself setting position and to The teacher side, which returns, successfully uploads response as upload result;
Second failure response submodule, if for discontented by file fragment of answering questions described in service server verification The second verification condition of foot returns to the response of the second authentication failed to the teacher side by the Reverse Proxy and is used as upload As a result.
Optionally, file unloading module 720 specifically can be used for:
If by the service server determine described in answer questions file full storage when the Reverse Proxy, Complete upload response is then returned to the teacher side by the reverse proxy service and is used as upload as a result, and by the business The file of answering questions is transferred in cloud storage service device by server;
If receiving the successful unloading that the cloud storage service device returns by the service server to respond, pass through The service server deletes the file of answering questions stored in the reverse proxy service;
Wherein, the cloud storage service device is answerred questions described in successful reception after file, notice Web server generate with it is described The corresponding uniform resource location of file of answering questions calls for the broadcasting of playback terminal.
The said goods can perform the method that any embodiment is provided in the embodiment of the present invention four to embodiment five, has and holds The corresponding function module of row method and advantageous effect.
Note that above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The present invention is not limited to specific embodiments described here, can carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out to the present invention by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also May include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.

Claims (14)

1. a kind of storage method of online question-answering content, which is characterized in that including:
Teacher side obtains online question-answering data packet, and according to the type of the online question-answering data packet by the online question-answering data Packet is stored into the file of answering questions of corresponding format;
The teacher side is after determining online question-answering, using Reverse Proxy as transfer, by the file of answering questions The broadcasting for playback terminal is uploaded in cloud storage service device to call.
2. according to the method described in claim 1, it is characterized in that, the teacher side obtain online question-answering data packet, and according to The type of the online question-answering data packet stores the online question-answering data packet into the file of answering questions of corresponding format, including:
Student's VoP that the teacher side obtains the teacher's VoP locally acquired and student side is sent, and will Teacher's VoP and student's VoP are combined generation simultaneous voice data packet and are stored in voice In the file of answering questions of format;
The teacher side obtains the teacher's person's handwriting data packet locally acquired, and is stored in the file of answering questions of person's handwriting format.
3. according to the method described in claim 1, it is characterized in that, the teacher side after determining online question-answering, uses Reverse Proxy is uploaded to the broadcasting tune in cloud storage service device for playback terminal as transfer, by the file of answering questions With, including:
The teacher side is segmented the file of answering questions, and the file fragmentation of answering questions is uploaded to the reverse proxy and is taken Business device;
The upload for different segmentations that the teacher side is returned according to the Reverse Proxy is as a result, determine corresponding point Duan Shangchuan strategies simultaneously update storage upload status information corresponding with the upload result;
The teacher side is answerred questions described in determination after file is completely uploaded to the Reverse Proxy, text of answering questions described in deletion The upload status information of part and the file of answering questions;
Wherein, be completely uploaded to the Reverse Proxy file of answering questions be transferred in the cloud storage service device for The broadcasting of playback terminal is called.
4. according to the method described in claim 2, it is characterized in that, the teacher's person's handwriting data packet locally acquired includes:
The phase of acquisition time of the acquisition time of current teacher's person's handwriting data packet relative to first simultaneous voice data packet To timestamp, so that the playback terminal is stabbed according to the relative time completes simultaneous voice data packet and teacher's person's handwriting number According to the synchronization of packet.
5. a kind of storage method of online question-answering content, which is characterized in that including:
The file of answering questions that teacher side uploads is stored by Reverse Proxy, wherein the file obtains for the teacher side After online question-answering data packet, generated according to the type of the online question-answering data packet;
File full storage is answerred questions described in determination when the Reverse Proxy, the file of answering questions, which is transferred to cloud, to be deposited The broadcasting in server for playback terminal is stored up to call.
6. according to the method described in claim 5, it is characterized in that, described store teacher side upload by Reverse Proxy File of answering questions, including:
The file fragment of answering questions that the teacher side segmentation uploads is received by Reverse Proxy;
If meeting the first verification condition by file fragment of answering questions described in Reverse Proxy verification, based on load The file fragment of answering questions is sent to service server by balancing technique;Otherwise, by the Reverse Proxy to described Teacher side returns to the response of the first authentication failed as upload result;
If meeting the second verification condition by file fragment of answering questions described in service server verification, by described reversed The file fragment of answering questions is stored in the setting position of itself and is returned to the teacher side and successfully uploaded by proxy server Response is as upload result;Otherwise, the response of the second authentication failed is returned to the teacher side by the Reverse Proxy As upload result.
7. according to the method described in claim 6, it is characterized in that, the file full storage of answering questions described in determination is in described When Reverse Proxy, the file of answering questions is transferred in cloud storage service device the broadcasting for playback terminal and is called, packet It includes:
If by the service server determine described in answer questions file full storage when the Reverse Proxy, lead to It crosses the reverse proxy service and uploads response as upload as a result, and by the business service to teacher side return is complete The file of answering questions is transferred in cloud storage service device by device;
If receiving the successful unloading that the cloud storage service device returns by the service server to respond, by described Service server deletes the file of answering questions stored in the reverse proxy service;
Wherein, after the cloud storage service device answers questions file described in successful reception, notice Web server generation is answerred questions with described The corresponding uniform resource location of file calls for the broadcasting of playback terminal.
8. a kind of storage device of online question-answering content, is configured in teacher side, which is characterized in that including:
Data acquisition module, for obtaining online question-answering data packet, and will be described according to the type of the online question-answering data packet Online question-answering data packet is stored into the file of answering questions of corresponding format;
File uploading module, for after determining online question-answering, using Reverse Proxy as transfer, being answered described Doubtful file is uploaded in cloud storage service device the calling of the broadcasting for playback terminal.
9. device according to claim 8, which is characterized in that the data acquisition module includes:
Voice acquisition submodule, student's voice number for obtaining the teacher's VoP locally acquired and student side transmission According to packet, and teacher's VoP and student's VoP are combined generation simultaneous voice data packet and deposited Storage is in the file of answering questions of phonetic matrix;
Person's handwriting acquisition submodule for obtaining the teacher's person's handwriting data packet locally acquired, and is stored in the text of answering questions of person's handwriting format In part.
10. device according to claim 8, which is characterized in that the file uploading module includes:
Segmentation uploads submodule, for being segmented to the file of answering questions, and the file fragmentation of answering questions is uploaded to described Reverse Proxy;
State updates submodule, and the upload for different segmentations for being returned according to the Reverse Proxy is as a result, really Fixed corresponding segmentation uploads strategy and updates storage upload status information corresponding with the upload result;
State deletes submodule, after being completely uploaded to the Reverse Proxy for file of answering questions described in determination, deletes The upload status information of the answer questions file and the file of answering questions;
Wherein, be completely uploaded to the Reverse Proxy file of answering questions be transferred in the cloud storage service device for The broadcasting of playback terminal is called.
11. device according to claim 9, which is characterized in that the teacher's person's handwriting data packet locally acquired includes:
The phase of acquisition time of the acquisition time of current teacher's person's handwriting data packet relative to first simultaneous voice data packet To timestamp, so that the playback terminal is stabbed according to the relative time completes simultaneous voice data packet and teacher's person's handwriting number According to the synchronization of packet.
12. a kind of storage device of online question-answering content, is configured in server cluster, which is characterized in that including:
File storage module, for storing the file of answering questions that teacher side uploads by Reverse Proxy, wherein the file After obtaining online question-answering data packet for the teacher side, generated according to the type of the online question-answering data packet;
File unloading module will be described for answering questions file full storage described in determination when the Reverse Proxy File of answering questions is transferred in cloud storage service device the calling of the broadcasting for playback terminal.
13. device according to claim 12, which is characterized in that the file storage module includes:
Segment receiving submodule, for receiving the file piece of answering questions that the teacher side segmentation uploads by Reverse Proxy Section;
Segment sending submodule, if for meeting first by file fragment of answering questions described in Reverse Proxy verification The file fragment of answering questions then is sent to service server by verification condition based on load-balancing technique;
First failure response submodule, if for discontented by file fragment of answering questions described in Reverse Proxy verification The first verification condition of foot is then used as by the Reverse Proxy to teacher side return the first authentication failed response upper Pass result;
Segment sub-module stored, if for meeting the second verification by file fragment of answering questions described in service server verification The file fragment of answering questions then by the Reverse Proxy is stored in the setting position of itself and to described by condition Teacher side, which returns, successfully uploads response as upload result;
Second failure response submodule, if for being unsatisfactory for the by file fragment of answering questions described in service server verification Two verification conditions return to the response of the second authentication failed to the teacher side by the Reverse Proxy and are used as upload knot Fruit.
14. device according to claim 13, which is characterized in that the file unloading module is specifically used for:
If by the service server determine described in answer questions file full storage when the Reverse Proxy, lead to It crosses the reverse proxy service and uploads response as upload as a result, and by the business service to teacher side return is complete The file of answering questions is transferred in cloud storage service device by device;
If receiving the successful unloading that the cloud storage service device returns by the service server to respond, by described Service server deletes the file of answering questions stored in the reverse proxy service;
Wherein, after the cloud storage service device answers questions file described in successful reception, notice Web server generation is answerred questions with described The corresponding uniform resource location of file calls for the broadcasting of playback terminal.
CN201710108346.7A 2017-02-27 2017-02-27 A kind of storage method and device of online question-answering content Pending CN108512875A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710108346.7A CN108512875A (en) 2017-02-27 2017-02-27 A kind of storage method and device of online question-answering content

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710108346.7A CN108512875A (en) 2017-02-27 2017-02-27 A kind of storage method and device of online question-answering content

Publications (1)

Publication Number Publication Date
CN108512875A true CN108512875A (en) 2018-09-07

Family

ID=63374100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710108346.7A Pending CN108512875A (en) 2017-02-27 2017-02-27 A kind of storage method and device of online question-answering content

Country Status (1)

Country Link
CN (1) CN108512875A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110401719A (en) * 2019-07-30 2019-11-01 成都摹客科技有限公司 Method, apparatus, system and the storage medium of web terminal upload data
CN113301369A (en) * 2021-05-20 2021-08-24 读书郎教育科技有限公司 Interaction system and method for recording and playing videos in intelligent classroom

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104575140A (en) * 2015-01-19 2015-04-29 深圳市时尚德源文化传播有限公司 Intelligent terminal network teaching method
CN105208026A (en) * 2015-09-29 2015-12-30 努比亚技术有限公司 Hostile attack preventing method and network system
CN204990817U (en) * 2015-09-24 2016-01-20 苗耀锋 Online multimedia teaching system
CN105306861A (en) * 2015-10-15 2016-02-03 深圳市时尚德源文化传播有限公司 Online teaching recording and playing method and system
CN105338424A (en) * 2015-10-29 2016-02-17 努比亚技术有限公司 Video processing method and system
CN105405325A (en) * 2015-12-22 2016-03-16 深圳市时尚德源文化传播有限公司 Network teaching method and system
CN105978948A (en) * 2016-04-27 2016-09-28 努比亚技术有限公司 Cloud service method and system thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104575140A (en) * 2015-01-19 2015-04-29 深圳市时尚德源文化传播有限公司 Intelligent terminal network teaching method
CN204990817U (en) * 2015-09-24 2016-01-20 苗耀锋 Online multimedia teaching system
CN105208026A (en) * 2015-09-29 2015-12-30 努比亚技术有限公司 Hostile attack preventing method and network system
CN105306861A (en) * 2015-10-15 2016-02-03 深圳市时尚德源文化传播有限公司 Online teaching recording and playing method and system
CN105338424A (en) * 2015-10-29 2016-02-17 努比亚技术有限公司 Video processing method and system
CN105405325A (en) * 2015-12-22 2016-03-16 深圳市时尚德源文化传播有限公司 Network teaching method and system
CN105978948A (en) * 2016-04-27 2016-09-28 努比亚技术有限公司 Cloud service method and system thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110401719A (en) * 2019-07-30 2019-11-01 成都摹客科技有限公司 Method, apparatus, system and the storage medium of web terminal upload data
CN113301369A (en) * 2021-05-20 2021-08-24 读书郎教育科技有限公司 Interaction system and method for recording and playing videos in intelligent classroom

Similar Documents

Publication Publication Date Title
CN105405325B (en) Network teaching method and system
CN105681920B (en) A kind of Network teaching method and system with speech identifying function
CN105306861B (en) A kind of Web-based instruction recorded broadcast method and system
CN105306963B (en) The processing system for video of adaptive mobile terminal resolution ratio, device and method
CN107534704A (en) Message processing device, information processing method and message handling program
CN106412622A (en) Method and apparatus for displaying barrage information during video content playing process
CN104917722B (en) The method, apparatus and system of authentication
CN102208978A (en) Input verification system and method
US20070292835A1 (en) Method for reporting student relevant data
CN103607457A (en) Note processing method, apparatus, terminal, server and system
CN107911424A (en) A kind of read-on-command function interacted with client realizes system, method and intelligent watch
CN107241563A (en) Method, intelligent mobile terminal and the device with store function of transmission of video
CN108512875A (en) A kind of storage method and device of online question-answering content
CN104391886B (en) A kind of e-book sending method and device
CN108230487A (en) The method and apparatus of shared camera resource
CN110536029A (en) A kind of exchange method, network side equipment, terminal device, storage medium and system
CN110111614A (en) A kind of method and system that audio-video teaching implementation sound screen is synchronous
CN109753530A (en) A kind of data processing method and its device, medium, terminal
WO2017165253A1 (en) Modular communications
CN104735536B (en) Display screen signal display changeover method and its device
DE69631831T2 (en) DYNAMIC IMAGE RECORDING BASED ON A PHONE
CN112601129B (en) Video interaction system, method and receiving terminal
CN109150992A (en) Synchronization drawing practice, device, readable storage medium storing program for executing and system based on Android
CN106128194B (en) A kind of method and device that the information of tutoring system is sent
KR102428382B1 (en) Device for verifying contents access based on face recognition and method thereof

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

Effective date of registration: 20200824

Address after: No.259 Nanjing West Road, Tangqiao town, Zhangjiagang City, Suzhou City, Jiangsu Province

Applicant after: Suzhou Qianwen wandaba Education Technology Co., Ltd

Address before: Yangpu District State Road 200433 Shanghai City No. 200 Building 5 room 2002

Applicant before: SHANGHAI QIANWENWANDABA CLOUD TECH. Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180907