CN110569215A - Offline learning method and device, computer equipment and storage medium - Google Patents
Offline learning method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN110569215A CN110569215A CN201910773432.9A CN201910773432A CN110569215A CN 110569215 A CN110569215 A CN 110569215A CN 201910773432 A CN201910773432 A CN 201910773432A CN 110569215 A CN110569215 A CN 110569215A
- Authority
- CN
- China
- Prior art keywords
- offline learning
- offline
- learning
- message
- record
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/13—File access structures, e.g. distributed indices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/20—Education
- G06Q50/205—Education administration or guidance
- G06Q50/2057—Career enhancement or continuing education service
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Abstract
the invention relates to the technical field of computer technology, in particular to an offline learning method, an offline learning device, computer equipment and a storage medium, wherein the offline learning method comprises the following steps: s10: if the offline download message is acquired, acquiring a learning package to be downloaded from the offline download message; s20: downloading the learning package to be downloaded to a user mobile terminal to obtain an offline learning package, and modifying the storage path of the offline learning package; s30: if a first offline learning message triggered by a user is acquired, acquiring an offline learning record from the first offline learning message, and storing the offline learning record into a temporary storage directory; s40: and if the networking message of the user mobile terminal is acquired, acquiring the offline learning record from the temporary storage directory, and synchronously updating the offline learning record to the user mobile terminal. The invention has the effect of off-line learning in the learning platform without influencing the learning progress.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an offline learning method and apparatus, a computer device, and a storage medium.
Background
at present, a plurality of learning websites are arranged on a network, and a user can learn corresponding contents by watching videos in the websites after logging in the corresponding websites, especially in some existing professional skill training, except for final examinations, the video learning at ordinary times is also one of evaluation conditions.
In the existing video learning website or platform, a user needs to connect with a network and log in and click to watch a teaching video in the video learning website, however, for some network courses, daily continuous watching of the teaching video is also one of the indexes of the examination, but for some users, due to the influence of daily work or life, the users are difficult to watch the teaching video in a better network environment at regular time, so the examination of the network courses is influenced.
disclosure of Invention
the invention aims to provide an offline learning method, an offline learning device, a computer device and a storage medium, which can perform offline learning in a learning platform without influencing the learning progress.
The above object of the present invention is achieved by the following technical solutions:
An offline learning method, the offline learning method comprising:
S10: if the offline download message is acquired, acquiring a learning package to be downloaded from the offline download message;
S20: downloading the learning package to be downloaded to a user mobile terminal to obtain an offline learning package, and modifying the storage path of the offline learning package;
s30: if a first offline learning message triggered by a user is acquired, acquiring an offline learning record from the first offline learning message, and storing the offline learning record into a temporary storage directory;
S40: and if the networking message of the user mobile terminal is acquired, acquiring the offline learning record from the temporary storage directory, and synchronously updating the offline learning record to the user mobile terminal.
By adopting the technical scheme, after the user triggers the offline download message and downloads the offline learning package to the user mobile terminal, the offline learning package can be used offline by the user at the user mobile terminal by modifying the storage path, so that the user can learn when no network exists, the user can fully utilize the spare time to learn online, and the learning progress of the user can be further ensured; meanwhile, after the user uses the mobile learning package to learn at the user mobile terminal, the obtained offline learning records are synchronized during networking, so that the user can continuously enter the corresponding learning platform through the network to continuously learn.
the invention is further configured to: step S20 includes:
S21: obtaining a relative storage path from the offline learning packet;
S22: and modifying the relative storage path into an absolute storage path, and taking the absolute storage path as the storage path.
By adopting the technical scheme, the relative storage path of the offline learning package is the absolute storage path which can be inquired and obtained in the offline environment, so that the user can perform offline learning through the user mobile terminal after downloading the offline learning package, and the user who is often in an offline state, such as the user who often needs to reach an airplane, can still learn without the internet.
the invention is further configured to: step S30 includes:
s31: acquiring a first offline learning end message from the first offline learning message;
S32: and when the first offline learning end message is acquired, acquiring the offline learning record from the offline learning package, and storing the offline learning record to the temporary storage directory.
By adopting the technical scheme, when the offline learning end message is triggered after the offline learning of the user is finished, the offline learning records in the offline learning package obtained by the offline learning of the user are stored in the temporary storage directory, and the offline learning records in the temporary storage directory can be synchronized when the user is connected with the network again.
The invention is further configured to: after step S32, the offline learning method further includes:
S33: if a second offline learning message is acquired, acquiring an offline learning record from the temporary storage directory;
s34: and when a second offline learning end message is acquired, acquiring an offline learning update record, and replacing the offline learning record with the offline learning update message.
by adopting the technical scheme, when the user starts off-line learning again after finishing off-line learning for the first time, the off-line learning update record of off-line learning for the second time is replaced, so that the user can learn for multiple times in an off-line state.
The invention is further configured to: step S40 includes:
s41: checking whether the temporary storage directory has data or not;
S42: if yes, the off-line learning record is obtained from the temporary storage directory, and the off-line learning record is sent and updated to the user mobile terminal.
By adopting the technical scheme, when the user is networked, whether the temporary storage directory has data or not is checked, and the off-line learning record is updated to the user mobile terminal when the data is checked, so that the learning record of the user can be ensured to be synchronized on line, and the subsequent on-line learning of the user is facilitated.
the second aim of the invention is realized by the following technical scheme:
an offline learning apparatus, the offline learning apparatus comprising:
The message acquisition module is used for acquiring a learning package to be downloaded from an offline download message if the offline download message is acquired;
The path modification module is used for downloading the learning package to be downloaded to a user mobile terminal to obtain an offline learning package and modifying the storage path of the offline learning package;
the storage module is used for acquiring an offline learning record from a first offline learning message triggered by a user and storing the offline learning record into a temporary storage directory if the first offline learning message is acquired;
And the synchronization module is used for acquiring the offline learning record from the temporary storage directory and synchronously updating the offline learning record to the user mobile terminal if the networking message of the user mobile terminal is acquired.
By adopting the technical scheme, after the user triggers the offline download message and downloads the offline learning package to the user mobile terminal, the offline learning package can be used offline by the user at the user mobile terminal by modifying the storage path, so that the user can learn when no network exists, the user can fully utilize the spare time to learn online, and the learning progress of the user can be further ensured; meanwhile, after the user uses the mobile learning package to learn at the user mobile terminal, the obtained offline learning records are synchronized during networking, so that the user can continuously enter the corresponding learning platform through the network to continuously learn.
the third object of the invention is realized by the following technical scheme:
a computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the above offline learning method when executing the computer program.
the fourth object of the invention is realized by the following technical scheme:
a computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned offline learning method.
In conclusion, the beneficial technical effects of the invention are as follows:
1. after a user triggers the offline download message and downloads the offline learning package to the user mobile terminal, the offline learning package is stored by modifying the storage path, so that the user can use the offline learning package offline at the user mobile terminal, the user can learn without a network, the user can fully utilize the spare time to learn online, and the learning progress of the user can be further ensured;
2. after the user uses the mobile learning package to learn at the user mobile terminal, the obtained offline learning records are synchronized during networking, so that the user can continuously enter the corresponding learning platform through the network to continuously learn.
Drawings
FIG. 1 is a flow chart of an offline learning method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating an implementation of step S20 in the offline learning method according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating an implementation of step S30 in the offline learning method according to an embodiment of the present invention;
FIG. 4 is a flow chart of another implementation of the offline learning method according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating an implementation of step S40 in the offline learning method according to an embodiment of the present invention;
FIG. 6 is a schematic block diagram of an offline learning apparatus according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a computer device according to an embodiment of the invention.
Detailed Description
the present invention will be described in further detail with reference to the accompanying drawings.
The first embodiment is as follows:
in one embodiment, as shown in fig. 1, the present invention discloses an offline learning method, which specifically includes the following steps:
S10: and if the offline download message is acquired, acquiring the learning package to be downloaded from the offline download message.
In this embodiment, the offline download message refers to a message triggered by a user and downloading a learning package through a learning platform on the mobile terminal online. The learning package to be downloaded refers to a learning package which needs to be downloaded by a user. The learning package is a data package in which learning contents of the course are recorded by development based on a SCORM (sharable Content Object Reference Model) Model. The score is a reference model of the shared content object or a reference model of the shared component, and is made by integrating various Learning standards with the ADL (advanced distribution Learning Initiative). Provides a set of common specifications for the production and content development of the digital content teaching materials.
specifically, after a user uses a mobile terminal, such as a mobile phone or a tablet computer, in the learning platform, selects a learning package to be downloaded, the offline download message is triggered.
S20: and downloading the learning package to be downloaded to the user mobile terminal to obtain an offline learning package, and modifying the storage path of the offline learning package.
in this embodiment, the ue refers to a network learning platform installed in a ue. The offline learning packet is a data packet in which the user's mobile terminal can learn to use without connecting to a network.
Specifically, after the user downloads the learning package to be downloaded to the user mobile terminal to obtain the offline learning package, the storage path of the offline learning package is modified to be the storage path which can be obtained by the mobile terminal of the user when the mobile terminal is offline. Namely, the acquisition path in the offline learning packet is modified from the network address before modification to the cost address.
s30: and if the first offline learning message triggered by the user is acquired, acquiring an offline learning record from the first offline learning message, and storing the offline learning record into a temporary storage directory.
In this embodiment, the first offline learning message refers to a message triggered when the user first uses the offline learning package to learn. The offline learning record refers to a record that the user learns during the triggering of the first offline learning message. The offline learning record comprises the class of the learning course and the progress of the offline learning. The temporary save directory is a folder for temporarily storing offline learning records.
Specifically, after a first offline learning message triggered by a user is acquired, a corresponding offline learning package is acquired from the first offline learning message and sent to a mobile terminal of the user, and a learning progress corresponding to an operation of using the offline learning package by the user at the mobile terminal is stored as the offline learning record to a temporary storage directory in real time.
S40: and if the networking message of the user mobile terminal is acquired, acquiring the offline learning record from the temporary storage directory, and synchronously updating the offline learning record to the user mobile terminal.
In the present embodiment, the networking message refers to a message in which the user's mobile terminal is converted from an offline state to a connection to the internet.
specifically, when it is detected that the mobile terminal of the user is switched from the offline state to the state of being connected to the internet, the offline learning record is obtained from the temporary storage directory, and the offline learning record is synchronized to the mobile terminal of the user. Preferably, when the user is in a networking state, the user can continuously learn at the mobile terminal, whether the offline learning package downloaded by the user is completely learned can be judged, and if yes, the course content is continuously acquired through the internet to enable the user to learn; if not, the offline learning package downloaded by the user is preferentially used for continuing learning, and the offline learning record of the user is synchronously updated to the mobile terminal of the user in real time.
For example, a user wants to board an airplane, downloads an offline learning package in advance before boarding the airplane, turns a mobile terminal to a flight mode when boarding the airplane, namely, adjusts the mobile terminal to an offline state, learns by using the offline learning package when boarding the airplane to obtain the offline learning package, stores the offline learning package into a temporary storage directory of the mobile terminal of the user, turns the mobile terminal to a networking state again after the airplane boarded by the user descends, and synchronizes the offline learning record to a mobile terminal of the user after acquiring the offline learning record from the temporary storage directory.
in this embodiment, after the user triggers the offline download message and downloads the offline learning package to the user mobile terminal, the offline learning package is modified to store the path, so that the user can use the offline learning package offline at the user mobile terminal, the user can learn without a network, the user can fully utilize the spare time to perform online learning, and the learning progress of the user can be ensured; meanwhile, after the user uses the mobile learning package to learn at the user mobile terminal, the obtained offline learning records are synchronized during networking, so that the user can continuously enter the corresponding learning platform through the network to continuously learn.
In an embodiment, as shown in fig. 2, in step S20, the method downloads the learning package to be downloaded to the user mobile terminal to obtain an offline learning package, and modifies the storage path of the offline learning package, which includes the following steps:
s21: relative memory paths are obtained from the offline learning package.
In this embodiment, the relative storage path refers to a path where the downloaded offline learning package is stored in the internet cloud. Through the relative storage path, when the mobile terminal of the user is in a networking state, specific content in the offline learning package can be acquired from the Internet cloud.
specifically, a URL address is acquired from an xml file in which a storage address is recorded in the offline learning package, and the URL address is used as the relative storage path.
S22: and modifying the relative storage path into an absolute storage path, and taking the absolute storage path as a storage path.
In this embodiment, the absolute storage path refers to an address where the mobile terminal of the user can obtain the specific content in the offline learning packet in the offline state.
Specifically, in the offline learning package downloaded by the user, the URL address, i.e., the relative storage path, is modified to the absolute storage path.
in an embodiment, as shown in fig. 3, in step S30, that is, if the first offline learning message triggered by the user is obtained, obtaining the offline learning record from the first offline learning message, and storing the offline learning record into the temporary storage directory, the method specifically includes the following steps:
S31: and acquiring a first offline learning end message from the first offline learning message.
In this embodiment, the first offline learning end message refers to a message triggered when the user uses the offline learning package for the first time. The first offline learning end message refers to a message triggered when the user ends the offline learning package for the first time.
Specifically, when a user downloads an offline learning package to a mobile terminal and uses the offline learning package for learning for the first time, the first offline learning message is triggered, and when the user clicks a "submit", "scroll" or "save" function, or exits the offline learning package, the first offline learning hookup message is acquired.
S32: and when the first offline learning end message is acquired, acquiring an offline learning record from the offline learning package, and storing the offline learning record into a temporary storage directory.
specifically, when the first offline learning end message is acquired, the offline learning record is acquired from the offline learning package, and the offline learning record is stored in the temporary storage directory.
in one embodiment, as shown in fig. 4, after step S32 and before step S40, the offline learning method further includes the following steps:
s33: and if the second offline learning message is acquired, acquiring an offline learning record from the temporary storage directory.
In this embodiment, the second offline learning message is a message triggered when the user uses the offline learning package to learn again after acquiring the first offline learning end message.
Specifically, if the second offline learning message is acquired, the offline learning record is acquired from the temporary saved directory.
S34: and when the second offline learning end message is acquired, acquiring an offline learning update message, and replacing the offline learning record with the offline learning update message.
In this embodiment, the second offline learning message refers to a message triggered when the user finishes the second offline learning. The offline learning update message is a message for updating the offline learning record in the temporary holding directory.
Specifically, when the second offline learning end message is acquired, the offline learning update message is triggered, and the offline learning update message is acquired from the offline learning update message by the method of acquiring the offline learning record in the above steps S31 to S32, and the offline learning record stored in the temporary storage directory is replaced by the offline learning update message.
it can be understood that after the second offline learning end message is obtained, if the user continues to use the offline learning package for learning, the third, fourth, and other offline learning messages and the corresponding offline learning end message are also obtained, and the specific method for updating the temporary storage directory is the same as that in steps S33 to S34, and is not repeated here.
in an embodiment, as shown in fig. 5, in step S40, that is, if the networking message of the ue is obtained, the method obtains the offline learning record from the temporary storage directory, and synchronously updates the offline learning record to the ue, which specifically includes the following steps:
S41: it is checked whether there is data in the temporary save directory.
specifically, when the mobile terminal of the user is connected to the internet, it is checked whether there is an offline learning record in the temporary saved directory. Preferably, the verification may be performed when the user actively opens the user mobile terminal.
S42: and if so, acquiring the offline learning record from the temporary storage directory, and sending and updating the offline learning record to the user mobile terminal.
specifically, if the offline learning record exists in the temporary saved directory, the offline learning record is sent to and updated to the user mobile terminal, so that the learning progress of the user in an offline state can be synchronized with the cloud internet.
it should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
example two:
in an embodiment, an offline learning apparatus is provided, and the offline learning apparatus corresponds to the offline learning methods in the above embodiments one to one. As shown in fig. 6, the offline learning apparatus includes a message acquisition module 10, a path modification module 20, a storage module 30, and a synchronization module 40. The functional modules are explained in detail as follows:
The message obtaining module 10 is configured to obtain a learning package to be downloaded from an offline download message if the offline download message is obtained;
A path modifying module 20, configured to download the learning package to be downloaded to the user mobile terminal, to obtain an offline learning package, and modify a storage path of the offline learning package;
The storage module 30 is configured to, if a first offline learning message triggered by a user is obtained, obtain an offline learning record from the first offline learning message, and store the offline learning record into a temporary storage directory;
And the synchronization module 40 is configured to, if the networking message of the user mobile terminal is acquired, acquire the offline learning record from the temporary storage directory, and synchronously update the offline learning record to the user mobile terminal.
preferably, the path modification module 20 comprises:
A path obtaining submodule 21, configured to obtain a relative storage path from the offline learning packet;
and a path modification submodule 22, configured to modify the relative storage path into an absolute storage path, and use the absolute storage path as a storage path.
preferably, the memory module 30 includes:
A first message obtaining sub-module 31, configured to obtain a first offline learning end message from the first offline learning message;
and the storage sub-module 32 is configured to, when the first offline learning end message is acquired, acquire an offline learning record from the offline learning package, and store the offline learning record into the temporary storage directory.
Preferably, the offline learning apparatus further includes:
a second message obtaining sub-module 33, configured to obtain an offline learning record from the temporary storage directory if a second offline learning message is obtained;
and the updating sub-module 34 is configured to, when the second offline learning end message is obtained, obtain an offline learning update message, and replace the offline learning record with the offline learning update message.
preferably, the synchronization module 40 comprises:
A data checking submodule 41 for checking whether there is data in the temporary storage directory;
and the synchronization submodule 42 is configured to, if yes, obtain the offline learning record from the temporary storage directory, and send and update the offline learning record to the user mobile terminal.
For specific limitations of the offline learning apparatus, reference may be made to the above limitations of the offline learning method, which is not described herein again. The modules in the offline learning apparatus can be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
example three:
in one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing the offline learning package. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an offline learning method.
in one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
S10: if the offline download message is acquired, acquiring the learning package to be downloaded from the offline download message;
S20: downloading the learning package to be downloaded to a user mobile terminal to obtain an offline learning package, and modifying the storage path of the offline learning package;
s30: if a first offline learning message triggered by a user is acquired, acquiring an offline learning record from the first offline learning message, and storing the offline learning record into a temporary storage directory;
S40: and if the networking message of the user mobile terminal is acquired, acquiring the offline learning record from the temporary storage directory, and synchronously updating the offline learning record to the user mobile terminal.
example four:
in one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
S10: if the offline download message is acquired, acquiring the learning package to be downloaded from the offline download message;
s20: downloading the learning package to be downloaded to a user mobile terminal to obtain an offline learning package, and modifying the storage path of the offline learning package;
S30: if a first offline learning message triggered by a user is acquired, acquiring an offline learning record from the first offline learning message, and storing the offline learning record into a temporary storage directory;
S40: and if the networking message of the user mobile terminal is acquired, acquiring the offline learning record from the temporary storage directory, and synchronously updating the offline learning record to the user mobile terminal.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions.
the above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.
Claims (10)
1. an offline learning method, characterized in that the offline learning method comprises:
S10: if the offline download message is acquired, acquiring a learning package to be downloaded from the offline download message;
S20: downloading the learning package to be downloaded to a user mobile terminal to obtain an offline learning package, and modifying the storage path of the offline learning package;
s30: if a first offline learning message triggered by a user is acquired, acquiring an offline learning record from the first offline learning message, and storing the offline learning record into a temporary storage directory;
s40: and if the networking message of the user mobile terminal is acquired, acquiring the offline learning record from the temporary storage directory, and synchronously updating the offline learning record to the user mobile terminal.
2. The offline learning method according to claim 1, wherein step S20 includes:
s21: obtaining a relative storage path from the offline learning packet;
s22: and modifying the relative storage path into an absolute storage path, and taking the absolute storage path as the storage path.
3. the offline learning method according to claim 1, wherein step S30 includes:
S31: acquiring a first offline learning end message from the first offline learning message;
s32: and when the first offline learning end message is acquired, acquiring the offline learning record from the offline learning package, and storing the offline learning record to the temporary storage directory.
4. the offline learning method according to claim 3, wherein after step S32, said offline learning method further comprises:
S33: if a second offline learning message is acquired, acquiring an offline learning record from the temporary storage directory;
S34: and when a second offline learning end message is acquired, acquiring an offline learning update message, and replacing the offline learning record with the offline learning update message.
5. The offline learning method according to claim 1, wherein step S40 includes:
s41: checking whether the temporary storage directory has data or not;
S42: if yes, the off-line learning record is obtained from the temporary storage directory, and the off-line learning record is sent and updated to the user mobile terminal.
6. an offline learning apparatus, comprising:
the message acquisition module is used for acquiring a learning package to be downloaded from an offline download message if the offline download message is acquired;
The path modification module is used for downloading the learning package to be downloaded to a user mobile terminal to obtain an offline learning package and modifying the storage path of the offline learning package;
the storage module is used for acquiring an offline learning record from a first offline learning message triggered by a user and storing the offline learning record into a temporary storage directory if the first offline learning message is acquired;
and the synchronization module is used for acquiring the offline learning record from the temporary storage directory and synchronously updating the offline learning record to the user mobile terminal if the networking message of the user mobile terminal is acquired.
7. The offline learning apparatus of claim 6, wherein the path modification module comprises:
the path acquisition submodule is used for acquiring a relative storage path from the offline learning packet;
and the path modification submodule is used for modifying the relative storage path into an absolute storage path and taking the absolute storage path as the storage path.
8. The offline learning apparatus of claim 6, wherein said storage module comprises:
A first message obtaining sub-module, configured to obtain a first offline learning end message from the first offline learning message;
and the storage sub-module is used for acquiring the offline learning record from the offline learning package and storing the offline learning record to the temporary storage directory when the first offline learning end message is acquired.
9. Computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor realizes the steps of the offline learning method according to any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the offline learning method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910773432.9A CN110569215A (en) | 2019-08-21 | 2019-08-21 | Offline learning method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910773432.9A CN110569215A (en) | 2019-08-21 | 2019-08-21 | Offline learning method and device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110569215A true CN110569215A (en) | 2019-12-13 |
Family
ID=68774236
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910773432.9A Pending CN110569215A (en) | 2019-08-21 | 2019-08-21 | Offline learning method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110569215A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102664930A (en) * | 2012-04-01 | 2012-09-12 | 江苏省电力试验研究院有限公司 | Off-line learning system |
CN104580417A (en) * | 2014-12-25 | 2015-04-29 | 中建材国际贸易有限公司 | Method for learning SCORM (sharable content object reference model) courseware on intelligent mobile terminal and intelligent mobile terminal |
CN108877325A (en) * | 2017-05-15 | 2018-11-23 | 广州启辰电子科技有限公司 | It is a kind of to hear learning system and its method online |
US20190206388A1 (en) * | 2018-01-04 | 2019-07-04 | Google Llc | Learning offline voice commands based on usage of online voice commands |
-
2019
- 2019-08-21 CN CN201910773432.9A patent/CN110569215A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102664930A (en) * | 2012-04-01 | 2012-09-12 | 江苏省电力试验研究院有限公司 | Off-line learning system |
CN104580417A (en) * | 2014-12-25 | 2015-04-29 | 中建材国际贸易有限公司 | Method for learning SCORM (sharable content object reference model) courseware on intelligent mobile terminal and intelligent mobile terminal |
CN108877325A (en) * | 2017-05-15 | 2018-11-23 | 广州启辰电子科技有限公司 | It is a kind of to hear learning system and its method online |
US20190206388A1 (en) * | 2018-01-04 | 2019-07-04 | Google Llc | Learning offline voice commands based on usage of online voice commands |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109766262B (en) | Interface data processing method, automatic testing method, device, equipment and medium | |
US8782604B2 (en) | Sandbox support for metadata in running applications | |
CN104317914B (en) | Data capture method and device | |
US11513789B2 (en) | Application deployment method, apparatus, and system | |
CN109542529B (en) | Function name-based point burying method and device, computer equipment and storage medium | |
US10073761B2 (en) | Legacy system | |
CN112905939B (en) | HTML5 page resource loading method, device, equipment and storage medium | |
US10284675B2 (en) | Systems and methods for browser-based games | |
CN109558162A (en) | Application issued method, apparatus, computer equipment and storage medium | |
CN103873502A (en) | Cache updating method and system, and update resource providing method and system | |
CN111343236A (en) | Method, device and communication system for communication between server and client | |
US20160373544A1 (en) | Expedited sub-resource loading | |
CN104809011B (en) | A kind of management method of application program | |
CN108694121B (en) | Automatic testing method, device and system | |
CN112035114A (en) | Page rollback method, device, equipment and medium | |
CN107395666A (en) | A kind of method and device of operating numerical control lathe upgrading data packet | |
CN110020525B (en) | Authority configuration method and device of Kubernetes platform, computer equipment and storage medium | |
CN103440143A (en) | System and method for upgrading mobile web application | |
CN110569215A (en) | Offline learning method and device, computer equipment and storage medium | |
CN110262828A (en) | System business module configuration method, system, readable storage medium storing program for executing and equipment | |
CN105912357B (en) | Starting method and device of hybrid application | |
CN111796844A (en) | Bluetooth network topology-based firmware upgrading method and device and Bluetooth network topology | |
CN111866197B (en) | Domain name resolution method and system | |
CN109670016B (en) | Skill testing method and system for voice product in voice conversation platform | |
CN110933514A (en) | Video quality control method and device and computer equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191213 |