WO2020088542A1 - Procédé, appareil et système de gestion de données, et serveur, terminal et support de stockage associés - Google Patents

Procédé, appareil et système de gestion de données, et serveur, terminal et support de stockage associés Download PDF

Info

Publication number
WO2020088542A1
WO2020088542A1 PCT/CN2019/114426 CN2019114426W WO2020088542A1 WO 2020088542 A1 WO2020088542 A1 WO 2020088542A1 CN 2019114426 W CN2019114426 W CN 2019114426W WO 2020088542 A1 WO2020088542 A1 WO 2020088542A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
data
end device
server
start time
Prior art date
Application number
PCT/CN2019/114426
Other languages
English (en)
Chinese (zh)
Inventor
许爱秋
刘锋
李海燕
Original Assignee
杭州海康威视系统技术有限公司
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 杭州海康威视系统技术有限公司 filed Critical 杭州海康威视系统技术有限公司
Publication of WO2020088542A1 publication Critical patent/WO2020088542A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying
    • G06F16/732Query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/78Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually

Definitions

  • This application relates to the field of data processing, and in particular, to a data management method, device, system, server, terminal, and storage medium.
  • time zone scenarios may occur, such as terminals used by users, servers used to provide storage services in multiple time zones, or front-end equipment used to collect video data in multiple time zones, no matter where Various multi-time zone scenarios will generate data management requirements in multi-time zone scenarios.
  • the time when the server stores video data adopts standard time, that is, UTC (Coordinated Universal Time) or Unix timestamp.
  • the front-end device and the server are in the same time zone.
  • the terminal performs query operations on the video data collected by the front-end device, the user can enter the start time and end time of the query on the terminal.
  • the time type of the start time and end time is the time zone time of the server.
  • the terminal converts the start time and end time to standard time according to the time zone of the server, and sends a data query request to the server, so that the server returns the queried data to the terminal.
  • the front-end device needs to be in the same time zone as the server, and cannot meet the data management requirements of the front-end device in multiple time zones.
  • Embodiments of the present application provide a data management method, device, system, server, terminal, and storage medium, which can solve the problem that related technologies cannot meet the data management requirements of front-end devices in multiple time zones.
  • the technical solution is as follows:
  • a data management method includes:
  • the data query request carries the identifier of the front-end device, a first start time, and a first end time, and the time type of the first start time and the first end time is standard time;
  • the standard time is the time type of the start time and end time of the data stored by the server;
  • the time period between the start time and the end time of the target data is the first time period, the first time period is included in the time period between the first start time and the first end time, and the first time difference
  • the information is used to indicate the time difference between the time zone time of the front-end device in the first time period and the standard time;
  • Start time and end time including:
  • the queried data segment is used as the target data .
  • the time difference information corresponding to the queried data segment is used as the first time difference information, and the start time and end time of the queried data segment are used as the start time and end time of the target data.
  • the method before the data query request of the receiving terminal, the method further includes:
  • the time difference query request carries the identifier of the front-end device, a third start time, and a third end time, and the time types of the third start time and the third end time are all Describe the time zone time of the front-end equipment;
  • Second time difference information of the front-end device within a second time period, where the second time period is a time period between the third start time and the third end time, and the second time difference information is used to Indicating the time difference between the time zone time of the front-end device in the second time period and the standard time;
  • the acquiring time difference information of the front-end device within a second time period includes:
  • the third start time and the third end time query a time zone information table to obtain the time difference information, and the time zone information table is used to record the time difference information of the front-end device in at least one time period.
  • the method before the data query request of the receiving terminal, the method further includes:
  • the data collection plan includes the identification of the front-end device, a data collection time template, and a time zone strategy.
  • the data collection time template is used to indicate the front end The time period during which the device collects data.
  • the time zone strategy includes time zone information of the front-end device.
  • the method further includes:
  • the time zone strategy table includes the time zone strategy of the server and the front-end device and the corresponding strategy identifier
  • each time zone strategy includes the strategy type, time zone, time to enter daylight saving time, time to exit daylight saving time, and The time difference between daylight saving time and winter time
  • the strategy type includes the time zone strategy of the server and the time zone strategy of the front-end device.
  • the acquiring the data collected by the front-end device according to the data collection plan for storage includes:
  • the data collected by the front-end device is stored in segments to obtain multiple segments of data, which are collected by the front-end device in multiple time zones, and the multiple segments of data correspond to multiple time differences Information, the time difference information corresponding to each piece of data is used to indicate the time difference between the time zone time at which the front-end device collects each piece of data and the standard time.
  • a data management method includes:
  • the data query request carries the identifier of the front-end device, the first start time, and the first end time, and the time type of the first start time and the first end time is standard time;
  • the standard time is the time type of the start time and end time of the data stored by the server;
  • the time period between the start time and the end time of the target data is the first time period, and the first time The period is included in the time period between the first start time and the first end time, and the first time difference information is used to indicate the time zone time and the standard of the front-end device in the first time period Time difference
  • the start time and end time of the target data are converted into a second start time and a second end time, the time type of the second start time and the second end time is the Time zone time of front-end equipment;
  • the target data and the second start time and the second end time are displayed.
  • the sending a data query request to the server includes:
  • the input start time and end time of the front-end device are acquired and the time type of the input start time and end time is the standard time, the input start time and end time are used as the first Sending the data query request to the server at the start time and the first end time.
  • the method before sending the data query request to the server, the method further includes:
  • the time difference query request is sent to the server, and the time types of the third start time and the third end time are all The time zone time of the front-end device, the time difference query request carries the identifier of the front-end device, the third start time, and the third end time;
  • Second time difference information sent by a server, where the second time difference information is used to indicate a time difference between the time zone time of the front-end device within a second time period and the standard time, and the second time period is the third The time period between the start time and the third end time;
  • the third start time and the third end time are converted into the first start time and the first end time.
  • a data management device in a third aspect, includes:
  • the receiving module is used to receive a data query request of the terminal, where the data query request carries the identifier of the front-end device, the first start time and the first end time, and the time type of the first start time and the first end time is Standard time, where the standard time is a time type of a start time and an end time of storing data by the server;
  • An obtaining module configured to obtain target data, first time difference information and the start time and time of the target data collected by the front-end device according to the identifier of the front-end device, the first start time and the first end time End time, the time period between the start time and the end time of the target data is the first time period, and the first time period is included in the time period between the first start time and the first end time,
  • the first time difference information is used to indicate the time difference between the time zone time of the front-end device in the first time period and the standard time;
  • the sending module is configured to send the target data, the first time difference information, and the start time and end time of the target data to the terminal.
  • the acquisition module is used to:
  • the queried data segment is used as the target data .
  • the time difference information corresponding to the queried data segment is used as the first time difference information, and the start time and end time of the queried data segment are used as the start time and end time of the target data.
  • the receiving module is further configured to receive a time difference query request of the terminal, where the time difference query request carries the identifier of the front-end device, a third start time, and a third end time.
  • the time type of the three start time and the third end time is the time zone time of the front-end device;
  • the obtaining module is further used to obtain second time difference information of the front-end device within a second time period, where the second time period is a time period between the third start time and the third end time.
  • the second time difference information is used to indicate the time difference between the time zone time of the front-end device in the second time period and the standard time;
  • the sending module is further configured to send the second time difference information to the terminal.
  • the acquiring module is configured to query a time zone information table according to the third start time and the third end time to obtain the time difference information, and the time zone information table is used to record the Time difference information of the front-end device in at least one time period.
  • the acquiring module is further configured to acquire and store data collected by the front-end device according to a data collection plan, and the data collection plan includes an identification of the front-end device, a data collection time template, and The identifier of the time zone strategy, the data collection time template is used to indicate the time period for the front-end device to perform data collection, and the time zone strategy includes the time zone information of the front-end device.
  • the obtaining module is further used to obtain a time zone policy table, the time zone policy table includes the time zone policies of the server and the front-end device, and corresponding policy identifiers, and each time zone policy includes a policy type , Time zone, time to enter daylight saving time, time to exit daylight saving time, and the time difference between daylight saving time and winter time, the policy types include the time zone policy of the server and the time zone policy of the front-end device.
  • the acquisition module is used to:
  • the data collected by the front-end device is stored in segments to obtain multiple segments of data, which are collected by the front-end device in multiple time zones, and the multiple segments of data correspond to multiple time differences Information, the time difference information corresponding to each piece of data is used to indicate the time difference between the time zone time at which the front-end device collects each piece of data and the standard time.
  • a data management device includes:
  • the sending module is used to send a data query request to the server, where the data query request carries the identifier of the front-end device, the first start time and the first end time, and the time type of the first start time and the first end time is Standard time, where the standard time is a time type of a start time and an end time of storing data by the server;
  • a receiving module configured to receive target data sent by the server, first time difference information, and a start time and an end time of the target data, and the time period between the start time and the end time of the target data is the first time period,
  • the first time period is included in a time period between the first start time and the first end time, and the first time difference information is used to indicate the time zone of the front-end device in the first time period The time difference between the time and the standard time;
  • a conversion module configured to convert the start time and end time of the target data to a second start time and second end time according to the first time difference information, the second start time and the second end time
  • the time type is the time zone time of the front-end device
  • a display module is used to display the target data and the second start time and the second end time.
  • the sending module is configured to: when the input identifier, start time and end time of the front-end device are acquired and the time type of the input start time and end time is the standard time, The input start time and end time are used as the first start time and the first end time, and the data query request is sent to the server.
  • the sending module is further configured to send the time difference query request to the server when the input identifier, third start time, and third end time of the front-end device are obtained.
  • the time type of the three start times and the third end time is the time zone time of the front-end device, and the time difference query request carries the identifier of the front-end device, the third start time, and the third end time;
  • the receiving module is further configured to receive second time difference information sent by the server, where the second time difference information is used to indicate the time difference between the time zone time of the front-end device in the second time period and the standard time, the second The time period is the time period between the third start time and the third end time;
  • the conversion module is configured to convert the third start time and the third end time to the first start time and the first end time according to the time difference information.
  • a data management system in a fifth aspect, includes a front-end device, a server, and a terminal.
  • the front-end device is used to collect data and send the collected data to the server;
  • the server is used to store the data collected by the front-end device in standard time
  • the terminal is used to send a data query request to the server, where the data query request carries the identifier of the front-end device, the first start time and the first end time, and the time type of the first start time and the first end time is Standard time, where the standard time is a time type of a start time and an end time of storing data by the server;
  • the server is also used to obtain the target data and the first data collected by the front-end device according to the identifier of the front-end device, the first start time, and the first end time when receiving a data query request from the terminal.
  • the time difference information and the start time and end time of the target data are sent to the terminal.
  • the time period between the start time and the end time of the target data is the first time period.
  • the first time period is included in the In the time period between the first start time and the first end time, the first time difference information is used to indicate the time difference between the time zone time of the front-end device in the first time period and the standard time;
  • the terminal is further configured to, when receiving the target data sent by the server, the first time difference information, and the start time and end time of the target data, according to the first time difference information, the target data start time and The end time is converted into a second start time and a second end time, the time type of the second start time and the second end time is the time zone time of the front-end device, and the target data and the second start time are displayed Time and the second end time.
  • a server including a processor and a memory; the memory is used to store at least one instruction; the processor is used to execute at least one instruction stored on the memory to implement the first aspect The method steps described in any implementation manner.
  • a terminal including a processor and a memory; the memory is used to store at least one instruction; the processor is used to execute at least one instruction stored on the memory to implement the second aspect The method steps described in any implementation manner.
  • a computer-readable storage medium where at least one instruction is stored in the computer-readable storage medium, and when the at least one instruction is executed by a processor, any one of the implementation manners of any of the foregoing aspects is implemented Method steps.
  • the target data collected by the front-end device, the first time difference information, and the start of the target data are obtained according to the identifier, first start time, and first end time of the front-end device carried in the data query request Return to the terminal after the time and end time.
  • the terminal can use the first time difference information to start and end the target data.
  • the time is converted to the time zone of the front-end device and displayed.
  • FIG. 1 is a schematic diagram of a data management system provided by an embodiment of the present application.
  • FIG. 2 is a flowchart of a data management method provided by an embodiment of the present application.
  • FIG. 3 is a flowchart of a data management method provided by an embodiment of the present application.
  • FIG. 4 is a flowchart of a data management method provided by an embodiment of the present application.
  • FIG. 5 is a flowchart of configuring a time zone policy provided by an embodiment of the present application.
  • FIG. 6 is a flowchart of acquiring data provided by an embodiment of the present application.
  • FIG. 7 is a structural diagram of a data storage provided by an embodiment of the present application.
  • FIG. 8 is a flowchart of a data management method provided by an embodiment of the present application.
  • FIG. 9 is a flowchart of a data query provided by an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a data management device according to an embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of a data management device according to an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a terminal 1200 provided by an embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of a server 1300 provided by an embodiment of the present application.
  • Unix timestamp also known as Unix time (Unix time), POSIX time (POSIX time), is a time representation method, defined as from Greenwich Mean Time, January 1, 1980, 00:00:00 The total number of seconds from now.
  • Daylight saving time is also called daylight saving time, daylight saving time, and daylight saving time. It is a local time system that is artificially specified to save energy. Usually in early summer, the time bar is artificially faster by one hour Daylight saving time differs from winter time by an hour. The specific regulations of different countries adopting daylight saving time are different. At present, there are nearly 110 countries in the world that implement daylight saving time every year.
  • UTC time Coordinated universal time, also known as universal time, universal standard time, and international coordinated time. Because English (CUT) and French (TUC) abbreviations are different, as a compromise, referred to as UTC.
  • Coordinated Universal Time is a time measurement system based on the length of the atomic time in seconds and as close as possible to Universal Time in time.
  • FIG. 1 is a schematic diagram of a data management system provided by an embodiment of the present application.
  • the data management system may include a front-end device 101, a server 102, and a terminal 103.
  • the front-end device 101 is used to collect data, such as video data, and send the collected data to the server 102 for storage.
  • the front-end device 101 may be an IPC (IP Camera, network camera), or other devices with a data collection function.
  • the server 102 is used to store the data collected by the front-end device 101 in standard time.
  • the server 102 is also used to obtain corresponding data when receiving a data query request from the terminal 103, and send the acquired data to the terminal 103.
  • the server 102 may refer to a server or a server cluster composed of multiple servers.
  • the multiple servers may include a data management server, a data collection plan management server, a video access server, and a video storage server.
  • the server 102 may be a server in a cloud storage system.
  • the terminal 103 is used to send a time difference query request to the server 102, and the terminal 103 is also used to send a data query request to the server 102 after receiving the time difference information sent by the server 102.
  • the data query request is used to obtain data collected by the front-end device 101.
  • the terminal 103 may be a user device such as a smart phone, a tablet computer, a notebook computer, or a desktop computer.
  • FIG. 2 is a flowchart of a data management method provided by an embodiment of the present application. Referring to Figure 2, the method includes:
  • 201 Receive a data query request from a terminal, where the data query request carries the identifier of the front-end device, a first start time, and a first end time.
  • the time type of the first start time and the first end time is standard time, and the standard time The time type of the start time and end time for storing data for this server.
  • the time period between the time and the end time is the first time period.
  • the first time period is included in the time period between the first start time and the first end time.
  • the first time difference information is used to indicate that the front-end device is The time difference between the time zone in the first time period and the standard time.
  • the method provided by the embodiment of the present application obtains the target data and the first data collected by the front-end device according to the identifier, the first start time and the first end time of the front-end device carried in the data query request when receiving the data query request of the terminal
  • the time difference information and the start time and end time of the target data are returned to the terminal. Since the first time difference information is used to indicate the time difference between the time zone time when the front-end device is collecting target data and the standard time, the terminal can use the first time difference information Convert the start time and end time of the target data to the time zone time of the front-end device and display it.
  • the above solution supports the front-end equipment in different time zones to access the server.
  • the front-end equipment and the server can be in different time zones. Different front-end equipment can be in different time zones. Data management needs of devices in multiple time zones.
  • FIG. 3 is a flowchart of a data management method provided by an embodiment of the present application. Referring to FIG. 3, the method includes:
  • the server sends a data query request to the server, where the data query request carries the identifier of the front-end device, the first start time, and the first end time.
  • the time type of the first start time and the first end time is standard time, and the standard time The time type of the start time and end time for storing data for this server;
  • the 302. Receive the target data sent by the server, the first time difference information, and the start time and end time of the target data.
  • the time period between the start time and the end time of the target data is the first time period.
  • the first time period includes In the time period between the first start time and the first end time, the first time difference information is used to indicate the time difference between the time zone time of the front-end device in the first time period and the standard time;
  • the time type of the second start time and the second end time is that of the front-end device Time zone time
  • the method provided in the embodiment of the present application sends a data query request to the server, and upon receiving the target data returned by the server, the first time difference information, and the start time and end time of the target data, according to the first time difference information, the target data
  • the start time and end time are converted to the time zone time of the front-end device and displayed.
  • the above solution supports the front-end devices in different time zones to access the server.
  • the front-end devices can be in different time zones with the server, different front-end devices can be in different time zones, and the same front-end device can be in different time zones in different time periods to meet the front-end requirements. Data management needs of devices in multiple time zones.
  • FIG. 4 is a flowchart of a data management method provided by an embodiment of the present application. Referring to Figure 4, the method includes:
  • the server obtains the time zone strategy of the server and the time zone strategy of the front-end device.
  • multiple time zone policies may be configured in the server, and these time zone policies may be divided into two types, one is the server's time zone strategy, and the other is the time zone strategy of the front-end device.
  • the time zone policy includes the policy type, time zone, time to enter daylight saving time, time to exit daylight saving time, and the time difference between daylight saving time and winter time.
  • the type of policy is used to distinguish the time zone policy between the front-end device and the server.
  • the time zone can be East Second District, East Eight District, etc. If the time zone where the device is located is daylight saving time from 13:00 on March 1 to 15:00 on October 1 every year, the time to enter daylight saving time is March At 13:00 on the 1st, daylight saving time is 15:00 on October 1.
  • the configuration of the above time zone strategy may be configured through a web page (web page), or through an SDK (Software Development Kit) interface.
  • the specific implementation process of configuring the time zone policy may include the following three steps a to c:
  • Step a Configure the server's time zone strategy through the web page.
  • the user can log in to the configuration page of the time zone policy on the terminal, and the user can enter and submit the server's time zone policy on the configuration web page, triggering the terminal to send the server's time zone policy to the server, and the server storing the time zone policy, thereby Complete the configuration of the server's time zone policy.
  • the server's time zone strategy is the default time zone strategy. If the front-end device does not specify the time zone strategy it uses, the server can use the server's time zone strategy by default.
  • Step b Configure the time zone policy of the front-end device through the SDK interface.
  • the terminal can call the server SDK interface (cloud storage SDK interface) to connect to the server and add the time zone policy of the front-end device. After the operation is successful, the SDK interface can return a unique policy ID (Identification) to the terminal, where the policy ID refers to The identification of the time zone strategy.
  • server SDK interface cloud storage SDK interface
  • the SDK interface can return a unique policy ID (Identification) to the terminal, where the policy ID refers to The identification of the time zone strategy.
  • the server can be connected to one or more front-end devices. Accordingly, in step b, the time zone policy of at least one front-end device can be configured through the SDK interface.
  • Step c The server obtains and saves the time zone policy table.
  • the time zone strategy table includes the time zone strategy of the server and the front-end device and the corresponding strategy ID.
  • Each time zone policy includes the policy ID, policy type, time zone, time to enter daylight saving time, time to exit daylight saving time, and the time difference between daylight saving time and winter time. Among them, the policy ID is used to distinguish different time zone policies. Time zone strategy and time zone strategy of the front-end device.
  • the server After the server obtains the time zone policies of the server and each front-end device through the above steps a and b, it can generate the identification of each time zone policy; according to the identification of each time zone policy, the server's time zone policy and the time zone policy of the front-end device, the time zone is generated Strategy table.
  • the server can store the collected data according to the time zone strategy of each front-end device and provide it to the terminal for data query.
  • the above method only uses the configuration of the server's time zone policy through the web page and the time zone policy of the front-end device through the SDK interface as an example. It can be understood that the server's time zone policy can also be configured through the SDK interface. The time zone strategy can also be configured through a webpage, which is not limited in the embodiments of the present application.
  • FIG. 5 is a flowchart of configuring a time zone strategy provided by an embodiment of the present application.
  • the server may include a video management service module and a data collection plan management service module , Video access service module and video storage service module.
  • the video management service module is used to manage the configuration of the time zone strategy and the storage of video data;
  • the data collection plan management service module is used to configure the data collection plan (recording plan);
  • the video access service module is used to receive the video data sent by the front-end device ;
  • Video storage service module is used to store video data.
  • the data collection plan management service module can synchronize the time zone strategy table from the video management service module in time, including the time zone strategy of the server and the time zone strategy of the front-end device. For example, the video management service module may send the time zone strategy table to the data collection plan management service module at regular time or in real time. In addition, the data collection plan management service module can synchronize the time zone policy table to the video access service module in time. For example, the data collection plan management service module can send the time zone policy table to the video access service module at regular or real time.
  • FIG. 5 illustrates the integration of functions of four modules, such as a video management service module, a data collection plan management service module, a video access service module, and a video storage service module, on a server.
  • the above four The interaction process of modules is the interaction process between modules in the same server. It can be understood that the functions of each of the above modules can also be provided by a server, that is, the interaction process of the above four modules is actually an interaction process between the four servers, and this embodiment of the present application does not do this limited.
  • the server obtains data from the front-end device for storage.
  • the server may obtain and store the data collected by the front-end device according to the data collection plan.
  • the data collection plan includes the identification of the front-end device, a data collection time template, and an identification of a time zone strategy.
  • the data collection time template is used to indicate the time period during which the front-end device performs data collection.
  • the time zone strategy includes time zone information of the front-end device.
  • the configuration process of the data collection plan is the same as the configuration process of the time zone strategy.
  • the terminal can configure the data collection plan to the server through the SDK interface.
  • the data collection plan can also be configured through the web page, which is not limited in the embodiments of the present application .
  • the server may store the data of any front-end device by: acquiring the time zone policy of the front-end device according to the identifier of the time zone policy of the front-end device in the data collection plan; and according to the time zone of the front-end device
  • the strategy is to store the data collected by the front-end device in sections to obtain multiple pieces of data.
  • the multiple pieces of data are collected by the front-end device in multiple time zones.
  • the multiple pieces of data correspond to multiple time difference information.
  • the time difference information corresponding to each piece of data is used to Instruct the front-end device to collect the time difference between the time zone of each piece of data and the standard time.
  • the server When the server receives the data collected by any front-end device, it can query the time zone policy table according to the time zone policy identifier of the front-end device to determine the time zone strategy of the front-end device, so as to know the time difference information of the front-end device in each time period.
  • the server The data collected in the same time zone can be divided into one segment based on the time difference information of the front-end device in each time period, and the data collected in the same time zone can be divided into one segment, so that one segment of data corresponds to one time difference information.
  • the data collected by the front-end device in each time zone and each time zone can be better distinguished, which is convenient for users to perform query operations.
  • FIG. 6 is a flowchart of acquiring data provided by an embodiment of the present application.
  • the terminal can configure the data collection plan to the data collection plan management service module through the SDK interface.
  • the data collection plan management service module is used to deliver the data collection plan to the video access service module.
  • the video access service module According to the information in the data collection plan, perform the task of obtaining real-time data streams from the front-end device.
  • the video access service module After the video access service module obtains the data, it can write the data to the video storage service module.
  • the video access service module needs to first communicate with the video management service module to apply for storage resources.
  • the video access service module can The video management service module sends an application resource agreement, which includes the encoder ID of the front-end device, the start time of the video data, and time difference information of the front-end device (the time difference between the time zone time of the front-end device and the standard time).
  • the video management service module After receiving the application resource agreement, the video management service module can return the applied storage resources to the video access service module according to the resource allocation strategy (load balancing strategy).
  • the video management service module can record the time zone information of the front-end device.
  • the video management service module may record the time zone information of the front-end device in the time zone information table.
  • a time zone information table is provided.
  • the time zone information table may record the encoder ID of the front-end device and the time difference information of the front-end device in at least one time period.
  • the video management service module can add a record to the time zone information table each time the time difference changes.
  • Table 1 the time zone of the front-end device with the encoder ID Test1 from 23:00 on January 12, 2018 to 23:00 on April 12, 2018 is East 3, and the time difference is 3 hours ( hour)
  • the front-end device changed at 23:00 on April 12, 2018, from East 3 to East 2 and the time difference was changed to 2 hours
  • the server can add a record to the video management service module. Since the time difference has changed from 3 hours to 2 hours, therefore, 23:00 on April 12, 2018 will be changed to 22:00 on April 12, 2018. If there is a change, the start time of the newly added record is 22:00 on April 12, 2018, and the end time is the current time.
  • the reason for the time difference change may also be the change of daylight saving time and winter time, such as the front-end device from summer time to east time, or The device enters daylight saving time from east time.
  • the video access service module When the video access service module writes the video data to the video storage service module, it can provide the time difference information of the video data (the time difference information of the front-end device that sent the video data) to the video storage service module, and the video storage service module will The information is saved in the storage block device for backup.
  • Video data is written into the underlying block device by the video storage service module for storage.
  • FIG. 7 is a structural diagram of a data storage provided by an embodiment of the present application.
  • the video storage service module may divide the video data into several video segments, such as video segments 1 and video segment 2.
  • the segment information corresponding to each video segment includes the start time, end time, and time difference from the UTC time of the segment.
  • the video management service module can use standard time for data storage.
  • the terminal sends a data query request to the server.
  • the data query request carries the identifier of the front-end device, the first start time, and the first end time.
  • the time type of the first start time and the first end time is standard time.
  • the standard Time is the time type of the start time and end time of the data stored by the server.
  • the user can query, download, or playback the data collected by a front-end device, where the query operation needs to be performed before downloading and playback, that is, , You need to query the data collected by the front-end device first.
  • the user may input the identifier of the front-end device to be queried and the query time period on the terminal, including the start time and the end time.
  • the terminal when the terminal obtains the identifier, start time and end time of the front-end device input by the user and the time of the input start time and end time
  • the terminal may use the input start time and end time as the first start time and the first end time, and send the data query request to the server.
  • the time type of the start time and end time of the server storage data is UTC time
  • the time type of the start time and end time entered by the user on the terminal is also UTC time
  • the terminal can directly enter the start time and end time entered by the user As the first start time and the first end time, in this way, the time type of the first start time and the first end time is UTC time.
  • the terminal needs to convert the start time and end time entered by the user first Is a Unix timestamp, for example, the terminal can convert UTC time to Unix timestamp through the SDK interface, and use the converted start time and end time as the first start time and the first end time. In this way, the first start time and the first end time
  • the time type of an end time is Unix timestamp.
  • the server When receiving the data query request from the terminal, the server obtains the target data, the first time difference information and the target data collected by the front-end device according to the identifier of the front-end device, the first start time, and the first end time Start time and end time.
  • the time period between the start time and the end time of the target data is a first time period
  • the first time period is included in the time period between the first start time and the first end time
  • the first time difference information It is used to indicate the time difference between the time zone time of the front-end device in the first time period and the standard time.
  • the server when the server receives the data query request of the terminal, it may query the stored data according to the first start time and the first end time carried in the data query request. Since the time type of the start time and end time of the server storing data is standard time, and the time type of the first start time and first end time is also standard time, therefore, in a possible implementation manner, the server obtains the target data.
  • the process of the first time difference information and the start time and end time of the target data includes: according to the identifier of the front-end device, the first start time and the first end time, query the stored data segments, the corresponding data segment Time difference information and the start time and end time of each data segment; when the time period between the start time and end time of any data segment is included in the time period between the first start time and the first end time , Use the queried data segment as the target data, the time difference information corresponding to the queried data segment as the first time difference information, and the start time and end time of the queried data segment as the start time and end of the
  • the server stores the data collected by the front-end device in segments, and when querying the target data, when the start time and end time of any data segment are included between the first start time and the first end time During the time period, the server can return the data to the terminal as a query result.
  • the server queries the target data it can also query the start time, end time, and first time difference information recorded in the information of the target data.
  • the server sends the target data, the first time difference information, and the start time and end time of the target data to the terminal.
  • the server when the server returns the target data as a query result to the terminal, it can also return the start time and end time of the target data and the corresponding first time difference information to the terminal.
  • the terminal converts the start time and end time of the target data into the second start time and the second time according to the first time difference information Second end time, the time type of the second start time and the second end time is the time zone time of the front-end device.
  • the second start time is the time when the front-end device starts collecting the target data
  • the second end time is the time when the front-end device ends collecting the target data
  • the terminal can also determine after receiving the target data returned by the server The local time zone time when the front-end device collected the target data.
  • the first time difference information indicates the time difference between the time zone time and the standard time when the front-end device collects the target data. Therefore, the terminal can convert the start time and end time of the target data into the local time zone time of the front-end device according to the first time difference information corresponding to the target data.
  • the terminal needs to convert the UTC time to the time zone time of the front-end device, for example, the terminal The UTC time can be converted to the time zone time of the front-end device through the SDK interface, thereby obtaining the second start time and the second end time.
  • the terminal needs to convert the Unix timestamp to the time zone time of the front-end device, For example, the terminal can convert the Unix timestamp to the time zone time of the front-end device through the SDK interface, thereby obtaining the second start time and the second end time.
  • the terminal displays the target data and the second start time and the second end time.
  • the terminal may display the target data.
  • the terminal can also display the local time zone time when the front-end device collects the target data, that is, the second start time and the second end time, so that the user can know the start time and end time of the front-end device to collect the data, In this way, an event that occurs within the collection range of the front-end device within this time period is known.
  • the terminal when the terminal displays the target data and the second start time and the second end time, it can also display the first time difference information corresponding to the target data, so that the user can know that the front-end device is collecting the target data The time difference between the time zone and the standard time.
  • the technical solutions provided by the embodiments of the present application simultaneously support data management of terminals, servers, and front-end devices under different time zone strategies.
  • the front-end equipment that supports multiple time zones can be accessed.
  • the encoder 1 of the front-end equipment 1 is in the east two area
  • the encoder 2 of the front-end equipment 2 is in the east eight area.
  • the system automatically recognizes that the front-end device 1 uses the local time of the East 2 area for query, playback, and download operations, and the front-end device 2 uses the local time of the East 8 area for query, playback, and download operations.
  • the above technical solution also supports multiple time zone strategy data management methods of the same front-end device.
  • the time zone of the encoder 1 of the front-end device 1 is the east two zone in January. In February, it was changed to the east three zone due to human factors.
  • the system automatically recognizes the time zone difference in different time periods. , Returns the corresponding query, playback, and download results.
  • the technical solution supports the method of querying data according to standard time.
  • the server In addition to returning data, the server also returns time zone information corresponding to the data.
  • the method provided by the embodiment of the present application obtains the target data and the first data collected by the front-end device according to the identifier, the first start time and the first end time of the front-end device carried in the data query request when receiving the data query request of the terminal
  • the time difference information and the start time and end time of the target data are returned to the terminal. Since the first time difference information is used to indicate the time difference between the time zone time when the front-end device is collecting the target data and the standard time, the terminal can use the first time difference information, Convert the start time and end time of the target data to the time zone time of the front-end device and display it.
  • the above solution supports the front-end devices in different time zones to access the server.
  • the front-end devices can be in different time zones with the server, different front-end devices can be in different time zones, and the same front-end device can be in different time zones in different time periods to meet the front-end requirements. Data management needs of devices in multiple time zones.
  • the embodiment corresponding to FIG. 4 is for the data query process when the input query time is the standard time (UTC time), and the query time entered by the user on the terminal may also be the time zone time of the front-end device.
  • the data in this case The query process will be described in the embodiment corresponding to FIG. 8.
  • FIG. 8 is a flowchart of a data management method provided by an embodiment of the present application. Referring to Figure 8, the method includes:
  • the server obtains the time zone policy of the server and the time zone policy of the front-end device.
  • the server obtains data from the front-end device for storage.
  • steps 801 to 802 are the same as steps 401 to 402, and are not repeated here.
  • the terminal sends a time difference query request to the server.
  • the time type of the third start time and the third end time is that of the front-end device. Time zone time.
  • the time difference query request carries the identifier of the front-end device, the third start time, and the third end time.
  • the time difference query request is used to obtain the time difference of the front-end device within the time period corresponding to the third start time and the third end time Information, the time difference information is used to indicate the time difference between the time zone time of the front-end device in the time period and the standard time.
  • the user can input the identifier of the front-end device to be queried and the query time period on the terminal, and the start time and end time of the query time period adopt the local time zone time of the front-end device, that is, the third start time And the third end time. Since the time for storing the underlying data of the server is standard time, the terminal needs to perform time conversion according to the time difference between the time zone time of the front-end device and the standard time, and convert the start time and end time of the query period to standard time before proceeding. Data query operation.
  • the terminal may carry the identifier of the front-end device, the third start time and the third end time in the time difference query request and send it to the server, so that the server can return the time difference of the front-end device to be queried within the query time period information.
  • the terminal can call the SDK interface to communicate with the server and send a time difference query request to the server.
  • the server obtains the second time difference information of the front-end device within the second time period, and sends the second time difference information to the terminal, where the second time period is the third In the time period between the start time and the third end time, the second time difference information is used to indicate the time difference between the time zone time of the front-end device in the second time period and the standard time.
  • the process for the server to obtain the second time difference information may include: querying the time zone information table according to the third start time and the third end time to obtain the time difference information, and the time zone information table is used to record the Time difference information of the front-end device in at least one time period.
  • the server may obtain the time difference information in the second time period, and then may return the obtained time difference information to the terminal.
  • the terminal converts the third start time and the third end time to the first start time and the first end time according to the time difference information, and sends a data query to the server request.
  • the data query request carries the identifier of the front-end device, the first start time and the first end time, the time type of the first start time and the first end time is standard time, and the standard time is the start of the server storing data Time type of time and end time.
  • the terminal may convert the third start time and the third end time to standard time according to the time difference information, that is, the first start time And the first end time.
  • the terminal needs to enter the start time and end entered by the user
  • the time is converted to UTC time.
  • the terminal can convert the time zone time of the front-end device to UTC time through the SDK interface, and use the converted time as the first start time and the first end time.
  • the terminal needs to input the start time and The end time is converted into a Unix timestamp.
  • the terminal can convert the time zone time of the front-end device to a Unix timestamp through the SDK interface, and use the converted time as the first start time and the first end time.
  • the terminal may carry the identifier of the front-end device in the data query request, The first start time and the first end time are sent to the server for data query.
  • the server When receiving the data query request from the terminal, the server acquires the target data, first time difference information and the target data collected by the front-end device according to the identifier of the front-end device, the first start time, and the first end time Start time and end time.
  • the server sends the target data, the first time difference information, and the start time and end time of the target data to the terminal.
  • the terminal converts the start time and end time of the target data to the second start time and the second time according to the first time difference information Second end time, the time type of the second start time and the second end time is the time zone time of the front-end device.
  • the terminal displays the target data and the second start time and the second end time.
  • steps 806 to 809 are the same as steps 404 to 407, and will not be repeated here.
  • FIG. 9 is a flowchart of a data query provided by an embodiment of the present application.
  • the terminal first obtains the time difference information of the front-end device during the query period from the server, and after the server returns the time difference information to the terminal, The terminal performs the data query operation again, and the server returns the data query result to the terminal.
  • the server may support access of multiple front-end devices, the multiple front-end devices may be in different time zones, and the same front-end device may have different time zones in different time periods.
  • the terminal can obtain the time difference information of the front-end device within the time period input by the user from the server, and then according to the server After returning the time difference information, the time zone time of the front-end device is converted to standard time, and then the data query operation is performed.
  • the above technical solutions simultaneously support data management of terminals, servers, and front-end devices under different time zone strategies.
  • the front-end equipment that supports multiple time zones can be accessed.
  • the encoder 1 of the front-end equipment 1 is in the east two area
  • the encoder 2 of the front-end equipment 2 is in the east eight area.
  • the system automatically recognizes that the front-end device 1 uses the local time of the East 2 area for query, playback, and download operations, and the front-end device 2 uses the local time of the East 8 area for query, playback, and download operations.
  • the above technical solution also supports multiple time zone strategy data management methods of the same front-end device.
  • the time zone of the encoder 1 of the front-end device 1 in January is the east two zone.
  • the time zone is changed to the east three zone.
  • the system automatically recognizes the time zone in different time periods. Difference, return the corresponding query, playback, download results.
  • the server can support two data query methods.
  • One is that the user enters standard time (UTC time) on the terminal.
  • the time of the data returned by the query result is the time zone of the front-end device.
  • the specific process is shown in the embodiment corresponding to FIG. 4. Show.
  • the other is that the user enters the time zone time of the front-end device on the terminal, and the time of the data returned by the query result is the time zone time of the front-end device.
  • the specific process is shown in the embodiment corresponding to FIG. 8.
  • the method provided by the embodiment of the present application obtains the target data and the first data collected by the front-end device according to the identifier, the first start time and the first end time of the front-end device carried in the data query request when receiving the data query request of the terminal
  • the time difference information and the start time and end time of the target data are returned to the terminal. Since the first time difference information is used to indicate the time difference between the time zone time when the front-end device is collecting the target data and the standard time, the terminal can use the first time difference information, Convert the start time and end time of the target data to the time zone time of the front-end device and display it.
  • the above solution supports the front-end devices in different time zones to access the server.
  • the front-end devices can be in different time zones with the server, different front-end devices can be in different time zones, and the same front-end device can be in different time zones in different time periods to meet the front-end requirements. Data management needs of devices in multiple time zones.
  • FIG. 10 is a schematic structural diagram of a data management device according to an embodiment of the present application. 10, the device includes:
  • the receiving module 1001 is configured to receive a data query request of the terminal, where the data query request carries the identifier of the front-end device, the first start time and the first end time, and the time type of the first start time and the first end time is standard time ,
  • the standard time is the time type of the start time and end time of the data stored by the server;
  • the obtaining module 1002 is configured to obtain target data, first time difference information, and start time and end time of the target data collected by the front-end device according to the identifier of the front-end device, the first start time, and the first end time.
  • the time period between the start time and the end time of the target data is the first time period
  • the first time period is included in the time period between the first start time and the first end time
  • the first time difference information is used to indicate The time difference between the time zone time of the front-end device in the first time period and the standard time;
  • the sending module 1003 is configured to send the target data, the first time difference information, and the start time and end time of the target data to the terminal.
  • the obtaining module 1002 is used to:
  • the first start time, and the first end time query the stored data segments, the time difference information corresponding to each data segment, and the start time and end time of each data segment;
  • the queried data segment is used as the target data, and the query
  • the time difference information corresponding to the obtained data segment is used as the first time difference information, and the start time and end time of the queried data segment are used as the start time and end time of the target data.
  • the receiving module 1001 is further configured to receive a time difference query request of the terminal, where the time difference query request carries the identifier of the front-end device, a third start time, and a third end time, and the third start time and The time type of the third end time is the time zone time of the front-end device;
  • the obtaining module 1002 is further used to obtain second time difference information of the front-end device within a second time period, where the second time period is a time period between the third start time and the third end time, and the second time difference information Used to indicate the time difference between the time zone time of the front-end device in the second time period and the standard time;
  • the sending module 1003 is also used to send the second time difference information to the terminal.
  • the acquiring module 1002 is configured to query a time zone information table according to the third start time and the third end time to obtain the time difference information.
  • the time zone information table is used to record at least one of the front-end devices. Time difference information within the time period.
  • the acquiring module 1002 is further configured to acquire and store the data collected by the front-end device according to a data collection plan.
  • the data collection plan includes the identification of the front-end device, a data collection time template, and a time zone strategy. ID, the data collection time template is used to indicate the time period for the front-end device to perform data collection, and the time zone strategy includes the time zone information of the front-end device.
  • the obtaining module 1002 is further used to obtain a time zone policy table.
  • the time zone policy table includes the time zone policies of the server and the front-end device and corresponding policy identifiers.
  • Each time zone policy includes a policy type, time zone, The time to enter daylight saving time, the time to exit daylight saving time, and the time difference between daylight saving time and winter time.
  • This type of policy includes the time zone policy of the server and the time zone policy of the front-end device.
  • the obtaining module 1002 is used to:
  • the data collected by the front-end device is stored in segments to obtain multiple segments of data.
  • the multiple segments of data are collected by the front-end device in multiple time zones.
  • the multiple segments of data correspond to multiple time difference information.
  • Each segment of data The corresponding time difference information is used to instruct the front-end device to collect the time difference between the time zone time of each piece of data and the standard time.
  • the apparatus obtains the target data and the first data collected by the front-end device by receiving the data query request of the terminal according to the identifier of the front-end device, the first start time and the first end time carried in the data query request
  • the time difference information and the start time and end time of the target data are returned to the terminal. Since the first time difference information is used to indicate the time difference between the time zone time when the front-end device is collecting the target data and the standard time, the terminal can use the first time difference information, Convert the start time and end time of the target data to the time zone time of the front-end device and display it.
  • the above solution supports the front-end devices in different time zones to access the server.
  • the front-end devices can be in different time zones with the server, different front-end devices can be in different time zones, and the same front-end device can be in different time zones in different time periods to meet the front-end requirements. Data management needs of devices in multiple time zones.
  • FIG. 11 is a schematic structural diagram of a data management device according to an embodiment of the present application.
  • the device includes:
  • the sending module 1101 is used to send a data query request to the server, where the data query request carries the identifier of the front-end device, the first start time and the first end time, and the time type of the first start time and the first end time is standard time ,
  • the standard time is the time type of the start time and end time of the data stored by the server;
  • the receiving module 1102 is configured to receive the target data sent by the server, the first time difference information, and the start time and end time of the target data.
  • the time period between the start time and the end time of the target data is the first time period.
  • a time period is included in the time period between the first start time and the first end time, and the first time difference information is used to indicate the time difference between the time zone time of the front-end device in the first time period and the standard time;
  • the conversion module 1103 is configured to convert the start time and end time of the target data into a second start time and a second end time according to the first time difference information, and the time type of the second start time and the second end time is The time zone time of the front-end device;
  • the display module 1104 is configured to display the target data and the second start time and the second end time.
  • the sending module 1101 is configured to input the input when the input identifier, start time, and end time of the front-end device are obtained and the input start time and end time are of the standard time The start time and the end time are used as the first start time and the first end time to send the data query request to the server.
  • the sending module 1101 is further configured to send the time difference query request to the server when the input identifier of the front-end device, the third start time, and the third end time are obtained, the third start time
  • the time type of the third end time is the time zone time of the front-end device, and the time difference query request carries the identifier of the front-end device, the third start time, and the third end time;
  • the receiving module 1102 is further configured to receive second time difference information sent by the server, and the second time difference information is used to indicate the time difference between the time zone time of the front-end device in the second time period and the standard time, and the second time period is the The period between the third start time and the third end time;
  • the conversion module 1103 is further configured to convert the third start time and the third end time to the first start time and the first end time according to the time difference information.
  • the apparatus obtains the target data and the first data collected by the front-end device by receiving the data query request of the terminal according to the identifier of the front-end device, the first start time and the first end time carried in the data query request
  • the time difference information and the start time and end time of the target data are returned to the terminal. Since the first time difference information is used to indicate the time difference between the time zone time when the front-end device is collecting the target data and the standard time, the terminal can use the first time difference information, Convert the start time and end time of the target data to the time zone time of the front-end device and display it.
  • the above solution supports the front-end devices in different time zones to access the server.
  • the front-end devices can be in different time zones with the server, different front-end devices can be in different time zones, and the same front-end device can be in different time zones in different time periods to meet the front-end requirements. Data management needs of devices in multiple time zones.
  • the data management device provided in the above embodiments is only exemplified by the division of the above functional modules. In practical applications, the above functions can be allocated by different functional modules according to needs. The internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
  • the data management device and the data management method embodiment provided in the above embodiments belong to the same concept. For the specific implementation process, refer to the method embodiment, and details are not described here.
  • the terminal 1200 may be: a smartphone, a tablet computer, an MP3 player (Moving Pictures Experts Group Audio III), motion picture expert compression standard audio level 3), MP4 (Moving Pictures Experts Group Audio Audio Layer IV, motion picture expert compression standard audio Level 4) Player, laptop or desktop computer.
  • the terminal 1200 may also be called other names such as user equipment, portable terminal, laptop terminal, and desktop terminal.
  • the terminal 1200 includes a processor 1201 and a memory 1202.
  • the processor 1201 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on.
  • the processor 1201 may adopt at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). achieve.
  • the processor 1201 may also include a main processor and a coprocessor.
  • the main processor is a processor for processing data in a wake-up state, also known as a CPU (Central Processing Unit, central processing unit); the coprocessor is A low-power processor for processing data in the standby state.
  • the processor 1201 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used to render and draw content that needs to be displayed on the display screen.
  • the processor 1201 may further include an AI (Artificial Intelligence, Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
  • AI Artificial Intelligence, Artificial Intelligence
  • the memory 1202 may include one or more computer-readable storage media, which may be non-transitory.
  • the memory 1202 may also include a high-speed random access memory, and non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices.
  • non-transitory computer-readable storage medium in the memory 1202 is used to store at least one instruction that is executed by the processor 1201 to implement data management provided by the method embodiments in the present application method.
  • the terminal 1200 may optionally include a peripheral device interface 1203 and at least one peripheral device.
  • the processor 1201, the memory 1202, and the peripheral device interface 1203 may be connected by a bus or a signal line.
  • Each peripheral device may be connected to the peripheral device interface 1203 through a bus, a signal line, or a circuit board.
  • the peripheral device includes: at least one of a radio frequency circuit 1204, a display screen 1205, a camera 1206, an audio circuit 1207, a positioning component 1208, and a power supply 1209.
  • the peripheral device interface 1203 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1201 and the memory 1202.
  • the processor 1201, the memory 1202, and the peripheral device interface 1203 are integrated on the same chip or circuit board; in some other embodiments, any one of the processor 1201, the memory 1202, and the peripheral device interface 1203 or Both can be implemented on a separate chip or circuit board, which is not limited in this embodiment.
  • the radio frequency circuit 1204 is used to receive and transmit RF (Radio Frequency) signals, also called electromagnetic signals.
  • the radio frequency circuit 1204 communicates with the communication network and other communication devices through electromagnetic signals.
  • the radio frequency circuit 1204 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal.
  • the radio frequency circuit 1204 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and so on.
  • the radio frequency circuit 1204 can communicate with other terminals through at least one wireless communication protocol.
  • the wireless communication protocol includes but is not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity, wireless fidelity) networks.
  • the radio frequency circuit 1204 may further include a circuit related to NFC (Near Field Communication), which is not limited in this application.
  • the display screen 1205 is used to display a UI (User Interface).
  • the UI may include graphics, text, icons, video, and any combination thereof.
  • the display screen 1205 also has the ability to collect touch signals on or above the surface of the display screen 1205.
  • the touch signal may be input to the processor 1201 as a control signal for processing.
  • the display screen 1205 can also be used to provide virtual buttons and / or virtual keyboards, also called soft buttons and / or soft keyboards.
  • the display screen 1205 may be one display screen 1205, which is provided with the front panel of the terminal 1200; in other embodiments, there may be at least two display screens 1205, which are respectively provided on different surfaces of the terminal 1200 or have a folded design; In still other embodiments, the display screen 1205 may be a flexible display screen, which is disposed on the curved surface or the folding surface of the terminal 1200. Even, the display screen 1205 can also be set as a non-rectangular irregular figure, that is, a special-shaped screen.
  • the display screen 1205 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode, organic light emitting diode) and other materials.
  • the camera assembly 1206 is used to collect images or videos.
  • the camera assembly 1206 includes a front camera and a rear camera.
  • the front camera is set on the front panel of the terminal, and the rear camera is set on the back of the terminal.
  • the camera assembly 1206 may also include a flash.
  • the flash can be a single-color flash or a dual-color flash. Dual color temperature flash refers to the combination of warm light flash and cold light flash, which can be used for light compensation at different color temperatures.
  • the audio circuit 1207 may include a microphone and a speaker.
  • the microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals and input them to the processor 1201 for processing, or input them to the radio frequency circuit 1204 to implement voice communication. For the purpose of stereo collection or noise reduction, there may be multiple microphones, which are respectively installed in different parts of the terminal 1200.
  • the microphone can also be an array microphone or an omnidirectional acquisition microphone.
  • the speaker is used to convert the electrical signal from the processor 1201 or the radio frequency circuit 1204 into sound waves.
  • the speaker can be a traditional thin-film speaker or a piezoelectric ceramic speaker.
  • the speaker When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves audible by humans, but also convert electrical signals into sound waves inaudible to humans for distance measurement and other purposes.
  • the audio circuit 1207 may also include a headphone jack.
  • the positioning component 1208 is used to locate the current geographic location of the terminal 1200 to implement navigation or LBS (Location Based Service, location-based service).
  • the positioning component 1208 may be a positioning component based on the GPS (Global Positioning System) of the United States, the Beidou system of China, the Grenas system of Russia, or the Galileo system of the European Union.
  • GPS Global Positioning System
  • the power supply 1209 is used to supply power to various components in the terminal 1200.
  • the power source 1209 may be alternating current, direct current, disposable batteries, or rechargeable batteries.
  • the rechargeable battery may support wired charging or wireless charging.
  • the rechargeable battery can also be used to support fast charging technology.
  • the terminal 1200 further includes one or more sensors 1210.
  • the one or more sensors 1210 include, but are not limited to: an acceleration sensor 1211, a gyro sensor 1212, a pressure sensor 1213, a fingerprint sensor 1214, an optical sensor 1215, and a proximity sensor 1216.
  • the acceleration sensor 1211 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established with the terminal 1200.
  • the acceleration sensor 1211 may be used to detect components of gravity acceleration on three coordinate axes.
  • the processor 1201 may control the touch display 1205 to display the user interface in a landscape view or a portrait view according to the gravity acceleration signal collected by the acceleration sensor 1211.
  • the acceleration sensor 1211 can also be used for game or user movement data collection.
  • the gyro sensor 1212 can detect the body direction and rotation angle of the terminal 1200, and the gyro sensor 1212 can cooperate with the acceleration sensor 1211 to collect a 3D action of the user on the terminal 1200.
  • the processor 1201 can realize the following functions according to the data collected by the gyro sensor 1212: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
  • the pressure sensor 1213 may be disposed on the side frame of the terminal 1200 and / or the lower layer of the touch display 1205.
  • the pressure sensor 1213 can detect the user's grip signal on the terminal 1200, and the processor 1201 can perform left-right hand recognition or shortcut operation according to the grip signal collected by the pressure sensor 1213.
  • the processor 1201 controls the operability control on the UI interface according to the user's pressure operation on the touch display 1205.
  • the operability control includes at least one of a button control, a scroll bar control, an icon control, and a menu control.
  • the fingerprint sensor 1214 is used to collect the user's fingerprint, and the processor 1201 identifies the user's identity according to the fingerprint collected by the fingerprint sensor 1214, or the fingerprint sensor 1214 identifies the user's identity according to the collected fingerprint. When the user's identity is recognized as a trusted identity, the processor 1201 authorizes the user to perform related sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings.
  • the fingerprint sensor 1214 may be provided on the front, back, or side of the terminal 1200. When a physical button or a manufacturer's logo is provided on the terminal 1200, the fingerprint sensor 1214 may be integrated with the physical button or the manufacturer's logo.
  • the optical sensor 1215 is used to collect the ambient light intensity.
  • the processor 1201 may control the display brightness of the touch display 1205 according to the ambient light intensity collected by the optical sensor 1215. Specifically, when the ambient light intensity is high, the display brightness of the touch display 1205 is increased; when the ambient light intensity is low, the display brightness of the touch display 1205 is decreased.
  • the processor 1201 may also dynamically adjust the shooting parameters of the camera assembly 1206 according to the ambient light intensity collected by the optical sensor 1215.
  • the proximity sensor 1216 also called a distance sensor, is usually provided on the front panel of the terminal 1200.
  • the proximity sensor 1216 is used to collect the distance between the user and the front of the terminal 1200.
  • the processor 1201 controls the touch display 1205 to switch from the bright screen state to the breathing state; when the proximity sensor 1216 detects When the distance from the user to the front of the terminal 1200 gradually becomes larger, the processor 1201 controls the touch display 1205 to switch from the screen-holding state to the bright-screening state.
  • FIG. 12 does not constitute a limitation on the terminal 1200, and may include more or fewer components than shown, or combine certain components, or adopt different component arrangements.
  • the server 1300 may have a relatively large difference due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 1301 and One or more memories 1302, wherein at least one instruction is stored in the memory 1302, and the at least one instruction is loaded and executed by the processor 1301 to implement the methods provided by the foregoing method embodiments.
  • processors Central Processing Units, CPU
  • memories 1302 wherein at least one instruction is stored in the memory 1302, and the at least one instruction is loaded and executed by the processor 1301 to implement the methods provided by the foregoing method embodiments.
  • the server may also have components such as a wired or wireless network interface, a keyboard, and input and output interfaces for input and output.
  • the server may also include other components for implementing device functions, which will not be repeated here.
  • a computer-readable storage medium storing at least one instruction, for example, a memory storing at least one instruction, where the at least one instruction is executed by a processor to implement data management in the foregoing embodiment method.
  • the computer-readable storage medium may be read-only memory (Read-Only Memory, ROM), random-access memory (Random Access Memory, RAM), read-only compact disc (Compact Disc Read-Only Memory, CD-ROM), Magnetic tapes, floppy disks, optical data storage devices, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Multimedia (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Electric Clocks (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

La présente invention a trait au domaine du traitement des données et concerne un procédé, un appareil et un système de gestion de données, ainsi qu'un serveur, un terminal et un support de stockage associés. Le procédé selon l'invention consiste : à recevoir une demande d'interrogation de données provenant d'un terminal, ladite demande contenant un identifiant d'un dispositif frontal, une première heure de début et une première heure de fin, un type d'heure de la première heure de début, la première heure de fin étant une heure standard, et l'heure standard étant un type d'heure d'une heure de début et d'une heure de fin pour le stockage de données par un serveur ; à acquérir, en fonction de l'identifiant du dispositif frontal, de la première heure de début et de la première heure de fin, des données cibles collectées par le dispositif frontal, des premières informations de différence d'heure, et une heure de début et une heure de fin des données cibles, les premières informations de différence d'heure servant à indiquer une différence d'heure entre une heure de fuseau horaire du dispositif frontal dans une première durée et l'heure standard ; et à envoyer au terminal les données cibles, les premières informations de différence d'heure, ainsi que l'heure de début et l'heure de fin des données cibles. La présente invention permet de répondre aux besoins de gestion de données d'un dispositif frontal dans des fuseaux horaires multiples.
PCT/CN2019/114426 2018-10-31 2019-10-30 Procédé, appareil et système de gestion de données, et serveur, terminal et support de stockage associés WO2020088542A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811289487.4 2018-10-31
CN201811289487.4A CN111125436B (zh) 2018-10-31 2018-10-31 数据管理方法、装置及系统

Publications (1)

Publication Number Publication Date
WO2020088542A1 true WO2020088542A1 (fr) 2020-05-07

Family

ID=70462990

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/114426 WO2020088542A1 (fr) 2018-10-31 2019-10-30 Procédé, appareil et système de gestion de données, et serveur, terminal et support de stockage associés

Country Status (2)

Country Link
CN (1) CN111125436B (fr)
WO (1) WO2020088542A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4164215A4 (fr) * 2020-06-05 2023-11-22 Hangzhou Hikvision Digital Technology Co., Ltd. Procédé et appareil de lecture vidéo, dispositif électronique et support de stockage lisible par ordinateur

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112818029A (zh) * 2021-01-13 2021-05-18 远景智能国际私人投资有限公司 时序数据的查询方法、装置、设备及可读存储介质
WO2023024073A1 (fr) * 2021-08-27 2023-03-02 Oppo广东移动通信有限公司 Procédé de communication sans fil, dispositif terminal et dispositif de réseau
CN115174292B (zh) * 2022-05-25 2024-03-22 青岛海尔科技有限公司 设备数据管理平台

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101174982A (zh) * 2007-11-16 2008-05-07 华为技术有限公司 一种实现多时区数据信息统一的方法、装置及系统
CN102244758A (zh) * 2011-07-08 2011-11-16 杭州华三通信技术有限公司 一种基于录像文件的数据获取方法和设备
CN103092959A (zh) * 2013-01-18 2013-05-08 中兴通讯股份有限公司 任务时区处理方法及装置

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7676288B2 (en) * 2006-06-23 2010-03-09 Invensys Systems, Inc. Presenting continuous timestamped time-series data values for observed supervisory control and manufacturing/production parameters
US9483615B2 (en) * 2007-08-10 2016-11-01 Smiths Medical Asd, Inc. Communication of original and updated pump parameters for a medical infusion pump
JP2010025729A (ja) * 2008-07-18 2010-02-04 Yamatake Corp プロセス監視システムおよび方法
JP5210216B2 (ja) * 2009-03-26 2013-06-12 みずほ情報総研株式会社 情報処理システム、制御方法及びプログラム、並びに、グローバルキャッシュマネージメントシステム
CN101873456B (zh) * 2009-04-24 2012-02-08 上海乐金广电电子有限公司 数字视频录像机上的录像数据再现装置及方法
US9361594B2 (en) * 2012-09-24 2016-06-07 Sap Se Generating time slot for managing time across multiple time zones
JP2015014515A (ja) * 2013-07-05 2015-01-22 キヤノン株式会社 ユーザーから現地時刻を取得した場合におけるタイムゾーンの設定方法
CN103986944B (zh) * 2014-06-05 2017-10-17 西安诺瓦电子科技有限公司 显示终端集群播控方法、显示终端及显示终端集群管理端
CN105338297B (zh) * 2014-08-11 2019-03-12 杭州海康威视系统技术有限公司 一种视频数据存储及回放系统、装置和方法
WO2016065617A1 (fr) * 2014-10-31 2016-05-06 Splunk Inc. Réglage automatique d'estampilles temporelles à partir de systèmes à distance sur la base de différences de créneaux horaires
CN105989048B (zh) * 2015-02-05 2019-12-24 浙江大华技术股份有限公司 一种数据记录处理方法、设备及系统
CN106487895A (zh) * 2016-10-14 2017-03-08 深圳市欧瑞博电子有限公司 定时控制方法和装置
CN108206933B (zh) * 2016-12-16 2020-05-15 杭州海康威视数字技术股份有限公司 一种基于视频云存储系统的视频数据获取方法及装置
CN107657058A (zh) * 2017-10-19 2018-02-02 上海大汉三通数据通信有限公司 一种数据的查询方法及相关装置
CN107919933A (zh) * 2017-11-17 2018-04-17 深圳市泉眼网络科技有限公司 一种时间更新的方法、装置、移动终端及存储介质
CN108495183B (zh) * 2018-04-09 2020-12-04 广州酷狗计算机科技有限公司 显示专辑信息的方法和装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101174982A (zh) * 2007-11-16 2008-05-07 华为技术有限公司 一种实现多时区数据信息统一的方法、装置及系统
CN102244758A (zh) * 2011-07-08 2011-11-16 杭州华三通信技术有限公司 一种基于录像文件的数据获取方法和设备
CN103092959A (zh) * 2013-01-18 2013-05-08 中兴通讯股份有限公司 任务时区处理方法及装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4164215A4 (fr) * 2020-06-05 2023-11-22 Hangzhou Hikvision Digital Technology Co., Ltd. Procédé et appareil de lecture vidéo, dispositif électronique et support de stockage lisible par ordinateur

Also Published As

Publication number Publication date
CN111125436B (zh) 2023-08-08
CN111125436A (zh) 2020-05-08

Similar Documents

Publication Publication Date Title
CN110674022B (zh) 行为数据获取方法、装置及存储介质
CN109874312B (zh) 播放音频数据的方法和装置
CN110278464B (zh) 显示榜单的方法和装置
CN110841285B (zh) 界面元素的显示方法、装置、计算机设备及存储介质
WO2020088542A1 (fr) Procédé, appareil et système de gestion de données, et serveur, terminal et support de stockage associés
CN111190748B (zh) 数据共享方法、装置、设备及存储介质
CN113204298B (zh) 显示发布进度的方法、装置、电子设备及存储介质
CN112751679B (zh) 即时通讯消息处理方法、终端及服务器
CN111510482B (zh) 失败网络请求的确定方法、装置及计算机存储介质
CN115378900A (zh) 歌单共享方法、装置、终端及存储介质
CN110636144A (zh) 数据下载的方法和装置
CN112988254B (zh) 管理硬件设备的方法、装置和设备
CN111385525B (zh) 视频监控方法、装置、终端及系统
CN110471614B (zh) 一种存储数据的方法、检测终端的方法及装置
CN116842047A (zh) 缓存更新方法、装置、设备及计算机可读存储介质
CN108401194B (zh) 时间戳确定方法、装置和计算机可读存储介质
CN112612539B (zh) 数据模型卸载方法、装置、电子设备及存储介质
CN112181915B (zh) 执行业务的方法、装置、终端和存储介质
CN110825465B (zh) 日志数据处理方法、装置、电子设备及存储介质
CN111008083B (zh) 页面通信方法、装置、电子设备及存储介质
CN110381155B (zh) 任务管理方法、装置、存储介质及终端
CN112597417B (zh) 页面更新方法、装置、电子设备及存储介质
CN110336881B (zh) 执行业务处理请求的方法和装置
CN111190751B (zh) 基于歌单的任务处理方法、装置、计算机设备及存储介质
CN110941458B (zh) 启动应用程序的方法、装置、设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19878390

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19878390

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 19878390

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 221121)

122 Ep: pct application non-entry in european phase

Ref document number: 19878390

Country of ref document: EP

Kind code of ref document: A1