CN107370829A - A kind of data load method - Google Patents

A kind of data load method Download PDF

Info

Publication number
CN107370829A
CN107370829A CN201710771483.9A CN201710771483A CN107370829A CN 107370829 A CN107370829 A CN 107370829A CN 201710771483 A CN201710771483 A CN 201710771483A CN 107370829 A CN107370829 A CN 107370829A
Authority
CN
China
Prior art keywords
course
data
content
user terminal
course content
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
CN201710771483.9A
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.)
Jiangxi Borui Tongyun Technology Co Ltd
Original Assignee
Jiangxi Borui Tongyun 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 Jiangxi Borui Tongyun Technology Co Ltd filed Critical Jiangxi Borui Tongyun Technology Co Ltd
Priority to CN201710771483.9A priority Critical patent/CN107370829A/en
Publication of CN107370829A publication Critical patent/CN107370829A/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/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • 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/55Push-based network services
    • 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
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5682Policies or rules for updating, deleting or replacing the stored data

Landscapes

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

Abstract

The present embodiments relate to a kind of data load method, including:User terminal receives the clicking operation of user's input, and selected course ID is determined according to clicking operation;According to course ID inquire about user terminal it is data cached in whether have course ID it is corresponding course content it is data cached;It is data cached if there is no course content, according to course ID Emergent Curriculum content acquisition requests, it is sent to server;Server determines the course content data of course content to be obtained according to course ID;Also, server inquires about course ID history access record information according to ID, the nodes records information of course content to be obtained is determined;Server determines corresponding voice data, dynamic picture data and content information display data in course content data according to nodes records information, is sent to user terminal, and it is data cached to be stored as course content to user terminal, and plays out display.

Description

A kind of data load method
Technical field
The present invention relates to communication technical field, more particularly to a kind of data load method.
Background technology
With the progress of society, people are increasingly keen to the mode of learning based on internet.This mode is had Some convenience and the free degree experience for bringing user, are that traditional mode of learning is incomparable.Therefore, based on each of internet Kind learned lesson emerges in an endless stream, and covers every field every aspect.
By taking sport course as an example, the product of sport video course, briefly, exactly gymnasium course is moved to internet Equipment, because the reason for form, supported departing from the large-scale apparatus of gymnasium, so the course content of this kind of product is big Part is the motion mode by deadweight and a small amount of small appliance.Course content can be divided into single-unit, more piece, more days, more than a day The multi-forms such as section.
Also Just because of this, the video file of generally this course is all bigger, and mostly using the side played online Formula, the dependence to network is very strong, when the mobile network's flow for being Europe, greatly consuming user that user is not at WIFI network.
The content of the invention
It is an object of the invention to provide a kind of data load method, is combined by using audio file and dynamic picture Course packet form, effectively reduce lesson file size, while user is automatically determined according to the course historical record of user will The course content information of acquisition, and support in the local course content data buffer storage of user terminal so that user can be in network Caching is downloaded to course content in advance in the case that condition is good, so as to effectively help user to save the flow of mobile network.
To achieve the above object, the invention provides a kind of data load method, including:
User terminal receives the clicking operation of user's input, and selected course ID is determined according to the clicking operation;
According to the course ID inquire about the user terminal it is data cached in whether have the course ID corresponding Course content is data cached;
It is data cached if there is no the course content, according to the course ID Emergent Curriculum content acquisition requests, hair Give server;The course content, which obtains request, includes the ID of the user and the identification information of the user terminal;
The server determines the course content data of course content to be obtained according to the course ID;The course content Data include:One or more voice datas, dynamic picture data and content information display data;Also, the server root The history access record information of the course ID is inquired about according to the ID, determines the nodes records of the course content to be obtained Information;
The server determines corresponding voice data in the course content data according to the nodes records information, moved State image data and content information display data, are sent to the user terminal, are stored as to the user terminal in course Hold data cached, and play out display.
Preferably, the corresponding sound in the server determines the course content data according to the nodes records information Frequency evidence, dynamic picture data and content information display data, are sent to before the user terminal, methods described also includes:
The server generates page info to be confirmed according to the displaying information and the nodes records information, according to institute The identification information for stating user terminal is sent to the user terminal and generates display information and shown;
The user terminal receives the confirmation that the user inputs according to the display information and obtains request, is sent to described Server.
Preferably, whether have the course ID corresponding in described inquired about according to the course ID in the user terminal Course content it is data cached after, methods described also includes:
Data cached if there is the course content, it is data cached to obtain the course content, and in the course Hold and data cached carry out display broadcasting.
Preferably, the course content, which obtains request, also includes the network connection information of the user terminal.
It is further preferred that the server is determined in the course content data accordingly according to the nodes records information Voice data, dynamic picture data and content information display data, be sent to before the user terminal, methods described is also wrapped Include:
According to the network connection information, it is determined whether generation flow consumption prompt message is sent to the user terminal.
Preferably, methods described also includes:
Server receives new course content data;
According to the course ID of the new course content data, determine whether there is identical course in the server ID course content data;
If having identical course ID course content data, existing course content data are deleted and by described in New course content data are stored;
If without identical course ID course content data, the new course content data are directly deposited Storage.
It is further preferred that in the existing course content data of the deletion and the new course content data are carried out After storage, methods described also includes:
The server generates renewal prompting PUSH message according to the course ID of the new course content data, is sent to Each user terminal;
The user terminal prompts PUSH message to obtain the course ID according to the renewal;
Whether there is identical course ID course according to the course ID in the data cached middle inquiry of the user terminal Content caching data;
If the course content with same course ID is data cached, it is data cached to delete the course content.
Data load method provided in an embodiment of the present invention, the course being combined by using audio file and dynamic picture Packet form, effectively reduces the size of lesson file, while automatically determines user according to the course historical record of user and will obtain Course content information, and support in the local course content data buffer storage of user terminal so that user can be in network condition Caching is downloaded to course content in advance in the case of good, so as to effectively help user to save the flow of mobile network.
Brief description of the drawings
Fig. 1 is the flow chart of data load method provided in an embodiment of the present invention;
Fig. 2 is the process flow figure of course content data provided in an embodiment of the present invention renewal.
Embodiment
Below by drawings and examples, technical scheme is described in further detail.
The present invention provides a kind of data load method, is mainly used in the course content service system based on internet, It can support in the local course content data buffer storage of user terminal, automatically determining user according to the course historical record of user will The course content information to be obtained, and the course packet form being combined using audio file and dynamic picture, effectively reduce course The size of file, user is effectively helped to save the flow of mobile network.
Fig. 1 is the flow chart of data load method provided in an embodiment of the present invention, below in conjunction with shown in Fig. 1, to the present invention The data load method that embodiment provides illustrates.As shown in figure 1, the data load method of the present invention comprises the following steps:
Step 110, user terminal receives the clicking operation of user's input, and selected course is determined according to clicking operation ID;
In embodiments of the present invention, course can include the different course shapes such as single-unit course, more piece course and more days courses Formula, the course bag of each course are made up of corresponding voice data, dynamic picture data and content information display data etc.. The course report formed in this way, it is smaller than traditional video and audio file, it is easy to user to carry out data buffer storage.One can be with The mobile data flow of user is saved, two memory spaces that can be reduced in user terminal take.
Different courses includes different course ID, for example for single-unit course and more piece course, has one per class journey The corresponding course node of individual course ID, a course ID;For more days courses, a course ID was corresponding with multiple course sections Point.
Step 120, user terminal according to course ID inquire about user terminal it is data cached in whether have course ID it is relative The course content answered is data cached;
It is data cached if there is no course content, step 130 is performed, if there is then execution step 170.
Step 130, according to course ID Emergent Curriculum content acquisition requests, it is sent to server;
Wherein, course content, which obtains request, includes the ID of user and the identification information of user terminal.
Step 140, server determines the course content data of course content to be obtained according to course ID;
Step 150, server inquires about course ID history access record information according to ID, determines in course to be obtained The nodes records information of appearance;
Specifically, because course content data include one or more voice datas, dynamic picture data and content information Display data;Therefore the course content data to be obtained determined according to nodes records information can be a course content data The voice data, dynamic picture data and content information display data of a portion.
Above-mentioned steps 140 and step 150 can be performed synchronously.
Step 160, server determines corresponding voice data, Dynamic Graph in course content data according to nodes records information Sheet data and content information display data, are sent to user terminal, and it is data cached to be stored as course content to user terminal, and Play out display.
In preferable scheme, before step 160 is performed, server can be believed sending course content data according to displaying Breath and nodes records information generate page info to be confirmed, are sent to user terminal according to the identification information of user terminal and generate Display information is shown;Then the confirmation inputted according to the user that user terminal receives according to display information obtains request, The transmission of progress course content data is confirmed in the server.
Further, can also be according to the network connection situation of user terminal, it is determined whether generation prompting user will Produce the prompt message of data traffic consumption so that user preferably can be operated according to the wish of oneself.
Server obtains the network connection information of request determination user terminal, network by the course content received before Link information can specifically include indicating user terminal be in WIFI network connection under connection status or in mobile data The state of network.If it is determined that user is under mobile data network, then it can generate flow consumption prompt message and be sent to user Terminal, to prompt user to produce flow consumption.
In this case, user terminal can send confirmation to service after the confirmation instruction of user's input is received Device, it just may proceed to perform step 160.Now, the technology of breakpoint transmission is preferably used in downloading process, can preferably be saved Customer flow.
In addition, when inquire about user terminal it is data cached in have course ID it is corresponding course content it is data cached when, Step 170 is performed, acquisition course content is data cached, and carries out display broadcasting to course content is data cached.
Wherein, if course is single-unit course and more piece course, the course money of needs is found from caching course content Material, user is showed to practise for user.If the course of exercise in more days, inquiring the user last time practise arriving course, use The course node display that family should practise is to user.
Above method step illustrates the process of course content data loading.
When data renewal occurs in server, server can push the change of course content to user terminal.If Buffered course content in user terminal, then it can carry out delete processing.When subsequent user checks the course content again, Reacquisition course content data are performed according still further to above-mentioned steps 110-170 flow.For course content data in server One specific handling process of renewal, can be with as shown in Fig. 2 comprise the following steps:
Step 210, server receives new course content data;
Step 220, according to the course ID of new course content data, determine whether there is identical course in server ID course content data;
If without identical course ID course content data, step 230 is performed, it is direct to new course content data Stored.
If having identical course ID course content data, step 240 is performed, deletes existing course content Data are simultaneously stored new course content data;
After step 240, also continue to perform following steps:
Step 250, server generates renewal prompting PUSH message according to the course ID of new course content data, is sent to Each user terminal;
Step 260, user terminal obtains course ID according to renewal prompting PUSH message;
Step 270, whether user terminal has identical course according to course ID in the data cached middle inquiry of user terminal ID course content is data cached;
If the course content with same course ID is data cached, step 280 is performed, user terminal deletes the class of caching Journey content caching data.
Data load method provided in an embodiment of the present invention, the course being combined by using audio file and dynamic picture Packet form, effectively reduces the size of lesson file, while automatically determines user according to the course historical record of user and will obtain Course content information, and support in the local course content data buffer storage of user terminal so that user can be in network condition Caching is downloaded to course content in advance in the case of good, so as to effectively help user to save the flow of mobile network.
Professional should further appreciate that, each example described with reference to the embodiments described herein Unit and algorithm steps, it can be realized with electronic hardware, computer software or the combination of the two, it is hard in order to clearly demonstrate The interchangeability of part and software, the composition and step of each example are generally described according to function in the above description. These functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme. Professional and technical personnel can realize described function using distinct methods to each specific application, but this realization It is it is not considered that beyond the scope of this invention.
The method that is described with reference to the embodiments described herein can use hardware, computing device the step of algorithm Software module, or the two combination are implemented.Software module can be placed in random access memory (RAM), internal memory, read-only storage (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field In any other form of storage medium well known to interior.
Above-described embodiment, the purpose of the present invention, technical scheme and beneficial effect are carried out further Describe in detail, should be understood that the embodiment that the foregoing is only the present invention, be not intended to limit the present invention Protection domain, within the spirit and principles of the invention, any modification, equivalent substitution and improvements done etc., all should include Within protection scope of the present invention.

Claims (7)

1. a kind of data load method, it is characterised in that the data load method includes:
User terminal receives the clicking operation of user's input, and selected course ID is determined according to the clicking operation;
According to the course ID inquire about the user terminal it is data cached in whether there is the corresponding courses of the course ID Content caching data;
It is data cached if there is no the course content, according to the course ID Emergent Curriculum content acquisition requests, it is sent to Server;The course content, which obtains request, includes the ID of the user and the identification information of the user terminal;
The server determines the course content data of course content to be obtained according to the course ID;The course content data Including:One or more voice datas, dynamic picture data and content information display data;Also, the server is according to institute The history access record information that ID inquires about the course ID is stated, determines the nodes records letter of the course content to be obtained Breath;
The server determines corresponding voice data, Dynamic Graph in the course content data according to the nodes records information Sheet data and content information display data, are sent to the user terminal, and being stored as course content to the user terminal delays Deposit data, and play out display.
2. data load method according to claim 1, it is characterised in that in the server according to the nodes records Information determines corresponding voice data, dynamic picture data and content information display data in the course content data, sends Before the user terminal, methods described also includes:
The server generates page info to be confirmed according to the displaying information and the nodes records information, according to the use The identification information of family terminal is sent to the user terminal and generates display information and shown;
The user terminal receives the confirmation that the user inputs according to the display information and obtains request, is sent to the service Device.
3. data load method according to claim 1, it is characterised in that described according to course ID inquiries Whether after having the corresponding course contents of the course ID data cached in user terminal, methods described also includes:
Data cached if there is the course content, it is data cached to obtain the course content, and the course content is delayed Deposit data carries out display broadcasting.
4. data load method according to claim 1, it is characterised in that the course content, which obtains request, also includes institute State the network connection information of user terminal.
5. data load method according to claim 4, it is characterised in that the server is believed according to the nodes records Breath determines corresponding voice data, dynamic picture data and content information display data in the course content data, is sent to Before the user terminal, methods described also includes:
According to the network connection information, it is determined whether generation flow consumption prompt message is sent to the user terminal.
6. data load method according to claim 1, it is characterised in that methods described also includes:
Server receives new course content data;
According to the course ID of the new course content data, determine whether there is identical course ID's in the server Course content data;
If having identical course ID course content data, existing course content data are deleted and will be described new Course content data are stored;
If without identical course ID course content data, the new course content data are directly stored.
7. data load method according to claim 6, it is characterised in that delete existing course content data described And after the new course content data are stored, methods described also includes:
The server generates renewal prompting PUSH message according to the course ID of the new course content data, is sent to each use Family terminal;
The user terminal prompts PUSH message to obtain the course ID according to the renewal;
Whether there is identical course ID course content according to the course ID in the data cached middle inquiry of the user terminal It is data cached;
If the course content with same course ID is data cached, it is data cached to delete the course content.
CN201710771483.9A 2017-08-31 2017-08-31 A kind of data load method Pending CN107370829A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710771483.9A CN107370829A (en) 2017-08-31 2017-08-31 A kind of data load method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710771483.9A CN107370829A (en) 2017-08-31 2017-08-31 A kind of data load method

Publications (1)

Publication Number Publication Date
CN107370829A true CN107370829A (en) 2017-11-21

Family

ID=60312472

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710771483.9A Pending CN107370829A (en) 2017-08-31 2017-08-31 A kind of data load method

Country Status (1)

Country Link
CN (1) CN107370829A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110289117A1 (en) * 2010-05-19 2011-11-24 International Business Machines Corporation Systems and methods for user controllable, automated recording and searching of computer activity
CN104572710A (en) * 2013-10-18 2015-04-29 腾讯科技(深圳)有限公司 Webpage information processing method and device
CN104866503A (en) * 2014-02-25 2015-08-26 腾讯科技(深圳)有限公司 Media file caching method and media player
CN105578115A (en) * 2015-12-22 2016-05-11 深圳市鹰硕音频科技有限公司 Network teaching method and system with voice assessment function
CN105681920A (en) * 2015-12-30 2016-06-15 深圳市鹰硕音频科技有限公司 Network teaching method and system with voice recognition function

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110289117A1 (en) * 2010-05-19 2011-11-24 International Business Machines Corporation Systems and methods for user controllable, automated recording and searching of computer activity
CN104572710A (en) * 2013-10-18 2015-04-29 腾讯科技(深圳)有限公司 Webpage information processing method and device
CN104866503A (en) * 2014-02-25 2015-08-26 腾讯科技(深圳)有限公司 Media file caching method and media player
CN105578115A (en) * 2015-12-22 2016-05-11 深圳市鹰硕音频科技有限公司 Network teaching method and system with voice assessment function
CN105681920A (en) * 2015-12-30 2016-06-15 深圳市鹰硕音频科技有限公司 Network teaching method and system with voice recognition function

Similar Documents

Publication Publication Date Title
CN104025548B (en) For the method and apparatus for the flexible caching for being delivered media
US9258588B2 (en) Current device location advertisement distribution
CN103457993B (en) Local cache device and the method that content caching service is provided
CN104380684B (en) The method and apparatus that hybrid unicast broadcast service is provided
ATE387680T1 (en) NETWORK BASED METHOD AND SYSTEM FOR TRANSMITTING DIGITAL DATA TO USER COMPUTER AND CHARGING DATA USED BY USER COMPUTER USERS
CN101697549A (en) Method and system for displaying stream media and stream media management server
JP2014086087A (en) Method and system for inserting advertisement into media stream
JP2010504013A5 (en)
KR100367714B1 (en) Internet broadcasting system and method using the technique of dynamic combination of multimedia contents and targeted advertisement
CN104159132B (en) Video customizes the implementation method and device of service
US20090265022A1 (en) Playback of multimedia during multi-way communications
CN105187950B (en) A kind of method, apparatus and system that video file plays
CN101977218A (en) Internet playing file transcoding method and system
CN108900469A (en) Connect progress page methods of exhibiting, terminal device and computer-readable medium
CN110062274A (en) A kind of video file caching method, device, equipment and readable storage medium storing program for executing
CN110166789A (en) Monitor method, computer equipment and the readable storage medium storing program for executing of net cast sensitive information
JP2004222124A (en) Moving picture distribution server
CN107295424A (en) A kind of advertisement acquisition method based on video
CN106162231A (en) The method and device that a kind of net cast turning point is broadcast
CN108024125A (en) A kind of audio, video data playback method and server and client side
JP7438486B2 (en) Information processing device, information processing method and program
CN106340287A (en) Processing method of mobile phone song requesting
CN107370829A (en) A kind of data load method
US8850491B2 (en) Wireless distribution system proxy caches
WO2009142542A1 (en) Advertising method and a system for carrying out said method

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20171121

RJ01 Rejection of invention patent application after publication