CN102799607A - Method for processing data in snapshot mode - Google Patents

Method for processing data in snapshot mode Download PDF

Info

Publication number
CN102799607A
CN102799607A CN2012101772109A CN201210177210A CN102799607A CN 102799607 A CN102799607 A CN 102799607A CN 2012101772109 A CN2012101772109 A CN 2012101772109A CN 201210177210 A CN201210177210 A CN 201210177210A CN 102799607 A CN102799607 A CN 102799607A
Authority
CN
China
Prior art keywords
information
data
snapshot
broadcast
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012101772109A
Other languages
Chinese (zh)
Inventor
王征
赵海军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Digital Video Beijing Ltd
Original Assignee
China Digital Video Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CN2012101772109A priority Critical patent/CN102799607A/en
Publication of CN102799607A publication Critical patent/CN102799607A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method for processing a file in a snapshot mode. The method comprises the following steps of: acquiring an information acquisition instruction of a user, wherein the information acquisition instruction comprises file header information corresponding to information to be acquired; checking whether the file corresponding to the file header information is updated according to the file header information; if so, acquiring the update information and generating a data snapshot photo used as broadcast information; if not, directly acquiring the original data snapshot photo used as the broadcast information; and broadcasting the broadcast information. Therefore, the occupation of computer resources is reduced and the data processing efficiency is improved.

Description

A kind of method of snapshot mode deal with data
Technical field
The present invention relates to data processing field, relate in particular to a kind of method of snapshot mode deal with data.
Background technology
People are when watching sports tournament, and always desired movement person's each side information can both show, and comprise the up-to-date achievement of Nationality of Competitors, age, current match, the information such as best result that once in such match, obtained.In order to show multiple information, in the process of image relaying,, reached the effect of real-time broadcast information for the game with regard to needing operating personnel can realize through easy mode the information of broadcasting is switched fast.Can realize the calling of athletic different information like certain athletic name of mouse-click, then called the essential information data at this Nationality of Competitors, age through the mouse stroke mode is set, the data of calling are played up and broadcasted; Certain athletic name of mouse right click then calls the data of the up-to-date achievement of the current match of this sportsman, and the data of calling is played up the back broadcast.
In the prior art, can utilize programming languages such as VB, JAVA, C++ that the data in the database are called.When athletic each project data to sports tournament broadcasted, every one-shot data all will go in the database reading corresponding data to broadcast again.In fact, athletic each item data message all can not upgrade when being each broadcast, and for example the data of essential information such as Nationality of Competitors, age just can not change as achievement information in time, is not to read Shi Douyou each time to upgrade.
In sum, the problems of the prior art are: all can from data list again obtain each association when broadcasting data at every turn and play up, promptly same data repeated data and obtain the work of playing up with data, reduce work efficiency.
Summary of the invention
For addressing the above problem, the embodiment of the invention provides a kind of method of snapshot mode deal with data, preserves through the data after each renewal being carried out snapshot; In the time of need not upgrading; Directly call snapshot and show, alleviated the pressure of server, improved operational efficiency.
For achieving the above object, the embodiment of the invention discloses the method that a kind of snapshot mode is handled file, may further comprise the steps:
Obtain user's information and obtain instruction, said information is obtained instruction and is comprised and the information corresponding file header that need obtain;
According to said file header information inspection and said file header information corresponding file whether lastest imformation is arranged; If, obtain said lastest imformation, generate data snapshot as broadcast information; If not, directly obtain former data snapshot as broadcast information;
Broadcast said broadcast information.
Compared with prior art, embodiments of the invention have the following advantages:
Information through obtaining the user is obtained instruction, and said information is obtained instruction and comprised and the information corresponding file header that need obtain; According to said file header information inspection and said file header information corresponding file whether lastest imformation is arranged; If, obtain said lastest imformation, generate data snapshot as broadcast information; If not, directly obtain former data snapshot as broadcast information; Broadcast said broadcast information, thereby reduced, improve data processing efficiency the taking of computer resource.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the embodiment of the invention, a kind of process flow diagram of method of snapshot mode deal with data.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Embodiments of the invention provide a kind of method of snapshot mode deal with data, and are as shown in Figure 1, specifically may further comprise the steps:
Step 101 is obtained user's information and is obtained instruction, and said information is obtained instruction and comprised and the information corresponding file header that need obtain;
User's information is obtained instruction and is sent through mousebutton, and the coordinate of the position that mouse stops is facing to athletic name, and the corresponding athletic different classes of information of the different key of mouse combination is like nationality, Historical Results or the like.Wherein, corresponding bulleted list of each information category.Can think self-defining during the corresponding bulleted list of key mode, in other words, the item types of bulleted list is can be artificially self-defining.For example, can be provided with key mode that left button clicks corresponding be athletic essential information, comprise nationality, age; What the stroke mode of right-click was corresponding is the athletic up-to-date achievement of match then and there; The stroke mode that left button is double-clicked is corresponding is sportsman's best result in this intermediate item match etc. once.
Wherein, said operational order comprises the coordinate and the key mode of mouse, and said operational order is comprised by the detailed process of operating personnel operation: which athletic information what operating personnel selected that this subtask need broadcast through the coordinate of selecting mouse is; What operating personnel selected that this subtask need broadcast through the selection key mode is the information of the athletic project that is paid close attention to.So the mode through this mouse coordinates and mousebutton mode combine is selected athletic project information, so that can find needed athletic information.
Whether step 102 has lastest imformation according to said file header information inspection and said file header information corresponding file; If get into step 103; If not, get into step 104;
The said data that read after the renewal specifically comprise: the data after the renewal cover the data of former snapshot, and read the data after the renewal.In other words, data have renewal will generate and preserve snapshot automatically, and this snapshot will cover the data of former snapshot; Data are not just upgraded and are not done operation, directly read the data of former snapshot.
Which athletic that project information what said list information can have been confirmed to need is, operational module goes to obtain in the database of list block and needs the data message that broadcasts.
Because the athletic information data that needs to broadcast is to need to guarantee implementation, so the data of obtaining each time all should be real-time data.At first whether the data that need obtain of judgement have renewal, if renewal is arranged, then read the data after the renewal, generate and preserve snapshot automatically; If do not upgrade, then read the data of former snapshot.
The up-to-date achievement that the sportsman competes then and there can change along with the carrying out of match; The data of the up-to-date achievement that the sportsman that need obtain competes then and there also are the meeting real-time update; Data have the data after renewal is just read in renewal; And the data after upgrading can preserve snapshot automatically, so that can directly read the data of snapshot when before Data Update next time, reading these data again.Essential information such as Nationality of Competitors, age can not change along with the carrying out of match, and data can not upgraded at any time, just can directly read the data of snapshot in the time of need obtaining this type data.Reading of data reduces the data number of times of control module to the list block reading database so easily and efficiently.
Step 103 is obtained said lastest imformation, generates data snapshot as broadcast information;
Preserve after generating new data snapshot, delete former data snapshot, that is, cover former data snapshot.
After obtaining said lastest imformation, need edit and play up and to generate new data snapshot.
Step 104 judges whether there is former data snapshot in the server, if get into step 105; If not, get into step 106
Step 105 is directly obtained former data snapshot as broadcast information;
Owing to directly obtain former data snapshot as broadcasting data, therefore, do not need once more data to be played up, saved a lot of unnecessary system works, alleviated burden to system.
Step 106 is obtained former data file, generates data snapshot as broadcast information.
Step 107 is broadcasted said broadcast information.
The present invention has realized following beneficial effect: the information through obtaining the user is obtained instruction, and said information is obtained instruction and comprised and the information corresponding file header that need obtain; According to said file header information inspection and said file header information corresponding file whether lastest imformation is arranged; If, obtain said lastest imformation, generate data snapshot as broadcast information; If not, directly obtain former data snapshot as broadcast information; Broadcast said broadcast information, thereby reduced, improve data processing efficiency the taking of computer resource.
Through the description of above embodiment, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform.Based on such understanding; The part that technical scheme of the present invention contributes to prior art in essence in other words can be come out with the embodied of software product; This computer software product is stored in the storage medium, comprises that some instructions are with so that a computer equipment (can be personal computer, server or the network equipment etc.) is carried out the described method of each embodiment of the present invention.
The above only is a preferred implementation of the present invention; Should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; Can also make some improvement and retouching, these improvement and retouching also should be regarded as protection scope of the present invention.

Claims (3)

1. the method for a snapshot mode deal with data is characterized in that, may further comprise the steps:
Obtain user's information and obtain instruction, said information is obtained instruction and is comprised and the information corresponding file header that need obtain;
According to said file header information inspection and said file header information corresponding file whether lastest imformation is arranged; If, obtain the data file after the renewal, generate data snapshot as broadcast information; If not, search whether there is former data snapshot in the server, if, directly obtain former data snapshot as broadcast information, if not, obtain former data file, generate data snapshot as broadcast information;
Broadcast said broadcast information.
2. method according to claim 1 is characterized in that the information that said needs obtain comprises: the project information that sportsman's name information and sportsman are paid close attention to.
3. method according to claim 1 is characterized in that, said generation data snapshot also comprises as after the broadcast information: preserve said data snapshot, and cover former data snapshot.
CN2012101772109A 2012-05-31 2012-05-31 Method for processing data in snapshot mode Pending CN102799607A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012101772109A CN102799607A (en) 2012-05-31 2012-05-31 Method for processing data in snapshot mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012101772109A CN102799607A (en) 2012-05-31 2012-05-31 Method for processing data in snapshot mode

Publications (1)

Publication Number Publication Date
CN102799607A true CN102799607A (en) 2012-11-28

Family

ID=47198717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012101772109A Pending CN102799607A (en) 2012-05-31 2012-05-31 Method for processing data in snapshot mode

Country Status (1)

Country Link
CN (1) CN102799607A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259526A (en) * 2016-12-28 2018-07-06 阿里巴巴集团控股有限公司 A kind of data transmission method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043651A (en) * 2007-04-24 2007-09-26 马堃 Mobile telephone living broadcast method
CN101178677A (en) * 2007-11-09 2008-05-14 中国科学院计算技术研究所 Computer system for protecting software and method for protecting software
CN102111569A (en) * 2009-12-28 2011-06-29 新奥特(北京)视频技术有限公司 Method and system for collecting and broadcasting stock information
CN102157181A (en) * 2009-11-24 2011-08-17 宏正自动科技股份有限公司 Method and apparatus for video image data recording and playback
CN102541750A (en) * 2011-12-31 2012-07-04 曙光信息产业股份有限公司 Implementation method and device for data snapshot

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043651A (en) * 2007-04-24 2007-09-26 马堃 Mobile telephone living broadcast method
CN101178677A (en) * 2007-11-09 2008-05-14 中国科学院计算技术研究所 Computer system for protecting software and method for protecting software
CN102157181A (en) * 2009-11-24 2011-08-17 宏正自动科技股份有限公司 Method and apparatus for video image data recording and playback
CN102111569A (en) * 2009-12-28 2011-06-29 新奥特(北京)视频技术有限公司 Method and system for collecting and broadcasting stock information
CN102541750A (en) * 2011-12-31 2012-07-04 曙光信息产业股份有限公司 Implementation method and device for data snapshot

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘晶晶: "数字电视控播系统的关键技术研究", 《中国优秀硕士学位论文全文数据库》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259526A (en) * 2016-12-28 2018-07-06 阿里巴巴集团控股有限公司 A kind of data transmission method and device
CN108259526B (en) * 2016-12-28 2021-04-27 阿里巴巴集团控股有限公司 Data transmission method and device

Similar Documents

Publication Publication Date Title
CN107818479B (en) Preferential information pushing method, system, storage medium and electronic equipment
CN101287040B (en) Action prediction based on interactive history and context between sender and recipient
CN102067126B (en) Result to distributed search is monetized and prioritization
Koskela et al. Last planner and critical chain in construction management: comparative analysis
US20060064339A1 (en) Methods and systems for conducting internet marketing experiments
CN110244984A (en) Applied program processing method, device, storage medium and computer equipment
US20160112757A1 (en) Server, client and video processing method
CN105681173A (en) Creation method, device and system of conversation in instant communication
CN104488278A (en) Data boundary manager for addressable advertising
CN107729012A (en) A kind of application interface combined arrangement method and device
CN115917512A (en) Artificial intelligence request and suggestion card
CN106096918A (en) For the method and apparatus that the stroke of meeting is managed
CN111930366A (en) Rule engine implementation method and system based on JIT real-time compilation
CN109168043B (en) Method, equipment and system for displaying recommendation information
US9336538B2 (en) Systems and methods for providing advertising services to devices with an advertising exchange
US20170278120A1 (en) Online dynamic resource planning for events based on aggregate attendance
CN111602157A (en) Supplier supply chain risk analysis method
US9336539B2 (en) Systems and methods for providing advertising services in a predictive manner to devices with an advertising exchange
CN102799607A (en) Method for processing data in snapshot mode
CN112102099A (en) Policy data processing method and device, electronic equipment and storage medium
CN107613104B (en) User-participated Android APP stream personalized customization method
CN109743248A (en) Content delivery method, device, terminal, server and storage medium
CN108319488A (en) One kind being based on the patterned unified message processing method and processing devices of QML
US10957085B2 (en) Methods and systems for adding content to images based on negative space recognition
CN113312104A (en) Advertisement conversion method and system based on small program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20121128

RJ01 Rejection of invention patent application after publication