CN110019494A - Media data processing method and device, storage medium and processor - Google Patents

Media data processing method and device, storage medium and processor Download PDF

Info

Publication number
CN110019494A
CN110019494A CN201710621456.3A CN201710621456A CN110019494A CN 110019494 A CN110019494 A CN 110019494A CN 201710621456 A CN201710621456 A CN 201710621456A CN 110019494 A CN110019494 A CN 110019494A
Authority
CN
China
Prior art keywords
data
preset threshold
time
row
media
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710621456.3A
Other languages
Chinese (zh)
Other versions
CN110019494B (en
Inventor
陈阿南
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201710621456.3A priority Critical patent/CN110019494B/en
Publication of CN110019494A publication Critical patent/CN110019494A/en
Application granted granted Critical
Publication of CN110019494B publication Critical patent/CN110019494B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

This application discloses a kind of media data processing methods and device, storage medium and processor.This method comprises: obtaining the last synchronization time of each material row of media data, wherein synchronization time is the predetermined system time synchronous with media backstage progress data, and an account of media data includes multiple material rows;Judge whether the time interval of last synchronization time of the current time apart from each material row is greater than preset threshold respectively;The material traveling row data for being greater than preset threshold to time interval are synchronous.By the application, solve the problems, such as that client is failed by the material of media backstage change in the related technology.

Description

Media data processing method and device, storage medium and processor
Technical field
This application involves media material fields, are situated between in particular to a kind of media data processing method and device, storage Matter and processor.
Background technique
Original SEMD (Search Engine Marketing Dissector, search engine marketing dissect) system relies on The total matter structure of accounts service that media provide, obtains corresponding material file, and by intermediate interim table, material file is converted It is matched, is finally modified to material table synchronous to reach data at data in interim table, then with true material table.
This scheme of the prior art, since the synchronous structure of accounts consuming time is larger, usually in the (working of daily morning Before) carry out secondary account material structure synchronization;But will lead in this way when client carries out the change of material using media backstage, SEMD system can not receive change (morning next day can just be synchronized to SEMD system again) in time, carry out again when by SEMD system When operation, the incorrectness that will lead to material (the new version number on media backstage is substituted with the legacy data of SEMD system According to), cause client to use the material change failure on media backstage.
Fig. 1 is a kind of schematic diagram of material change of the prior art, and media backstage can exist the material information that yesterday increases newly This morning is synchronized in SEMD system, and material A is consistent on media backstage and SEMD system at this time, if client is in today The unit price of material A is revised as 8.0 from 4.0 from media backstage by afternoon, and SEMD system is synchronous without data at this time, and data are without change Change, unit price or 4.0 of the material A in SEMD system, if access address is modified as BBX from XXA from SEMD system by client, Since the unit price stored in SEMD system is 4.0, after SEMD data are synchronized to media, the access address of material A changes At BBX, unit price or 4.0, client changes failure using the material on media backstage.
Aiming at the problem that client in the related technology is failed by the material of media backstage change, not yet propose at present effective Solution.
Summary of the invention
The main purpose of the application is to provide a kind of media data processing method and device, storage medium and processor, It is failed with the material for solving the problems, such as that client passes through that media backstage is changed in the related technology.
To achieve the goals above, according to the one aspect of the application, a kind of media data processing method is provided.The party Method include: obtain media data each material row last synchronization time, wherein the synchronization time be predetermined system with Media backstage carries out the data synchronous time, and an account of the media data includes multiple material rows;Judgement is current respectively Whether the time interval of the last synchronization time of each material row described in time gap is greater than preset threshold;Between the time It is synchronous every the material traveling row data for being greater than the preset threshold.
Further, between the time for judging upper primary synchronization time of the current time apart from each material row respectively Before whether being greater than preset threshold, the method also includes: receive the setting instruction of input, wherein the setting instruction is used It is configured in the preset threshold;According to setting instruction, the preset threshold is set.
Further, between the time for judging upper primary synchronization time of the current time apart from each material row respectively Before whether being greater than preset threshold, the method also includes: detect the modification frequency of the material row in the media backstage;Root According to preset threshold described in the modification set of frequency.
Further, to the time interval be greater than the preset threshold material traveling row data synchronize include: according to The material row that pre-set categories are greater than the preset threshold to the time interval is classified, and the material row of multiple classifications is obtained; Material information is called to obtain the newest material data of the material row of the multiple classification of service acquisition;It will be described in each material row Newest material data synchronized as data after material data.
To achieve the goals above, according to the another aspect of the application, a kind of media data processing device is provided.The dress Setting includes: acquiring unit, the last synchronization time of each material row for obtaining media data, wherein when described synchronous Between for predetermined system and media backstage progress data synchronous time, an account of the media data includes multiple materials Row;Judging unit, for judging the time interval of last synchronization time of the current time apart from each material row respectively Whether preset threshold is greater than;Synchronization unit, for being greater than the material traveling row data of the preset threshold to the time interval It is synchronous.
Further, described device further include: receiving unit, for judging current time apart from each object respectively Expect whether the time interval of the last synchronization time of row is greater than before preset threshold, receives the setting instruction of input, wherein institute Setting instruction is stated for being configured to the preset threshold;First setting unit, for instructing setting institute according to the setting State preset threshold.
Further, described device further include: detection unit, for judging current time apart from each object respectively Expect whether the time interval of the last synchronization time of row is greater than before preset threshold, detects the material row in the media backstage Modification frequency;Second setting unit is used for the preset threshold according to the modification set of frequency.
It further, include: categorization module to the synchronization unit, for big to the time interval according to pre-set categories Classify in the material row of the preset threshold, obtains the material row of multiple classifications;Module is obtained, for calling material information Obtain the newest material data of the material row of the multiple classification of service acquisition;Processing module, for by the institute of each material row State the material data after newest material data is synchronized as data.
To achieve the goals above, according to the another aspect of the application, a kind of storage medium is provided, the journey including storage Sequence, wherein program executes the media data processing method of the application.
To achieve the goals above, according to the another aspect of the application, a kind of processor is provided, processor is for running Program, wherein program executes the media data processing method of the application when running.
By the application, using following steps: the last synchronization time of each material row of media data is obtained, In, synchronization time is the predetermined system time synchronous with media backstage progress data, and an account of media data includes multiple Material row;Judge whether the time interval of last synchronization time of the current time apart from each material row is greater than default threshold respectively Value;The material traveling row data for being greater than preset threshold to time interval are synchronous, solve client in the related technology and pass through after media The problem of material failure of platform change, and then reached timely synchronized media data material so that client is changed by media backstage Material keep effective effect.
Detailed description of the invention
The attached drawing constituted part of this application is used to provide further understanding of the present application, the schematic reality of the application Example and its explanation are applied for explaining the application, is not constituted an undue limitation on the present application.In the accompanying drawings:
Fig. 1 is a kind of schematic diagram of material change of the prior art;
Fig. 2 is the flow chart according to media data processing method provided by the embodiments of the present application;And
Fig. 3 is the schematic diagram according to media data processing device provided by the embodiments of the present application.
Specific embodiment
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection It encloses.
It should be noted that the description and claims of this application and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to embodiments herein described herein.In addition, term " includes " and " tool Have " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing a series of steps or units Process, method, system, product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include without clear Other step or units listing to Chu or intrinsic for these process, methods, product or equipment.
For ease of description, below to the invention relates to part noun or term be illustrated:
Data are synchronous: data herein are synchronous, refer to and obtain media material data and save to the data of SEMD system In library.
According to an embodiment of the present application, a kind of media data processing method is provided.
Fig. 2 is the flow chart according to the media data processing method of the embodiment of the present application.As shown in Fig. 2, this method includes Following steps:
Step S101 obtains the last synchronization time of each material row of media data, wherein synchronization time is default The system time synchronous with media backstage progress data, an account of media data includes multiple material rows.
Step S102, judge respectively last synchronization time of the current time apart from each material row time interval whether Greater than preset threshold.
Step S103, the material traveling row data for being greater than preset threshold to time interval are synchronous.
By the last synchronization time for obtaining each material row of media data, wherein synchronization time is predetermined system The time synchronous with media backstage progress data, an account of media data includes multiple material rows;When judging current respectively Between the time interval of last synchronization time of each material row of distance whether be greater than preset threshold;Time interval is greater than default The material traveling row data of threshold value are synchronous, solve client in the related technology and asked by what the material of media backstage change failed Topic, and then reached timely synchronized media data material so that client keeps effective effect by the material of media backstage change Fruit.
In the embodiment of the present application, media data can be the media data in SEMD system, an account of media data Family can have several ten million datas, and each account has multiple material rows, if it is same to carry out material matching using account as granularity Step, data volume is huge, and therefore, the data synchronizing frequency of the prior art is lower, and it is subsynchronous can only to carry out one daily, and the application is real The technical solution of example is applied with material behavior granularity, due to the data volume very little of each material row, with material behavior unit into Row synchronizes, and there is no need to generate mass data every time, data volume is smaller, can increase synchronizing frequency.
Each material row has last synchronous time record, and predetermined system can be SEMD system, when synchronous, With material behavior unit, the time of each material row last time synchronization is obtained, judges current time apart from synchronization time last time Time interval, if time interval be greater than preset threshold, just to the material traveling row data synchronization, then using current time as Next hyposynchronous last synchronization time, that is, preset threshold is 15 minutes, then if being 10:05 second of synchronization time In 10:20, progress third is subsynchronous, then using 10:20 as the 4th hyposynchronous last synchronization time.If when current Between 10:13 apart from synchronization time last time less than preset threshold, then without synchronization, reach 10:20 just and will do it same until the time Step.
Optionally, in media data processing method provided by the embodiments of the present application, current time distance is being judged respectively Whether the time interval of the last synchronization time of each material row is greater than before preset threshold, receives the setting instruction of input, Wherein, setting instruction is for being configured preset threshold;Setting preset threshold is instructed according to setting.
User can be configured and adjust to preset threshold, for example, user can set in some concrete application scenes Setting preset threshold is 15 minutes, and it is 1h that preset threshold, which also can be set, and the setting instruction of input can be the setting of user's input Instruction can be such that the media data processing method of the application is suitable for different by being configured and adjusting to preset threshold Application scenarios improve the flexibility of application.
Optionally, the time interval for judging upper primary synchronization time of the current time apart from each material row respectively whether Before preset threshold, the modification frequency of the material row in media backstage is detected;According to modification set of frequency preset threshold.It removes Preset threshold is configured according to the setting of user instruction, preset threshold can also be set automatically by SEMD system It sets, for example, SEMD system can detecte the modification frequency of the material row in media backstage, if the material row in media backstage Modify more frequent, then it is smaller to synchronize in time to the material row in media backstage to can be set preset threshold, if matchmaker Infrequently, then it is larger to can be set preset threshold for the modification of material row in body backstage, meets synchronous need.
Optionally, the material traveling row data for being greater than preset threshold to time interval synchronize and can pass through following steps: pressing The material row for being greater than preset threshold to time interval according to pre-set categories is classified, and the material row of multiple classifications is obtained;Call object Material information acquisition services obtain the newest material data of the material row of multiple classifications;The newest material data of each material row is made Material data after being synchronized for data.
It can classify to material row, material row be synchronized according to classification, wherein can be same by multiple threads The synchronization of Shi Jinhang material row can call material information to obtain the newest material number of the material row of the multiple classifications of service acquisition According to the newest material data of, each material row that then will acquire as the material data after synchronizing, by classification and multiple The synchronous efficiency of data can be improved in the technical solution that thread carries out simultaneously.
After being synchronized present application addresses SEMD system media data, for the supplementary question of data consistency, guarantee again When by SEMD system operatio material, the correctness of data avoids maloperation, since original SEMD system media data are synchronous, Granularity is full account, and a subsynchronous matching that will carry out all materials under account, resource consumption is big and time-consuming is long;The application is in original On the basis of having technology, refining data synchronization granularity is every a line material, and the newly-increased last material of material row is synchronous in database Time sets minimum threshold value material synchronization time, and the material more than threshold value will carry out material synchronization again, guarantees data maximum limit The correctness of degree.
The embodiment of the present application also provides a kind of preferred embodiments, below with reference to the preferred embodiment to the application reality The technical solution for applying example is illustrated:
1. the material table of pair SEMD system increases attribute synchronization time last time (' LastSyncTime ') newly.
After 2.SEMD system media data synchronously complete, the LastSyncTime of setting all materials row is current time.
Minimum threshold value material synchronization time of the data lab setting of 3.SEMD system (corresponding above-mentioned preset threshold) MinSyncTimeSpan=10 minutes.The time can freely change threshold value according to guest operation frequent degree.
4. can be obtained in current time-by data consistency guarantee procedure according to the value of MinSyncTimeSpan Subsynchronous time > minimum material threshold value synchronization time all materials row, after being classified in batches to material row, unified call matchmaker The material information of body obtains service, obtains newest material information, then the change of information is carried out to the material in SEMD database, Synchronization time last time of final updating material row is current time.
The application ensure that the consistency of SEMD system data Yu media backstage, pass through client by increasing synchronization granularity Scene freely customizes data synchronization threshold, guarantees that client passes through the timely of the correctness of SEMD system operatio material and data acquisition Property, it is that account level increases to each data line level by industry synchronization granularity by controlling data synchronization granularity, controls data Synchronization granularity and minimum data synchronization threshold.
It should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions It is executed in computer system, although also, logical order is shown in flow charts, and it in some cases, can be with not The sequence being same as herein executes shown or described step.
The embodiment of the present application also provides a kind of media data processing devices, it should be noted that the embodiment of the present application Media data processing device can be used for executing provided by the embodiment of the present application for media data processing method.Below to this The media data processing device that application embodiment provides is introduced.
Fig. 3 is the schematic diagram according to the media data processing device of the embodiment of the present application.As shown in figure 3, the device includes: Acquiring unit 10, the last synchronization time of each material row for obtaining media data, wherein synchronization time is default system It unites the time synchronous with media backstage progress data, an account of media data includes multiple material rows.
Judging unit 20, between the time for judging last synchronization time of the current time apart from each material row respectively Every whether greater than preset threshold.
Synchronization unit 30, the material traveling row data for being greater than preset threshold to time interval are synchronous.
Optionally, the device further include: receiving unit, for judging current time apart from each material row respectively Whether the time interval of synchronization time is greater than before preset threshold, receives the setting instruction of input, wherein setting instruction is used It is configured in preset threshold;First setting unit, for instructing setting preset threshold according to setting.
Optionally, the device further include: detection unit, for judging current time apart from each material row respectively Whether the time interval of synchronization time is greater than before preset threshold, detects the modification frequency of the material row in media backstage; Second setting unit, for according to modification set of frequency preset threshold.
It optionally, include: categorization module to synchronization unit 30, for being greater than default threshold to time interval according to pre-set categories The material row of value is classified, and the material row of multiple classifications is obtained;Module is obtained, for calling material information to obtain service acquisition The newest material data of the material row of multiple classifications;Processing module, for using the newest material data of each material row as number According to the material data after synchronizing.
Media data processing device provided by the embodiments of the present application obtains each object of media data by acquiring unit 10 Expect the last synchronization time of row, wherein synchronization time is the predetermined system time synchronous with media backstage progress data, media One account of data includes multiple material rows;Judging unit 20 judges last time of the current time apart from each material row respectively Whether the time interval of synchronization time is greater than preset threshold;The material that synchronization unit 30 is greater than preset threshold to time interval is advanced Row data are synchronous, solve the problems, such as the material failure of client in the related technology by the change of media backstage, so reached and When synchronized media data material so that the material that client passes through the change of media backstage keeps effective effect.
The media data processing device includes processor and memory, and above-mentioned acquiring unit, synchronizes list at judging unit Member, receiving unit and detection unit etc. store in memory as program unit, are stored in memory by processor execution In above procedure unit realize corresponding function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be set one Or more, by adjusting kernel parameter come reach timely synchronized media data material so that client pass through media backstage change object Material keeps effective effect.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, if read-only memory (ROM) or flash memory (flash RAM), memory include that at least one is deposited Store up chip.
The embodiment of the invention provides a kind of equipment, equipment include processor, memory and storage on a memory and can The program run on a processor, processor perform the steps of each material row for obtaining media data when executing program Last synchronization time, wherein synchronization time is the predetermined system time synchronous with media backstage progress data, media data One account includes multiple material rows;Between the time for judging last synchronization time of the current time apart from each material row respectively Every whether greater than preset threshold;The material traveling row data for being greater than preset threshold to time interval are synchronous.
Receive the setting instruction of input, wherein setting instruction is for being configured preset threshold;It is set according to setting instruction Set preset threshold.
Detect the modification frequency of the material row in media backstage;According to modification set of frequency preset threshold.
Classify according to the material row that pre-set categories are greater than preset threshold to time interval, obtains the material of multiple classifications Row;Material information is called to obtain the newest material data of the material row of the multiple classifications of service acquisition;By the newest of each material row Material data synchronized as data after material data.Equipment herein can be server, PC, PAD, mobile phone etc..
Present invention also provides a kind of computer program products, when executing on data processing equipment, are adapted for carrying out just The program of beginningization there are as below methods step: the last synchronization time of each material row of media data is obtained, wherein when synchronous Between for predetermined system and media backstage progress data synchronous time, an account of media data includes multiple material rows;Point Do not judge whether the time interval of last synchronization time of the current time apart from each material row is greater than preset threshold;To the time The material traveling row data that interval is greater than preset threshold are synchronous.
Receive the setting instruction of input, wherein setting instruction is for being configured preset threshold;It is set according to setting instruction Set preset threshold.
Detect the modification frequency of the material row in media backstage;According to modification set of frequency preset threshold.
Classify according to the material row that pre-set categories are greater than preset threshold to time interval, obtains the material of multiple classifications Row;Material information is called to obtain the newest material data of the material row of the multiple classifications of service acquisition;By the newest of each material row Material data synchronized as data after material data.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art, Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement, Improve etc., it should be included within the scope of the claims of this application.

Claims (10)

1. a kind of media data processing method characterized by comprising
Obtain the last synchronization time of each material row of media data, wherein the synchronization time is predetermined system and matchmaker Body backstage carries out the data synchronous time, and an account of the media data includes multiple material rows;
It is default to judge whether the time interval of last synchronization time of the current time apart from each material row is greater than respectively Threshold value;
The material traveling row data for being greater than the preset threshold to the time interval are synchronous.
2. the method according to claim 1, wherein judging current time apart from each material row respectively The time interval of last synchronization time whether be greater than before preset threshold, the method also includes:
Receive the setting instruction of input, wherein the setting instruction is for being configured the preset threshold;
According to setting instruction, the preset threshold is set.
3. the method according to claim 1, wherein judging current time apart from each material row respectively The time interval of last synchronization time whether be greater than before preset threshold, the method also includes:
Detect the modification frequency of the material row in the media backstage;
According to preset threshold described in the modification set of frequency.
4. according to the method in any one of claims 1 to 3, which is characterized in that be greater than to the time interval described pre- Include: if the material traveling row data of threshold value synchronize
Classify according to the material row that pre-set categories are greater than the preset threshold to the time interval, obtains multiple classifications Material row;
Material information is called to obtain the newest material data of the material row of the multiple classification of service acquisition;
Material data after the newest material data of each material row is synchronized as data.
5. a kind of media data processing device characterized by comprising
Acquiring unit, the last synchronization time of each material row for obtaining media data, wherein the synchronization time is The predetermined system time synchronous with media backstage progress data, an account of the media data includes multiple material rows;
Judging unit, for judging the time interval of last synchronization time of the current time apart from each material row respectively Whether preset threshold is greater than;
Synchronization unit, the material traveling row data for being greater than the preset threshold to the time interval are synchronous.
6. device according to claim 5, which is characterized in that described device further include:
Receiving unit, between the time for judging upper primary synchronization time of the current time apart from each material row respectively Before whether being greater than preset threshold, the setting instruction of input is received, wherein the setting instruction is for the preset threshold It is configured;
First setting unit, for the preset threshold to be arranged according to setting instruction.
7. device according to claim 5, which is characterized in that described device further include:
Detection unit, between the time for judging upper primary synchronization time of the current time apart from each material row respectively Before whether being greater than preset threshold, the modification frequency of the material row in the media backstage is detected;
Second setting unit is used for the preset threshold according to the modification set of frequency.
8. device according to any one of claims 5 to 7, which is characterized in that include: to the synchronization unit
Categorization module, the material row for being greater than the preset threshold to the time interval according to pre-set categories are classified, Obtain the material row of multiple classifications;
Module is obtained, the newest material data of the material row for calling material information acquisition the multiple classification of service acquisition;
Processing module, for the material data after synchronizing the newest material data of each material row as data.
9. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein described program right of execution Benefit require any one of 1 to 4 described in media data processing method.
10. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run Benefit require any one of 1 to 4 described in media data processing method.
CN201710621456.3A 2017-07-26 2017-07-26 Media data processing method and device, storage medium and processor Active CN110019494B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710621456.3A CN110019494B (en) 2017-07-26 2017-07-26 Media data processing method and device, storage medium and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710621456.3A CN110019494B (en) 2017-07-26 2017-07-26 Media data processing method and device, storage medium and processor

Publications (2)

Publication Number Publication Date
CN110019494A true CN110019494A (en) 2019-07-16
CN110019494B CN110019494B (en) 2021-09-07

Family

ID=67185885

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710621456.3A Active CN110019494B (en) 2017-07-26 2017-07-26 Media data processing method and device, storage medium and processor

Country Status (1)

Country Link
CN (1) CN110019494B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1494687A (en) * 2001-09-05 2004-05-05 松下电器产业株式会社 Synchronization message processing method
CN101387976A (en) * 2008-11-07 2009-03-18 清华大学 Logical volume rapid synchronization method based on data differentia
CN102904887A (en) * 2012-09-26 2013-01-30 东软集团股份有限公司 Method and system for data synchronization of Web client and server
CN103678696A (en) * 2013-12-27 2014-03-26 金蝶软件(中国)有限公司 Method and device for controlling data read-write separation
CN103761148A (en) * 2014-01-26 2014-04-30 北京京东尚科信息技术有限公司 Control method for cluster timing scheduling tasks
CN104182441A (en) * 2014-02-27 2014-12-03 无锡天脉聚源传媒科技有限公司 Data sheet synchronization method and device
CN104503868A (en) * 2014-12-29 2015-04-08 成都致云科技有限公司 Data synchronizing method, device and system
CN105005201A (en) * 2015-06-04 2015-10-28 广东康宝电器股份有限公司 Multi-mobile-terminal data synchronization and push system for intelligent household
CN105701190A (en) * 2016-01-07 2016-06-22 深圳市金证科技股份有限公司 Data synchronizing method and device
CN105893286A (en) * 2015-12-14 2016-08-24 乐视网信息技术(北京)股份有限公司 Data processing method and apparatus
EP3115916A1 (en) * 2015-07-06 2017-01-11 Universite De Montpellier Method and apparatus for the synchronization of data sequences including filtering
CN106462578A (en) * 2014-04-01 2017-02-22 华为技术有限公司 Method for querying and updating entries in database
CN106570135A (en) * 2016-10-27 2017-04-19 深圳市中科长海科技股份有限公司 Data synchronization method and device for databases

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1494687A (en) * 2001-09-05 2004-05-05 松下电器产业株式会社 Synchronization message processing method
CN101387976A (en) * 2008-11-07 2009-03-18 清华大学 Logical volume rapid synchronization method based on data differentia
CN102904887A (en) * 2012-09-26 2013-01-30 东软集团股份有限公司 Method and system for data synchronization of Web client and server
CN103678696A (en) * 2013-12-27 2014-03-26 金蝶软件(中国)有限公司 Method and device for controlling data read-write separation
CN103761148A (en) * 2014-01-26 2014-04-30 北京京东尚科信息技术有限公司 Control method for cluster timing scheduling tasks
CN104182441A (en) * 2014-02-27 2014-12-03 无锡天脉聚源传媒科技有限公司 Data sheet synchronization method and device
CN106462578A (en) * 2014-04-01 2017-02-22 华为技术有限公司 Method for querying and updating entries in database
CN104503868A (en) * 2014-12-29 2015-04-08 成都致云科技有限公司 Data synchronizing method, device and system
CN105005201A (en) * 2015-06-04 2015-10-28 广东康宝电器股份有限公司 Multi-mobile-terminal data synchronization and push system for intelligent household
EP3115916A1 (en) * 2015-07-06 2017-01-11 Universite De Montpellier Method and apparatus for the synchronization of data sequences including filtering
CN105893286A (en) * 2015-12-14 2016-08-24 乐视网信息技术(北京)股份有限公司 Data processing method and apparatus
CN105701190A (en) * 2016-01-07 2016-06-22 深圳市金证科技股份有限公司 Data synchronizing method and device
CN106570135A (en) * 2016-10-27 2017-04-19 深圳市中科长海科技股份有限公司 Data synchronization method and device for databases

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
骆涛: "面向大数据处理的并行计算模型及性能优化", 《中国博士学位论文全文数据库 信息科技辑》 *

Also Published As

Publication number Publication date
CN110019494B (en) 2021-09-07

Similar Documents

Publication Publication Date Title
US10324710B2 (en) Indicating a trait of a continuous delivery pipeline
CN105808341B (en) A kind of methods, devices and systems of scheduling of resource
CN106055630A (en) Log storage method and device
CN106681867B (en) A kind of test method and device
CN110262847A (en) Application program launching accelerated method, device and machine readable storage medium
CN110380985A (en) Flow control methods, device, equipment and storage medium based on trade link
CN108520077A (en) A kind of method and apparatus avoiding repeated downloads
US10963963B2 (en) Rule based hierarchical configuration
CN110019200A (en) A kind of foundation of index, application method and device
CN109857516A (en) Cluster moving method and device based on container
CN109582543A (en) Data retrogressive method and device
CN110069488A (en) A kind of date storage method, method for reading data and its device
CN109992470B (en) Threshold value adjusting method and device
CN110019260B (en) User data updating method and related equipment
CN110532081A (en) A kind of timed task processing method and processing device
CN111435329A (en) Automatic testing method and device
CN109582384A (en) The update method and device of configuration information
CN108984790A (en) A kind of data branch mailbox method and device
CN110019494A (en) Media data processing method and device, storage medium and processor
CN109471901A (en) A kind of method of data synchronization and device
CN101833585A (en) Database server operation control system, method and device
CN110069453A (en) Operation/maintenance data treating method and apparatus
CN109885425A (en) Backup method, back-up device, storage medium and the processor of data
CN116468436A (en) Charging rule generation method and device
CN110019508B (en) Data synchronization method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Applicant after: Beijing Guoshuang Technology Co.,Ltd.

Address before: 100086 Beijing city Haidian District Shuangyushu Area No. 76 Zhichun Road cuigongfandian 8 layer A

Applicant before: Beijing Guoshuang Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant