CN108241404A - A kind of method, apparatus and electronic equipment for obtaining the off-line operation time - Google Patents
A kind of method, apparatus and electronic equipment for obtaining the off-line operation time Download PDFInfo
- Publication number
- CN108241404A CN108241404A CN201711475248.3A CN201711475248A CN108241404A CN 108241404 A CN108241404 A CN 108241404A CN 201711475248 A CN201711475248 A CN 201711475248A CN 108241404 A CN108241404 A CN 108241404A
- Authority
- CN
- China
- Prior art keywords
- system clock
- clock number
- application software
- time
- line operation
- 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
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/04—Generating or distributing clock signals or signals derived directly therefrom
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a kind of method, apparatus and electronic equipment for obtaining the off-line operation time, this method includes:It obtains and logs in application software moment corresponding system clock number, as login system clock number;Obtain the server time for logging in the application software moment;Off-line operation application software moment corresponding system clock number is obtained, as off-line system clock number;The off-line operation time is determined according to server time, login system clock number and off-line system clock number.Pass through the method for the acquisition off-line operation time of the present invention, the logged application software in the case of systems connection, even backstage is either rested on for a long time under off-line state, even program is rejected, in the case of after positive closing, all off-line operation times that application software obtains all are correct times, without being the cell phone system time after changing.User is prevented after application software is logged in, network is closed and avoids the problem that the sync server time practises fraud to the time.
Description
Technical field
The present invention relates to field of computer technology, more particularly, to a kind of method, apparatus for obtaining the off-line operation time
And electronic equipment.
Background technology
After application software APP user logs in APP in the case where there is network, program is retracted into backstage, is then shut off hand
Machine network and the system time for changing mobile phone are reentered using data are submitted offline, at this time the time of client
It, can not be by the sync server time, so as to reach time cheating for modified system time, and due to there is no network
Purpose.
More commonly used a solution is at present:When submitting data, synchronous service end data is first passed through to obtain just
Then the true time submits data to server-side again.But it must have network that the shortcomings that this solution, which is, it can not be offline
Submit the operating time.
Another solution is to obtain service because in the case of being to have network when logging in first time
The time at end, then mobile phone terminal a timer is set to count, when submitting data, use server-side time+timing of acquisition
The count value of device, obtains correct time.But if this scheme shortcoming is stopped for a long time based on IOS systematic differences software
Backstage is stayed in, counter can enter slumber and suspend, so as to cause time inaccuracy.Application software based on android system is long
Time, which rests on backstage, also to be had by the possibility of system positive closing, timer is caused to be closed, if being again turned on APP not nets
Network can not just ensure to get orthochronous.
Invention content
It is an object of the present invention to provide a kind of new solutions that one of can at least solve the above problems.
According to the first aspect of the invention, a kind of method for obtaining the off-line operation time is provided, including:
It obtains and logs in application software moment corresponding system clock number, as login system clock number;
Obtain the server time for logging in the application software moment;
Application software moment corresponding system clock number described in off-line operation is obtained, as off-line system clock number;
Off-line operation is determined according to the server time, the login system clock number and the off-line system clock number
Time.
Optionally, described obtain logs in application software moment corresponding system clock number, as login system clock number
Including:
Under IOS systems, the return value for logging in application software moment corresponding mach_absolute_time functions is obtained,
As the login system clock number;Under Android system, it is corresponding to obtain the login application software moment
The return value of SyetemClock.elapsedReaktimeNanos functions, as the login system clock number.
Optionally, it is described according to the server time, the login system clock number and the off-line system clock
The number determining off-line operation time includes:
Calculate the difference between the off-line system clock number and the login system clock number;
The off-line operation time is determined according to the server time and the difference.
Optionally, application software moment corresponding system clock number described in the acquisition off-line operation, as offline system
System clock number includes:
Under IOS systems, application software moment corresponding mach_absolute_time functions described in off-line operation are obtained
Return value, as the off-line system clock number;Under Android system, application software moment correspondence described in off-line operation is obtained
SyetemClock.elapsedReaktimeNanos functions return value, as the login system clock number.
According to the second aspect of the invention, a kind of device for obtaining the off-line operation time is provided, including:
First acquisition module logs in application software moment corresponding system clock number for obtaining, during as login system
Clock number;
Second acquisition module, for obtaining the server time for logging in the application software moment;
Third acquisition module, for obtaining the corresponding system clock number of application software moment described in off-line operation, as from
Linear system system clock number;
Determining module, for according to the server time, the login system clock number and the off-line system clock
The number determining off-line operation time.
Optionally, first acquisition module is additionally operable to:Under IOS systems, obtain and log in application software moment correspondence
Mach_absolute_time functions return value, as the login system clock number;Under Android system, obtain and log in
The return value of application software moment corresponding SyetemClock.elapsedReaktimeNanos functions logs in system as described
System clock number.
Optionally, the determining module includes:
Computing unit, for calculating the difference between the off-line system clock number and the login system clock number;
Determination unit, for determining the off-line operation time according to the server time and the difference.
Optionally, the third acquisition module is additionally operable to:Under IOS systems, application software described in off-line operation is obtained
The return value of moment corresponding mach_absolute_time functions, as the off-line system clock number;Under Android system,
Obtain the return of application software moment corresponding SyetemClock.elapsedReaktimeNanos functions described in off-line operation
Value, as the login system clock number.
According to the third aspect of the invention we, electronic equipment is provided, including the device described according to a second aspect of the present invention.
According to the fourth aspect of the invention, a kind of electronic equipment is provided, which is characterized in that including processor and storage
Device, for storing instruction, described instruction is used to that the processor to be controlled to be operated to perform according to the present invention memory
Method described in first aspect.
The advantageous effect of the present invention is, by the method for the acquisition off-line operation time of the present invention, joins in system
Application software is logged in the case of net, even either resting on backstage for a long time under off-line state, even program is moved back
Go out, in the case of positive closing later, all off-line operation times that application software obtains all are correct times, without being modification
The cell phone system time later.User is prevented after application software is logged in, network is closed and the sync server time is avoided to come pair
The problem of time practises fraud.
By referring to the drawings to the detailed description of exemplary embodiment of the present invention, other feature of the invention and its
Advantage will become apparent.
Description of the drawings
It is combined in the description and the attached drawing of a part for constitution instruction shows the embodiment of the present invention, and even
With its explanation together principle for explaining the present invention.
Fig. 1 is according to a kind of a kind of flow chart of the embodiment for the method for obtaining the off-line operation time of the present invention;
Fig. 2 is according to a kind of a kind of frame principle figure of the implementation structure for the device for obtaining the off-line operation time of the present invention;
Fig. 3 is the frame principle figure according to a kind of implementation structure of a kind of electronic equipment of the present invention.
Specific embodiment
Carry out the various exemplary embodiments of detailed description of the present invention now with reference to attached drawing.It should be noted that:Unless in addition have
Body illustrates that the unlimited system of component and the positioned opposite of step, numerical expression and the numerical value otherwise illustrated in these embodiments is originally
The range of invention.
It is illustrative to the description only actually of at least one exemplary embodiment below, is never used as to the present invention
And its application or any restrictions that use.
Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable
In the case of, the technology, method and apparatus should be considered as part of specification.
In shown here and discussion all examples, any occurrence should be construed as merely illustrative, without
It is as limitation.Therefore, other examples of exemplary embodiment can have different values.
It should be noted that:Similar label and letter represents similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, then in subsequent attached drawing does not need to that it is further discussed.
Fig. 1 is according to a kind of a kind of flow chart of the embodiment for the method for obtaining the off-line operation time of the present invention.
According to Fig. 1, this method includes the following steps:
Step S110 is obtained and is logged in application software moment corresponding system clock number, as login system clock number.
Wherein, user need to log in application software in the case where connecting network, at the time of the application software is logged in, obtain
System clock number.
Since IOS systems are there are one mach_absolute_time functions, after which returns to one based on system startup
Clock number, which is not retracted into backstage by network and application software is influenced.Therefore, it under IOS system environments, performs
Step S110 can further log in the return value of application software moment corresponding mach_absolute_time functions to obtain.
Under IOS system environments, the code that specific acquisition logs in clock number can be:
Since Android system is there are one SyetemClock.elapsedReaktimeNanos functions, which returns to one
Clock number after being started based on system, which is not also retracted into backstage by network and application software is influenced.Therefore, pacifying
Under tall and erect system environments, performing step S110 can be further corresponding to obtain the login application software moment
The return value of SyetemClock.elapsedReaktimeNanos functions.
Step S120 obtains the server time for logging in the application software moment.
Since user need to log in application software in the case where connecting network, can be with the sync server time, and remember
It records and the server time is locally stored.Moreover, step S110 and step S120 are performed simultaneously, that is, log in clock number kimonos
The business device time is obtained at the login application software moment in user.
It specifically obtains the code of server time:
Step S130 obtains the off-line operation application software moment corresponding system clock number, as off-line system clock
Number.
Off-line operation for the application software is specifically that system is under off-line state, to any of application software execution
Operation.The mode for obtaining off-line system clock number is identical with the mode for obtaining login system clock number, can be specifically:If
Under IOS systems, the return value of off-line operation moment mach_absolute_time functions is obtained, if under Android system
Obtain the return value of off-line operation moment SyetemClock.elapsedReaktimeNanos functions.
Step S140, when determining off-line operation according to server time, login system clock number and off-line system clock number
Between.
The execution method of step S140 may further include following steps S141 and S142:
Step S141 calculates the difference between off-line system clock number and login system clock number.
Step S142 determines the off-line operation time according to server time and the difference.
For example, server time is 8:00:00, login system clock number is 100, and off-line system clock number is 223, according to
Difference can be calculated as 223-100=123 in step S141, can determine that the off-line operation time is 8 according to step S142:
00:00+123=8:02:03.
Performing the specific code of step S140 can be:
In this way, the method for the acquisition off-line operation time for passing through the present invention, it is soft to log in application in the case of systems connection
Part, even either resting on backstage for a long time under off-line state, even program is rejected, situation after positive closing
Under, all off-line operation times that application software obtains all are correct times, without being the cell phone system time after changing.
User is prevented after application software is logged in, network is closed and avoids the problem that the sync server time practises fraud to the time.
Corresponding with the above method, the present invention also provides a kind of devices for obtaining the off-line operation time.According to Fig. 2
A kind of a kind of frame principle figure of the implementation structure for the device for obtaining the off-line operation time of the present invention.
Shown according to fig. 2, which includes the first acquisition module 210, the second acquisition module 220, third acquisition module 230
With determining module 240.First acquisition module 210 logs in application software moment corresponding system clock number for obtaining, as
Login system clock number;Second acquisition module 220 logs in the server time at application software moment for obtaining;The third obtains
Modulus block 230 is for obtaining off-line operation application software moment corresponding system clock number, as off-line system clock number;This is really
Cover half block 240 is used to determine the off-line operation time according to server time, login system clock number and off-line system clock number.
Further, the first acquisition module 210 is additionally operable to:Under IOS systems, it is corresponding to obtain the login application software moment
The return value of mach_absolute_time functions, as login system clock number;Under Android system, obtain and log in using soft
The return value of part moment corresponding SyetemClock.elapsedReaktimeNanos functions, as login system clock number.
Still further, third acquisition module 230 is additionally operable to:Under IOS systems, the off-line operation application software moment is obtained
The return value of corresponding mach_absolute_time functions, as off-line system clock number;Under Android system, obtain offline
The return value of operation and application software moment corresponding SyetemClock.elapsedReaktimeNanos functions, as login system
System clock number.
On this basis, determining module 240 includes computing unit and determination unit, which is used to calculate offline system
The difference united between clock number and login system clock number;The determination unit is used to be determined offline according to server time and difference
Operating time.
The present invention also provides a kind of electronic equipment, and on the one hand, which includes aforementioned acquisition off-line operation
The device of time.
Fig. 3 is the frame principle figure according to a kind of implementation structure of the electronic equipment of another aspect of the present invention.
Shown according to fig. 3, which includes memory 301 and processor 302, which is used to store
Instruction, the instruction are operated the method to perform the above-mentioned acquisition off-line operation time for control processor 302.
The processor 302 is such as can be central processor CPU, Micro-processor MCV.The memory 301 for example including
ROM (read-only memory), RAM (random access memory), hard disk nonvolatile memory etc..
In addition to this, shown according to fig. 3, which further includes interface arrangement 303, input unit 304, display
Device 305, communication device 306, loud speaker 307, microphone 308 etc..Although multiple devices are shown in FIG. 3, this
Invention electronic equipment can only relate to partial devices therein, for example, processor 301, memory 302, display device 305 etc..
Above-mentioned communication device 306 can for example carry out wired or wireless communication.
Above-mentioned interface arrangement 303 is such as including earphone jack, USB interface.
Above-mentioned input unit 304 is such as can include touch screen, button.
Above-mentioned display device 305 is, for example, liquid crystal display, touch display screen etc..
The electronic product such as can be mobile phone, tablet computer, computer of electronic equipment 300 of the present invention.
The various embodiments described above primary focus describes difference from other examples, but those skilled in the art should be clear
Chu, the various embodiments described above can be used alone or be combined with each other as needed.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Point cross-reference, the highlights of each of the examples are difference from other examples, but people in the art
Member is it should be understood that the various embodiments described above can be used alone or be combined with each other as needed.In addition, for device
For embodiment, since it is corresponding with embodiment of the method, so describing fairly simple, related part is implemented referring to method
The explanation of the corresponding part of example.System embodiment described above is only schematical, wherein as separating component
The module of explanation may or may not be physically separate.
The present invention can be device, method and/or computer program product.Computer program product can include computer
Readable storage medium storing program for executing, containing for make processor realize various aspects of the invention computer-readable program instructions.
Computer readable storage medium can keep and store to perform the tangible of the instruction that uses of equipment by instruction
Equipment.Computer readable storage medium for example can be-- but be not limited to-- storage device electric, magnetic storage apparatus, optical storage
Equipment, electromagnetism storage device, semiconductor memory apparatus or above-mentioned any appropriate combination.Computer readable storage medium
More specific example (non exhaustive list) includes:Portable computer diskette, random access memory (RAM), read-only is deposited hard disk
It is reservoir (ROM), erasable programmable read only memory (EPROM or flash memory), static RAM (SRAM), portable
Compact disk read-only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanical coding equipment, for example thereon
It is stored with the punch card of instruction or groove internal projection structure and above-mentioned any appropriate combination.Calculating used herein above
Machine readable storage medium storing program for executing is not interpreted instantaneous signal in itself, and the electromagnetic wave of such as radio wave or other Free propagations leads to
It crosses the electromagnetic wave (for example, the light pulse for passing through fiber optic cables) of waveguide or the propagation of other transmission mediums or is transmitted by electric wire
Electric signal.
Computer-readable program instructions as described herein can be downloaded to from computer readable storage medium it is each calculate/
Processing equipment downloads to outer computer or outer by network, such as internet, LAN, wide area network and/or wireless network
Portion's storage device.Network can include copper transmission cable, optical fiber transmission, wireless transmission, router, fire wall, interchanger, gateway
Computer and/or Edge Server.Adapter or network interface in each calculating/processing equipment are received from network to be counted
Calculation machine readable program instructions, and the computer-readable program instructions are forwarded, for the meter being stored in each calculating/processing equipment
In calculation machine readable storage medium storing program for executing.
For perform the computer program instructions that operate of the present invention can be assembly instruction, instruction set architecture (ISA) instruction,
Machine instruction, machine-dependent instructions, microcode, firmware instructions, condition setup data or with one or more programming languages
Arbitrarily combine the source code or object code write, the programming language includes the programming language of object-oriented-such as
Procedural programming languages-such as " C " language or similar programming language of Smalltalk, C++ etc. and routine.Computer
Readable program instructions can be performed fully, partly perform on the user computer, is only as one on the user computer
Vertical software package performs, part performs or on the remote computer completely in remote computer on the user computer for part
Or it is performed on server.In situations involving remote computers, remote computer can pass through network-packet of any kind
Include LAN (LAN) or wide area network (WAN)-be connected to subscriber computer or, it may be connected to outer computer (such as profit
Pass through Internet connection with ISP).In some embodiments, by using computer-readable program instructions
Status information carry out personalized customization electronic circuit, such as programmable logic circuit, field programmable gate array (FPGA) or can
Programmed logic array (PLA) (PLA), the electronic circuit can perform computer-readable program instructions, so as to fulfill each side of the present invention
Face.
Referring herein to according to the method for the embodiment of the present invention, the flow chart of device (system) and computer program product and/
Or block diagram describes various aspects of the invention.It should be appreciated that each box and flow chart of flow chart and/or block diagram and/
Or in block diagram each box combination, can be realized by computer-readable program instructions.
These computer-readable program instructions can be supplied to all-purpose computer, special purpose computer or other programmable datas
The processor of processing unit, so as to produce a kind of machine so that these instructions are passing through computer or other programmable datas
When the processor of processing unit performs, produce and realize work(specified in one or more of flow chart and/or block diagram box
The device of energy/action.These computer-readable program instructions can also be stored in a computer-readable storage medium, these refer to
It enables so that computer, programmable data processing unit and/or other equipment work in a specific way, so as to be stored with instruction
Computer-readable medium then includes a manufacture, including realizing in one or more of flow chart and/or block diagram box
The instruction of the various aspects of defined function/action.
Computer-readable program instructions can also be loaded into computer, other programmable data processing units or other
In equipment so that series of operation steps are performed on computer, other programmable data processing units or miscellaneous equipment, with production
Raw computer implemented process, so that performed on computer, other programmable data processing units or miscellaneous equipment
Function/action specified in one or more of flow chart and/or block diagram box is realized in instruction.
Flow chart and block diagram in attached drawing show the system, method and computer journey of multiple embodiments according to the present invention
Architectural framework in the cards, function and the operation of sequence product.In this regard, each box in flow chart or block diagram can generation
One module of table, program segment or a part for instruction, the module, program segment or a part for instruction include one or more use
In the executable instruction of logic function as defined in realization.In some implementations as replacements, the function of being marked in box
It can be occurred with being different from the sequence marked in attached drawing.For example, two continuous boxes can essentially be held substantially in parallel
Row, they can also be performed in the opposite order sometimes, this is depended on the functions involved.It is also noted that block diagram and/or
The combination of each box in flow chart and the box in block diagram and/or flow chart can use function or dynamic as defined in performing
The dedicated hardware based system made is realized or can be realized with the combination of specialized hardware and computer instruction.It is right
It is well known that, realized for those skilled in the art by hardware mode, realized by software mode and by software and
It is all of equal value that the mode of combination of hardware, which is realized,.
Various embodiments of the present invention are described above, above description is exemplary, and non-exclusive, and
It is not limited to disclosed each embodiment.In the case of without departing from the scope and spirit of illustrated each embodiment, for this skill
Many modifications and changes will be apparent from for the those of ordinary skill in art field.The selection of term used herein, purport
In the principle for best explaining each embodiment, practical application or to the technological improvement of the technology in market or lead this technology
Other those of ordinary skill in domain are understood that each embodiment disclosed herein.The scope of the present invention is limited by appended claims
It is fixed.
Claims (10)
- A kind of 1. method for obtaining the off-line operation time, which is characterized in that including:It obtains and logs in application software moment corresponding system clock number, as login system clock number;Obtain the server time for logging in the application software moment;Application software moment corresponding system clock number described in off-line operation is obtained, as off-line system clock number;When determining off-line operation according to the server time, the login system clock number and the off-line system clock number Between.
- 2. according to the method described in claim 1, it is characterized in that, described obtain when logging in application software moment corresponding system Clock number includes as login system clock number:Under IOS systems, the return value for logging in application software moment corresponding mach_absolute_time functions is obtained, as The login system clock number;Under Android system, it is corresponding to obtain the login application software moment The return value of SyetemClock.elapsedReaktimeNanos functions, as the login system clock number.
- It is 3. according to the method described in claim 1, it is characterized in that, described according to the server time, the login system Clock number and the off-line system clock number determine that the off-line operation time includes:Calculate the difference between the off-line system clock number and the login system clock number;The off-line operation time is determined according to the server time and the difference.
- 4. according to the method described in claim 1, it is characterized in that, application software moment correspondence described in the acquisition off-line operation System clock number, include as off-line system clock number:Under IOS systems, returning for application software moment corresponding mach_absolute_time functions described in off-line operation is obtained Value is returned, as the off-line system clock number;Under Android system, it is corresponding to obtain the application software moment described in off-line operation The return value of SyetemClock.elapsedReaktimeNanos functions, as the login system clock number.
- 5. a kind of device for obtaining the off-line operation time, which is characterized in that including:First acquisition module logs in application software moment corresponding system clock number, as login system clock number for obtaining;Second acquisition module, for obtaining the server time for logging in the application software moment;Third acquisition module, for obtaining the corresponding system clock number of application software moment described in off-line operation, as offline system System clock number;Determining module, for true according to the server time, the login system clock number and the off-line system clock number Determine the off-line operation time.
- 6. device according to claim 5, which is characterized in that first acquisition module is additionally operable to:Under IOS systems, The return value for logging in application software moment corresponding mach_absolute_time functions is obtained, as the login system clock Number;Under Android system, obtain and log in application software moment corresponding SyetemClock.elapsedReaktimeNanos letters Several return value, as the login system clock number.
- 7. device according to claim 5, which is characterized in that the determining module includes:Computing unit, for calculating the difference between the off-line system clock number and the login system clock number;Determination unit, for determining the off-line operation time according to the server time and the difference.
- 8. device according to claim 5, which is characterized in that the third acquisition module is additionally operable to:Under IOS systems, The return value of application software moment corresponding mach_absolute_time functions described in off-line operation is obtained, as described offline System clock number;Under Android system, it is corresponding to obtain the application software moment described in off-line operation The return value of SyetemClock.elapsedReaktimeNanos functions, as the login system clock number.
- 9. a kind of electronic equipment, which is characterized in that including the device according to any one of claim 5-8.
- 10. a kind of electronic equipment, which is characterized in that including processor and memory, the memory is for storing instruction, described Instruction for the processor is controlled to be operated with perform according to the described method of any one of claim 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711475248.3A CN108241404A (en) | 2017-12-29 | 2017-12-29 | A kind of method, apparatus and electronic equipment for obtaining the off-line operation time |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711475248.3A CN108241404A (en) | 2017-12-29 | 2017-12-29 | A kind of method, apparatus and electronic equipment for obtaining the off-line operation time |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108241404A true CN108241404A (en) | 2018-07-03 |
Family
ID=62701221
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711475248.3A Pending CN108241404A (en) | 2017-12-29 | 2017-12-29 | A kind of method, apparatus and electronic equipment for obtaining the off-line operation time |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108241404A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109815819A (en) * | 2018-12-25 | 2019-05-28 | 北京城市网邻信息技术有限公司 | A kind of cheat detection method, device, terminal device and storage medium |
CN110620788A (en) * | 2019-09-29 | 2019-12-27 | 深圳市镜玩科技有限公司 | Information interaction method, related product and computer readable storage medium |
CN112422369A (en) * | 2020-11-19 | 2021-02-26 | 青岛海尔科技有限公司 | Method and device for determining offline time, storage medium and electronic device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101866399A (en) * | 2009-04-16 | 2010-10-20 | 成都市华为赛门铁克科技有限公司 | Method and terminal for offline file control |
CN102664882A (en) * | 2012-04-16 | 2012-09-12 | 华为软件技术有限公司 | Time recording method, and associated equipment and system |
CN104065613A (en) * | 2013-03-18 | 2014-09-24 | 中国移动通信集团内蒙古有限公司 | Offline operation data synchronization method, system and device of application |
CN104184601A (en) * | 2013-05-22 | 2014-12-03 | 腾讯科技(深圳)有限公司 | Obtaining method and device for user online time |
EP2977893A1 (en) * | 2014-07-21 | 2016-01-27 | Xiaomi Inc. | Lightweight app offline updating method, device and terminal |
-
2017
- 2017-12-29 CN CN201711475248.3A patent/CN108241404A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101866399A (en) * | 2009-04-16 | 2010-10-20 | 成都市华为赛门铁克科技有限公司 | Method and terminal for offline file control |
CN102664882A (en) * | 2012-04-16 | 2012-09-12 | 华为软件技术有限公司 | Time recording method, and associated equipment and system |
CN104065613A (en) * | 2013-03-18 | 2014-09-24 | 中国移动通信集团内蒙古有限公司 | Offline operation data synchronization method, system and device of application |
CN104184601A (en) * | 2013-05-22 | 2014-12-03 | 腾讯科技(深圳)有限公司 | Obtaining method and device for user online time |
EP2977893A1 (en) * | 2014-07-21 | 2016-01-27 | Xiaomi Inc. | Lightweight app offline updating method, device and terminal |
Non-Patent Citations (3)
Title |
---|
IT屋: "当设备离线时,如何获取正确的Android设备当前日期和时间", 《HTTPS://WWW.IT1352.COM/611018.HTML》 * |
PINGPONG: "[iOS] 如何获取一个更为靠谱的当前时间", 《HTTPS://WWW.JIANSHU.COM/P/82475B5A7E19》 * |
无: "当设备离线时,如何获取正确的Android设备当前日期和时间", 《HTTPS://WWW.CNBLOGS.COM/ZPSOE/P/6994811.HTML》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109815819A (en) * | 2018-12-25 | 2019-05-28 | 北京城市网邻信息技术有限公司 | A kind of cheat detection method, device, terminal device and storage medium |
CN110620788A (en) * | 2019-09-29 | 2019-12-27 | 深圳市镜玩科技有限公司 | Information interaction method, related product and computer readable storage medium |
CN110620788B (en) * | 2019-09-29 | 2022-06-24 | 深圳市镜玩科技有限公司 | Information interaction method, related product and computer readable storage medium |
CN112422369A (en) * | 2020-11-19 | 2021-02-26 | 青岛海尔科技有限公司 | Method and device for determining offline time, storage medium and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110505141B (en) | Instant messaging message processing method and device, readable medium and electronic equipment | |
US10832150B2 (en) | Optimized re-training for analytic models | |
US11126938B2 (en) | Targeted data element detection for crowd sourced projects with machine learning | |
CN110096496A (en) | A kind of form validation method, relevant apparatus and equipment | |
WO2019169723A1 (en) | Test case selection method, device and equipment, and computer-readable storage medium | |
CN106649345A (en) | Automatic session creator for news | |
CN108241404A (en) | A kind of method, apparatus and electronic equipment for obtaining the off-line operation time | |
CN104735657B (en) | Security terminal verification method, wireless access point binding method, apparatus and system | |
CN110166276A (en) | A kind of localization method, device, terminal device and the medium of frame synchronization exception | |
CN113438355A (en) | Communication method, device, equipment and storage medium based on cloud mobile phone | |
CN107294999A (en) | Information Authentication processing method, device, system, client and server | |
US9824403B2 (en) | Measuring problems from social media discussions | |
US20180341856A1 (en) | Balancing memory consumption of multiple graphics processing units in deep learning | |
CN106888086B (en) | System and method for managing account password | |
JP7529296B2 (en) | Information authentication method, device, equipment, and medium | |
CN105528399B (en) | Multi-source terminal parameter data fusion method and device | |
CN115249043A (en) | Data analysis method and device, electronic equipment and storage medium | |
US9904744B2 (en) | Probabilistic simulation scenario design by using multiple conditional and nested probability distribution input functions | |
CN109376430A (en) | Assembled architecture execution management method therefor | |
WO2016000323A1 (en) | Method for operating soft keyboard, terminal and computer readable storage medium | |
CN106445479B (en) | Information-pushing method and device | |
CN110022327B (en) | Short message authentication test method and device | |
US11238754B2 (en) | Editing tool for math equations | |
CN115862031B (en) | Text processing method, neural network training method, device and equipment | |
US11854433B2 (en) | Systems and methods for item response modelling of digital assessments |
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: 20180703 |
|
RJ01 | Rejection of invention patent application after publication |