CN109309588A - Guarantee the method and apparatus of mobilism configuration data consistency - Google Patents

Guarantee the method and apparatus of mobilism configuration data consistency Download PDF

Info

Publication number
CN109309588A
CN109309588A CN201811197351.0A CN201811197351A CN109309588A CN 109309588 A CN109309588 A CN 109309588A CN 201811197351 A CN201811197351 A CN 201811197351A CN 109309588 A CN109309588 A CN 109309588A
Authority
CN
China
Prior art keywords
data
mobilism
configuration
configuration data
perdurable
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
CN201811197351.0A
Other languages
Chinese (zh)
Other versions
CN109309588B (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.)
Netease Media Technology Beijing Co Ltd
Original Assignee
Netease Media Technology Beijing 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 Netease Media Technology Beijing Co Ltd filed Critical Netease Media Technology Beijing Co Ltd
Priority to CN201811197351.0A priority Critical patent/CN109309588B/en
Publication of CN109309588A publication Critical patent/CN109309588A/en
Application granted granted Critical
Publication of CN109309588B publication Critical patent/CN109309588B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0866Checking the configuration

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Embodiments of the present invention provide a kind of method for guaranteeing mobilism configuration data consistency.This method comprises: receiving the use request for mobilism configuration data;According to the usage record for being directed to the mobilism configuration data, to the perdurable data or network data for using the sender of request to feed back the mobilism configuration data.Embodiment of the present invention proposes method, when receiving using request, according to the usage record of mobilism configuration data, to the business feedback perdurable data or network data sent using request, to ensure that the consistency of mobilism configuration data that business receives, avoid because mobilism configuration data it is inconsistent caused by the chaotic problem of processing.In addition, embodiments of the present invention additionally provide a kind of device for guaranteeing mobilism configuration data consistency.

Description

Guarantee the method and apparatus of mobilism configuration data consistency
Technical field
Embodiments of the present invention are related to mobilism field of configuration, more specifically, embodiments of the present invention are related to guaranteeing The method and apparatus of mobilism configuration data consistency.
Background technique
Background that this section is intended to provide an explanation of the embodiments of the present invention set forth in the claims or context.Herein Description recognizes it is the prior art not because not being included in this section.
Variation for the functional configuration of client, traditional method are to need to solve by issuing new version. But if it is certain change be urgent for client, such as on line client caused by function largely collapse or some The variation of movable function causes client to need the offline function, then not obviously being able to satisfy by released version this urgent Property, and the mode of released version can not also solve the allocation problem still using the user of early version.
For these problems, mobilism configuration data system is derived.Mobilism configuration data system possesses a set of configuration Center background system, maintenance personnel can be configured by functional attributes of the system to client, and client functionality is logical It crosses and reads backstage progress validity check, do not need to solve separately through released version again.
In the case where user environment does not have the network data of network or mobilism configuration data not yet to issue completion, visitor The business default at family end uses the perdurable data of mobilism configuration data;When having obtained network data, the business of client The network data that will use mobilism configuration data, this generates the inconsistent phenomenons of mobilism configuration data.Due to dynamic Change configuration data mostly it is corresponding be each business switch, this phenomenon can directly result in service logic judgement on handles Chaotic problem.
Summary of the invention
In the present context, embodiments of the present invention are intended to provide a kind of side for guaranteeing mobilism configuration data consistency Method and device.
In the first aspect of embodiment of the present invention, a kind of side for guaranteeing mobilism configuration data consistency is provided Method, comprising:
The use received for mobilism configuration data is requested;
According to the usage record for being directed to the mobilism configuration data, fed back to the sender using request described dynamic The perdurable data or network data of state configuration data.
In the second aspect of embodiment of the present invention, a kind of dress for guaranteeing mobilism configuration data consistency is provided It sets, comprising:
Request receiving module, for receiving the use request for being directed to mobilism configuration data;
Distribution module, for using the hair requested to described according to the usage record for being directed to the mobilism configuration data Feed back the perdurable data or network data of the mobilism configuration data in the side of sending.
In the third aspect of embodiment of the present invention, a kind of computer-readable medium is provided, is stored thereon with calculating The step of machine program, which is executed by processor the method for realizing above-mentioned guarantee mobilism configuration data consistency.
In the fourth aspect of embodiment of the present invention, provide a kind of calculating equipment, comprising: memory, processor and The computer program that can be run on a memory and on a processor is stored, the processor is realized above-mentioned when executing described program The step of guaranteeing the method for mobilism configuration data consistency.
The method and apparatus of the guarantee mobilism configuration data consistency of embodiment according to the present invention, are directed to when receiving When the use request of mobilism configuration data, according to the usage record of mobilism configuration data, certainly directive sending uses request Business feeds back perdurable data or network data, the consistency for the mobilism configuration data that the business of ensure that receives, and avoids because dynamic The problem of processing confusion caused by state configuration data is inconsistent.
Detailed description of the invention
The following detailed description is read with reference to the accompanying drawings, above-mentioned and other mesh of exemplary embodiment of the invention , feature and advantage will become prone to understand.In the accompanying drawings, if showing by way of example rather than limitation of the invention Dry embodiment, in which:
Fig. 1 schematically shows the application scenarios schematic diagram of embodiment of the present invention;
Fig. 2 schematically shows the method streams according to an embodiment of the invention for guaranteeing mobilism configuration data consistency Cheng Tu;
The method that Fig. 3 schematically shows the guarantee mobilism configuration data consistency of another embodiment according to the present invention Flow chart;
Fig. 4 schematically shows in the method according to an embodiment of the invention for guaranteeing mobilism configuration data consistency The record and feedback schematic diagram of mobilism configuration data cache hit system;
Fig. 5 schematically shows according to an embodiment of the invention for guaranteeing the side of mobilism configuration data consistency The medium schematic diagram of method;
Fig. 6 schematically shows the device knot according to an embodiment of the invention for guaranteeing mobilism configuration data consistency Structure schematic diagram;
Fig. 7 schematically shows the structural schematic diagram according to an embodiment of the invention for calculating equipment.
In the accompanying drawings, identical or corresponding label indicates identical or corresponding part.
Specific embodiment
The principle and spirit of the invention are described below with reference to several illustrative embodiments.It should be appreciated that providing this A little embodiments are used for the purpose of making those skilled in the art can better understand that realizing the present invention in turn, and be not with any Mode limits the scope of the invention.On the contrary, these embodiments are provided so that this disclosure will be more thorough and complete, and energy It is enough that the scope of the present disclosure is completely communicated to those skilled in the art.
One skilled in the art will appreciate that embodiments of the present invention can be implemented as a kind of system, device, equipment, method Or computer program product.Therefore, the present disclosure may be embodied in the following forms, it may be assumed that complete hardware, complete software The form that (including firmware, resident software, microcode etc.) or hardware and software combine.
Embodiment according to the present invention proposes method, the medium, dress of a kind of guarantee mobilism configuration data consistency Set and calculate equipment.
Herein, any number of elements in attached drawing is used to example rather than limitation and any name are only used for It distinguishes, without any restrictions meaning.
Below with reference to several representative embodiments of the invention, the principle and spirit of the present invention are explained in detail.
Summary of the invention
The inventors discovered that the business of client uses dynamic when not receiving the network data of mobilism configuration data The perdurable data of state configuration data;Later, after the network data for receiving mobilism configuration data, the business of client Use the network data of mobilism configuration data;This phenomenon inconsistent there have been the mobilism configuration data that business uses, Cause business processing chaotic.
In view of this, being received the present invention provides a kind of method and apparatus for guaranteeing mobilism configuration data consistency In the case where the network data of mobilism configuration data, when receiving the use request of the mobilism configuration data from business, According to the usage record of mobilism configuration data, perdurable data or network data are fed back to business, to guarantee that business receives The mobilism configuration data arrived is consistent, avoids the occurrence of the problem of business processing confusion.
After introduced the basic principles of the present invention, lower mask body introduces various non-limiting embodiment party of the invention Formula.
Application scenarios overview
It is the application scenarios schematic diagram of embodiment of the present invention referring initially to Fig. 1, Fig. 1.In Fig. 1, business for the first time to When mobilism configuration data system is issued using request, since client not yet receives the network number of mobilism configuration data According to, therefore mobilism configuration data system feeds back perdurable data to business, if configuration field Config1 is perdurable data. When business is issued to mobilism configuration data system using request for the second time, since client has received mobilism configuration data Network data, therefore mobilism configuration data system, to business feedback network data, such as configuration field Config1 is network number According to.As it can be seen that the content received twice before and after business is inconsistent for the same configuration field Config1, lead to subsequent possibility There is the problem of the chaotic mistake of processing.
The embodiment of the present invention is applied to above-mentioned scene, the cache hit device based on mobilism configuration data system is arranged, i.e., Mobilism configuration data cache hit system.The use request of business is received by mobilism configuration data cache hit system, and According to perdurable data from usage record to business feedback mobilism configuration data or network data, to guarantee that business receives Data consistency.
Below in conjunction with attached drawing, lifts specific embodiment and be discussed in detail.
Illustrative methods
Below with reference to the application scenarios of Fig. 1, be described with reference to Figure 2 illustrative embodiments according to the present invention for guaranteeing The method of mobilism configuration data consistency.It should be noted that above-mentioned application scenarios be merely for convenience of understanding it is of the invention Spirit and principle and show, embodiments of the present invention are not limited in this respect.On the contrary, embodiments of the present invention can To be applied to applicable any scene.
As shown in Fig. 2, the method for the guarantee mobilism configuration data consistency of the embodiment of the present invention the following steps are included:
S21: the use received for mobilism configuration data is requested.
In the present embodiment, the business of coming from can be received using pre-set mobilism configuration data cache hit system Use request.
S22: according to the usage record for being directed to the mobilism configuration data, institute is fed back to the sender using request State the perdurable data or network data of mobilism configuration data.
In a kind of possible embodiment, step S22 may include: in the network number for having obtained mobilism configuration data According to when, in the usage record exist record configuration field, to it is described using request sender feedback described in hold The configuration field in longization data;For, there is no the configuration field of record, being asked to the use in the usage record The sender asked feeds back the configuration field in the network data.
Specifically, feelings of the mobilism configuration data cache hit system in the network data for having obtained mobilism configuration data Under condition, for this using request, for there is the configuration field of record in usage record, to sender's (this for using request In embodiment, the sender be application) feedback perdurable data in the configuration field;For there is no notes in usage record The configuration field of record, then configuration field into the sender's feedback network data for using request.
In the present embodiment, usage record refers to that mobilism configuration data cache hit system is not obtaining network data Before, it is requested for the use of mobilism configuration data, the record saved when feeding back perdurable data to application.
Specifically, it in a kind of possible embodiment, after above-mentioned steps S21, may further include: not obtaining When the network data of mobilism configuration data, to use request sender feed back mobilism configuration data perdurable data, And the record of each configuration field in the perdurable data is saved in the usage record.
As it can be seen that if there are some configuration fields in usage record, then it represents that the configuration field in perdurable data is Through being received and being used by application;If in usage record be not present some configuration field, then it represents that the configuration field not yet by Using receiving and used.Therefore, according to the usage record, mobilism configuration data cache hit system be can choose to application Perdurable data (for there are the configuration fields of usage record) or network data are fed back (for the configuration that usage record is not present Field), to guarantee to be consistent using multiple received mobilism configuration data.
In a kind of possible embodiment, it is in order to identify that some configuration field in perdurable data is corresponding Some configuration field in network data can be each configuration field in perdurable data and each in network data Unique identification is arranged in a configuration field.
In a kind of possible embodiment, can using configuration field parent information as the configuration field only One mark.
It may include: to obtain mobilism for the mode that unique identification is arranged in each configuration field for perdurable data When the perdurable data of configuration data, unique identification is injected using each configuration field of the reflection mode into perdurable data.
For network data, the mode of unique identification is set for each configuration field, can at least use following two shape Formula:
The first, it is each into network data using reflection mode when obtaining the network data of mobilism configuration data A configuration field injects unique identification.
Second, when obtaining the network data of mobilism configuration data, if there is the usage record, then using anti- Penetrate each configuration field injection unique identification of the mode into network data.
For the above-mentioned second way, mobilism configuration data cache hit system is looked into first when obtaining network data Ask usage record.If there is usage record, perdurable data once was fed back to application before showing, subsequent there are mobilism to match Set a possibility that data are inconsistent, thus can each configuration field into network data inject unique identification, for subsequent It distinguishes and feeds back mobilism configuration data and used.If there is no usage record, do not fed back persistently to application before showing Change data, it is subsequent there is no mobilism configuration data it is inconsistent a possibility that, therefore it is subsequent only need it is complete in feedback network data Portion's configuration field also just injects unique identification without the configuration field into network data.
In addition, some configuration fields for not influencing consistency operation are directed to, without injecting unique identification to the configuration field; For these configuration fields, the filter operation of injection mark can be carried out in the form of explaining.
In a kind of possible embodiment, after above-mentioned steps S22, it may further include:
S23: client or the visitor are exited when sending the business that the use for mobilism configuration data is requested When the thermal starting of family end, the usage record is deleted.
As shown in figure 3, on the basis of the above embodiments, the guarantee mobilism configuration data one of another embodiment of the present invention Cause property method the following steps are included:
S31: when not obtaining network data, mobilism configuration data cache hit system, which is received, configures number for mobilism According to use request, this use request be by client application send.
S32: mobilism configuration data cache hit system to this application feedback perdurable data, using reflection mode to this Each configuration field in perdurable data injects parent information.
S33: mobilism configuration data cache hit system stores usage record in local cache pool, the usage record Including each configuration field and its parent information in the perdurable data.
S34: when mobilism configuration data cache hit system receives the network data of mobilism configuration data, using anti- Penetrate each configuration field injection parent information of the mode into network data.
S35: mobilism configuration data cache hit system receives the use request for mobilism configuration data, the use Request is also to be sent by above-mentioned application.
S36: usage record present in mobilism configuration data cache hit system check cache pool, once hit is lasting Change some configuration field (namely there are the records of the configuration field in usage record) of data, then feeds back persistence to application The configuration field in data;(configuration field is not present for the configuration field not hit namely in usage record Record), then to using the configuration field in feedback network data.
If Fig. 4 is the record of mobilism configuration data cache hit system and feedback schematic diagram in the present embodiment.
In Fig. 4, mobilism configuration data cache hit system receives for the first time when not yet receiving network data The use request for carrying out self-application, includes configuration field Config1 into the perdurable data of application feedback.Mobilism configuration data Cache hit system records Config1 and its parent information in perdurable data in the usage record locally saved.
Mobilism configuration data cache hit system receives carry out self-application for the second time after network data has been received Use request.Mobilism configuration data cache hit system queries are preserved in perdurable data into usage record Config1 in perdurable data is then directly fed back to the application by Config1 and its parent information;Remember in use There is no the configuration field of record in record, then the configuration field in network data is fed back into the application.
It is received using the method for the present embodiment in the case where not yet obtaining the network data of mobilism configuration data For mobilism configuration data use request when, to use request sender feed back mobilism configuration data persistence number According to, and in usage record save perdurable data in each configuration field record.Later, mobilism configuration data is being obtained Network data in the case where, receive for mobilism configuration data use request when, for existing in usage record The configuration field of record feeds back the configuration field in perdurable data to sender;For there is no notes in usage record The configuration field of record, the configuration field into sender's feedback network data.In this way, it ensure that and fed back to application Mobilism configuration data consistency.
Exemplary media
After describing the method for exemplary embodiment of the invention, next, with reference to Fig. 5, it is exemplary to the present invention The medium of embodiment is illustrated.
In some possible embodiments, various aspects of the invention are also implemented as a kind of computer-readable Jie Matter is stored thereon with program, when said program is executed by a processor for realizing above-mentioned " illustrative methods " portion of this specification Step in the method for the guarantee mobilism configuration data consistency of various illustrative embodiments according to the present invention described in point Suddenly.
Specifically, for realizing following steps when the processor executes described program:
The use received for mobilism configuration data is requested;
According to the usage record for being directed to the mobilism configuration data, fed back to the sender using request described dynamic The perdurable data or network data of state configuration data.
In a kind of possible embodiment, according to the usage record for being directed to the mobilism configuration data, make to described The perdurable data or network data of the mobilism configuration data are fed back with the sender of request, comprising:
When having obtained the network data of mobilism configuration data, for there is the configuration of record in the usage record Field feeds back the configuration field in the perdurable data to the sender using request;For using note described There is no the configuration fields of record in record, feed back the configuration words in the network data to the sender using request Section.
In a kind of possible embodiment, after receiving the use request for mobilism configuration data, further wrap It includes:
When not obtaining the network data of mobilism configuration data, mobilism is fed back to the sender using request and is matched The perdurable data of data is set, and saves the record of each configuration field in the perdurable data in the usage record.
In a kind of possible embodiment, further comprise: in the perdurable data for the mobilism configuration data Each configuration field and mobilism configuration data network data in each configuration field be arranged unique identification.
Above-mentioned unique identification is the parent information of configuration field.
It is each configuration words in the perdurable data of the mobilism configuration data in a kind of possible embodiment Section setting unique identification, comprising: obtain mobilism configuration data perdurable data when, using reflection mode to it is described persistently The each configuration field changed in data injects unique identification.
It is each configuration field setting in the network data of mobilism configuration data in a kind of possible embodiment Unique identification, comprising: when obtaining the network data of mobilism configuration data, if there is the usage record, then using anti- Penetrate each configuration field injection unique identification of the mode into the network data.
In a kind of possible embodiment, further comprise: when the transmission use for being directed to mobilism configuration data When the business of request exits client or the client thermal starting, the usage record is deleted.
It should be understood that above-mentioned medium can be readable signal medium or readable storage medium storing program for executing.Readable storage medium Matter can be for example but not limited to: electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or it is any Above combination.The more specific example (non exhaustive list) of readable storage medium storing program for executing includes: to have one or more conducting wires Electrical connection, portable disc, hard disk, random access memory (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-ROM), light storage device, magnetic memory device or The above-mentioned any appropriate combination of person.
As shown in figure 5, the medium 50 of embodiment according to the present invention is described, it can be using portable compact disc only It reads memory (CD-ROM) and including program, and can be run in equipment.However, the invention is not limited thereto, in this document, Readable storage medium storing program for executing can be any tangible medium for including or store program, which can be commanded execution system, device Either device use or in connection.
Readable signal medium may include in a base band or as the data-signal that carrier wave a part is propagated, wherein carrying Readable program code.The data-signal of this propagation can take various forms, including but not limited to: electromagnetic signal, light letter Number or above-mentioned any appropriate combination.Readable signal medium can also be any readable medium other than readable storage medium storing program for executing, The readable medium can be sent, propagated or be transmitted for being used by instruction execution system, device or device or being tied with it Close the program used.
The program for executing operation of the present invention can be write with any combination of one or more programming languages Code, described program design language include object oriented program language-Java, C++ etc., further include conventional Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user It calculates and is executed in equipment, partially partially executes or remotely counted completely on a remote computing on the user computing device It calculates and is executed on equipment or server.In the situation for being related to remote computing device, remote computing device can pass through any kind Network-include that local area network (LAN) or wide area network (WAN)-are connected to user calculating equipment.
Exemplary means
After describing the medium of exemplary embodiment of the invention, next, with reference to Fig. 6, it is exemplary to the present invention The device of embodiment is illustrated.
As shown in fig. 6, the device of the guarantee mobilism configuration data consistency of the embodiment of the present invention may include:
Request receiving module 601, for receiving the use request for being directed to mobilism configuration data;
Distribution module 602, for according to the usage record for being directed to mobilism configuration data, to using the sender of request anti- Present the perdurable data or network data of mobilism configuration data.
In a kind of possible embodiment, the distribution module 602 is used for:
In the case where having obtained the network data of mobilism configuration data, for there is record in the usage record Configuration field, to it is described using request sender feed back the configuration field in the perdurable data;For described In usage record there is no record configuration field, to it is described using request sender feed back this in the network data match Set field.
In a kind of possible embodiment, distribution module 602 is also used to, in the network for not obtaining mobilism configuration data In the case where data, the perdurable data of mobilism configuration data is fed back to the sender using request;
Above-mentioned apparatus further include:
Logging modle 603, it is described for saving the record of each configuration field in perdurable data in the usage record Perdurable data is that distribution module is fed back in the case where not obtaining the network data.
In a kind of possible embodiment, above-mentioned apparatus further comprises:
Identify and arrange module 604, in the perdurable data for the mobilism configuration data each configuration field, And unique identification is arranged in each configuration field in the network data of mobilism configuration data.
Above-mentioned unique identification is the parent information of configuration field.
In a kind of possible embodiment, the identify and arrange module 604 is used for:
It is each into the perdurable data using reflection mode when obtaining the perdurable data of mobilism configuration data A configuration field injects unique identification;
When obtaining the network data of mobilism configuration data, matched using each into the network data of reflection mode Set field injection unique identification;Alternatively, using note if there is described when obtaining the network data of mobilism configuration data Record, then each configuration field using reflection mode into the network data injects unique identification.
In a kind of possible embodiment, the logging modle 603 is also used to, described for mobilism configuration when sending When the business of the use request of data exits client or the client thermal starting, the usage record is deleted.
Exemplary computer device
After method, medium and the device for describing exemplary embodiment of the invention, next, with reference to Fig. 7 to this The calculating equipment of invention illustrative embodiments is illustrated.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here Referred to as circuit, " module " or " system ".
In some possible embodiments, the calculating equipment of embodiment can include at least at least one according to the present invention A processing unit and at least one storage unit.Wherein, the storage unit is stored with program code, when described program generation When code is executed by the processing unit, described in above-mentioned " illustrative methods " part of this specification so that the processing unit executes Guarantee mobilism configuration data consistency according to various exemplary embodiments of the present invention method in step.
The calculating equipment 70 of this embodiment according to the present invention is described referring to Fig. 7.The calculating that Fig. 7 is shown is set Standby 70 be only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
It is showed in the form of universal computing device as shown in fig. 7, calculating equipment 70.Calculate equipment 70 component may include But be not limited to: at least one above-mentioned processing unit 701, at least one above-mentioned storage unit 702 connect different system component (packets Include processing unit 701 and storage unit 702) bus 703.
Bus 703 includes data/address bus, control bus and address bus.
Storage unit 702 may include the readable medium of form of volatile memory, such as random access memory (RAM) 7021 and/or cache memory 7022, it may further include the readable medium of nonvolatile memory form, such as only Read memory (ROM) 7023.
Storage unit 702 can also include program/utility with one group of (at least one) program module 7024 7025, such program module 7024 includes but is not limited to: operating system, one or more application program, other program moulds It may include the realization of network environment in block and program data, each of these examples or certain combination.
Calculating equipment 70 can also communicate with one or more external equipments 704 (such as keyboard, sensing equipment etc.).It is this Communication can be carried out by input/output (I/O) interface 705.Also, network adapter 706 can also be passed through by calculating equipment 70 With one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication. As shown in fig. 7, network adapter 706 is communicated by bus 703 with the other modules for calculating equipment 70.It will be appreciated that though figure In be not shown, can in conjunction with calculate equipment 70 use other hardware and/or software module, including but not limited to: microcode, equipment Driver, redundant processing unit, external disk drive array, RAID system, tape drive and data backup storage system Deng.
If it should be noted that although being referred to the device for guaranteeing mobilism configuration data consistency in the above detailed description Dry units/modules or subelement/submodule, but this division be only exemplary it is not enforceable.In fact, according to The feature and function of embodiments of the present invention, two or more above-described units/modules can be in a units/modules Middle materialization.Conversely, the feature and function of an above-described units/modules can with further division be by multiple units/ Module embodies.
In addition, although describing the operation of the method for the present invention in the accompanying drawings with particular order, this do not require that or Hint must execute these operations in this particular order, or have to carry out shown in whole operation be just able to achieve it is desired As a result.Additionally or alternatively, it is convenient to omit multiple steps are merged into a step and executed by certain steps, and/or by one Step is decomposed into execution of multiple steps.
Although detailed description of the preferred embodimentsthe spirit and principles of the present invention are described by reference to several, it should be appreciated that, this It is not limited to the specific embodiments disclosed for invention, does not also mean that the feature in these aspects cannot to the division of various aspects Combination is benefited to carry out, this to divide the convenience merely to statement.The present invention is directed to cover appended claims spirit and Included various modifications and equivalent arrangements in range.

Claims (10)

1. a kind of method for guaranteeing mobilism configuration data consistency characterized by comprising
The use received for mobilism configuration data is requested;
According to the usage record for being directed to the mobilism configuration data, the mobilism is fed back to the sender using request The perdurable data or network data of configuration data.
2. the method according to claim 1, wherein the basis is directed to the use of the mobilism configuration data Record feeds back the perdurable data or network data of the mobilism configuration data to the sender using request, comprising:
When having obtained the network data of mobilism configuration data, for there are the configuration words of record in the usage record Section feeds back the configuration field in the perdurable data to the sender using request;For in the usage record In there is no record configuration field, to it is described using request sender feed back the configuration field in the network data.
3. the method according to claim 1, wherein the use request received for mobilism configuration data Later, further comprise:
When not obtaining the network data of mobilism configuration data, mobilism is fed back to the sender using request and configures number According to perdurable data, and save in the usage record record of each configuration field in the perdurable data.
4. method according to claim 1 to 3, which is characterized in that further comprise:
For the network of each configuration field and mobilism configuration data in the perdurable data of the mobilism configuration data Unique identification is arranged in each configuration field in data.
5. according to the method described in claim 4, it is characterized in that, the unique identification is the parent information of configuration field.
6. according to the method described in claim 4, it is characterized in that, the perdurable data for the mobilism configuration data In each configuration field be arranged unique identification, comprising: obtain mobilism configuration data perdurable data when, using reflection Each configuration field of the mode into the perdurable data injects unique identification;
Unique identification is arranged in each configuration field in the network data for mobilism configuration data, comprising: is being moved When the network data of state configuration data, using each configuration field injection unique mark of the reflection mode into the network data Know;Alternatively, if there is the usage record, then using reflection mode when obtaining the network data of mobilism configuration data Each configuration field into the network data injects unique identification.
7. method according to claim 1 to 3, which is characterized in that further comprise: described for dynamic when sending When the business of the use request of change configuration data exits client or the client thermal starting, the usage record is deleted.
8. a kind of device for guaranteeing mobilism configuration data consistency characterized by comprising
Request receiving module, for receiving the use request for being directed to mobilism configuration data;
Distribution module, for using the sender requested to described according to the usage record for being directed to the mobilism configuration data Feed back the perdurable data or network data of the mobilism configuration data.
9. a kind of medium, is stored with computer program, which is characterized in that realized when the program is executed by processor as right is wanted Seek any method in 1-7.
10. a kind of calculating equipment, comprising:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors Realize the method as described in any in claim 1-7.
CN201811197351.0A 2018-10-15 2018-10-15 Method and device for ensuring consistency of dynamic configuration data Active CN109309588B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811197351.0A CN109309588B (en) 2018-10-15 2018-10-15 Method and device for ensuring consistency of dynamic configuration data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811197351.0A CN109309588B (en) 2018-10-15 2018-10-15 Method and device for ensuring consistency of dynamic configuration data

Publications (2)

Publication Number Publication Date
CN109309588A true CN109309588A (en) 2019-02-05
CN109309588B CN109309588B (en) 2022-01-11

Family

ID=65225239

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811197351.0A Active CN109309588B (en) 2018-10-15 2018-10-15 Method and device for ensuring consistency of dynamic configuration data

Country Status (1)

Country Link
CN (1) CN109309588B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113722007A (en) * 2021-08-24 2021-11-30 杭州迪普科技股份有限公司 Configuration method, device and system of VPN branch equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316443A (en) * 2011-09-21 2012-01-11 中兴通讯股份有限公司 Storage system for use information of mobile terminal and method
CN106452810A (en) * 2015-08-05 2017-02-22 中兴通讯股份有限公司 Network management system configuration data management method and apparatus
US20170264494A1 (en) * 2016-03-08 2017-09-14 Nicira, Inc. Method and mechanism for efficiently managing flows
CN108073630A (en) * 2016-11-16 2018-05-25 北京京东尚科信息技术有限公司 A kind of service search access management method and system based on mobilism configuration
CN108632078A (en) * 2018-03-13 2018-10-09 网宿科技股份有限公司 A kind of acquisition methods of configuration

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316443A (en) * 2011-09-21 2012-01-11 中兴通讯股份有限公司 Storage system for use information of mobile terminal and method
CN106452810A (en) * 2015-08-05 2017-02-22 中兴通讯股份有限公司 Network management system configuration data management method and apparatus
US20170264494A1 (en) * 2016-03-08 2017-09-14 Nicira, Inc. Method and mechanism for efficiently managing flows
CN108073630A (en) * 2016-11-16 2018-05-25 北京京东尚科信息技术有限公司 A kind of service search access management method and system based on mobilism configuration
CN108632078A (en) * 2018-03-13 2018-10-09 网宿科技股份有限公司 A kind of acquisition methods of configuration

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113722007A (en) * 2021-08-24 2021-11-30 杭州迪普科技股份有限公司 Configuration method, device and system of VPN branch equipment
CN113722007B (en) * 2021-08-24 2023-11-03 杭州迪普科技股份有限公司 Configuration method, device and system of VPN branch equipment

Also Published As

Publication number Publication date
CN109309588B (en) 2022-01-11

Similar Documents

Publication Publication Date Title
US11875171B2 (en) Blockchain network transaction processing method, apparatus, device, and storage medium
JP7421511B2 (en) Methods and apparatus, electronic devices, readable storage media and computer programs for deploying applications
CN108897691A (en) Data processing method, device, server and medium based on interface analog service
CN103581279B (en) Access system, method and device for third-party developer
CN109670297A (en) Activating method, device, storage medium and the electronic equipment of service authority
CN109995805B (en) Intelligent robot management method, terminal device and medium
CN105765533B (en) Method and apparatus for firmware virtualization
CN103581187A (en) Method and system for controlling access rights
US11089013B2 (en) Enhanced password authentication across multiple systems and user identifications
CN111491012B (en) SaaS multi-tenant data isolation access method and device, electronic equipment and storage medium
EP2746963A1 (en) Method and system for identifying file type
CN104468640A (en) Method and device for achieving sharing of cloud storage space
CN109618315A (en) A kind of control method of lighting apparatus, device, storage medium and intelligent terminal
CN111984239B (en) Page configuration method, page configuration device, server and storage medium
CN107832448A (en) Database operation method, device and equipment
CN110348237A (en) Data managing method and device, storage medium, electronic equipment based on block chain
CN105556533A (en) Automatically generating certification documents
CN109858285B (en) Block chain data processing method, device, equipment and medium
CN108874441A (en) A kind of board configuration method, device, server and storage medium
CN101583204B (en) Method and system for realizing managing universal combined circuit card multiple application files
CN109309588A (en) Guarantee the method and apparatus of mobilism configuration data consistency
CN108874837A (en) Database divides library method, apparatus, middleware and storage medium and electronic equipment
CN101136780A (en) Method, system to obtain user command information, and user command registered device
CN109033775A (en) A kind of long-range control method and system of access authority
CN203206256U (en) A mobile storage device

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