CN109257228A - A kind of data-updating method and Edge Server - Google Patents
A kind of data-updating method and Edge Server Download PDFInfo
- Publication number
- CN109257228A CN109257228A CN201811250344.2A CN201811250344A CN109257228A CN 109257228 A CN109257228 A CN 109257228A CN 201811250344 A CN201811250344 A CN 201811250344A CN 109257228 A CN109257228 A CN 109257228A
- Authority
- CN
- China
- Prior art keywords
- data
- edge server
- full dose
- major key
- residual quantity
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present embodiments relate to data processing field more particularly to a kind of data-updating methods and Edge Server, for improving the update efficiency of configuration data in Edge Server.In the embodiment of the present invention, Edge Server receives the residual quantity file from scheduling deployment system, and the residual quantity file includes the data having differences in new full dose configuration data and original full dose configuration data;The Edge Server updates the original full dose configuration data stored in the Edge Server according to the residual quantity file.When receiving residual quantity file due to Edge Server, original full dose configuration data can be updated according to residual quantity file, not need to cover whole original full dose configuration datas with new full dose configuration data.I.e. Edge Server only needs to update the data changed, and the data not changed can be not processed, in this way, the efficiency that Edge Server updates original full dose configuration data can be improved.
Description
Technical field
The present embodiments relate to data processing field more particularly to a kind of data-updating methods and marginalisation server.
Background technique
With the continuous development of Internet technology and media file, brought greatly just to people's lives and work
Benefit.But user is also higher and higher to the access speed requirement of internet and media file, although network bandwidth is continuously increased,
It is that number of users is also being continuously increased, is influenced by factors such as the load of server and transmission ranges, speed of response of server is still
There is a problem of slower.The scheme of solution is to be optimized in network transmission using caching technology, currently used caching
Technology is content distributing network (content delivery network, CDN).
In the prior art, in CDN system, relevant configuration number is stored in Edge Server and scheduling deployment system
According to being typically stored in configuration data between domain name, area identification and the address network protocol (internet protocol, IP)
Mapping relations.After the content in configuration data changes (such as mapping relations change or change IP address),
It needs scheduling deployment system to be first updated old configuration number file, is later sent to updated new configuration file
Each Edge Server, each Edge Server cover old configuration file with new configuration file.
However, due in CDN system the quantity of Edge Server it is more, scheduling deployment system needs simultaneously to a large amount of sides
Edge server sends new configuration file, and it is lower to will cause Edge Server update configuration data efficiency.
Summary of the invention
The embodiment of the present invention provides a kind of data-updating method and Edge Server, to solve edge clothes in the prior art
The problem of device update configuration data low efficiency of being engaged in.
The embodiment of the present invention provides a kind of data-updating method, comprising: Edge Server, which receives, comes from scheduling deployment system
Residual quantity file, the residual quantity file includes the number having differences in new full dose configuration data and original full dose configuration data
According to;The Edge Server updates the original full dose configuration number stored in the Edge Server according to the residual quantity file
According to.
Based on the program, what residual quantity file included is in new full dose configuration data and original full dose configuration data in the presence of poor
Different data when Edge Server receives residual quantity file, can update original full dose configuration data according to residual quantity file, not need
Whole original full dose configuration datas is covered with new full dose configuration data.I.e. Edge Server only needs update to change
Data, the data not changed can be not processed, in this way, the effect that Edge Server updates original full dose configuration data can be improved
Rate.
Further, the data volume of residual quantity file is less compared to the data volume of new full dose configuration data, therefore, scheduling unit
When administration's system sends the residual quantity file to Edge Server, the network bandwidth of occupancy is smaller, helps to improve scheduling deployment system
The efficiency of data is sent to Edge Server.
In a kind of possible implementation, the residual quantity file include major key, the corresponding data manipulation type of the major key,
And the corresponding key assignments of the major key;The Edge Server according to the major key, the corresponding data manipulation type of the major key,
And the corresponding key assignments of the major key, update the original full dose configuration data stored in the Edge Server.
Further, the Edge Server is if it is determined that the major key exists in the original full dose configuration data, then root
According to the corresponding data manipulation type of the major key and the corresponding key assignments of the major key, institute in the original full dose configuration data is updated
State corresponding first data of major key;Alternatively, the Edge Server if it is determined that the major key in the original configuration file not
In the presence of then according to the major key, the corresponding data manipulation type of the major key and the corresponding key assignments of the major key, described original
Increase by the second data in full dose configuration data.
In order to improve the accuracy of data update, residual quantity file is prevented to be tampered in transmission process.The residual quantity file
It further include first message digest algorithm the 5th edition (message digest algorithm5, MD5) value, the first MD5 value is
The scheduling deployment system is generated according to the new full dose configuration data;The Edge Server determines updated full dose
2nd MD5 value of configuration data;The Edge Server is if it is determined that the 2nd MD5 value is identical as the first MD5 value, then really
Fixed number evidence is updated successfully.
In one possible implementation, the Edge Server includes shared drive;The Edge Server according to
The residual quantity file updates the original full dose configuration data in the shared drive of the Edge Server.In this way, altogether
It enjoys memory not needing to reload new full dose configuration data from the local file of Edge Server, so that update can be improved altogether
Enjoy the efficiency of internal storage data.
In order to improve stability and reliability of the scheduling deployment system to Edge Server transmission residual quantity file, the edge
Server, which is received, passes through the residual quantity file that sardine network (Sardinet) is sent from the scheduling deployment system.
The embodiment of the present invention provides a kind of Edge Server, comprising: Transmit-Receive Unit comes from scheduling deployment system for receiving
Residual quantity file, the residual quantity file includes the number having differences in new full dose configuration data and original full dose configuration data
According to;Processing unit, for updating the original full dose configuration number stored in the Edge Server according to the residual quantity file
According to.
In one possible implementation, the residual quantity file includes major key, the corresponding data manipulation class of the major key
Type and the corresponding key assignments of the major key;The processing unit, is specifically used for: according to the major key, the corresponding number of the major key
According to action type and the corresponding key assignments of the major key, the original full dose configuration stored in the Edge Server is updated
Data.
In one possible implementation, the processing unit, is specifically used for: if it is determined that the major key is described original
Exist in full dose configuration data, then according to the corresponding data manipulation type of the major key and the corresponding key assignments of the major key, updates
Corresponding first data of major key described in the original full dose configuration data;Or, however, it is determined that the major key original is matched described
It sets in file and is not present, then according to the major key, the corresponding data manipulation type of the major key and the corresponding key assignments of the major key,
Increase by the second data in the original full dose configuration data.
In one possible implementation, the residual quantity file further includes the 5th edition MD5 value of first message digest algorithm,
The first MD5 value is that the scheduling deployment system is generated according to the new full dose configuration data;The processing unit, also
For: determine the 2nd MD5 value of updated full dose configuration data;If it is determined that the 2nd MD5 value and the first MD5 value phase
Together, it is determined that data are updated successfully.
In one possible implementation, the Edge Server includes shared drive;The processing unit, is used for:
The original full dose configuration data in the shared drive of the Edge Server is updated according to the residual quantity file.
In one possible implementation, the Transmit-Receive Unit, is specifically used for: receiving and comes from the scheduling deployment system
The residual quantity file sent by software defined network SDN.
The embodiment of the present invention provides a kind of computer readable storage medium, and computer-readable recording medium storage has computer
Executable instruction, computer executable instructions are for making computer execute the above method.
The embodiment of the present invention provides a kind of computer equipment, including memory, for storing program instruction;Processing unit,
For calling the program instruction stored in memory, above-mentioned method is executed according to the program of acquisition.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill in field, without any creative labor, it can also be obtained according to these attached drawings
His attached drawing.
Fig. 1 is a kind of communication system architecture schematic diagram provided in an embodiment of the present invention;
Fig. 2 a is a kind of data-updating method flow diagram provided in an embodiment of the present invention;
Fig. 2 b is the storage format schematic diagram of data in a kind of residual quantity file provided in an embodiment of the present invention;
Fig. 3 is another data-updating method flow diagram provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of Edge Server provided in an embodiment of the present invention.
Specific embodiment
Fig. 1 shows a kind of configuration diagram of communication system using the embodiment of the present invention.As shown in Figure 1, the system
Framework may include scheduling deployment system 101, at least one Edge Server 102.Fig. 1 is to include two Edge Servers 102
For illustrate.Each Edge Server 102 in scheduling deployment system 101 and at least one Edge Server 102 can pass through nothing
Line or wired mode are attached.
Scheduling deployment system 101, for managing each Edge Server 102 at least one Edge Server.For example,
It is stored with the full dose configuration data of Edge Server 102 in scheduling deployment system 101, can be each Edge Server 102
Affix one's name to new data etc..The system that scheduling deployment system 101 can be client 1011 and server 1012 forms.
Edge Server 102 is referred to as name server for parsing to the domain name that client is sent
(domain name server, DNS).The configuration data of full dose, the configuration of full dose are stored on each Edge Server 102
Data can be the mapping relations data between domain name, area identification and IP.
In one possible implementation, system shown in FIG. 1 can be CDN system.
Based on above content, a property of Fig. 2 show a kind of data-updating method process signal provided in an embodiment of the present invention
Figure.Edge Server in the example can be any one in the Edge Server 102 in above-mentioned Fig. 1, scheduling deployment system
System can be the scheduling deployment system 101 in above-mentioned Fig. 1.As shown in Figure 2 a, method includes the following steps:
Step 201, Edge Server receives the residual quantity file from scheduling deployment system.
Wherein, residual quantity file includes the data having differences in new full dose configuration data and original full dose configuration data.
In one possible implementation, when user trigger either monitor need to original full dose configuration data into
When row updates, scheduling deployment system can determine having differences between new full dose configuration data and original full dose configuration data
Data.For example, original full dose configuration data includes data A, data B and data C, new full dose configuration data includes data A, number
According to B, data C1With data D, then data C1It is the data having differences with data D, it is understood that include in residual quantity file
Data C1With data D.
Herein, in order to improve stability and reliability of the scheduling deployment system to Edge Server transmission residual quantity file,
In a kind of possible implementation, the residual quantity that the scheduling deployment system can be sent by from SDN to the Edge Server
File.Further, residual quantity file can be the residual quantity file after scheduling system compresses.
Step 202, Edge Server updates the original full dose configuration data stored in Edge Server according to residual quantity file.
In one possible implementation, Edge Server can update in Edge Server according to data in residual quantity file
The original full dose configuration data of storage.
From above-mentioned steps 201 and step 202 as can be seen that residual quantity file include be new full dose configuration data with it is original
The data having differences in full dose configuration data when Edge Server receives residual quantity file, can update former according to residual quantity file
Beginning full dose configuration data does not need to cover whole original full dose configuration datas with new full dose configuration data.I.e. edge takes
Business device only needs to update the data changed, and the data not changed can be not processed, in this way, Edge Server can be improved more
The efficiency of new original full dose configuration data.
Further, the data volume of residual quantity file is less compared to the data volume of new full dose configuration data, therefore, scheduling unit
When administration's system sends the residual quantity file to Edge Server, the network bandwidth of occupancy is smaller, helps to improve scheduling deployment system
The efficiency of data is sent to Edge Server.
In above-mentioned steps 202, the residual quantity file may include major key, the corresponding data manipulation type of the major key, with
And the corresponding key assignments of the major key.The Edge Server can be according to the major key and the corresponding data manipulation class of the major key
Type and the corresponding key assignments of the major key update the original full dose configuration data stored in the Edge Server.
Further, in one possible implementation: if Edge Server determines the major key in the original full dose
Exist in configuration data, then according to the corresponding data manipulation type of the major key and the corresponding key assignments of the major key, described in update
Corresponding first data of major key described in original full dose configuration data.Optionally, data manipulation type may include updating and deleting,
It can specifically be realized by the following two kinds mode and update original full dose configuration data: implementation one, however, it is determined that the major key is corresponding
Data manipulation type is to update, then Edge Server replaces original full dose with the corresponding key assignments of the major key in residual quantity file and configures number
Key assignments in corresponding first data of the major key.Implementation two, however, it is determined that the corresponding data manipulation type of the major key is
It more deletes, then Edge Server deletes corresponding first data of the major key in original full dose configuration data.
In alternatively possible implementation, data manipulation type further includes increasing newly, realizes and updates original full dose configuration
The concrete mode of data can are as follows: the Edge Server is if it is determined that the major key is not present in the original configuration file, then
According to the major key, the corresponding data manipulation type of the major key and corresponding key assignments, in the original full dose configuration data
Increase by the second data.
Illustratively, using residual quantity file be patch (patch) file, full dose configuration data as domain name, area identification and
Illustrate for the mapping relations of IP address.It as shown in Figure 2 b, is in a kind of residual quantity (patch) file provided in an embodiment of the present invention
The storage format schematic diagram of data.As shown in Figure 2 b, in data Map, data manipulation type includes newly-increased (OPT_ADD), is updated
(OPT_UPDATE) and (OPT_DELETE) is deleted, domain name and area identification can form major key, can uniquely identify the data,
The corresponding key assignments of major key is IP address.As shown in Figure 2 b, the corresponding data manipulation type of major key Key1 is to delete, corresponding key assignments
It is IP for key assignments value1;The corresponding data manipulation type of major key Key2 is to update, and corresponding key assignments is that key assignments value is IP2;
The corresponding data manipulation type of major key Key3 be it is newly-increased, corresponding key assignments is that key assignments value is IP3.Optionally, if action type
To delete, then the corresponding key assignments of major key can be sky or other preset fields.
In order to improve the accuracy of data update, in one possible implementation, the residual quantity file further includes the
One MD5 value.Scheduling deployment system carries out abstract operation to new full dose configuration data, obtains the first MD5 value, scheduling deployment system
First MD5 value is also write in residual quantity file.It is described after Edge Server receives the residual quantity file including the first MD5
Edge Server updates the original full dose configuration data stored in the Edge Server according to the residual quantity file, later
The Edge Server determines the 2nd MD5 value of updated full dose configuration data.If the Edge Server determines described
Two MD5 values are identical as the first MD5 value, it is determined that data are updated successfully.If it is determined that the 2nd MD5 value and described first
MD5 value is not identical, then illustrates that data update failure, needs to carry out rollback to data.
In conjunction with above-mentioned Fig. 2 b, in one possible implementation, service is externally provided in order to not influence Edge Server,
Edge Server generally includes at least two shared drives and local file.Edge Server after receiving residual quantity file,
Residual quantity file is decompressed first to obtain the data of format as shown in Figure 2 b, later according to fig. 2 in the data of format shown in b
Major key, the corresponding operation of the major key and the corresponding key assignments of the major key update the first shared drive (this first it is shared in
Save as and currently do not provide the shared drive of service externally) in original full dose configuration data, calculated in shared drive after updating
2nd MD5 value of the updated full dose configuration data.If the 2nd MD5 value is identical as the first MD5 value received,
It then notifies switch to first shared drive of the DNS service process by the shared drive for the service that provides, and then edge clothes can not be influenced
Business device externally provides service, and the efficiency for updating shared drive data can be improved, i.e. shared drive is not needed from Edge Server
Local file in reload new full dose configuration data.
In order to have the backup of complete new full dose configuration data, after the completion of the first shared drive more new data, edge
Server can update the original full dose configuration data in local file according to the residual quantity file.
Above-mentioned data-updating method provided by the present application is illustrated with specific example below with reference to above-mentioned Fig. 2 b.Such as
Shown in Fig. 3, for another data-updating method provided in an embodiment of the present invention, this method comprises the following steps:
Step 301, scheduling deployment system generates residual quantity text according to new full dose configuration data and original full dose configuration data
Part.
The possible implementation of residual quantity file can be identical as in above-mentioned steps 201 in the step.Optionally, residual quantity text
The storage format of data can be as shown in Figure 2 b in part.
Step 302, the first MD5 value of the new full dose configuration data of scheduling deployment system-computed, and the first MD5 value is written
Residual quantity file.
It, can be to the difference in order to further decrease the data volume of scheduling deployment system transmission in a kind of possible implementation
Amount file is compressed.
Step 303, scheduling deployment system sends residual quantity file to each Edge Server.
Correspondingly, Edge Server receives residual quantity file.
Herein, it can be sent, can also be sent by common network by SDN network.
Step 304, Edge Server is corresponding according to the corresponding data manipulation type of major key, major key in residual quantity file and major key
Key assignments update the first shared drive in original full dose configuration data.
Wherein, Edge Server includes at least two shared drives, and the first shared drive is not provide service externally currently
Shared drive.
Herein, the possibility implementation that Edge Server updates original full dose configuration data in the first shared drive can refer to
Specific process in above-mentioned steps 202, is not repeating herein.
Wherein, as shown in Figure 2 b, major key can be domain name and area identification composition, the corresponding key assignments of the major key can be
IP address, data manipulation type include deleting, update and increasing newly.Illustratively, major key Key1Corresponding data manipulation type is
It deletes, corresponding key assignments is that key assignments value is IP1, Edge Server is by major key Key in original full dose configuration data1Corresponding
One data are deleted.Major key Key2Corresponding data manipulation type is to update, and corresponding key assignments is that key assignments value is IP2, edge clothes
Device be engaged in for major key Key in original full dose configuration data2Key assignments IP in corresponding first data1Replacement.Major key Key3It is corresponding
Data manipulation type be it is newly-increased, corresponding key assignments is that key assignments value is IP3, Edge Server is in original full dose configuration data
Increase by the second data, wherein the major key of the second data is Key2, corresponding key assignments value is IP3。
Step 305, Edge Server determines the 2nd MD5 value of updated full dose configuration data.
Step 306, Edge Server determines whether the 2nd MD5 value and the first MD5 value are identical.If they are the same, it thens follow the steps
307;If not identical, 309 are thened follow the steps.
Step 307, Edge Server notice DNS service carries out, it will thus provide it is shared that the shared drive of service switches to first
Memory.
Step 308, Edge Server is corresponding according to the corresponding data manipulation type of major key, major key in residual quantity file and major key
Key assignments update local file in original full dose configuration data.
The process that the original full dose configuration data in local file is updated in the step 308 can refer in above-mentioned update first
The process of full dose configuration data in depositing, details are not described herein again.
There is no sequencing between above-mentioned steps 307 and step 308, execute step 308 after step 307 can be first carried out,
Step 307 is executed after step 308 can also be first carried out, can also be performed simultaneously with step 307 and step 308.
Step 309, rollback is carried out to configuration data.
Based on above content and identical technical concept, the embodiment of the present invention also provides a kind of Edge Server, the edge
The embodiment of the method that above-mentioned data update can be performed in server.Fig. 4 is that the embodiment of the invention provides a kind of Edge Servers
Structural schematic diagram, as shown in figure 4, the Edge Server 400 includes Transmit-Receive Unit 401 and processing unit 402.Side in the example
Edge server 400 can execute edge in above-mentioned Fig. 2 a or Fig. 3 with any of the Edge Server 102 in above-mentioned Fig. 1
The corresponding scheme executed of server.
Transmit-Receive Unit, for receiving the residual quantity file from scheduling deployment system, the residual quantity file includes new full dose
The data being had differences in configuration data and original full dose configuration data;Processing unit, for being updated according to the residual quantity file
The original full dose configuration data stored in the Edge Server.
In one possible implementation, the residual quantity file includes major key, the corresponding data manipulation class of the major key
Type and the corresponding key assignments of the major key;The processing unit, is specifically used for: according to the major key, the corresponding number of the major key
According to action type and the corresponding key assignments of the major key, the original full dose configuration stored in the Edge Server is updated
Data.
In one possible implementation, the processing unit, is specifically used for: if it is determined that the major key is described original
Exist in full dose configuration data, then according to the corresponding data manipulation type of the major key and the corresponding key assignments of the major key, updates
Corresponding first data of major key described in the original full dose configuration data;Or, however, it is determined that the major key original is matched described
It sets in file and is not present, then according to the major key, the corresponding data manipulation type of the major key and the corresponding key assignments of the major key,
Increase by the second data in the original full dose configuration data.
In one possible implementation, the residual quantity file further includes the 5th edition MD5 value of first message digest algorithm,
The first MD5 value is that the scheduling deployment system is generated according to the new full dose configuration data;The processing unit, also
For: determine the 2nd MD5 value of updated full dose configuration data;If it is determined that the 2nd MD5 value and the first MD5 value phase
Together, it is determined that data are updated successfully.
In one possible implementation, the Edge Server includes shared drive;The processing unit, is used for:
The original full dose configuration data in the shared drive of the Edge Server is updated according to the residual quantity file.
In one possible implementation, the Transmit-Receive Unit, is specifically used for: receiving and comes from the scheduling deployment system
The residual quantity file sent by software defined network SDN.
It can be seen from the above: what residual quantity file included is new full dose configuration data and original full dose configuration data
In the data that have differences, when Edge Server receives residual quantity file, original full dose can be updated according to residual quantity file and configure number
According to not needing to cover whole original full dose configuration datas with new full dose configuration data.I.e. Edge Server only needs more
The data newly changed, the data not changed can be not processed, and be matched in this way, Edge Server can be improved and update original full dose
Set the efficiency of data.
Further, the data volume of residual quantity file is less compared to the data volume of new full dose configuration data, therefore, scheduling unit
When administration's system sends the residual quantity file to Edge Server, the network bandwidth of occupancy is smaller, helps to improve scheduling deployment system
The efficiency of data is sent to Edge Server.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real
Now, it when being realized using software program, can entirely or partly realize in the form of a computer program product.The computer
Program product includes one or more instructions.When loading on computers and executing the computer program instructions, whole or portion
Ground is divided to generate according to process or function described in the embodiment of the present invention.The computer can be general purpose computer, dedicated computing
Machine, computer network or other programmable devices.Described instruction can store in computer storage medium, or from one
A computer storage medium is transmitted to another computer storage medium, for example, described instruction can be from a web-site, meter
Calculation machine, server or data center are (such as red by wired (such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless
Outside, wirelessly, microwave etc.) mode transmitted to another web-site, computer, server or data center.The calculating
Machine storage medium can be any usable medium that computer can access or include that one or more usable mediums are integrated
The data storage devices such as server, data center.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, magnetic
Band, magneto-optic disk (MO) etc.), optical medium (for example, CD, DVD, BD, HVD etc.) or semiconductor medium (such as ROM, EPROM,
EEPROM, nonvolatile memory (NAND FLASH), solid state hard disk (Solid State Disk, SSD)) etc..In the art
Technical staff it should be appreciated that the embodiment of the present invention can provide as method, system or computer program product.Therefore, the present invention is real
Applying example can be used the form of complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects.And
And the embodiment of the present invention can be used to use in the computer that one or more wherein includes computer usable program code and store
The form for the computer program product implemented on medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.).
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, equipment (system) and computer program product
Flowchart and/or the block diagram describe.It should be understood that can be by each process in instruction implementation flow chart and/or block diagram
And/or the combination of the process and/or box in box and flowchart and/or the block diagram.These instructions be can provide to general meter
Calculation machine, special purpose computer, Embedded Processor or other programmable data processing devices processor to generate a machine, make
It obtains and is generated by the instruction that computer or the processor of other programmable data processing devices execute for realizing in flow chart one
The device for the function of being specified in a process or multiple processes and/or one or more blocks of the block diagram.These instructions can also
It is stored in and is able to guide in computer or other programmable data processing devices computer-readable memory operate in a specific manner,
So that instruction stored in the computer readable memory generates the manufacture including command device, which, which realizes, exists
The function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram.
These instructions also can be loaded onto a computer or other programmable data processing device so that computer or other
Series of operation steps are executed on programmable device to generate computer implemented processing, thus in computer or other are programmable
The instruction that executes in equipment is provided for realizing in one box of one or more flows of the flowchart and/or block diagram or more
The step of function of being specified in a box.
Obviously, those skilled in the art can carry out various modification and variations without departing from this hair to the embodiment of the present invention
Bright spirit and scope.In this way, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention and its wait
Within the scope of technology, then the present invention is also intended to include these modifications and variations.
Claims (14)
1. a kind of data-updating method characterized by comprising
Edge Server receives the residual quantity file from scheduling deployment system, and the residual quantity file includes new full dose configuration data
With the data being had differences in original full dose configuration data;
The Edge Server updates the original full dose configuration stored in the Edge Server according to the residual quantity file
Data.
2. the method as described in claim 1, which is characterized in that the residual quantity file includes major key, the corresponding number of the major key
According to action type and the corresponding key assignments of the major key;
The Edge Server updates the original full dose configuration stored in the Edge Server according to the residual quantity file
Data, comprising:
The Edge Server is corresponding according to the major key, the corresponding data manipulation type of the major key and the major key
Key assignments updates the original full dose configuration data stored in the Edge Server.
3. method according to claim 2, which is characterized in that the Edge Server is according to the major key, the major key pair
It is original complete to update store in the Edge Server described for the data manipulation type and the corresponding key assignments of the major key answered
Measure configuration data, comprising:
The Edge Server is if it is determined that the major key exists in the original full dose configuration data, then according to the major key pair
It is corresponding to update major key described in the original full dose configuration data for the data manipulation type and the corresponding key assignments of the major key answered
First data;Alternatively,
The Edge Server is if it is determined that the major key is not present in the original configuration file, then according to the major key, institute
The corresponding data manipulation type of major key and the corresponding key assignments of the major key are stated, increases by second in the original full dose configuration data
Data.
4. method as described in any one of claims 1 to 3, which is characterized in that the residual quantity file further includes that first message is plucked
The 5th edition MD5 value of algorithm is wanted, the first MD5 value is that the scheduling deployment system is generated according to the new full dose configuration data
's;
The Edge Server updates the original full dose configuration stored in the Edge Server according to the residual quantity file
After data, further includes:
The Edge Server determines the 2nd MD5 value of updated full dose configuration data;
The Edge Server is if it is determined that the 2nd MD5 value is identical as the first MD5 value, it is determined that data are updated successfully.
5. method as described in any one of claims 1 to 3, which is characterized in that the Edge Server includes shared drive;
The Edge Server updates the original full dose configuration stored in the Edge Server according to the residual quantity file
Data, comprising:
The Edge Server updates the original in the shared drive of the Edge Server according to the residual quantity file
Beginning full dose configuration data.
6. method as described in any one of claims 1 to 3, which is characterized in that the Edge Server, which receives, comes from scheduling unit
The residual quantity file of administration's system, comprising:
The Edge Server receives the residual quantity text sent from the scheduling deployment system by software defined network SDN
Part.
7. a kind of Edge Server characterized by comprising
Transmit-Receive Unit, for receiving the residual quantity file from scheduling deployment system, the residual quantity file includes new full dose configuration
The data being had differences in data and original full dose configuration data;
Processing unit, for updating the original full dose configuration number stored in the Edge Server according to the residual quantity file
According to.
8. Edge Server as claimed in claim 7, which is characterized in that the residual quantity file includes major key, the major key pair
The data manipulation type and the corresponding key assignments of the major key answered;
The processing unit, is specifically used for:
According to the major key, the corresponding data manipulation type of the major key and the corresponding key assignments of the major key, the side is updated
The original full dose configuration data stored in edge server.
9. Edge Server as claimed in claim 8, which is characterized in that the processing unit is specifically used for:
If it is determined that the major key exists in the original full dose configuration data, then according to the corresponding data manipulation class of the major key
Type and the corresponding key assignments of the major key update corresponding first data of major key described in the original full dose configuration data;Alternatively,
If it is determined that the major key is not present in the original configuration file, then according to the major key, the corresponding number of the major key
According to action type and the corresponding key assignments of the major key, increase by the second data in the original full dose configuration data.
10. such as the described in any item Edge Servers of claim 7 to 9, which is characterized in that the residual quantity file further includes first
Message Digest Algorithm 5 MD5 value, the first MD5 value are the scheduling deployment systems according to the new full dose configuration number
According to generation;
The processing unit, is also used to:
Determine the 2nd MD5 value of updated full dose configuration data;If it is determined that the 2nd MD5 value and the first MD5 value phase
Together, it is determined that data are updated successfully.
11. such as the described in any item Edge Servers of claim 7 to 9, which is characterized in that the Edge Server includes shared
Memory;
The processing unit, is used for:
The original full dose configuration data in the shared drive of the Edge Server is updated according to the residual quantity file.
12. such as the described in any item Edge Servers of claim 7 to 9, which is characterized in that the Transmit-Receive Unit is specifically used for:
Receive the residual quantity file sent from the scheduling deployment system by software defined network SDN.
13. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer can
It executes instruction, the computer executable instructions are for requiring the computer perform claim described in 1 to 6 any claim
Method.
14. a kind of computer equipment characterized by comprising
Memory, for storing program instruction;
Processing unit executes such as claim 1 according to the program of acquisition for calling the program instruction stored in the memory
To method described in 6 any claims.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811250344.2A CN109257228A (en) | 2018-10-25 | 2018-10-25 | A kind of data-updating method and Edge Server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811250344.2A CN109257228A (en) | 2018-10-25 | 2018-10-25 | A kind of data-updating method and Edge Server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109257228A true CN109257228A (en) | 2019-01-22 |
Family
ID=65046310
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811250344.2A Pending CN109257228A (en) | 2018-10-25 | 2018-10-25 | A kind of data-updating method and Edge Server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109257228A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112130882A (en) * | 2020-09-29 | 2020-12-25 | 中国银行股份有限公司 | Version updating method and device |
CN112367403A (en) * | 2020-11-13 | 2021-02-12 | 深圳市前海手绘科技文化有限公司 | Animation draft online storage optimization method and device |
CN114866418A (en) * | 2021-01-18 | 2022-08-05 | 网宿科技股份有限公司 | Dynamic configuration method, system and server for configuration information |
CN114900424A (en) * | 2022-05-27 | 2022-08-12 | 网易(杭州)网络有限公司 | Data hot-repair method and device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106909427A (en) * | 2017-03-23 | 2017-06-30 | 北京奇虎科技有限公司 | A kind of Oftware updating method, device and software update data dissemination method, system |
CN107133285A (en) * | 2017-04-18 | 2017-09-05 | 北京北信源软件股份有限公司 | A kind of distributed major key generation method and device |
CN107239299A (en) * | 2017-04-28 | 2017-10-10 | 北京五八信息技术有限公司 | Plug-in unit upgrade method and device |
-
2018
- 2018-10-25 CN CN201811250344.2A patent/CN109257228A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106909427A (en) * | 2017-03-23 | 2017-06-30 | 北京奇虎科技有限公司 | A kind of Oftware updating method, device and software update data dissemination method, system |
CN107133285A (en) * | 2017-04-18 | 2017-09-05 | 北京北信源软件股份有限公司 | A kind of distributed major key generation method and device |
CN107239299A (en) * | 2017-04-28 | 2017-10-10 | 北京五八信息技术有限公司 | Plug-in unit upgrade method and device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112130882A (en) * | 2020-09-29 | 2020-12-25 | 中国银行股份有限公司 | Version updating method and device |
CN112367403A (en) * | 2020-11-13 | 2021-02-12 | 深圳市前海手绘科技文化有限公司 | Animation draft online storage optimization method and device |
CN112367403B (en) * | 2020-11-13 | 2023-08-22 | 深圳市前海手绘科技文化有限公司 | Online preservation and optimization method and device for animation draft |
CN114866418A (en) * | 2021-01-18 | 2022-08-05 | 网宿科技股份有限公司 | Dynamic configuration method, system and server for configuration information |
CN114900424A (en) * | 2022-05-27 | 2022-08-12 | 网易(杭州)网络有限公司 | Data hot-repair method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109257228A (en) | A kind of data-updating method and Edge Server | |
US11740975B2 (en) | System and method for managing blockchain nodes | |
US10055133B2 (en) | System and method for controlling automated page-based tier management in storage systems | |
US11296940B2 (en) | Centralized configuration data in a distributed file system | |
US20150293821A1 (en) | Healing cloud services during upgrades | |
CN104348849B (en) | Instant messaging key-value data distributing method, server, client and system | |
CN106528224A (en) | Content updating method and system for Docker container, and server | |
KR102376713B1 (en) | Composite partition functions | |
CN109683826A (en) | Expansion method and device for distributed memory system | |
US10897500B2 (en) | Synchronizing a device using push notifications | |
CN110336834A (en) | Treating method and apparatus for firewall policy | |
US9830333B1 (en) | Deterministic data replication with conflict resolution | |
US10225159B2 (en) | Dynamic graph-based structure for representing a communications network | |
US11580148B2 (en) | Document storage and management | |
KR20130012929A (en) | Method and system for efficient download of data package | |
CN109150608A (en) | Interface service upgrade method and system for voice dialogue platform | |
CN107483241A (en) | A kind of method and apparatus that upgrade image version is downloaded during network element updating | |
US20140365657A1 (en) | Management of network devices within a dispersed data storage network | |
CN106921721A (en) | A kind of server, conversation managing method and system | |
CN109726038B (en) | Method and apparatus for managing virtual machines | |
CN111277628B (en) | Server configuration method and device and service server | |
US10798147B2 (en) | Constraint based controlled seeding | |
US11663048B2 (en) | On-premises to cloud workload migration through cyclic deployment and evaluation | |
US20210034276A1 (en) | Method, a device, and a computer program product for processing data | |
CN116719481B (en) | Configuration data processing method and device and related equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190122 |
|
RJ01 | Rejection of invention patent application after publication |