CN108052570A - Configuration information storage method, read method and the device of conference system - Google Patents

Configuration information storage method, read method and the device of conference system Download PDF

Info

Publication number
CN108052570A
CN108052570A CN201711286443.1A CN201711286443A CN108052570A CN 108052570 A CN108052570 A CN 108052570A CN 201711286443 A CN201711286443 A CN 201711286443A CN 108052570 A CN108052570 A CN 108052570A
Authority
CN
China
Prior art keywords
configuration information
timestamp
conference system
file
partitioned
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
CN201711286443.1A
Other languages
Chinese (zh)
Other versions
CN108052570B (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.)
Suzhou Keda Technology Co Ltd
Original Assignee
Suzhou Keda 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 Suzhou Keda Technology Co Ltd filed Critical Suzhou Keda Technology Co Ltd
Priority to CN201711286443.1A priority Critical patent/CN108052570B/en
Publication of CN108052570A publication Critical patent/CN108052570A/en
Application granted granted Critical
Publication of CN108052570B publication Critical patent/CN108052570B/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/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/1873Versioning file systems, temporal file systems, e.g. file system supporting different historic versions of files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/15Conference systems
    • H04N7/155Conference systems involving storage of or access to video conference sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses configuration information storage method, read method and the device of a kind of conference system, wherein, the configuration information storage method of conference system includes:Obtain the configuration information of conference system;The timestamp of pre-set multiple partitioned files is inquired about, wherein, multiple partitioned files are used to the configuration information of storage conference system, and timestamp writes the time of configuration information for record partitioning file;Determine the earliest partitioned file of timestamp;Judge whether the earliest partitioned file of timestamp is effective;When the earliest partitioned file of timestamp is effective, the configuration information write time of acquisition is stabbed in earliest partitioned file, and renewal time stabs the timestamp of earliest partitioned file.By using the configuration information of multiple partitioned files storage conference system, enhance the stability of conference system configuration information, it can avoid the problem that causing configuration information that can not store due to some partitioned file abnormal damage, so as to ensure being smoothed out for video conference.

Description

Configuration information storage method, read method and the device of conference system
Technical field
The present invention relates to field of computer technology, and in particular to a kind of configuration information storage method of conference system is read Method and device.
Background technology
Increasingly mature with computer network, conveniently information communication and cooperation mode become network technology and grind The hot spot studied carefully and developed.Video conferencing system breaches the limitation of region as a kind of new communication and media of communication, can be with The transmission and service of more convenient flexibly comprehensive audio-video signal are provided, are widely used.
In video conferencing system, system configuration occupies an important ring.Wherein, say that conference system configuration mainly includes: Local video conference control server configures, the configuration of SIP and GK registrar, period of key update and quantum cryptography etc.. Wherein the configuration of local video conference control server is to be interacted with other modules, is operated so as to fulfill meeting;SIP and The configuration of GK registrar is in order to which template is preferably registered to registrar, so as to more preferably more easily be called together by template Open video conference;Period of key update is in order to which user logs in safety, and user information is prevented to be stolen;Quantum cryptography be in order to It is interacted during the holding of video conference with quantum terminal, so as to ensure being perfectly safe for communication data in video conference.
In the prior art, generally configuration information is write in configuration file, during video conference, system is literary from configuration Configuration information is read in part.However, if configuration file is damaged or exception, it can cause system can not be normally from configuration file Configuration information is read, and then can not carrying out for video conference can be influenced.
The content of the invention
In view of this, an embodiment of the present invention provides a kind of configuration information storage method of conference system, read method and Device, to solve the problems, such as that the data in the prior art caused by configuration file damages can not be read and write.
First aspect present invention provides a kind of configuration information storage method of conference system, comprises the following steps:
Obtain the configuration information of conference system;
The timestamp of pre-set multiple partitioned files is inquired about, wherein, the multiple partitioned file is used to storage meeting The configuration information of conference system, the timestamp are used to record the time of the partitioned file write-in configuration information;
Determine the earliest partitioned file of timestamp;
Judge whether the earliest partitioned file of the timestamp is effective;
When the earliest partitioned file of the timestamp is effective, the configuration information write-in timestamp of acquisition is earliest In partitioned file, and update the timestamp of the earliest partitioned file of the timestamp.
Optionally, the configuration information of acquisition is write in the earliest partitioned file of the timestamp, further included:
The configuration information of acquisition is write in configuration file, wherein, the configuration file is used to carry to the conference system For configuration information;
The configuration information write in the configuration file is written in the earliest partitioned file of the timestamp.
Optionally, before the timestamp of the earliest partitioned file of the timestamp is updated, further include:
Whether the configuration information every predetermined period detection conference system updates;
When there are the step of the configuration information for during new configuration information, performing acquisition conference system.
Optionally, when conference system exits, enforce obtain conference system configuration information the step of.
Second aspect of the present invention provides a kind of configuration information read method of conference system, comprises the following steps:
The timestamp of pre-set multiple partitioned files is inquired about, wherein, the multiple partitioned file is stored with meeting The configuration information of system, the timestamp are used to record the time of the partitioned file write-in configuration information;
Determine the partitioned file of timestamp the latest;
Judge whether the partitioned file of the timestamp the latest is effective;
When the partitioned file of the timestamp the latest is effective, configuration is read from the partitioned file of the timestamp the latest Information.
Optionally, configuration information is read in the partitioned file the latest from the timestamp, including:
Configuration information in the partitioned file of the timestamp the latest is write in configuration file, wherein, the configuration text Part is used to provide configuration information to the conference system;
The configuration information is read from the configuration file.
Third aspect present invention provides a kind of configuration information storage device of conference system, including:
Acquiring unit, for obtaining the configuration information of conference system;
First query unit, for inquiring about the timestamp of pre-set multiple partitioned files, wherein, the multiple subregion File is used to the configuration information of storage conference system, and the timestamp is used to record the partitioned file write-in configuration information Time;
First determination unit, for determining the earliest partitioned file of timestamp;
First judging unit, for judging whether the earliest partitioned file of the timestamp is effective;
Storage unit, for when the earliest partitioned file of the timestamp is effective, the configuration information of acquisition to be write institute It states in the earliest partitioned file of timestamp, and updates the timestamp of the earliest partitioned file of the timestamp.
Fourth aspect present invention provides a kind of configuration information reading device of conference system, including:
Second query unit, for inquiring about the timestamp of pre-set multiple partitioned files, wherein, the multiple subregion File is stored with the configuration information of conference system, the timestamp be used to recording the partitioned file write-in configuration information when Between;
Second determination unit, for determining the partitioned file of timestamp the latest;
Second judgment unit, for judging whether the partitioned file of the timestamp the latest is effective;
Reading unit, for the partitioned file when the timestamp the latest it is effective when, from the subregion of the timestamp the latest Configuration information is read in file.
Fifth aspect present invention provides a kind of conference system, including at least one processor;And with described at least one The memory of a processor communication connection;Wherein, the memory storage has the instruction that can be performed by one processor, institute It states instruction to be performed by least one processor, so that at least one processor performs first aspect present invention or first The configuration information storage method and/or execution second aspect of the present invention or second party of conference system any one of aspect The configuration information read method of conference system any one of face.
Sixth aspect present invention provides a kind of non-transient computer readable storage medium storing program for executing, and the non-transient computer is readable Storage medium stores computer instruction, and the computer instruction is used to that computer to be made to perform first aspect present invention or first aspect Any one of conference system configuration information storage method.
Seventh aspect present invention provides a kind of non-transient computer readable storage medium storing program for executing, and the non-transient computer is readable Storage medium stores computer instruction, and the computer instruction is used to that computer to be made to perform second aspect of the present invention or second aspect Any one of conference system configuration information read method.
Technical solution provided by the invention, has the following advantages:
1. the configuration information storage method of conference system provided in an embodiment of the present invention, is deposited by using multiple partitioned files The configuration information of conference system is stored up, the stability of conference system configuration information is enhanced, can avoid because some partitioned file is different The problem of often damaging and causing configuration information that can not store, so as to ensure being smoothed out for video conference.
2. the present invention implements the configuration information storage method of the conference system provided, into guild by way of configuration file The storage of the configuration information of conference system, convenient for later maintenance;I.e. the later stage need to only increase matching somebody with somebody for conference system in configuration file Confidence ceases, and does not interfere with the integrated operation of conference system, is safeguarded convenient for developer.
3. the configuration information storage method of conference system provided in an embodiment of the present invention matches somebody with somebody conference system by timing Confidence breath is updated inspections, ensures that is stored after the configuration information of conference system is changed in configuration file or partitioned file matches somebody with somebody Confidence breath can upgrade in time.
4. the configuration information storage method of conference system provided in an embodiment of the present invention, wherein, when system exits, pass through The step of enforcing the configuration information for obtaining conference system, can ensure the smooth storage of configuration information, avoid configuration information Do not store and situation that system exits.
5. the configuration information read method of conference system provided in an embodiment of the present invention, is deposited by using multiple partitioned files The configuration information of conference system is stored up, the stability of conference system configuration information is enhanced, can avoid because some partitioned file is different The problem of often damaging and causing configuration information that can not read, so as to ensure being smoothed out for video conference.
Description of the drawings
The features and advantages of the present invention can be more clearly understood by reference to attached drawing, attached drawing is schematically without that should manage It solves to carry out any restrictions to the present invention, in the accompanying drawings:
Fig. 1 shows a side specifically illustrated of the configuration information storage method of conference system in the embodiment of the present invention 1 Method flow chart;
Fig. 2 shows a side specifically illustrated of the configuration information storage method of conference system in the embodiment of the present invention 2 Method flow chart;
Fig. 3 shows a side specifically illustrated of the configuration information storage method of conference system in the embodiment of the present invention 3 Method flow chart;
Fig. 4 shows a side specifically illustrated of the configuration information read method of conference system in the embodiment of the present invention 5 Method flow chart;
Fig. 5 shows a side specifically illustrated of the configuration information read method of conference system in the embodiment of the present invention 6 Method flow chart;
Fig. 6 shows a knot specifically illustrated of the configuration information storage device of conference system in the embodiment of the present invention 8 Composition;
Fig. 7 shows a knot specifically illustrated of the configuration information reading device of conference system in the embodiment of the present invention 9 Composition;
Fig. 8 shows a structure chart specifically illustrated of conference system in the embodiment of the present invention 10.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is Part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those skilled in the art are not having All other embodiments obtained under the premise of creative work are made, belong to the scope of protection of the invention.
Embodiment 1
The present embodiment provides a kind of configuration information storage method of conference system, the configuration information available for conference system is deposited In storage device.As shown in Figure 1, this method comprises the following steps:
Step S11 obtains the configuration information of conference system.
The configuration information storage device of conference system obtains several configuration informations needed for conference system, configuration information bag It includes:Local UMS configurations, the configuration of SIP and GK registrar, period of key update and quantum cryptography etc..Wherein, meeting system The configuration information of system depends on the actual use scene of conference system.
Step S12 inquires about the timestamp of pre-set multiple partitioned files, wherein, multiple partitioned files are used to deposit The configuration information of conference system is stored up, timestamp writes the time of configuration information for record partitioning file.
There are multiple partitioned files in the configuration information storage device of conference system, matching somebody with somebody for storage conference system is completely used for Confidence ceases.Wherein, a timestamp is correspondingly arranged for each partitioned file, for recording partitioned file write-in configuration information Time.
For example, each partitioned file is pre-set there are N number of partitioned file in the configuration information storage device of conference system Timestamp is respectively:1,2,3 ..., N, wherein, the corresponding numerical value of timestamp is smaller, represents that the partitioned file writes configuration information Time it is more early.
Step S13 determines the earliest partitioned file of timestamp.
The configuration information storage device of conference system inquires about the corresponding timestamp of each partitioned file successively, to determine the time Stab earliest partitioned file.The earliest partitioned file of timestamp represents that the time that configuration information is write in the partitioned file is earliest, It can be updated.
The storage of the configuration information of conference system is carried out by the partitioned file for selecting timestamp earliest, avoids just updating Partitioned file in configuration information be capped, can not be successfully progress so as to cause conference system.
Step S14 judges whether the earliest partitioned file of timestamp is effective.If the earliest partitioned file of timestamp is effective, Then perform step S15;Otherwise, other operations are performed.
Whether the configuration information storage device of conference system has by the earliest partitioned file of the timestamp for judging to inquire Effect, to carry out the storage of the configuration information of conference system.For example, each partitioned file corresponds to a mark, the mark can be passed through Know to represent whether the partitioned file is effective.The configuration information storage device of conference system can judge subregion by the mark The state of file.
In addition, other operations can be that the configuration information storage device of conference system is according to timestamp in the present embodiment Sooner or later inquiry is with the presence or absence of effective partitioned file successively for order, until effective partitioned file is inquired;Can also be, The configuration information of conference system is stored in intermediate file, and user is prompted to handle partitioned file.
Step S15 stabs the configuration information write time of acquisition in earliest partitioned file, and renewal time stabs earliest The timestamp of partitioned file.
The configuration information storage device of conference system is obtained when judging that the earliest partitioned file of timestamp is effective To configuration information write in the partitioned file, and update the timestamp of the partitioned file.
For example, the configuration information storage device of conference system inquires the earliest partitioned file of timestamp is:Timestamp is 1 Corresponding partitioned file, and when the partitioned file is effective, the configuration information got is stored in the partitioned file, and will The update of time stamp of the partitioned file is the value of timestamp maximum in all partitioned files.
By using the configuration information of multiple partitioned files storage conference system, the steady of conference system configuration information is enhanced It is qualitative, it can avoid the problem that causing configuration information that can not store due to some partitioned file abnormal damage, so as to ensure Video conference is smoothed out.
Embodiment 2
The present embodiment provides a kind of configuration information storage method of conference system, the configuration information available for conference system is deposited In storage device.As shown in Fig. 2, this method comprises the following steps:
Step S21 obtains the configuration information of conference system.
Identical with 1 step S11 of embodiment, details are not described herein.
Step S22 inquires about the timestamp of pre-set multiple partitioned files, wherein, multiple partitioned files are used to deposit The configuration information of conference system is stored up, timestamp writes the time of configuration information for record partitioning file.
Identical with 1 step S12 of embodiment, details are not described herein.
Step S23 determines the earliest partitioned file of timestamp.
Identical with 1 step S13 of embodiment, details are not described herein.
Step S24 judges whether the earliest partitioned file of timestamp is effective.If the earliest partitioned file of timestamp is effective, Then perform step S25;Otherwise, step S26 is performed.
Whether the configuration information storage device of conference system has by the earliest partitioned file of the timestamp for judging to inquire Effect, to carry out the storage of the configuration information of conference system.For example, each partitioned file corresponds to a mark, the mark can be passed through Know to represent whether the partitioned file is effective.The configuration information storage device of conference system can judge subregion by the mark The state of file.
Step S25 stabs the configuration information write time of acquisition in earliest partitioned file, and renewal time stabs earliest The timestamp of partitioned file.
The indirect storage of the configuration information of conference system is carried out in the present embodiment by configuration file, specifically matching somebody with somebody acquisition The confidence breath write time is stabbed in earliest partitioned file, is comprised the following steps:
Step S251 writes the configuration information of acquisition in configuration file, wherein, the configuration file is used for meeting system System provides configuration information.
The configuration information storage device of conference system will obtain first when determining that the earliest partitioned file of timestamp is effective Configuration information write-in configuration file in, the configuration file be used for conference system provide configuration information.That is conference system is matched somebody with somebody It puts at least there are a configuration file in information-storing device, for storing the configuration information of conference system.
As a kind of optional embodiment of the present embodiment, step S251 can be performed after step s 21, only need to ensure The configuration information storage device of conference system is when determining that the earliest partitioned file of timestamp is effective, the configuration information of conference system It has been written into configuration file.
The configuration information write in configuration file is written in the earliest partitioned file of timestamp by step S252, update The timestamp of the earliest partitioned file of timestamp.
When determining that the earliest partitioned file of timestamp is effective, the configuration information storage device of conference system will configure text Configuration information in part is written in the earliest partitioned file of the timestamp.
After the storage of configuration information is completed, by the update of time stamp of the earliest partitioned file of the timestamp for the latest.
Step S26, the earliest effective partitioned file of query time stamp.
The configuration information storage device of conference system determine timestamp it is earliest partitioned file it is invalid when, can according to when Between the effective partitioned file of sequential query that stabs;The judgement of the validity of all partitioned files can also be carried out at the same time, finally from The earliest partitioned file of timestamp is selected in all efficient zoned files.
Step S27 stabs the configuration information write time of acquisition in earliest effective partitioned file, and renewal time stabs The timestamp of earliest effective partitioned file.
The configuration information of acquisition is write direct earliest effective of timestamp by the configuration information storage device of conference system It, can also be first by the configuration information of acquisition write-in configuration file, then by the configuration information in configuration file in partitioned file In the earliest effective partitioned file of write time stamp.
After the storage of configuration information is completed, by the update of time stamp of the earliest partitioned file of the timestamp for the latest.
Step S28, judges whether conference system exits.If conference system exits, step S21 is performed;Otherwise, it is performed He operates.
The configuration information storage device of conference system is in the storing process of configuration information, and whether real-time judge conference system It exits.For example, when conference system exits, the semaphore of the configuration information storage device of conference system, Lock Conference system are triggered System exits operation;Until after corresponding steps are completed, the semaphore is discharged, perform conference system exits operation.
Wherein, when conference system exits, step S21 is performed, that is, obtains the configuration information of conference system, and to acquisition Configuration information carries out storage operation.
In addition, the configuration information storage device that other operations in the present embodiment can be the conference system carries out all points The judgement of the validity of area file, convenient for handling it in time to partitioned file abnormal damage;Can also real-time judge whether have New configuration information in time stores new configuration information.
The step details not being described in detail in the present embodiment, refer to embodiment 1, details are not described herein.
Embodiment 3
The present embodiment provides a kind of configuration information storage method of conference system, the configuration information available for conference system is deposited In storage device.As shown in figure 3, this method comprises the following steps:
Step S31 obtains the configuration information of conference system.
Identical with 2 step S21 of embodiment, details are not described herein.
Step S32 inquires about the timestamp of pre-set multiple partitioned files, wherein, multiple partitioned files are used to deposit The configuration information of conference system is stored up, timestamp writes the time of configuration information for record partitioning file.
Identical with 2 step S22 of embodiment, details are not described herein.
Step S33 determines the earliest partitioned file of timestamp.
Identical with 2 step S23 of embodiment, details are not described herein.
Step S34 judges whether the earliest partitioned file of timestamp is effective.If the earliest partitioned file of timestamp is effective, Then perform step S35;Otherwise, step S36 is performed.
Step S351 writes the configuration information of acquisition in configuration file, wherein, the configuration file is used for meeting system System provides configuration information.
Identical with 2 step S251 of embodiment, details are not described herein.
The configuration information write in configuration file is written in the earliest partitioned file of timestamp by step S352.
Whether step S353, the configuration information every predetermined period detection conference system update.When in the presence of newly with confidence During breath, step S31 is performed, i.e., storage operation is carried out to the new configuration information of the conference system of acquisition;Otherwise, renewal time stabs The timestamp of earliest partitioned file.
More whether configuration information of the configuration information storage device of conference system per detection conference system at regular intervals Newly.Specifically, stored by the timing for the configuration information for setting timer progress conference system.For example, using timer operation, The storage operation of configuration information can be periodically carried out every 5S.
Frequently frequent storage problem caused by the configuration information of modification conference system can effectively be avoided by timer, Also ensure that the configuration information of conference system timely and effectively stores simultaneously.
Step S36, the earliest effective partitioned file of query time stamp.
Identical with 2 step S26 of embodiment, details are not described herein.
Step S37 stabs the configuration information write time of acquisition in earliest effective partitioned file, and renewal time stabs The timestamp of earliest effective partitioned file.
Identical with 2 step S27 of embodiment, details are not described herein.
Step S38, judges whether conference system exits.If conference system exits, step S31 is performed;Otherwise, step is performed Rapid S353.
The configuration information storage device of conference system enforces matching somebody with somebody for conference system when judging that conference system exits Confidence breath storage operation;When judging that conference system does not exit, whether the configuration information of real-time judge conference system updates.
The step details not being described in detail in the present embodiment, refer to embodiment 2, details are not described herein.
Embodiment 4
The present embodiment provides an a kind of concrete application examples of the configuration information storage method of conference system.Specifically such as Under:
Configuration file shares 4, is respectively umscfg, 0umscfg, 1umscfg and 2umscfg.Wherein, 0umscfg, 1umscfg and 2umscfg is partitioned file.In the storage of configuration information, the configuration information storage device meeting of conference system The configuration information of conference system first is written in umscfg, then writes 0umscfg, 1umscfg or and 2umscfg again. Judge whether three partitioned files are effective, if three partitioned files are all effective, preferentially write old partitioned file, and by this point Area file mark is newest.If only effective there are one partitioned file, the partitioned file is write.
The configuration information storage device of conference system can carry out the update of configuration information by interface, but excessively frequently Numerous write-in can occupy too many time and resource.It therefore, can timing write-in configuration file every 5s using timer operation. It so effectively prevents interface and frequently changes frequent storage problem caused by the configuration information of conference system, also ensure simultaneously The timely and effective storage of the configuration information of conference system.
In addition, it is necessary to be only possible to exit after configuration information is stored successfully when if conference system exits.By using signal Amount operation, obtain semaphore when exiting, wait configuration informations storage after the completion of just can release semaphore, so as to ensure configuration information Smooth preservation.
Embodiment 5
The present embodiment provides a kind of configuration information read method of conference system, the configuration information available for conference system is read It takes in device.As shown in figure 4, this method comprises the following steps:
Step S41 inquires about the timestamp of pre-set multiple partitioned files, wherein, multiple partitioned files are stored with The configuration information of conference system, timestamp write the time of configuration information for record partitioning file.
Identical with 3 step S32 of embodiment, details are not described herein.
Step S42 determines the partitioned file of timestamp the latest.
The configuration information reading device of conference system inquires about the corresponding timestamp of each partitioned file successively, to determine the time The partitioned file of stamp the latest.The partitioned file of timestamp the latest represents to write the renewal time of configuration information in the partitioned file Recently.
Storage by the configuration information for selecting the partitioned file progress conference system of timestamp the latest, avoids read Configuration information is not newest configuration information, and progress is can not be successfully so as to cause conference system.
Step S43 judges whether the partitioned file of timestamp the latest is effective.If the determination result is YES, then step is performed S44;Otherwise, other operations are performed.
Whether the partitioned file of the timestamp that the configuration information reading device of conference system is inquired by judgement the latest has Effect, to carry out the reading of the configuration information of conference system.For example, each partitioned file corresponds to a mark, the mark can be passed through Know to represent whether the partitioned file is effective.The configuration information reading device of conference system can judge subregion by the mark The state of file.
In addition, other operations can be that the configuration information reading device of conference system is according to timestamp in the present embodiment Sooner or later inquiry is with the presence or absence of effective partitioned file successively for order, until effective partitioned file is inquired;Can also be, User is prompted to configuration information read error.
Step S44 reads configuration information from the partitioned file of timestamp the latest.
The configuration information reading device of conference system, can be from this when judging that the partitioned file of timestamp the latest is effective Configuration information is directly read in partitioned file to conference system, can also be read first from the partitioned file configuration information to It puts in file, then configuration information is read to conference system from configuration file.
By using the configuration information of multiple partitioned files storage conference system, the steady of conference system configuration information is enhanced It is qualitative, it can avoid the problem that causing configuration information that can not read due to some partitioned file abnormal damage, so as to ensure Video conference is smoothed out.
Embodiment 6
The present embodiment provides a kind of configuration information read method of conference system, the configuration information available for conference system is read It takes in device.As shown in figure 5, this method comprises the following steps:
Step S51 inquires about the timestamp of pre-set multiple partitioned files, wherein, multiple partitioned files are stored with The configuration information of conference system, timestamp write the time of configuration information for record partitioning file.
Identical with 5 step S41 of embodiment, details are not described herein.
Step S52 determines the partitioned file of timestamp the latest.
Identical with 5 step S42 of embodiment, details are not described herein.
Step S53 judges whether the partitioned file of timestamp the latest is effective.If the determination result is YES, then step is performed S54;Otherwise, step S55 is performed.
Whether the partitioned file of the timestamp that the configuration information reading device of conference system is inquired by judgement the latest has Effect, to carry out the reading of the configuration information of conference system.For example, each partitioned file corresponds to a mark, the mark can be passed through Know to represent whether the partitioned file is effective.The configuration information reading device of conference system can judge subregion by the mark The state of file.
Step S54 reads configuration information from the partitioned file of timestamp the latest.
Specifically, comprise the following steps:
Step S541 writes the configuration information in the partitioned file of timestamp the latest in configuration file, wherein, configuration text Part is used to provide configuration information to conference system.
Step S542, reads configuration information from configuration file.
Step S55, the effective partitioned file of query time stamp the latest.
Similar with 2 step S26 of embodiment, details are not described herein.
Step S56 reads configuration information from the effective partitioned file of timestamp the latest.
Similar with 2 step S27 of embodiment, details are not described herein.
The step details not being described in detail in the present embodiment, refer to embodiment 2 and embodiment 5, details are not described herein.
Embodiment 7
It is specific as follows the present embodiment provides an a kind of concrete application example of the configuration information read method of conference system It is shown:
Configuration file shares 4, is respectively umscfg, 0umscfg, 1umscfg and 2umscfg.Wherein, 0umscfg, 1umscfg and 2umscfg is partitioned file.When reading the configuration information of conference system, the configuration information of conference system is read Device can judge whether three partitioned files are effective:If three partitioned files are all effective, newest partitioned file is preferentially read Into umscfg, umscfg is then read again into system.If only effective there are one partitioned file, partitioned file letter is read Umscfg is ceased, and then is read from umscfg in system.
Embodiment 8
The present embodiment provides a kind of configuration information storage devices of conference system, appoint available for embodiment 1 into embodiment 4 The configuration information storage method of conference system described in one.As shown in fig. 6, the device includes:
Acquiring unit 61, for obtaining the configuration information of conference system;
First query unit 62, for inquiring about the timestamp of pre-set multiple partitioned files, wherein, multiple subregion texts Part is used to the configuration information of storage conference system, and timestamp writes the time of configuration information for record partitioning file.
First determination unit 63, for determining the earliest partitioned file of timestamp.
First judging unit 64, for judging whether the earliest partitioned file of timestamp is effective.
Storage unit 65, the configuration information write time for that will obtain is stabbed in earliest partitioned file, and renewal time Stab the timestamp of earliest partitioned file.
As a kind of optional embodiment of the present embodiment, wherein, storage unit 65, including:
First storing sub-units, for will obtain configuration information write-in configuration file in, wherein, configuration file be used for Conference system provides configuration information.
The configuration information write in configuration file is written to the earliest partitioned file of timestamp by the second storing sub-units In.
As another optional embodiment of the present embodiment, wherein, storage unit 65 further includes:
Detection sub-unit, for whether being updated every the configuration information of predetermined period detection conference system.
Embodiment 9
The present embodiment provides a kind of configuration information reading devices of conference system, appoint available for embodiment 5 into embodiment 7 The configuration information read method of conference system described in one.As shown in fig. 7, the device includes:
Second query unit 71, for inquiring about the timestamp of pre-set multiple partitioned files, wherein, the multiple point Area file is stored with the configuration information of conference system, and the timestamp is used to record the partitioned file write-in configuration information Time.
Second determination unit 72, for determining the partitioned file of timestamp the latest.
Second judgment unit 73, for judging whether the partitioned file of the timestamp the latest is effective.
Reading unit 74, for the partitioned file when the timestamp the latest it is effective when, from the timestamp the latest point Configuration information is read in area file.
As a kind of optional embodiment of the present embodiment, wherein, reading unit 74, including:
First reads subelement, for by the configuration information write-in configuration file in timestamp partitioned file the latest, Wherein, configuration file is used to provide configuration information to conference system.
Second reads subelement, for reading configuration information from configuration file.
Embodiment 10
Fig. 8 is the hardware architecture diagram of conference system provided in an embodiment of the present invention, as shown in figure 8, the device includes One or more processors 81 and memory 82, in Fig. 8 by taking a processor 81 as an example.
Processor 81, memory 82 can be connected with image display by bus or other modes, to pass through in Fig. 8 Exemplified by bus connection.
Processor 81 can be central processing unit (Central Processing Unit, CPU).Processor 81 can be with For other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, The combination of the chips such as discrete hardware components or above-mentioned all kinds of chips.General processor can be microprocessor or the processing Device can also be any conventional processor etc..
Memory 82 is used as a kind of non-transient computer readable storage medium storing program for executing, available for storing non-transient software program, non- Transient computer executable program and module, as the conference system in the embodiment of the present invention configuration information storage method and/ Or the corresponding program instruction/module of configuration information read method of conference system.Processor 81 is stored in memory by operation Non-transient software program, instruction and module in 82, various function application and data processing so as to execute server, i.e., It realizes in above-described embodiment, the configuration information storage method of conference system and/or the configuration information read method of conference system.
Memory 82 can include storing program area and storage data field, wherein, storing program area can storage program area, At least one required application program of function;Storage data field can store the configuration information storage device according to conference system And/or the configuration information reading device of conference system uses created data etc..In addition, memory 82 can be included at a high speed Random access memory, can also include non-transient memory, a for example, at least disk memory, flush memory device or its His non-transient solid-state memory.In some embodiments, memory 82 is optional including remotely located compared with processor 81 Memory, these remote memories can pass through network connection to the configuration information storage device of conference system and/or meeting system The configuration information reading device of system.The example of above-mentioned network includes but not limited to internet, intranet, LAN, movement Communication network and combinations thereof.
One or more of modules are stored in the memory 82, when by one or more of processors 81 During execution, the configuration information storage method and/or conference system of the conference system any one of above-described embodiment are performed Configuration information read method.
The said goods can perform the method that the embodiment of the present invention is provided, and possesses the corresponding function module of execution method and has Beneficial effect.The technical detail of detailed description, the correlation that for details, reference can be made in embodiment as shown in Figure 1 are not retouched in the present embodiment It states.
Embodiment 11
The embodiment of the present invention additionally provides a kind of non-transient computer storage medium, and the computer storage media is stored with Computer executable instructions, the computer executable instructions can perform matching somebody with somebody for the conference system any one of above-described embodiment Put information storage means.Wherein, the storage medium can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), flash memory (Flash Memory), hard disk (HardDisk Drive, abbreviation:) or solid state disk (Solid-State Drive, SSD) etc. HDD;It is described Storage medium can also include the combination of the memory of mentioned kind.
Embodiment 12
The embodiment of the present invention additionally provides a kind of non-transient computer storage medium, and the computer storage media is stored with Computer executable instructions, the computer executable instructions can perform matching somebody with somebody for the conference system any one of above-described embodiment Confidence message reading method.Wherein, the storage medium can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), flash memory (Flash Memory), hard disk (HardDisk Drive, abbreviation:) or solid state disk (Solid-State Drive, SSD) etc. HDD;It is described Storage medium can also include the combination of the memory of mentioned kind.
It is that can lead to it will be understood by those skilled in the art that realizing all or part of flow in above-described embodiment method Computer program is crossed relevant hardware to be instructed to complete, the program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (ROM) or random access memory (RAM) etc..
Although being described in conjunction with the accompanying the embodiment of the present invention, those skilled in the art can not depart from the present invention Spirit and scope in the case of various modification can be adapted and modification, such modifications and variations are each fallen within by appended claims institute Within the scope of restriction.

Claims (10)

1. the configuration information storage method of a kind of conference system, which is characterized in that comprise the following steps:
Obtain the configuration information of conference system;
The timestamp of pre-set multiple partitioned files is inquired about, wherein, the multiple partitioned file is used to storage meeting system The configuration information of system, the timestamp are used to record the time of the partitioned file write-in configuration information;
Determine the earliest partitioned file of timestamp;
Judge whether the earliest partitioned file of the timestamp is effective;
When the earliest partitioned file of the timestamp is effective, the configuration information of acquisition is write into the earliest subregion of the timestamp In file, and update the timestamp of the earliest partitioned file of the timestamp.
2. the configuration information storage method of conference system according to claim 1, which is characterized in that confidence is matched somebody with somebody into acquisition Breath is write in the earliest partitioned file of the timestamp, is further included:
The configuration information of acquisition is write in configuration file, wherein, the configuration file is used to match somebody with somebody to conference system offer Confidence ceases;
The configuration information write in the configuration file is written in the earliest partitioned file of the timestamp.
3. the configuration information storage method of conference system according to claim 1 or 2, which is characterized in that described in update Before the timestamp of the earliest partitioned file of timestamp, further include:
Whether the configuration information every predetermined period detection conference system updates;
When there are the step of the configuration information for during new configuration information, performing acquisition conference system.
4. the configuration information storage method of conference system according to any one of claim 1 to 3, which is characterized in that when When conference system exits, enforce obtain conference system configuration information the step of.
5. the configuration information read method of a kind of conference system, which is characterized in that comprise the following steps:
The timestamp of pre-set multiple partitioned files is inquired about, wherein, the multiple partitioned file is stored with conference system Configuration information, the timestamp is used to record the time of partitioned file write-in configuration information;
Determine the partitioned file of timestamp the latest;
Judge whether the partitioned file of the timestamp the latest is effective;
When the partitioned file of the timestamp the latest is effective, read from the partitioned file of the timestamp the latest with confidence Breath.
6. the configuration information read method of conference system according to claim 5, which is characterized in that described from the time Configuration information is read in the partitioned file of stamp the latest, including:
Configuration information in the partitioned file of the timestamp the latest is write in configuration file, wherein, the configuration file is used In to the conference system provide configuration information;
The configuration information is read from the configuration file.
7. a kind of configuration information storage device of conference system, which is characterized in that including:
Acquiring unit, for obtaining the configuration information of conference system;
First query unit, for inquiring about the timestamp of pre-set multiple partitioned files, wherein, the multiple partitioned file Be used to the configuration information of storage conference system, the timestamp be used to recording partitioned file write-in configuration information when Between;
First determination unit, for determining the earliest partitioned file of timestamp;
First judging unit, for judging whether the earliest partitioned file of the timestamp is effective;
Storage unit, for when the earliest partitioned file of the timestamp is effective, by the configuration information write-in of acquisition it is described when Between stab in earliest partitioned file, and update the timestamp of the earliest partitioned file of the timestamp.
8. a kind of configuration information reading device of conference system, which is characterized in that including:
Second query unit, for inquiring about the timestamp of pre-set multiple partitioned files, wherein, the multiple partitioned file The configuration information of conference system is stored with, the timestamp is used to record the time of the partitioned file write-in configuration information;
Second determination unit, for determining the partitioned file of timestamp the latest;
Second judgment unit, for judging whether the partitioned file of the timestamp the latest is effective;
Reading unit, for the partitioned file when the timestamp the latest it is effective when, from the partitioned file of the timestamp the latest Middle reading configuration information.
9. a kind of non-transient computer readable storage medium storing program for executing, which is characterized in that the non-transient computer readable storage medium storing program for executing is deposited Computer instruction is stored up, the computer instruction is used to make the conference system any one of computer perform claim requirement 1 to 4 Configuration information storage method.
10. a kind of non-transient computer readable storage medium storing program for executing, which is characterized in that the non-transient computer readable storage medium storing program for executing is deposited Store up computer instruction, the computer instruction be used to make the conference system described in computer perform claim requirement 5 or 6 with confidence Message reading method.
CN201711286443.1A 2017-12-07 2017-12-07 Conference system configuration information storage method, reading method and device Active CN108052570B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711286443.1A CN108052570B (en) 2017-12-07 2017-12-07 Conference system configuration information storage method, reading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711286443.1A CN108052570B (en) 2017-12-07 2017-12-07 Conference system configuration information storage method, reading method and device

Publications (2)

Publication Number Publication Date
CN108052570A true CN108052570A (en) 2018-05-18
CN108052570B CN108052570B (en) 2020-06-05

Family

ID=62123215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711286443.1A Active CN108052570B (en) 2017-12-07 2017-12-07 Conference system configuration information storage method, reading method and device

Country Status (1)

Country Link
CN (1) CN108052570B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110955615A (en) * 2019-10-23 2020-04-03 武汉光庭信息技术股份有限公司 TBox internal data protection method and system
CN112015484A (en) * 2020-08-13 2020-12-01 中信科移动通信技术有限公司 Encryption, modification and reading method and device for configuration file of Internet of things equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103514063A (en) * 2012-06-21 2014-01-15 浙江大华技术股份有限公司 Method and device for processing FLASH data
CN104156279A (en) * 2014-08-04 2014-11-19 上海斐讯数据通信技术有限公司 Backup method for configuration data of router
CN106210132A (en) * 2016-08-19 2016-12-07 浙江宇视科技有限公司 A kind of web camera collocation method, Apparatus and system
US20170337236A1 (en) * 2016-05-17 2017-11-23 International Business Machines Corporation Verifying configuration management database configuration items

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103514063A (en) * 2012-06-21 2014-01-15 浙江大华技术股份有限公司 Method and device for processing FLASH data
CN104156279A (en) * 2014-08-04 2014-11-19 上海斐讯数据通信技术有限公司 Backup method for configuration data of router
US20170337236A1 (en) * 2016-05-17 2017-11-23 International Business Machines Corporation Verifying configuration management database configuration items
CN106210132A (en) * 2016-08-19 2016-12-07 浙江宇视科技有限公司 A kind of web camera collocation method, Apparatus and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110955615A (en) * 2019-10-23 2020-04-03 武汉光庭信息技术股份有限公司 TBox internal data protection method and system
CN110955615B (en) * 2019-10-23 2021-11-09 武汉光庭信息技术股份有限公司 TBox internal data protection method and system
CN112015484A (en) * 2020-08-13 2020-12-01 中信科移动通信技术有限公司 Encryption, modification and reading method and device for configuration file of Internet of things equipment

Also Published As

Publication number Publication date
CN108052570B (en) 2020-06-05

Similar Documents

Publication Publication Date Title
RU2379771C2 (en) Recording medium, recording device, playback device, recording method and playback method
WO2019237584A1 (en) Container management method, device, computer apparatus, and storage medium
US8838762B2 (en) Virtual-machine management program and method for managing virtual machines
CN106919471B (en) Method and system for snapshot creation
JP5713138B1 (en) Virtual computer system, printer control system, virtual computer program, and printer control program
WO2018014711A1 (en) Method and device for playing video
CN107040576B (en) Information pushing method and device and communication system
CN108475201B (en) Data acquisition method in virtual machine starting process and cloud computing system
CN108052570A (en) Configuration information storage method, read method and the device of conference system
US20150020167A1 (en) System and method for managing files
US10423580B2 (en) Storage and compression of an aggregation file
US20160313924A1 (en) Tracking ownership of memory in a data processing system through use of a memory monitor
CN107423095B (en) Data processing method and device adaptive to hardware, storage medium and computer equipment
JP2005302030A (en) Multi-process access method and device to link list
US20120200951A1 (en) Content duplication device and content duplication system
JP2006350633A (en) Data management method and data management system
US8631402B2 (en) Center management apparatus, method, and computer readable storage medium storing program thereof
CN106484312A (en) A kind of magnetic disk of virtual machine data migration method and device
JP2008262287A (en) Communication control device and communication log storage method
JP6688433B2 (en) Computer system
CN109791541B (en) Log serial number generation method and device and readable storage medium
US8756202B2 (en) System and method for logstream archival
JP2009122985A (en) System and program for sub-process execution
CN108345431A (en) A kind of method and device of digital independent
JP4172398B2 (en) Video content duplication prevention system, video content duplication prevention method and program

Legal Events

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