CN113452464A - Time calibration method, device, equipment and medium - Google Patents

Time calibration method, device, equipment and medium Download PDF

Info

Publication number
CN113452464A
CN113452464A CN202010215119.6A CN202010215119A CN113452464A CN 113452464 A CN113452464 A CN 113452464A CN 202010215119 A CN202010215119 A CN 202010215119A CN 113452464 A CN113452464 A CN 113452464A
Authority
CN
China
Prior art keywords
time
terminal equipment
communication connection
synchronization
connection state
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.)
Granted
Application number
CN202010215119.6A
Other languages
Chinese (zh)
Other versions
CN113452464B (en
Inventor
岳大林
张庭锐
侯漫秋
唐睿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Chengdu ICT Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Chengdu ICT 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 China Mobile Communications Group Co Ltd, China Mobile Chengdu ICT Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010215119.6A priority Critical patent/CN113452464B/en
Publication of CN113452464A publication Critical patent/CN113452464A/en
Application granted granted Critical
Publication of CN113452464B publication Critical patent/CN113452464B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Electric Clocks (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a time calibration method, a time calibration device, time calibration equipment and a time calibration medium. The method comprises the following steps: detecting the communication connection state of the MDM client and the MDM server managed by the mobile equipment every a preset first period; if the communication connection state is detected to be a disconnection state, acquiring the previous synchronization time, detection times and first time of the terminal equipment and the MDM server; detecting the number of times of the communication connection state when the communication connection state is detected to be the disconnection state in the synchronization time; the first time is the time of the terminal equipment when the communication connection state is detected to be the disconnection state; acquiring second time of the terminal equipment every a preset second period; and calibrating the time of the terminal equipment according to the synchronization time, the detection times, the first time and the second time. The time calibration method, the time calibration device, the time calibration equipment and the time calibration medium can calibrate the time of the terminal equipment, and further can improve data security.

Description

Time calibration method, device, equipment and medium
Technical Field
The present invention relates to the field of mobile device management technologies, and in particular, to a time calibration method, apparatus, device, and medium.
Background
The self-contained office of equipment (BYOD) refers to an office with its Own equipment, including personal computers, mobile phones, tablets, etc. BYOD allows smartphones and tablets originally designed for individual consumers to be used by enterprises to carry critical services and core applications. Meanwhile, the BYOD policy is also introduced into the enterprise in a large amount, and conventional Internet Technology (IT) management is challenged in terms of BYOD management aiming at the continuous emergence. Thus, Mobile Device Management (MDM) has come into play.
MDM is a platform technology for enterprise IT to transition to the mobile internet, helping enterprises extend IT management capabilities from traditional computers to mobile devices and even mobile applications. The MDM may perform role-based management and configuration of enterprise mobile devices and employee-owned mobile devices and ensure security of enterprise content stored in the devices. The MDM provides complete mobile equipment full life cycle management from all links of equipment registration, activation, use and elimination so as to meet the management and control requirements of enterprises on mobile office terminals.
The MDM provides time control of the mobile device, i.e., controls that specify the mobile device for a specified period of time (e.g., prohibit logging into a specified website, prohibit using certain software, prohibit using a camera, etc.). In order to avoid the time control of the MDM, the device user usually changes the mobile device time to violate the enterprise rules, thereby gaining profits and bringing impacts and hazards to the enterprise rules, benefits and safety.
Disclosure of Invention
Embodiments of the present invention provide a time calibration method, apparatus, device, and medium, which can calibrate time of a terminal device and improve data security.
In a first aspect, an embodiment of the present invention provides a time calibration method, including:
detecting the communication connection state of the MDM client and the MDM server managed by the mobile equipment every a preset first period;
if the communication connection state is detected to be a disconnection state, acquiring the previous synchronization time, detection times and first time of the terminal equipment and the MDM server; detecting the number of times of the communication connection state when the communication connection state is detected to be the disconnection state in the synchronization time; the first time is the time of the terminal equipment when the communication connection state is detected to be the disconnection state;
acquiring second time of the terminal equipment every a preset second period;
and calibrating the time of the terminal equipment according to the synchronization time, the detection times, the first time and the second time.
In some possible implementations of the embodiment of the present invention, calibrating the time of the terminal device according to the synchronization time, the detection times, the first time, and the second time includes:
calibrating the time of the terminal equipment into the sum of the following three parts:
synchronizing time;
the product of the number of detections and the first period;
a first time difference between the second time and the first time.
In some possible implementations of the embodiment of the present invention, calibrating the time of the terminal device according to the synchronization time, the detection times, the first time, and the second time includes:
and calibrating the time of the terminal equipment according to the synchronization time, the detection times, the first time, the second time, the third time of the terminal equipment before modification and the fourth time of the terminal equipment after modification.
In some possible implementations of the embodiment of the present invention, calibrating the time of the terminal device according to the synchronization time, the detection times, the first time, the second time, the third time of the terminal device before modification, and the fourth time of the terminal device after modification includes:
calibrating the time of the terminal device as follows: a time difference between the second time difference and the third time difference;
wherein, the second time difference is the sum of the following three:
synchronizing time;
the product of the number of detections and the first period;
a time difference between the second time and the first time;
the third time difference is a time difference between the fourth time and the third time.
In some possible implementations of the embodiment of the present invention, the time calibration method provided in the embodiment of the present invention further includes:
and monitoring whether the time of the terminal equipment is modified or not in real time.
In some possible implementations of the embodiment of the present invention, the time calibration method provided in the embodiment of the present invention further includes:
if the communication connection state is detected to be an un-disconnected state, the synchronous time of the MDM server and the terminal equipment is acquired;
and calibrating the time of the terminal equipment according to the synchronization time.
In some possible implementations of the embodiment of the present invention, calibrating the time of the terminal device according to the synchronization time includes:
and calibrating the time of the terminal equipment to be synchronous time.
In a second aspect, an embodiment of the present invention provides a time calibration apparatus, including:
the detection module is used for detecting the communication connection state of the MDM client and the MDM server managed by the mobile equipment every a preset first period; if the communication connection state is detected to be the disconnection state, triggering an acquisition module;
the acquisition module is used for acquiring the previous synchronization time, detection times, first time and second preset periods of the terminal equipment and the MDM server, and acquiring the second time of the terminal equipment; detecting the number of times of the communication connection state when the communication connection state is detected to be the disconnection state in the synchronization time; the first time is the time of the terminal equipment when the communication connection state is detected to be the disconnection state;
and the calibration module is used for calibrating the time of the terminal equipment according to the synchronization time, the detection times, the first time and the second time.
In some possible implementations of the embodiments of the present invention, the calibration module may be specifically configured to:
calibrating the time of the terminal equipment into the sum of the following three parts:
synchronizing time;
the product of the number of detections and the first period;
a first time difference between the second time and the first time.
In some possible implementations of the embodiments of the present invention, the calibration module may be specifically configured to:
and calibrating the time of the terminal equipment according to the synchronization time, the detection times, the first time, the second time, the third time of the terminal equipment before modification and the fourth time of the terminal equipment after modification.
In some possible implementations of the embodiments of the present invention, the calibration module may be specifically configured to:
calibrating the time of the terminal device as follows: a time difference between the second time difference and the third time difference;
wherein, the second time difference is the sum of the following three:
synchronizing time;
the product of the number of detections and the first period;
a time difference between a second time and the first time;
the third time difference is a time difference between the fourth time and the third time.
In some possible implementations of the embodiment of the present invention, the time calibration apparatus provided in the embodiment of the present invention further includes:
and the monitoring module is used for monitoring whether the time of the terminal equipment is modified in real time.
In some possible implementations of the embodiment of the present invention, the time calibration apparatus provided in the embodiment of the present invention further includes:
the synchronization module is used for acquiring the synchronization time of the MDM server and the terminal equipment if the communication connection state is detected to be an unbroken state;
the calibration module may specifically be configured to:
and calibrating the time of the terminal equipment according to the synchronization time.
In some possible implementations of the embodiments of the present invention, the calibration module may be specifically configured to:
and calibrating the time of the terminal equipment to be synchronous time.
In a third aspect, an embodiment of the present invention provides a terminal device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor;
the processor, when executing the computer program, implements the time calibration method in the first aspect of the embodiments of the present invention or any possible implementation manner of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the time calibration method in the first aspect of the embodiment or any possible implementation manner of the first aspect of the embodiment of the present invention.
The time calibration method, the time calibration device, the time calibration equipment and the time calibration medium can calibrate the time of the terminal equipment, and after the time of the terminal equipment is calibrated, the calibrated time of the terminal equipment is used as the reference time of an MDM time control strategy, so that the terminal equipment cannot avoid the time control of MDM, and further the data safety can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a time calibration method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of another time calibration method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a time alignment apparatus according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to solve the problem of the prior art, embodiments of the present invention provide a time calibration method, apparatus, device, and medium. The time calibration method provided by the embodiment of the invention is first explained in detail below.
It should be noted that the time calibration method provided by the embodiment of the present invention is preferably used in a terminal device installed with an MDM client.
Fig. 1 is a schematic flowchart of a time calibration method according to an embodiment of the present invention. The time calibration method may include:
s101: and detecting the communication connection state of the MDM client and the MDM server managed by the mobile equipment every a preset first period. If the communication connection state is detected to be the disconnection state, S102 is executed.
S102: and acquiring the previous synchronization time, detection times and first time of the terminal equipment and the MDM server.
Detecting the number of times of the communication connection state when the communication connection state is detected to be the disconnection state in the synchronization time; the first time is the time of the terminal device when the communication connection state is detected to be the disconnection state.
S103: and acquiring second time of the terminal equipment every a preset second period.
S104: and calibrating the time of the terminal equipment according to the synchronization time, the detection times, the first time and the second time.
For example, it is assumed that the previous synchronization time of the terminal device and the MDM server is T0 when the communication connection state is detected to be the disconnected state, the number of times of detecting the communication connection state until the communication connection state is detected to be the disconnected state is N (i.e., the number of times of detection is N), and the time of detecting the terminal device when the communication connection state is detected to be the disconnected state is T1 (i.e., the first time is T1). The first cycle is P1 and the second cycle is P2.
Every second period P2, the second time for acquiring the terminal device is T2.
And calibrating the time of the terminal equipment according to the synchronization time T, the detection times N, the first time T1 and the second time T2.
Specifically, the time of the terminal device is calibrated as follows: the sum of the following three:
synchronizing time T;
the product of the number of detections N and the first period P1;
a first time difference between the second time T2 and the first time T1
Namely, the time of the terminal equipment is calibrated as follows: t + N × P1+ (T2-T1).
In some possible implementations of the embodiment of the present invention, it may also be monitored whether the time of the terminal device is modified in real time, and if the time of the terminal device is monitored to be modified, the third time T3 of the terminal device before modification and the fourth time T4 of the terminal device after modification are obtained.
And calibrating the time of the terminal equipment according to the synchronization time T, the detection times N, the first time T1, the second time T2, the third time T3 and the fourth time T4.
Specifically, the time of the terminal device is calibrated as follows: a time difference between the second time difference and the third time difference;
wherein, the second time difference is the sum of the following three:
synchronizing time T;
the product of the number of detections N and the first period P1;
a time difference between the second time T2 and the first time T1;
the third time difference is a time difference between the fourth time T4 and the third time T3.
Namely, the time of the terminal equipment is calibrated as follows: t + N × P1+ (T2-T1) - (T4-T3).
In some possible implementations of the embodiment of the present invention, when it is detected that the communication connection state is an unbroken state, the synchronization time for synchronizing the MDM server and the terminal device is obtained; and calibrating the time of the terminal equipment according to the synchronization time.
If the communication connection state is detected to be in the non-disconnected state (namely, the communication connection is recovered) at a certain time after the communication connection state is detected to be in the disconnected state, the synchronization time T5 of the MDM server and the terminal device is acquired, and the time of the terminal device is calibrated according to the synchronization time T5.
Specifically, the time of the terminal device is calibrated as follows: the time T5 is synchronized.
In some possible implementations of the embodiments of the present invention, when the synchronization time of the MDM server is acquired, a time synchronization request may be sent to the MDM server, and the synchronization time sent by the MDM in response to the time synchronization request is received.
In some possible implementations of the embodiment of the present invention, the MDM server may periodically push the synchronization time to the terminal device, and the terminal device periodically receives the synchronization time pushed by the MDM server.
In some possible implementations of embodiments of the invention, the first period is the same as the second period.
Based on the above, a flow of the time calibration method provided by the embodiment of the present invention is shown in fig. 2. Fig. 2 is a schematic flow chart of another time calibration method according to an embodiment of the present invention.
Firstly, detecting the communication connection state of an MDM client and an MDM server every a preset first period.
And if the communication connection state is detected to be the non-disconnection state, acquiring the synchronous time of the MDM, and calibrating the time of the terminal equipment according to the synchronous time.
If the communication connection state is detected to be the disconnection state, acquiring the previous synchronization time, detection times and first time of the terminal equipment and the MDM server; detecting the number of times of the communication connection state when the communication connection state is detected to be the disconnection state in the synchronization time; the first time is the time of the terminal device when the communication connection state is detected to be the disconnection state.
And acquiring second time of the terminal equipment every a preset second period.
And if the time of the terminal equipment is not modified, calibrating the time of the terminal equipment according to the synchronous time, the detection times, the first time and the second time.
If the time of the terminal equipment is modified, acquiring the third time of the terminal equipment before modification and the fourth time of the modified terminal equipment, and calibrating the time of the terminal equipment according to the synchronization time, the detection times, the first time, the second time, the third time and the fourth time.
The time calibration method of the embodiment of the invention can calibrate the time of the terminal equipment, and after the time of the terminal equipment is calibrated, the calibrated time of the terminal equipment is taken as the reference time of the MDM time control strategy, so that the terminal equipment cannot avoid the time control of the MDM, and the data safety can be further improved.
Corresponding to the above method embodiment, the embodiment of the present invention further provides a time calibration apparatus.
Fig. 3 is a schematic structural diagram of a time calibration apparatus according to an embodiment of the present invention. The time alignment apparatus may include:
the detection module 301 is configured to detect a communication connection state between the MDM client and the MDM server managed by the mobile device every a preset first period; if the communication connection state is detected to be a disconnection state, the obtaining module 302 is triggered.
An obtaining module 302, configured to obtain previous synchronization time, detection times, first time of the terminal device and the MDM server, and second time of the terminal device every preset second period; detecting the number of times of the communication connection state when the communication connection state is detected to be the disconnection state in the synchronization time; the first time is the time of the terminal device when the communication connection state is detected to be the disconnection state.
The calibration module 303 is configured to calibrate the time of the terminal device according to the synchronization time, the detection times, the first time, and the second time.
In some possible implementations of the embodiment of the present invention, the calibration module 303 may be specifically configured to:
calibrating the time of the terminal equipment into the sum of the following three parts:
synchronizing time;
the product of the number of detections and the first period;
a first time difference between the second time and the first time.
In some possible implementations of the embodiment of the present invention, the calibration module 303 may be specifically configured to:
and calibrating the time of the terminal equipment according to the synchronization time, the detection times, the first time, the second time, the third time of the terminal equipment before modification and the fourth time of the terminal equipment after modification.
In some possible implementations of the embodiment of the present invention, the calibration module 303 may be specifically configured to:
calibrating the time of the terminal device as follows: a time difference between the second time difference and the third time difference;
wherein, the second time difference is the sum of the following three:
synchronizing time;
the product of the number of detections and the first period;
a time difference between a second time and the first time;
the third time difference is a time difference between the fourth time and the third time.
In some possible implementations of the embodiment of the present invention, the time calibration apparatus provided in the embodiment of the present invention further includes:
and the monitoring module is used for monitoring whether the time of the terminal equipment is modified in real time.
In some possible implementations of the embodiment of the present invention, the time calibration apparatus provided in the embodiment of the present invention further includes:
the synchronization module is used for acquiring the synchronization time of the MDM server and the terminal equipment if the communication connection state is detected to be an unbroken state;
the calibration module 303 may be specifically configured to:
and calibrating the time of the terminal equipment according to the synchronization time.
In some possible implementations of the embodiments of the present invention, the calibration module may be specifically configured to:
and calibrating the time of the terminal equipment to be synchronous time.
For the embodiment of the time calibration apparatus in the embodiment of the present invention, since it is substantially similar to the embodiment of the time calibration method in the embodiment of the present invention, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the embodiment of the time calibration method in the embodiment of the present invention. The embodiments of the present invention are not described herein in detail.
The time calibration device of the embodiment of the invention can calibrate the time of the terminal equipment, and after the time of the terminal equipment is calibrated, the calibrated time of the terminal equipment is taken as the reference time of the MDM time control strategy, so that the terminal equipment cannot avoid the time control of the MDM, and the data safety can be further improved.
Fig. 4 shows a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present invention. The terminal device 400 includes but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 4 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 410 is used for detecting the communication connection state of the MDM client and the MDM server managed by the mobile equipment every a preset first period; if the communication connection state is detected to be a disconnection state, acquiring the previous synchronization time, detection times and first time of the terminal equipment and the MDM server; detecting the number of times of the communication connection state when the communication connection state is detected to be the disconnection state in the synchronization time; the first time is the time of the terminal equipment when the communication connection state is detected to be the disconnection state; acquiring second time of the terminal equipment every a preset second period; and calibrating the time of the terminal equipment according to the synchronization time, the detection times, the first time and the second time.
By the embodiment of the invention, the time of the terminal equipment can be calibrated, and the data safety is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user through the network module 402, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the terminal apparatus 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 401 in case of the phone call mode.
The terminal device 400 further comprises at least one sensor 405, such as light sensors, motion sensors and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 4061 and/or the backlight when the terminal apparatus 400 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 406 is used to display information input by the user or information provided to the user. The Display unit 406 may include a Display panel 4061, and the Display panel 4061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 4, the touch panel 4071 and the display panel 4061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the terminal device, which is not limited herein.
The interface unit 408 is an interface for connecting an external device to the terminal apparatus 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus 400 or may be used to transmit data between the terminal apparatus 400 and an external device.
The memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 409 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby performing overall monitoring of the terminal device. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The terminal device 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal device 400 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a terminal device, which includes a processor 410, a memory 409, and a computer program stored in the memory 409 and capable of being executed on the processor 410, where the computer program, when executed by the processor 410, implements each process of the above time calibration method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium has computer program instructions stored thereon; the computer program instructions, when executed by the processor, implement the processes of the embodiment of the time calibration method provided by the embodiment of the present invention, and can achieve the same technical effects, and are not described herein again to avoid repetition. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A method of time calibration, the method comprising:
detecting the communication connection state of the MDM client and the MDM server managed by the mobile equipment every a preset first period;
if the communication connection state is detected to be a disconnection state, acquiring the previous synchronization time, detection times and first time of the terminal equipment and the MDM server; the detection times are the times of detecting the communication connection state from the synchronization time to the time of detecting that the communication connection state is the disconnection state; the first time is the time of the terminal equipment when the communication connection state is detected to be a disconnection state;
acquiring second time of the terminal equipment every other preset second period;
and calibrating the time of the terminal equipment according to the synchronization time, the detection times, the first time and the second time.
2. The method of claim 1, wherein calibrating the time of the terminal device according to the synchronization time, the detection times, the first time, and the second time comprises:
and calibrating the time of the terminal equipment into the sum of the following three parts:
the synchronization time;
the product of the number of detections and the first period;
a first time difference between the second time and the first time.
3. The method of claim 1, wherein calibrating the time of the terminal device according to the synchronization time, the detection times, the first time, and the second time comprises:
and calibrating the time of the terminal equipment according to the synchronization time, the detection times, the first time, the second time, the third time of the terminal equipment before modification and the fourth time of the terminal equipment after modification.
4. The method of claim 1, wherein the calibrating the time of the terminal device according to the synchronization time, the detection times, the first time, the second time, a third time of the terminal device before modification, and a fourth time of the terminal device after modification comprises:
calibrating the time of the terminal equipment as follows: a time difference between the second time difference and the third time difference;
wherein, the second time difference is the sum of the following three:
the synchronization time;
the product of the number of detections and the first period;
a time difference between the second time and the first time;
the third time difference is a time difference between the fourth time and the third time.
5. The method of claim 3, further comprising:
and monitoring whether the time of the terminal equipment is modified or not in real time.
6. The method of claim 1, further comprising:
if the communication connection state is detected to be an un-disconnected state, the synchronization time of the MDM server and the terminal equipment is acquired;
and calibrating the time of the terminal equipment according to the synchronous time.
7. The method of claim 6, wherein the calibrating the time of the terminal device according to the synchronization time comprises:
and calibrating the time of the terminal equipment to be the synchronous time.
8. A time alignment apparatus, comprising:
the detection module is used for detecting the communication connection state of the MDM client and the MDM server managed by the mobile equipment every a preset first period; if the communication connection state is detected to be a disconnection state, triggering an acquisition module;
the acquisition module is used for acquiring the previous synchronization time, detection times, first time and second preset periods of the terminal equipment and the MDM server, and acquiring second time of the terminal equipment; the detection times are the times of detecting the communication connection state from the synchronization time to the time of detecting that the communication connection state is the disconnection state; the first time is the time of the terminal equipment when the communication connection state is detected to be a disconnection state;
and the calibration module is used for calibrating the time of the terminal equipment according to the synchronization time, the detection times, the first time and the second time.
9. A terminal device, characterized in that the device comprises: a memory, a processor, and a computer program stored on the memory and executable on the processor;
the processor, when executing the computer program, implements the time calibration method of any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the time calibration method according to any one of claims 1 to 7.
CN202010215119.6A 2020-03-24 2020-03-24 Time calibration method, device, equipment and medium Active CN113452464B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010215119.6A CN113452464B (en) 2020-03-24 2020-03-24 Time calibration method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010215119.6A CN113452464B (en) 2020-03-24 2020-03-24 Time calibration method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN113452464A true CN113452464A (en) 2021-09-28
CN113452464B CN113452464B (en) 2022-11-15

Family

ID=77806545

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010215119.6A Active CN113452464B (en) 2020-03-24 2020-03-24 Time calibration method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN113452464B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030130848A1 (en) * 2001-10-22 2003-07-10 Hamid Sheikhzadeh-Nadjar Method and system for real time audio synthesis
CN2687964Y (en) * 2003-06-25 2005-03-23 浙江华立通信集团有限公司 CDMA terminal hard-switching time parameter correction
CN101866399A (en) * 2009-04-16 2010-10-20 成都市华为赛门铁克科技有限公司 Method and terminal for offline file control
CN106372462A (en) * 2016-08-31 2017-02-01 北京深思数盾科技股份有限公司 Method for realizing time limitation of software under offline state
CN110865325A (en) * 2019-11-17 2020-03-06 北京东方计量测试研究所 Calibration device and calibration method of instantaneous interruption tester

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030130848A1 (en) * 2001-10-22 2003-07-10 Hamid Sheikhzadeh-Nadjar Method and system for real time audio synthesis
CN2687964Y (en) * 2003-06-25 2005-03-23 浙江华立通信集团有限公司 CDMA terminal hard-switching time parameter correction
CN101866399A (en) * 2009-04-16 2010-10-20 成都市华为赛门铁克科技有限公司 Method and terminal for offline file control
CN106372462A (en) * 2016-08-31 2017-02-01 北京深思数盾科技股份有限公司 Method for realizing time limitation of software under offline state
CN110865325A (en) * 2019-11-17 2020-03-06 北京东方计量测试研究所 Calibration device and calibration method of instantaneous interruption tester

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
M. YOUSSEF,P. ROBERTSON,H. ABDELNASIR,M. PUYOL,E. E. GRAND: "Lighthouse: Enabling Landmark-Based Accurate and Robust Next Generation Indoor LBSs on a Worldwide Scale", 《 2019 20TH IEEE INTERNATIONAL CONFERENCE ON MOBILE DATA MANAGEMENT (MDM)》 *
刘晚春,李峭,何锋熊,华钢: "时间触发以太网同步及调度机制的研究", 《航空计算技术》 *

Also Published As

Publication number Publication date
CN113452464B (en) 2022-11-15

Similar Documents

Publication Publication Date Title
CN110995923B (en) Screen projection control method and electronic equipment
CN109343759B (en) Screen-turning display control method and terminal
CN110062105B (en) Interface display method and terminal equipment
CN107835286B (en) Method for preventing mistaken unlocking and mobile terminal
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN109085968B (en) Screen capturing method and terminal equipment
CN109710349B (en) Screen capturing method and mobile terminal
CN110719319B (en) Resource sharing method, device, terminal equipment and storage medium
CN109831359B (en) Method for detecting connection state of data network and terminal equipment thereof
CN110990172A (en) Application sharing method, first electronic device and computer-readable storage medium
CN111130989A (en) Information display and sending method and electronic equipment
CN108304108B (en) Icon display method of application program and mobile terminal
CN111597540B (en) Login method of application program, electronic device and readable storage medium
CN110597437A (en) Screen capturing method and terminal equipment
CN108009031B (en) Application program control method and mobile terminal
CN111107223B (en) Message processing method and electronic equipment
CN111124569B (en) Application sharing method, electronic device and computer readable storage medium
CN111309390A (en) Method for acquiring configuration information and electronic equipment
CN111131607A (en) Information sharing method, electronic equipment and computer readable storage medium
CN108089935B (en) Application program management method and mobile terminal
CN111159738B (en) Authority configuration method, application login method and device
CN111049510B (en) Touch key, control method and electronic equipment
CN109660657B (en) Application program control method and device
CN110990029A (en) Application processing method and electronic equipment
CN108259807B (en) Communication method, mobile terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant