CN109491756A - A kind of system running environment synchronous method and device, storage medium - Google Patents

A kind of system running environment synchronous method and device, storage medium Download PDF

Info

Publication number
CN109491756A
CN109491756A CN201811136737.0A CN201811136737A CN109491756A CN 109491756 A CN109491756 A CN 109491756A CN 201811136737 A CN201811136737 A CN 201811136737A CN 109491756 A CN109491756 A CN 109491756A
Authority
CN
China
Prior art keywords
running environment
machine
update
failure
slave
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811136737.0A
Other languages
Chinese (zh)
Inventor
黄阳晨
王国彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Bincent Technology Co Ltd
Original Assignee
Shenzhen Bincent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Bincent Technology Co Ltd filed Critical Shenzhen Bincent Technology Co Ltd
Priority to CN201811136737.0A priority Critical patent/CN109491756A/en
Publication of CN109491756A publication Critical patent/CN109491756A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Hardware Redundancy (AREA)

Abstract

The present invention is suitable for computer software technical field, provides a kind of system running environment synchronous method and device, storage medium.When the system running environment synchronous method includes: initial, if detecting the configuration operation of user's triggering, principal and subordinate's configuration is carried out to the multiple machines for including in system;Wherein, with only one master machine in the multiple machines postponed, other machines is from machine;Whether change every the running environment that prefixed time interval detects the master machine, if so, obtaining the running environment modification information of the master machine;Obtain multiple configuration informations from machine each from machine;According to the running environment modification information of the master machine and multiple configuration informations from machine successively described update is synchronized from the running environment of machine to each.System running environment synchronous method of the invention can synchronize update to system running environment automatically, without human intervention, reduce manual operation bring risk and cost.

Description

A kind of system running environment synchronous method and device, storage medium
Technical field
The invention belongs to computer software technical field more particularly to a kind of system running environment synchronous method and device, Storage medium.
Background technique
In recent years, with the development of internet technology, the requirement of system environments is also increased, and most basic wanted Asking is that the running environment of multiple machines in system must be unified, and cannot lead to abnormal phenomenon because of environmental problem.
In order to enable the running environment of multiple machines is unified in system, currently available technology mainly uses application container engine (docker) technology, cardinal principle are every time one environment of building, and then environmental management technical staff will currently clone Environment duplication is a, if later period environment has variation, environmental management technical staff will be managed concentratedly by ansible, system The environment of all machines of one artificial regeneration.
However, since above scheme requires manual operation in modification environment every time, and manual operation will be so that modification The risk occurred in the process increases;In addition, needing just to can be obtained by largely calculating, so for some special environment The cost of manual amendment will be made to remain high.
Therefore, it is necessary to a kind of technical solution is provided, to solve the above technical problems.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of system running environment synchronous method and device, storage medium, Update can be synchronized to system running environment automatically, without human intervention, reduce manual operation bring risk and cost.
The first aspect of the embodiment of the present invention provides a kind of system running environment synchronous method, the system running environment Synchronous method includes:
When initial, if detecting the configuration operation of user's triggering, principal and subordinate carried out to the multiple machines for including in system and is matched It sets;Wherein, with only one master machine in the multiple machines postponed, other machines is from machine;
Whether change every the running environment that prefixed time interval detects the master machine, if so, obtaining the host The running environment modification information of device;
Obtain multiple configuration informations from machine each from machine;
According to the running environment modification information of the master machine and multiple configuration informations from machine successively to each It is described to synchronize update from the running environment of machine.
The second aspect of the embodiment of the present invention provides a kind of system running environment synchronizing device, the system running environment Synchronizing device includes:
Configuration module, when being used for initial, if the configuration operation of user's triggering is detected, to the multiple machines for including in system Device carries out principal and subordinate's configuration;Wherein, with only one master machine in the multiple machines postponed, other machines is from machine;
Whether running environment detection module, the running environment for detecting the master machine every prefixed time interval change Become, if so, obtaining the running environment modification information of the master machine;
Configuration information obtains module, for obtaining multiple configuration informations from machine each from machine;
Update module, for according to the running environment modification information of the master machine and multiple described matching confidence from machine Breath successively described synchronizes update from the running environment of machine to each.
The third aspect of the embodiment of the present invention provides a kind of system running environment synchronizing device, including memory, processing Device and storage in the memory and the computer program that can run on the processor, described in the processor execution The step of above system running environment synchronous method is realized when computer program.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, and above system running environment synchronous method is realized when the computer program is executed by processor The step of.
Existing beneficial effect is the embodiment of the present invention compared with prior art: the present invention passes through more by include in system Whether a machine is divided into principal and subordinate's machine, and change every the running environment of prefixed time interval detection master machine, if so, obtaining Take the running environment modification information of master machine, and obtain it is multiple from machine each from the configuration information of machine, according to host The running environment modification information of device and multiple configuration informations from machine are successively synchronized to each from the running environment of machine It updates, and then realizes and update can be synchronized to system running environment automatically, without human intervention, reduce manual operation band The risk and cost come.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the implementation process schematic diagram for the system running environment synchronous method that the embodiment of the present invention one provides;
Fig. 2 is system running environment synchronous method implementation process schematic diagram provided by Embodiment 2 of the present invention;
Fig. 3 is the structural schematic diagram for the system running environment synchronizing device that the embodiment of the present invention three provides;
Fig. 4 is the structural schematic diagram for the system running environment synchronizing device that the embodiment of the present invention four provides;
Fig. 5 is the structural schematic diagram for the system running environment synchronizing device that the embodiment of the present invention five provides.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " instruction is described special Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step, Operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this description of the invention merely for the sake of description specific embodiment And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
It is a kind of schematic flow diagram for system running environment synchronous method that the embodiment of the present invention one provides referring to Fig. 1.Such as Shown in Fig. 1, which be can comprise the following steps that
Step S11: when initial, if detect user triggering configuration operation, to the multiple machines for including in system into Row principal and subordinate configuration;Wherein, with only one master machine in the multiple machines postponed, other machines is from machine.
Wherein, in embodiments of the present invention, the configuration operation of user's triggering is that machines multiple in system are added to by user In one file, and master machine is set by a machine in multiple machines, by other machines after storage in the form of a list Device is set as the operation from machine.After user has carried out aforesaid operations, system running environment synchronizing device detects user's After operation, multiple machines multiple in system are subjected to principal and subordinate's configuration depending on the user's operation.
It should be noted that in embodiments of the present invention, user only needs to maintain equipment list that can carry out principal and subordinate's machine Setting, when there is other machines to be added into the list, can according to the same method equipment newly increased carry out principal and subordinate set It is noted that with only one in the multiple machines postponed be master machine when setting, and principal and subordinate's machine being set, remaining is slave Device.
Whether step S12: changing every the running environment that prefixed time interval detects the master machine, if so, obtaining The running environment modification information of the master machine.
Wherein, in embodiments of the present invention, the running environment modification information of master machine be system in the process of running, host The change information that the operating system of device occurs.
When system running environment synchronizing device carries out principal and subordinate's configuration to the multiple machines for including in system according to user's operation Afterwards, whether system running environment synchronizing device changes every the running environment of prefixed time interval detection master machine, and When the running environment of master machine changes, the running environment modification information of master machine is obtained, in order to according to the fortune of master machine Row environment modification information ensures the normal operation of system.In embodiments of the present invention, prefixed time interval is preferably 30 seconds.
Further, in other embodiments of the present invention, system running environment synchronizing device can also be every preset time Separation control master machine detects the running environment of itself, and whether the running environment to confirm itself changes, and When the running environment of itself changes, the running environment modification information of itself is fed back to system running environment synchronizing device.
Step S13: multiple configuration informations from machine each from machine are obtained.
Wherein, in embodiments of the present invention, each from the configuration information of machine including but not limited to from the ID of machine, operation Environment becomes privileged configuration information.
Step S14: according to the running environment modification information of the master machine and multiple configuration informations from machine according to It is secondary described to synchronize update from the running environment of machine to each.
Wherein, in embodiments of the present invention, each enterprising from machine since user is when using multiple machines in system Capable project can be identical, can also be different, and in order to enable when certain machine breaks down, on the machine to break down Project can be run on another machine, therefore system running environment synchronizing device will be changed according to the running environment of master machine Information and multiple configuration informations from machine successively synchronize update from the running environment of machine to each, with to it is multiple from While machine carries out system running environment synchronized update, guarantee that different projects can be operated normally from machine each.
In the present embodiment, the present invention is by being divided into principal and subordinate's machine for the multiple machines for including in system, and every pre- If whether the running environment of time interval detection master machine changes, if so, the running environment modification information of master machine is obtained, and Obtain it is multiple from machine each from the configuration information of machine, according to the running environment modification information and multiple slaves of master machine The configuration information of device successively synchronizes update from the running environment of machine to each, and then realizes and can run automatically to system Environment synchronizes update, without human intervention, reduces manual operation bring risk and cost.
It referring to fig. 2, is a kind of schematic flow diagram of system running environment synchronous method provided by Embodiment 2 of the present invention.Such as Shown in Fig. 2, which be can comprise the following steps that
Step S21: when initial, if detect user triggering configuration operation, to the multiple machines for including in system into Row principal and subordinate configuration;Wherein, with only one master machine in the multiple machines postponed, other machines is from machine.
Wherein, in embodiments of the present invention, the configuration operation of user's triggering is that machines multiple in system are added to by user In one file, and master machine is set by a machine in multiple machines, by other machines after storage in the form of a list Device is set as the operation from machine.After user has carried out aforesaid operations, system running environment synchronizing device detects user's After operation, multiple machines multiple in system are subjected to principal and subordinate's configuration depending on the user's operation.
It should be noted that in embodiments of the present invention, user only needs to maintain equipment list that can carry out principal and subordinate's machine Setting, when there is other machines to be added into the list, can according to the same method equipment newly increased carry out principal and subordinate set It is noted that with only one in the multiple machines postponed be master machine when setting, and principal and subordinate's machine being set, remaining is slave Device.
Whether step S22: changing every the running environment that prefixed time interval detects the master machine, if so, obtaining The running environment modification information of the master machine.
Wherein, in embodiments of the present invention, the running environment modification information of master machine be system in the process of running, host The change information that the operating system of device occurs.
When system running environment synchronizing device carries out principal and subordinate's configuration to the multiple machines for including in system according to user's operation Afterwards, whether system running environment synchronizing device changes every the running environment of prefixed time interval detection master machine, and When the running environment of master machine changes, the running environment modification information of master machine is obtained, in order to according to the fortune of master machine Row environment modification information ensures the normal operation of system.In embodiments of the present invention, prefixed time interval is preferably 30 seconds.
Specifically, whether the running environment for detecting the master machine every prefixed time interval in step S22 changes tool Body are as follows:
When prefixed time interval detects the update of the documents stored in the master machine and file to be updated Between;
If the renewal time of the documents is ahead of the renewal time of the file to be updated, show the host The running environment of device changes;If the renewal time of the documents lags behind the renewal time of the file to be updated, Then showing the running environment of the master machine, no change has taken place.
Wherein, in embodiments of the present invention, the documents stored in master machine are the operation rings for judging master machine The reference file whether border changes, and when the running environment that file to be updated is then master machine changes, to the change The file recorded.
It, can be to comparison text since system running environment is synchronous after the completion of synchronizing update to each machine in system The time of part is updated, and the renewal time of file to be updated be then will be more when the running environment of master machine changes Newly, thus system running environment synchronize the documents stored in available master machine renewal time and file to be updated Renewal time, and then according to the renewal time of the renewal time of documents and file to be updated, judge the operation ring of master machine Whether border changes.
Specifically, when the renewal time of documents is ahead of renewal time of file to be updated, such as documents Renewal time is the 16:00 on the 26th of August in 2018, and the renewal time of file to be updated is the 16:01 on the 26th of August in 2018, then table The running environment of bright master machine changes;The renewal time of file to be updated, example are lagged behind when the renewal time of documents If the renewal time of documents is the 16:01 on the 26th of August in 2018, and the renewal time of file to be updated is August 26 in 2018 Day 16:00, then showing the running environment of master machine, no change has taken place.
Further, in other embodiments of the present invention, system running environment synchronizing device can also be every preset time Separation control master machine detects the running environment of itself, and whether the running environment to confirm itself changes, and When the running environment of itself changes, the running environment modification information of itself is fed back to system running environment synchronizing device.
Specifically, system running environment synchronizing device control master machine to renewal times of the documents itself store with The renewal time of file to be updated is detected, and judges whether the running environment of master machine changes according to testing result, And then system running environment synchronizing device is fed back to by result is changed;It should be noted that the comparison that master machine stores itself The renewal time of file and the renewal time of file to be updated are detected, and judge the operation ring of master machine according to testing result The principle whether border changes, when whether changing with the running environment of system running environment synchronizing device detection master machine Principle it is identical, details are not described herein again.
Step S23: multiple configuration informations from machine each from machine are obtained.
Wherein, in embodiments of the present invention, each from the configuration information of machine including but not limited to from the ID of machine, operation Environment becomes privileged configuration information.
Wherein, system running environment synchronizing device obtains the configuration information from machine using snowflake algorithm, below with slave System running environment synchronizing device is obtained using snowflake algorithm from the configuration information of machine for the ID of device and is illustrated:
Due to the request in order to meet program up to ten thousand message per second, and every message must all distribute one uniquely ID, therefore system running environment synchronizing device is every and is assigned with a regional number and machine number from machine, and according to the area Domain number and machine number generate corresponding ID.Specifically, the ID be by the time series+10 of 0 bit identifier+41 machine identification+ What 12 counting sequences number generated, wherein 0 bit identifier, 41 time serieses, 10 machine identification and 12 counting sequences Number successively arranged from a high position to low level.In the composition sequence for generating the ID, system running environment synchronizing device is by 10 machines Mark is changed to 5 regional numbers and 5 machine numbers, then currently will split into binary system mark from the IP address of the server of machine again (if original IP is 192.168.1.2, be changed to binary system then becomes 11,000,000 10101000 to the IP of knowledge 0000000100000010), finally taking out after binary IP 10, (such as 192.168.1.2 takes out after binary system IP 10 0100000010) two halves, then by this 10 digit are split, occupy 5 per half, then is converted into the decimal system (such as 0100000010 is divided into Two halves are 01,000 00010, and being converted into the decimal system becomes 8 and 2), first half as regional number (such as ten calculated into 8), regional number and machine number are combined into together system by latter half as machine number (such as the decimal system 2 calculated) As 10 machine numbers (such as the decimal system 82 calculated above) of snowflake algorithm, finally according to 10 machine numbers and ID The corresponding ID of the retrieval of generation.
In embodiments of the present invention, since each machine needs to distribute a mark, and traditional method of salary distribution needs Manual maintenance portion configuration information table, the inside have recorded specific service device corresponding to each mark, so will lead to each increasing Add a server, require and outer this part of configuration information of maintenance, but also needs calculating and currently divide manually The mark matched, as long as and have artificial place that will generate mistake, therefore present invention employs aforesaid ways to obtain from machine ID safeguards ten machine numbers generated neither manually, without maintenance allocation list, but passes through algorithm and computer IP is bound together, and realizes automatic distribution, time saving while improving accuracy rate.
Further, in physical device management, because the environment that each equipment is served as is different, therefore each equipment is certain Environmental variance needs special setting, and general Internet company environment is all divided into exploitation, test, gray scale, four class environment of production, Environment difference causes the environmental variance of certain fixations distinct.Such as: equipment fixed configurations field ENV indicates current environment, Exploitation variate-value is ENV=DEV, is tested as ENV=TEST, is ENV=IDC on line.Pass through the network segment and IP of machine itself, energy Enough determine the environment of machine subordinate, therefore after list is added from machine, mapping that can directly to ENV value, without artificial Operation.
In addition, the context constitutes a device relationships ring there are context in list of devices, that is, assume equipment List memory is respectively A, B, C in three machines, and three machines are added to the time sequencing of list from left to right.In life When at polymerization machine number (ID), component part of the machine code of upstream machines as native machine code.As equipment A is calculated Ten machine codes are 82, then in the machine code of equipment B, formulate part and record this code.If the machine code that B is calculated is 45, Then the hybrid machine code of equipment B is 8245, and the hybrid machine code of equipment A is XX82, and " XX " is the equipment before A, i.e., from mixing Formulation position in code counter can release its upstream equipment, will so make there is incidence relation each other between each machine, in turn A chain is formed, so that upstream device can detect the state of upstream equipment;Furthermore it can provide other than a main equipment Equipment does data comparison, and data there are it is inconsistent when, can be compared respectively with main equipment, be equivalent to more data schools It tests, improves the reliability of system.
Step S24: according to the running environment modification information of the master machine and multiple configuration informations from machine according to It is secondary described to synchronize update from the running environment of machine to each.
Wherein, in embodiments of the present invention, each enterprising from machine since user is when using multiple machines in system Capable project can be identical, can also be different, and in order to enable when certain machine breaks down, on the machine to break down Project can be run on another machine, therefore system running environment synchronizing device will be changed according to the running environment of master machine Information and multiple configuration informations from machine successively synchronize update from the running environment of machine to each, with to it is multiple from While machine carries out system running environment synchronized update, guarantee that different projects can be operated normally from machine each.
Step S25: it is all from the update of machine after the completion of, if having detected from machine exception, to abnormal slave Device executes rolling back action, abnormal restores from the running environment of machine to original state so that described;Wherein, the initial shape State refers to state when not carrying out running environment update.
Wherein, in embodiments of the present invention, rolling back action is will to restore from the running environment of machine to the behaviour of original state Make.
When system running environment synchronizing device to it is all be updated from machine after, in order to which guarantee each can be just from machine Often work, system running environment synchronizing device will be carried out abnormality detection to every from machine, each without exception from machine to confirm It happens.And when detecting from machine exception, system running environment synchronizing device will execute back the slave machine of the exception Rolling operation is restored with dropping the running environment of slave machine of the exception to state when no progress running environment update, Jin Erwei It updates and prepares next time.
Further, as a preferred embodiment of the invention, system running environment synchronous method is further comprising the steps of:
Detect whether all running environment from machine are all updated successfully, running environment updates failure if detecting From machine, then the slave machine for updating failure to the running environment is marked, and updates and fail to the running environment again Slave machine carry out running environment update.
Wherein, in embodiments of the present invention, the slave machine for updating failure to the running environment again carries out running environment It updates specifically:
The renewal process log that the running environment updates the slave machine of failure is obtained, and according to the renewal process log Search the update failure cause that the running environment updates the slave machine of failure;
Restoration information is obtained according to the update failure cause, and the running environment is updated according to the restoration information Update failure of the slave machine of failure in running environment renewal process is repaired, and after repair again to the operation ring The slave machine that border updates failure carries out running environment update.
Wherein, restoration information corresponding to the update failure cause from machine is stored in system running environment synchronizing device In, after system running environment synchronizing device gets the update failure cause for the slave machine that running environment updates failure, system Running environment synchronizing device can in memory search the corresponding restoration information of the failure cause, and repair finding this After complex information, the update failure for updating the slave machine of failure to the running environment is repaired, and again to the operation after reparation The slave machine of environmental renewal failure carries out movement environment update.
It should be noted that in embodiments of the present invention, when system running environment synchronizing device is carried out to all from machine It updates and completes, and after success, need to carry out machine abnormality detection operation, and carry out corresponding operation according to testing result, specifically It can refer to the detailed description of step S25, details are not described herein again.
Further, as a preferred embodiment of the invention, system running environment synchronous method further include:
The update times for updating the slave machine of failure to the running environment count, if count value is more than default threshold Value, and when the slave machine continuous updating failure of running environment update failure, then output fails with running environment update The corresponding running environment modification information of slave machine, in order to which user is according to the slave for updating failure with the running environment The corresponding running environment modification information of device, the slave machine for updating failure to the running environment carry out artificial regeneration.
Wherein, in embodiments of the present invention, the process updated again in the slave machine for updating failure to running environment In, system running environment synchronizing device calculates the update times that the running environment updates the slave machine of failure in real time.It is secondary when updating Number is more than certain value, and the slave machine that running environment updates failure at this time is not updated successfully also, and system running environment is synchronous at this time Device will export the corresponding running environment modification information of slave machine for updating and failing with running environment, in order to user according to fortune The corresponding running environment modification information of slave machine of row environmental renewal failure, the slave machine for updating failure to running environment carry out people Work updates, so that all running environment from machine are updated successfully, and system is run after the completion of all updates from machine Context synchronization device modifies to the renewal time of documents.
In the present embodiment, the present invention is by being divided into principal and subordinate's machine for the multiple machines for including in system, and every pre- If whether the running environment of time interval detection master machine changes, if so, the running environment modification information of master machine is obtained, and Obtain it is multiple from machine each from the configuration information of machine, according to the running environment modification information and multiple slaves of master machine The configuration information of device successively synchronizes update from the running environment of machine to each, and then realizes and can run automatically to system Environment synchronizes update, without human intervention, reduces manual operation bring risk and cost.
In addition, in the present embodiment, the present invention by it is all from the update of machine after the completion of, if having detected from machine It is abnormal, then rolling back action is executed to abnormal slave machine, so that the running environment of abnormal slave machine is restored to original state, With this slave machine of update abnormal is restored to original state automatically, and then is carried out again convenient for the slave machine to update abnormal It updates, while can prevent the slave machine of update abnormal from working under abnormality.
It is the schematic block diagram for the system running environment synchronizing device 3 that the embodiment of the present invention three provides referring to Fig. 3.This hair Each module that the system running environment synchronizing device 3 that bright embodiment provides includes is each in the corresponding embodiment of Fig. 1 for executing Step, referring specifically to the associated description in the corresponding embodiment of Fig. 1 and Fig. 1, details are not described herein again.The embodiment of the present invention The system running environment synchronizing device 3 of offer includes configuration module 31, running environment detection module 32, configuration information acquisition module 33 and update module 34.
Wherein, configuration module 31, for it is initial when, if the configuration operation of user's triggering is detected, to including in system Multiple machines carry out principal and subordinate's configuration;Wherein, with only one master machine in the multiple machines postponed, other machines is slave Device.
Running environment detection module 32, for whether changing every the running environment of prefixed time interval detection master machine, If so, obtaining the running environment modification information of master machine.
Configuration information obtain module 33, for obtain it is multiple from machine each from the configuration information of machine.
Update module 34, for according to the running environment modification information of master machine and multiple configuration informations from machine successively Update is synchronized from the running environment of machine to each.
In the present embodiment, system running environment synchronizing device 3 by by the multiple machines for including in system divide based on Whether change from machine, and every the running environment of prefixed time interval detection master machine, if so, obtaining the operation of master machine Environment modification information, and obtain it is multiple from machine each from the configuration information of machine, to be become according to the running environment of master machine More information and multiple configuration informations from machine successively synchronize update from the running environment of machine to each, and then realize Update can be synchronized to system running environment automatically, without human intervention, reduce manual operation bring risk and cost.
It referring to fig. 4, is the schematic block diagram for the system running environment synchronizing device 4 that the embodiment of the present invention four provides.This hair Each module that the system running environment synchronizing device 4 that bright embodiment provides includes is each in the corresponding embodiment of Fig. 2 for executing Step, referring specifically to the associated description in the corresponding embodiment of Fig. 2 and Fig. 2, details are not described herein again.The embodiment of the present invention The system running environment synchronizing device 4 of offer includes configuration module 41, running environment detection module 42, configuration information acquisition module 43, update module 44 and execution module 45.
Wherein, configuration module 41, for it is initial when, if the configuration operation of user's triggering is detected, to including in system Multiple machines carry out principal and subordinate's configuration;Wherein, with only one master machine in the multiple machines postponed, other machines is slave Device.
Running environment detection module 42, for whether changing every the running environment of prefixed time interval detection master machine, If so, obtaining the running environment modification information of master machine.
Configuration information obtain module 43, for obtain it is multiple from machine each from the configuration information of machine.
Update module 44, for according to the running environment modification information of master machine and multiple configuration informations from machine successively Update is synchronized from the running environment of machine to each.
Execution module 45, for it is all from the update of machine after the completion of, if detected from machine exception, to exception Slave machine execute rolling back action so that the running environment of abnormal slave machine is restored to original state;Wherein, original state Refer to state when not carrying out running environment update.
Further, running environment detection module 42 is specifically used for being stored every in prefixed time interval detection master machine Documents and file to be updated renewal time;If the renewal time of documents is ahead of the update of file to be updated Between, then show that the running environment of master machine changes;If the renewal time of documents lags behind the update of file to be updated Time, then showing the running environment of master machine, no change has taken place.
Further, system running environment synchronizing device 4 further includes mark module and counting module.
Wherein, mark module, for detecting whether all running environment from machine are all updated successfully, if having detected Running environment updates the slave machine of failure, then the slave machine for updating failure to running environment is marked, and again to operation ring The slave machine that border updates failure carries out running environment update.
Counting module is counted for updating the update times of slave machine of failure to running environment, if count value is super Preset threshold is crossed, and when the slave machine continuous updating failure of running environment update failure, then output fails with running environment update The corresponding running environment modification information of slave machine, in order to user according to running environment update failure slave machine it is corresponding Running environment modification information, the slave machine for updating failure to running environment carry out artificial regeneration.
Further, mark module is specifically used for obtaining the renewal process log for the slave machine that running environment updates failure, And the update failure cause that running environment updates the slave machine of failure is searched according to renewal process log;According to update failure cause Obtain restoration information, and according to restoration information to running environment update failure slave machine in running environment renewal process more New failure is repaired, and the slave machine for updating failure to running environment again after repair carries out running environment update.
In the present embodiment, system running environment synchronizing device 4 passes through by dividing the multiple machines for including in system For slave device, and whether change every the running environment of prefixed time interval detection master machine, if so, obtaining master machine Running environment modification information, and obtain it is multiple from machine each from the configuration information of machine, according to the operation ring of master machine Border modification information and multiple configuration informations from machine successively synchronize update, Jin Ershi from the running environment of machine to each Having showed to synchronize update to system running environment automatically, without human intervention, reduce manual operation bring risk with Cost.
In addition, in the present embodiment, system running environment synchronizing device 4 by it is all from the update of machine after the completion of, If having detected from machine exception, rolling back action is executed to abnormal slave machine, so that the operation ring of abnormal slave machine Border is restored to original state, with this slave machine of update abnormal is restored to original state automatically, and then convenient for strangeer Normal slave machine is updated again, while can prevent the slave machine of update abnormal from working under abnormality.
Fig. 5 is the schematic diagram for the system running environment synchronizing device 5 that the embodiment of the present invention five provides.As shown in figure 5, the reality The system running environment synchronizing device 5 for applying example includes: processor 50, memory 51 and is stored in the memory 51 and can The computer program 52 run on the processor 50, such as system running environment synchronous method program.The processor 50 The step in above-mentioned each system running environment synchronous method embodiment, such as Fig. 1 are realized when executing the computer program 52 Shown step 11 is to 14 or step 21 shown in Fig. 2 to 25.Alternatively, the processor 50 executes the computer program Realize the function of each module/unit in above-mentioned each Installation practice when 52, such as the function or such as of module 31 to 34 shown in Fig. 3 The function of module 41 to 45 shown in Fig. 4.
Illustratively, the computer program 52 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 51, and are executed by the processor 50, to complete the present invention.Described one A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for Implementation procedure of the computer program 52 in the system running environment synchronizing device 5 is described.For example, the computer journey Sequence 52 can be divided into configuration module, running environment detection module, configuration information obtain module and update module or by It is divided into configuration module, running environment detection module, configuration information and obtains module with, update module and execution module (device In virtual module), each module concrete function is as follows:
Configuration module, when being used for initial, if the configuration operation of user's triggering is detected, to the multiple machines for including in system Device carries out principal and subordinate's configuration;Wherein, with only one master machine in the multiple machines postponed, other machines is from machine.
Running environment detection module, for whether changing every the running environment of prefixed time interval detection master machine, if It is the running environment modification information for then obtaining master machine.
Configuration information obtain module, for obtain it is multiple from machine each from the configuration information of machine.
Update module, for successively right according to the running environment modification information of master machine and multiple configuration informations from machine Each update is synchronized from the running environment of machine.Or
Configuration module, when being used for initial, if the configuration operation of user's triggering is detected, to the multiple machines for including in system Device carries out principal and subordinate's configuration;Wherein, with only one master machine in the multiple machines postponed, other machines is from machine.
Running environment detection module, for whether changing every the running environment of prefixed time interval detection master machine, if It is the running environment modification information for then obtaining master machine.
Configuration information obtain module, for obtain it is multiple from machine each from the configuration information of machine.
Update module, for successively right according to the running environment modification information of master machine and multiple configuration informations from machine Each update is synchronized from the running environment of machine.
Execution module, for it is all from the update of machine after the completion of, if having detected from machine exception, to abnormal Rolling back action is executed from machine, so that the running environment of abnormal slave machine is restored to original state;Wherein, original state refers to Be state when not carrying out running environment update.
Further, running environment detection module is specifically used for being stored every in prefixed time interval detection master machine The renewal time of documents and file to be updated;If the renewal time of documents is ahead of the update of file to be updated Between, then show that the running environment of master machine changes;If the renewal time of documents lags behind the update of file to be updated Time, then showing the running environment of master machine, no change has taken place.
Further, system running environment synchronizing device further includes mark module and counting module.
Wherein, mark module, for detecting whether all running environment from machine are all updated successfully, if having detected Running environment updates the slave machine of failure, then the slave machine for updating failure to running environment is marked, and again to operation ring The slave machine that border updates failure carries out running environment update.
Counting module is counted for updating the update times of slave machine of failure to running environment, if count value is super Preset threshold is crossed, and when the slave machine continuous updating failure of running environment update failure, then output fails with running environment update The corresponding running environment modification information of slave machine, in order to user according to running environment update failure slave machine it is corresponding Running environment modification information, the slave machine for updating failure to running environment carry out artificial regeneration.
Further, mark module is specifically used for obtaining the renewal process log for the slave machine that running environment updates failure, And the update failure cause that running environment updates the slave machine of failure is searched according to renewal process log;According to update failure cause Obtain restoration information, and according to restoration information to running environment update failure slave machine in running environment renewal process more New failure is repaired, and the slave machine for updating failure to running environment again after repair carries out running environment update.
The system running environment synchronizing device 5 can be various processors, a mould being also possible to inside processor Block.The system running environment synchronizing device 5 may include, but be not limited only to, processor 50, memory 51.Those skilled in the art Member is appreciated that Fig. 5 is only the example of system running environment synchronizing device 5, does not constitute fill synchronous to system running environment The restriction for setting 5 may include components more more or fewer than diagram, perhaps combine certain components or different components, such as The system running environment synchronizing device 5 can also include input-output equipment, network access equipment, bus etc..
Alleged processor 50 can be micro-control unit (Micro controller Unit, MCU), central processing unit (Central Processing Unit, CPU), can also be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at Reason device is also possible to any conventional processor etc..
The memory 51 can be the internal storage unit of the system running environment synchronizing device 5, such as system fortune The hard disk or memory of row context synchronization device 5.The memory 51 is also possible to the outer of the system running environment synchronizing device 5 The plug-in type hard disk being equipped in portion's storage equipment, such as the system running environment synchronizing device 5, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..
Further, the memory 51 can also both include the storage inside of the system running environment synchronizing device 5 Unit also includes External memory equipment.The memory 51 is for storing the computer program and the system running environment Other programs and data needed for synchronizing device 5.The memory 51, which can be also used for temporarily storing, to have exported or has incited somebody to action The data to be exported.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program Code can be source code form, object identification code form, executable file or certain intermediate forms etc..Computer-readable Jie Matter may include: can carry the computer program code any entity or device, recording medium, USB flash disk, mobile hard disk, Magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice Subtract, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and Telecommunication signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of system running environment synchronous method, which is characterized in that the system running environment synchronous method includes:
When initial, if detecting the configuration operation of user's triggering, principal and subordinate's configuration is carried out to the multiple machines for including in system;Its In, with only one master machine in the multiple machines postponed, other machines is from machine;
Whether change every the running environment that prefixed time interval detects the master machine, if so, obtaining the master machine Running environment modification information;
Obtain multiple configuration informations from machine each from machine;
According to the running environment modification information of the master machine and multiple configuration informations from machine successively to each described Update is synchronized from the running environment of machine.
2. system according to claim 1 running environment synchronous method, which is characterized in that described every prefixed time interval Whether the running environment for detecting the master machine changes specifically:
The renewal time of the documents stored in the master machine and file to be updated is detected every prefixed time interval;
If the renewal time of the documents is ahead of the renewal time of the file to be updated, show the master machine Running environment changes;If the renewal time of the documents lags behind the renewal time of the file to be updated, table No change has taken place for the running environment of the bright master machine.
3. system running environment synchronous method according to claim 2, which is characterized in that the system running environment is synchronous Method further include:
Detect whether all running environment from machine are all updated successfully, running environment updates the slave of failure if detecting Device, then to the running environment update failure slave machine be marked, and again to the running environment update failure from Machine carries out running environment update.
4. system running environment synchronous method according to claim 3, which is characterized in that described again to the operation ring The slave machine that border updates failure carries out running environment update specifically:
The renewal process log that the running environment updates the slave machine of failure is obtained, and is searched according to the renewal process log The running environment updates the update failure cause of the slave machine of failure;
Restoration information is obtained according to the update failure cause, and the running environment is updated according to the restoration information and is failed Update failure of the slave machine in running environment renewal process repaired, and after repair again to the running environment more The slave machine newly to fail carries out running environment update.
5. system running environment synchronous method according to claim 3, which is characterized in that the system running environment is synchronous Method further include:
The update times for updating the slave machine of failure to the running environment count, if count value is more than preset threshold, and When the running environment updates the slave machine continuous updating failure of failure, then the slave that failure is updated with the running environment is exported The corresponding running environment modification information of device, in order to which user is corresponding according to the slave machine for updating failure with the running environment Running environment modification information, to the running environment update failure slave machine carry out artificial regeneration.
6. system running environment synchronous method according to any one of claims 1 to 5, which is characterized in that the system fortune Row context synchronization method further include:
It is all from the update of machine after the completion of, if having detected from machine exception, rollback behaviour is executed to abnormal slave machine Make, abnormal restores from the running environment of machine to original state so that described;Wherein, the original state refers to not having Carry out state when running environment update.
7. a kind of system running environment synchronizing device, which is characterized in that the system running environment synchronizing device includes:
Configuration module, for it is initial when, if detect user triggering configuration operation, to the multiple machines for including in system into Row principal and subordinate configuration;Wherein, with only one master machine in the multiple machines postponed, other machines is from machine;
Whether running environment detection module, the running environment for detecting the master machine every prefixed time interval change, if It is the running environment modification information for then obtaining the master machine;
Configuration information obtains module, for obtaining multiple configuration informations from machine each from machine;
Update module, for according to the running environment modification information of the master machine and multiple configuration informations from machine according to It is secondary described to synchronize update from the running environment of machine to each.
8. system running environment synchronizing device according to claim 7, which is characterized in that the running environment detection module It is specifically used for:
The renewal time of the documents stored in the master machine and file to be updated is detected every prefixed time interval;
If the renewal time of the documents is ahead of the renewal time of the file to be updated, show the master machine Running environment changes;If the renewal time of the documents lags behind the renewal time of the file to be updated, table No change has taken place for the running environment of the bright master machine.
9. a kind of system running environment synchronizing device, including memory, processor and storage are in the memory and can be The computer program run on the processor, which is characterized in that the processor is realized such as when executing the computer program The step of system running environment synchronous method as claimed in any one of claims 1 to 6.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In realization such as system running environment as claimed in any one of claims 1 to 6 is synchronous when the computer program is executed by processor The step of method.
CN201811136737.0A 2018-09-28 2018-09-28 A kind of system running environment synchronous method and device, storage medium Pending CN109491756A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811136737.0A CN109491756A (en) 2018-09-28 2018-09-28 A kind of system running environment synchronous method and device, storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811136737.0A CN109491756A (en) 2018-09-28 2018-09-28 A kind of system running environment synchronous method and device, storage medium

Publications (1)

Publication Number Publication Date
CN109491756A true CN109491756A (en) 2019-03-19

Family

ID=65689992

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811136737.0A Pending CN109491756A (en) 2018-09-28 2018-09-28 A kind of system running environment synchronous method and device, storage medium

Country Status (1)

Country Link
CN (1) CN109491756A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110912745A (en) * 2019-11-28 2020-03-24 上海风秩科技有限公司 Server configuration method and device, computer equipment and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212326A (en) * 2006-12-29 2008-07-02 上海贝尔阿尔卡特股份有限公司 Method for configuring nodes in any multicast group and auxiliary method and device
CN102739388A (en) * 2012-04-10 2012-10-17 瑞斯康达科技发展股份有限公司 Method and system for synchronizing configuration information of master equipment and slave equipment
JP2015018349A (en) * 2013-07-09 2015-01-29 富士電機株式会社 Sharing data definition support system, master device thereof, local terminal, program
CN104679907A (en) * 2015-03-24 2015-06-03 新余兴邦信息产业有限公司 Realization method and system for high-availability and high-performance database cluster
CN106331152A (en) * 2016-09-20 2017-01-11 郑州云海信息技术有限公司 Method and device for realizing information synchronization between modules
CN107908708A (en) * 2017-11-09 2018-04-13 北京锐安科技有限公司 A kind of method, system, equipment and the storage medium of group document synchronization

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212326A (en) * 2006-12-29 2008-07-02 上海贝尔阿尔卡特股份有限公司 Method for configuring nodes in any multicast group and auxiliary method and device
CN102739388A (en) * 2012-04-10 2012-10-17 瑞斯康达科技发展股份有限公司 Method and system for synchronizing configuration information of master equipment and slave equipment
JP2015018349A (en) * 2013-07-09 2015-01-29 富士電機株式会社 Sharing data definition support system, master device thereof, local terminal, program
CN104679907A (en) * 2015-03-24 2015-06-03 新余兴邦信息产业有限公司 Realization method and system for high-availability and high-performance database cluster
CN106331152A (en) * 2016-09-20 2017-01-11 郑州云海信息技术有限公司 Method and device for realizing information synchronization between modules
CN107908708A (en) * 2017-11-09 2018-04-13 北京锐安科技有限公司 A kind of method, system, equipment and the storage medium of group document synchronization

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110912745A (en) * 2019-11-28 2020-03-24 上海风秩科技有限公司 Server configuration method and device, computer equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN108234170B (en) Monitoring method and device for server cluster
CN104317843B (en) A kind of data syn-chronization ETL system
US10747776B2 (en) Replication control using eventually consistent meta-data
CN104252481A (en) Dynamic check method and device for consistency of main and salve databases
CN110830608B (en) Global unique identifier generation method, device, equipment and storage medium
CN104252500A (en) Method and device for carrying out fault repairing on database management platform
CN107797914A (en) Code process method, apparatus and code delivery system
CN102946410A (en) Method and device for network synchronization
CN110413693A (en) A kind of method of inspection and device of database real-time synchronization system data consistency
CN113138882B (en) MySQL cluster-based automatic deployment method and device and related equipment
CN115118738B (en) Disaster recovery method, device, equipment and medium based on RDMA
CN110290166A (en) Across company-data exchange method, system, device and readable storage medium storing program for executing
CN111538573A (en) Asynchronous task processing method and device and computer readable storage medium
CN111680104A (en) Data synchronization method and device, computer equipment and readable storage medium
CN112395269A (en) Method and device for building MySQL high-availability group
CN109491756A (en) A kind of system running environment synchronous method and device, storage medium
CN106250528B (en) It is thrown based on the split-join model checked online using standby machine in line method
CN108038127A (en) A kind of method, apparatus, terminal device and the storage medium of data synchronization
CN115687384A (en) UUID (user identifier) identification generation method, device, equipment and storage medium
CN109614339B (en) Automatic expansion method based on multiple sets of test environments
CN107888491A (en) HSB standby systems and the AC double hot standby methods based on two layers of networking VRRP agreements
CN117725225B (en) Public data security circulation management method and system based on knowledge graph
CN111585794B (en) Communication method, device and system based on acquisition board card and storage medium
CN113268580B (en) Session subject migration path mining method and device, computer equipment and medium
CN114244638B (en) Multicast network communication method, device, equipment and medium

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: 20190319

RJ01 Rejection of invention patent application after publication