CN109905260A - Method, management equipment and the service processing equipment of device configuration - Google Patents
Method, management equipment and the service processing equipment of device configuration Download PDFInfo
- Publication number
- CN109905260A CN109905260A CN201711295179.8A CN201711295179A CN109905260A CN 109905260 A CN109905260 A CN 109905260A CN 201711295179 A CN201711295179 A CN 201711295179A CN 109905260 A CN109905260 A CN 109905260A
- Authority
- CN
- China
- Prior art keywords
- configuration
- target
- data
- target device
- equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 85
- 238000012545 processing Methods 0.000 title claims abstract description 37
- 230000001360 synchronised effect Effects 0.000 claims abstract description 55
- 238000012544 monitoring process Methods 0.000 claims description 10
- 238000007726 management method Methods 0.000 description 66
- 238000010586 diagram Methods 0.000 description 17
- 230000008569 process Effects 0.000 description 12
- 230000006870 function Effects 0.000 description 10
- 238000013461 design Methods 0.000 description 7
- 238000004590 computer program Methods 0.000 description 6
- 230000008878 coupling Effects 0.000 description 6
- 238000010168 coupling process Methods 0.000 description 6
- 238000005859 coupling reaction Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 3
- 238000013468 resource allocation Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000009977 dual effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Landscapes
- Computer And Data Communications (AREA)
Abstract
This application provides a kind of method of device configuration, management equipment and service processing equipments, this method comprises: management equipment receives the synchronous configuration message that source device is sent, synchronization configuration message includes configuration data and at least one target device mark, the configuration data is to configure the data of source device, each target device mark one target device of instruction;Management equipment sends the configuration data to the indicated target device of at least one target device mark.The application is by completing the resource distribution in an equipment, it can be synchronized in more relevant to current business configuration scene other equipment according to the configuration information that the resource distribution determines, to avoid multiple equipment repeat configure, can effectively lifting means configuration efficiency.
Description
Technical Field
The present application relates to the field of computers, and more particularly, to a method for device configuration, a management device, and a service processing device.
Background
With the rapid development of information technology, information systems play an increasingly important role in key services of various industries, and in the fields of communication, finance, medical treatment, electronic commerce and the like, important data can be lost due to service interruption of the information systems. Therefore, ensuring service continuity is a key to information system construction.
One of the basic functions of an information system is a storage function, and in order to ensure service continuity, manufacturers in the current storage industry have introduced various storage characteristics oriented to high reliability, such as storage dual-active, multi-active, remote copy, and the like, so as to ensure service continuity of a key application, that is, when one storage system fails, a service is automatically switched to another storage system, and the service continues to operate without being affected.
However, the configuration of the enterprise storage systems with high reliability is often very complex, and a large amount of repeated configuration needs to be manually performed among a plurality of storage systems in different business application scenarios, so that errors are very easy to occur and the configuration efficiency is very low.
Disclosure of Invention
The application provides a device configuration method, a management device and a service processing device, which can avoid repeated configuration among a plurality of devices.
In a first aspect, a method for device configuration is provided, the method including: the method comprises the steps that a management device receives a synchronous configuration message sent by a source device, the synchronous configuration message comprises configuration data and at least one target device identifier, the configuration data is data for configuring the source device, and each target device identifier indicates one target device; the management device sends the configuration data to the target device indicated by the at least one target device identification.
The configuration data of the source equipment which has completed the resource configuration is sent to the management equipment, so that the target equipment can complete the resource configuration by using the configuration data, thereby avoiding repeated configuration on a plurality of equipment and effectively improving the efficiency of the equipment configuration.
Optionally, before the management device sends the configuration data to the target device indicated by the at least one target device identifier, the method further includes: the management device receives a configuration request message sent by the target device, wherein the configuration request message is used for requesting the management device to send the configuration data to the target device, and the request message comprises the target device identification; searching the target equipment identification in the management equipment; and if the target equipment identification is found, the management equipment acquires the configuration data corresponding to the target equipment identification.
Through the target device identifier carried by the target device, the configuration data corresponding to the target device identifier can be effectively found, so that the target device completes configuration according to the configuration data.
Optionally, the synchronization configuration message further includes a source device identifier, where the source device identifier is used to indicate the source device, and the method further includes: after receiving the synchronous configuration message, the management device generates a configuration tracking table, where the configuration tracking table includes the source device identifier, the at least one target device identifier, and a configuration state corresponding to each target device identifier; when the management equipment sends the configuration data to a target equipment, setting the configuration state corresponding to the target equipment identification of the target equipment to which the configuration data is sent as synchronized; and when the configuration states corresponding to the at least one target equipment identifier are all synchronized, the management equipment deletes the configuration data and deletes the configuration tracking table.
By deleting the configuration information for which the synchronous configuration is completed, the storage space can be saved.
Optionally, after receiving a synchronization configuration message sent by a source device, the management device generates a data identifier for the configuration data; before the management device sends the configuration data to the target device indicated by the at least one target device identifier, receiving a monitoring request message sent by the target device, wherein the monitoring request message comprises the target device identifier; searching the target equipment identification in the management equipment; when the target equipment identification is found, sending the data identification of the configuration data corresponding to the target equipment identification to the target equipment; receiving a configuration request message sent by the target device, wherein the configuration request message comprises the data identifier; and acquiring the configuration data according to the data identification.
Through the data identification, the management device can find the configuration data quickly.
In a second aspect, a method for device configuration is provided, the method comprising: acquiring configuration data of source equipment; determining at least one target device identifier which needs to be configured synchronously with the source device, and sending a synchronous configuration message to a management device, where the synchronous configuration message includes the configuration data and the at least one target device identifier, and the synchronous configuration message instructs the management device to send the configuration data to the target device indicated by the at least one target device identifier.
The source device sends the configuration data to the management device, so that the target device can complete resource configuration by using the configuration data, thereby avoiding repeated configuration on a plurality of devices and effectively improving the efficiency of device configuration.
In a third aspect, a method for device configuration is provided, the method comprising: the method comprises the steps that target equipment sends a configuration request message to management equipment, wherein the configuration request message comprises a target equipment identifier, the configuration request is used for indicating the management equipment to acquire configuration data corresponding to the target equipment identifier and sending the configuration data to the target equipment, and the configuration data are uploaded to the management equipment by source equipment and are data for configuring the source equipment; and the target equipment receives the configuration data sent by the management equipment according to the configuration request message and configures the target equipment according to the configuration data.
The target device sends the request message to the management device, receives the configuration information required by the management device, and then performs resource configuration according to the configuration information, so that manual configuration is avoided, and the configuration efficiency of resource configuration required among a plurality of devices is improved.
In a fourth aspect, a management device is provided, which includes means for performing the steps of the method for device configuration in the first aspect and the implementations of the first aspect.
In a fifth aspect, a service processing device is provided, which includes a unit configured to execute the steps of the method for device configuration in the second aspect and the implementations of the second aspect.
A sixth aspect provides a service processing device, which includes means for executing the steps of the method configured by the device in the third aspect and the implementations of the third aspect.
In a seventh aspect, an apparatus of a device configuration is provided, the apparatus comprising a processor. The processor is configured to enable the apparatus to perform the corresponding functions in the first aspect and the implementations of the first aspect, and in one possible design, the apparatus may further include a transceiver configured to enable the apparatus to receive or transmit information. In one possible design, the apparatus may further include a memory for coupling with the processor for storing program instructions and data necessary for the apparatus. Alternatively, the apparatus comprises a memory for storing a computer program and a processor for calling and running the computer program from the memory, so that the apparatus performs the method configured by any one of the first aspect and its various implementations.
In an eighth aspect, an apparatus of a device configuration is provided that includes a processor. The processor is configured to enable the apparatus to perform the second aspect and corresponding functions in implementations of the second aspect, and in one possible design, the apparatus may further include a transceiver to enable the apparatus to receive or transmit information. In one possible design, the apparatus may further include a memory for coupling with the processor for storing program instructions and data necessary for the apparatus. Alternatively, the apparatus comprises a memory for storing a computer program and a processor for calling and running the computer program from the memory so that the apparatus performs the method configured by any one of the above second aspect and its various implementations.
In a ninth aspect, an apparatus of a device configuration is provided that includes a processor. The processor is configured to enable the apparatus to perform the corresponding functions in the third aspect and the implementations of the third aspect, and in one possible design, the apparatus may further include a transceiver configured to enable the apparatus to receive or transmit information. In one possible design, the apparatus may further include a memory for coupling with the processor for storing program instructions and data necessary for the apparatus. Alternatively, the apparatus comprises a memory for storing a computer program and a processor for calling and running the computer program from the memory, so that the apparatus performs the method configured by any one of the third aspect and its various implementations.
A tenth aspect provides a service processing system, which includes the management device provided in the fourth aspect, the service processing device provided in the fifth aspect, and the service processing device provided in the sixth aspect.
In an eleventh aspect, there is provided a computer-readable storage medium storing a program that causes a management apparatus to execute the method of the first aspect and any one of its various implementations as described above for device configuration. Alternatively, the computer readable storage medium is used for storing computer software instructions for the management device, which comprise a program designed for executing the method of the first aspect.
In a twelfth aspect, there is provided a computer-readable storage medium storing a program that causes a source device to execute the method of any one of the device configurations of the second aspect and its various implementations described above. Alternatively, the computer readable storage medium is used for storing computer software instructions for the management device, which comprise a program designed for executing the method of the second aspect.
In a thirteenth aspect, there is provided a computer-readable storage medium storing a program for causing a target device to execute the method of the device configuration of any one of the above-described third aspect and its various implementations. Alternatively, the computer readable storage medium is used for storing computer software instructions for the target device, which includes a program designed to execute the method of the third aspect.
By completing resource configuration of one device, determining configuration information, receiving the configuration information through the management device, and sending the configuration information to other devices to be synchronously configured, rapid synchronous configuration among a plurality of devices can be realized, thereby improving configuration efficiency of a scene needing system configuration among the plurality of devices, and reducing the possibility of errors of manual configuration.
Drawings
FIG. 1 is a flow chart of a configuration of a storage device live configuration operation manual of the prior art;
FIG. 2 is an architectural diagram of a method of configuring an apparatus suitable for embodiments of the present application;
FIG. 3 is a schematic flow chart diagram of a method of device configuration according to a first embodiment of the present application;
FIG. 4 is a schematic diagram of a method of device configuration according to a second embodiment of the present application;
fig. 5 is a schematic diagram of a method of device configuration according to a third embodiment of the present application;
FIG. 6 is a schematic block diagram of a management device according to an embodiment of the present application;
FIG. 7 is a schematic block diagram of a traffic processing device according to an embodiment of the present application;
FIG. 8 is a schematic block diagram of a traffic processing device according to an embodiment of the present application;
FIG. 9 is a schematic block diagram of a business processing system in accordance with an embodiment of the present application;
fig. 10 is a schematic block diagram of an apparatus of a device configuration according to an embodiment of the present application.
Detailed Description
The technical solution in the present application will be described below with reference to the accompanying drawings.
The device configuration method mentioned in the present application is used for configuring a dual-active or multi-active storage device, or any other device requiring synchronous configuration, such as a router, a switch, etc.
The following description will be given by taking a storage device as an example.
In order to ensure the reliability of the storage device, a dual-active storage device and a multi-active storage device are generally set, that is, when one storage device fails, a service is automatically switched to another storage device, so that the continuous operation of an upper layer service can be ensured without interruption.
The current mainstream dual-activity or multi-activity feature configuration between storage devices is basically that configuration operations are respectively performed on a plurality of devices across regions step by step through manual operation according to steps described by a product configuration instruction manual, in other words, two storage devices in the dual-activity or multi-activity feature are backups of each other and are both in an operating state, and when one storage device sends a device failure, a service is automatically switched to another storage device, so that high-level data reliability and service continuity are provided for a user. FIG. 1 illustrates a configuration flow of a typical storage device live configuration operation manual.
As can be seen from fig. 1, when configured on a storage device, the method includes the following steps: configuration preparation, switch configuration, arbitration server configuration, basic storage service configuration, storage double-active service configuration, verification configuration and configuration termination. The configuring the storage service comprises: create storage configuration 1, create storage configuration 2, … …, create storage configuration x; configuring a store live service includes: detecting licenses, creating arbitration services, … …, creating live-active service configuration x, etc., i.e. by creating storage configurations 1, 2, … …, dividing the storage space in the storage device into different storage pools, different configuration data being used by the different storage pools.
In the prior art, configuration items marked in fig. 1 that need to be configured repeatedly need a system administrator to perform manual configuration step by step according to specific networking conditions of storage devices and through descriptions of configuration instruction manuals according to customer service requirements, and management software on a plurality of storage devices needs to be logged in for manual configuration, the configured items are often as many as dozens or even dozens, fig. 1 is only a live scenario, and in a live scenario, for example, a highly available system constructed among a plurality of cross-regional storage systems, the number of configuration items increases linearly by multiple times along with the number of storage devices, so that the efficiency of manual configuration is very low, and errors are easy to occur.
In order to solve the above technical problem, an embodiment of the present application provides an apparatus configuration method, which can implement that a user only needs to complete configuration on one storage device, and the configuration information can be synchronized to other storage devices in a double-active or multi-active scenario, thereby effectively improving manual efficiency of storage device configuration, reducing probability of errors in manual configuration, and reducing waiting time for customer service to be online.
First, fig. 2 shows a system architecture diagram of a method of device configuration suitable for an embodiment of the present application.
The management device is connected with the source device A, the target device B and the target device C through a network, wherein the management device can be regarded as a transfer station of configuration data required by the completion of configuration of the source device and the target device, the source device uploads the configuration data to the management device, and the target device downloads the configuration data from the management device, so that the devices can share the configuration data through the management device, and manual repeated configuration is avoided.
It should be noted that fig. 2 illustrates 2 target devices as an example, but the present invention is not limited thereto, and a plurality of target devices may be used.
Method embodiments of the present application are described in detail below in conjunction with fig. 3-5. The description will be given by taking the management device as the cloud server and the service processing device as the storage device as an example
Fig. 3 shows a schematic flow chart of a method 100 of device configuration according to a first embodiment of the present application. As shown in FIG. 3, the method 100 generally includes steps 110 and 130, which are described in detail below.
And 110, connecting the storage device with a cloud server.
Specifically, the storage device is connected and registered to the cloud server after being installed and powered on in a client field, and the registered information includes some basic storage information such as a device serial number, a name, a location, a user name and the like of the storage device. After receiving the information reported by the storage device registration, the cloud server maintains a list of the registration information of each storage device at the cloud, and provides an external query service interface for the storage device to query the currently registered device, for example, the source device can query a device with the same user name as the source device, and determine the target device, where table 1 shows the serial numbers and device names of four devices of a user _1 in beijing, shanghai, chengdu, and shenzhen.
Table 1 registration information list
It should be noted that table 1 shows four devices of one user, but the embodiment of the present application is not limited to this, that is, the device may be directed to multiple users or multiple devices of multiple same users.
Optionally, a storage data sharing service is constructed on a cloud server based on the internet, the implementation of the service may be a typical web service, which supports http/https protocol access, or other services that support network access, which is not limited in this embodiment of the present application, and in addition, the service may remotely receive the capability of the storage device of the user to send or receive the configuration information of the storage device.
And 120, the source equipment sends a synchronous configuration message to the cloud server.
In the embodiment of the present application, the source device represents a storage device that has completed resource configuration, and a specific configuration manner is similar to that in the prior art, for example, a system administrator performs manual configuration according to a specific networking condition of the storage device and through a description of a configuration instruction manual according to a customer service requirement. The embodiments of the present application are not limited.
It should be noted that the configuration source device may be connected to the cloud server and registered in the cloud server, or may be connected to the cloud server and registered in the cloud server in a specific order, which is not limited in the present application.
The source device completes configuration, is connected and sends a synchronous configuration message to the cloud service after being registered in the cloud server, the synchronous configuration message comprises configuration data and at least one target device identifier, the configuration data is data of the source device, and each target device identifier indicates one target device. The target device represents a storage device which does not finish resource allocation and finishes resource allocation according to the allocation information determined by the current resource allocation through the source device.
And after the source equipment completes the resource configuration, generating configuration data according to the resource configuration condition. The specific generation manner is not limited in this application, and for example, the configuration synchronization module built in the source storage device may collect configuration data. The cloud server receives a synchronization configuration message sent by a source device through a service interface exposed based on a cloud storage data sharing service, wherein the specific information format and the transmission protocol can be an http/https protocol or other transmission protocols, the information format can be a JSON, XML universal format or other customized formats, and the embodiment of the application is not limited.
Specifically, taking table 1 as an example, the source device may be any one of the four devices, taking a device whose device location is beijing as an example, the device completes resource configuration, and according to a condition of the resource configuration, after determining configuration data, the other three devices may share the configuration data through a cloud storage data sharing service to complete the resource configuration. The specific configuration is similar to the prior art, and this is not limited in the embodiments of the present application.
Before the source device sends the synchronization configuration message, the source device may determine a target device that needs synchronization configuration according to the registration information list in table 1 in table 110, where the synchronization configuration message sent by the source device includes configuration data and at least one target device identifier, and optionally, the target device identifier may be a serial number and a user name of the target device, and may also include a device name and/or a device location.
Specifically, taking table 1 as an example, assume that a device in beijing is a source device, and a synchronization configuration message sent by the source device includes configuration data and a target device identifier, specifically, the target device identifier includes a serial number of the target device, which may be a device serial number of the other three devices, or may be a device serial number of any one or two of the other three devices. The target device identification may also include a device location and/or a device name. The target device identifier is used to indicate the target device, and any manner of indicating the target device is applicable to the embodiments of the present application.
And 130, the cloud server receives the synchronous configuration message and sends the configuration data to the target equipment.
Specifically, after receiving the synchronization configuration message sent by the source device, the cloud server sends the configuration data included in the synchronization configuration message to the target device indicated by the target device identifier, so that the target device completes configuration according to the configuration data.
The cloud server may be regarded as a transfer station of configuration data required by the source device and the target device to complete resource configuration, and it should be understood that any device capable of implementing configuration data sharing is suitable for the embodiment of the present application, and the embodiment of the present application takes the cloud server as an example for description.
Optionally, the synchronization configuration message further includes a source device identifier, where the source device identifier is used to indicate the source device, and after receiving the synchronization configuration message, the cloud server generates a configuration tracking table, where the configuration tracking table includes the source device identifier, the at least one target device identifier, and a configuration state corresponding to each target device identifier; when the cloud server sends the configuration data to a target device, setting the configuration state corresponding to the target device identification of the target device to which the configuration data is sent as synchronized; and when the configuration states corresponding to the at least one target equipment identifier are all synchronized, the management equipment deletes the configuration data and deletes the configuration tracking table.
Specifically, after receiving the synchronization configuration message sent by the source device, the cloud server stores the configuration data in a configuration data repository of the cloud storage data sharing service, optionally, a data key (data-key) is generated at the same time for accessing the configuration data, and a configuration tracking table is maintained at the cloud for tracking the synchronization condition of the configuration information of each storage device, taking four devices of user _1 in table 1 as an example, and the specific configuration tracking table is shown in table 2.
Table 2 configuration tracking table
Source device serial number | Target device serial number | Status information | data-key |
210235874520E11001 | 210235874510E10008 | data-ready | key-1-01 |
210235874520E11001 | 210235874570E14013 | data-sync | key-1-02 |
Wherein,
source device serial number: the global unique serial number of the source storage device, specifically, the device serial number of the source storage device is sent when the source storage device sends the synchronization configuration message; and, the source storage device is a device that completes resource configuration, and may be any one of the four devices.
Target device serial number: the serial number of the target storage device to be synchronized is the serial number of the target storage device, and the target storage device and the source storage device belong to the same user, and may be one or multiple.
State information: the state indicating whether the configuration data has been sent to the target device, that is, indicating the synchronization state of the current configuration data between the source device and the target device, may include two states, data-ready, indicating that the configuration data is ready and the target device may download the configuration; the status data-sync, synchronized, indicates that the configuration data has been sent to the target storage device.
When the state information is synchronized, that is, when the configuration data is indicated to be sent to the target storage device, the cloud server deletes the configuration data and the related configuration message, so that the storage space can be saved. Specifically, the cloud server updates the state information of the synchronization task after sending the configuration data to the target device, or the cloud server updates the state information once by sending the configuration data once, so that repeated downloading of the configuration data is avoided, and after sending the configuration data to all target storage devices, the relevant data of the synchronization task of the data warehouse is deleted, so that the storage space is saved. The updated tracking state of the synchronization task is shown in table 3, and it can be seen from table 3 that both target storage devices specified by the source device have received the configuration data sent by the cloud.
TABLE 3 configuration information synchronization status update Table
Source device serial number | Target device serial number | Status information | data-key |
210235874520E11001 | 210235874510E10008 | data-sync | Null |
210235874520E11001 | 210235874570E14013 | data-sync | Null |
data-key: the target storage system downloads the configuration data from the cloud storage data sharing service through the unique data-key, and the field value is empty after synchronization is completed.
It should be understood that the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiment of the present invention.
According to the method, a user only needs to complete resource configuration of one device according to business needs, determine configuration information, receive the configuration information through the management device and send the configuration information to other devices to be synchronously configured, and rapid synchronous configuration among the multiple devices can be achieved, so that configuration efficiency of a scene needing system configuration among the multiple devices is improved, and the possibility of errors of manual configuration is reduced.
Fig. 4 shows a schematic diagram of a method 200 of device configuration according to a second embodiment of the present application.
210, the storage device is connected with the cloud server.
220, the source device sends a synchronization configuration message to the cloud server.
The above-mentioned two steps 210-220 are similar to the steps 110-120 in the first embodiment, and are not described herein again.
The target device sends a configuration request message to the cloud server 230.
Specifically, the configuration request message is used for requesting the cloud server to send configuration data to the target device, and the configuration request message includes a target device identifier; the cloud server searches a target device identifier in the cloud server; and if the target equipment identification is found, the management equipment acquires the configuration data corresponding to the target equipment identification.
It should be noted that, after the target device is connected to the cloud server, the target device may periodically send a configuration request message to the cloud server until the cloud server finds the target device identifier, and obtains configuration data corresponding to the target device identifier.
240, the cloud server sends the configuration data to the target device.
And after the management equipment acquires the configuration data corresponding to the target equipment identifier, sending the configuration data to the target equipment so that the target equipment completes resource configuration. The specific configuration mode is similar to the prior art, and the present application is not limited thereto, for example, the target device completes the configuration operation of the target device by reversely parsing the configuration data according to the built-in configuration synchronization module and executing the related configuration command.
It should be understood that the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiment of the present invention.
According to the method, a user only needs to complete resource configuration of one device according to business needs, determine configuration information, receive the configuration information through the management device, acquire configuration data needed by the target device according to a request message which is sent by the target device and carries a target device identifier, and send the configuration data to the target device to be synchronously configured, so that rapid synchronous configuration among a plurality of devices can be achieved, configuration efficiency of a scene needing system configuration among the plurality of devices is improved, and possibility of errors in manual configuration is reduced.
Fig. 5 shows a schematic diagram of a method 300 of device configuration according to a third embodiment of the present application.
And 310, connecting the storage device with a cloud server.
320, the source device sends a synchronization configuration message to the cloud server.
The steps 310-320 are similar to the steps 110-120 in fig. 3, and are not described herein again.
330, the target device sends a listening request message to the cloud server.
After the target device needing synchronous configuration is registered and connected with the cloud server, the target device can continuously monitor the synchronous task event of the cloud server in a periodic polling mode, the specific period can be customized, and if the synchronous real-time performance needs to be considered, the polling period can be defined for a short time, such as 5 seconds.
The monitoring request message comprises a target device identification, and the cloud server searches the target device identification in the cloud server according to the target device identification in the monitoring request message.
340, the cloud server sends the data identification to the target device.
After receiving a monitoring request message sent by a target device, the cloud server searches the target device identifier in the cloud server according to the target device identifier included in the monitoring request message, and when the target device identifier is found, the cloud server sends a data identifier of configuration data corresponding to the target device identifier to the target device.
Specifically, after receiving the synchronization configuration message sent by the source device, the cloud server generates a data identifier for the configuration data, such as the data-key recorded in table 2: the target storage system downloads the configuration data from the cloud storage data sharing service through the unique data-key, and the field value is empty after synchronization is completed.
350, the target device sends a configuration request message to the cloud server.
When the target device sends a configuration request message to the cloud server, the configuration request message includes the data identifier, and the cloud server can obtain configuration data according to the data identifier.
And 360, the cloud server sends the configuration data to the target equipment.
According to the configuration data, the target device is configured, and the specific configuration mode is similar to the prior art, but the present application is not limited thereto, for example, the target device completes the configuration operation of the target device by reversely parsing the configuration data according to the built-in configuration synchronization module and executing the related configuration command.
According to the method, a user only needs to complete resource configuration of one device according to business needs, determine configuration information, receive the configuration information through the management device, acquire configuration data needed by the target device according to a request message carrying a data identifier sent by the target device, and send the configuration data to the target device to be configured synchronously.
In the following, embodiments of the apparatus of the present application are described, and since embodiments of the apparatus can perform the above-described method, reference may be made to the foregoing embodiments of the method for parts not described in detail.
Fig. 6 is a schematic block diagram of a management apparatus according to an embodiment of the present application, the management apparatus 600 including:
a receiving module 610, configured to receive a synchronization configuration message sent by a source device, where the synchronization configuration message includes configuration data and at least one target device identifier, where the configuration data is data for configuring the source device, and each target device identifier indicates one target device;
a sending module 620, configured to send the configuration data to the target device indicated by the at least one target device identifier.
According to the method and the device, the management device receives the configuration information of the device which completes the resource configuration and sends the configuration information to other devices to be synchronously configured, so that the rapid synchronous configuration among a plurality of devices can be realized, the configuration efficiency of a scene needing system configuration among the plurality of devices is improved, and the possibility of errors in manual configuration is reduced.
Optionally, in some embodiments, the target device identifier includes a user name corresponding to the source device and/or a serial number of the target device.
Optionally, in some embodiments, the receiving module 610 is further configured to: receiving a configuration request message sent by a target device, wherein the configuration request message is used for requesting the management device to send the configuration data to the target device, and the request message comprises the target device identification; the management device further comprises a first searching module, configured to search the target device identifier in the management device; and if the target equipment identification is found, acquiring configuration data corresponding to the target equipment identification.
Optionally, the synchronization configuration message further includes a source device identifier, where the source device identifier is used to indicate the source device, and the management device 600 further includes: a first generating module, configured to generate a configuration tracking table after the receiving module 610 receives the synchronization configuration message, where the configuration tracking table includes the source device identifier, the at least one target device identifier, and a configuration state corresponding to each target device identifier; when the sending module 620 sends the configuration data to one of the target devices, setting the configuration state corresponding to the target device identifier of the sent target device as synchronized; the management device further includes a deleting module 630, configured to delete the configuration data and delete the configuration tracking table when the configuration states corresponding to the at least one target device identifier are all synchronized.
Optionally, the management device 600 further includes a second generating module, configured to generate a data identifier for the configuration data after the receiving module 610 receives the synchronous configuration message sent by the source device, and the receiving module 610 is further configured to receive an interception request message sent by the target device, where the interception request message includes the target device identifier; the management device 600 further includes a second searching module, configured to search for the target device identifier; when the target device identifier is found, the sending module 620 sends the data identifier of the configuration data corresponding to the target device identifier to the target device; the receiving module 610 receives a configuration request message sent by the target device, where the configuration request message includes the data identifier; the sending module 620 sends the configuration data to the target device after acquiring the configuration data according to the data identifier.
Fig. 7 is a schematic block diagram of a service processing device according to an embodiment of the present application, where the service processing device 700 includes:
an obtaining module 710, configured to obtain configuration data of a source device;
a processing module 720, configured to determine at least one target device identifier configured synchronously with the source device, and send a synchronous configuration message to a management device, where the synchronous configuration message includes the configuration data and the at least one target device identifier, and the synchronous configuration message instructs the management device to send the configuration data to a target device indicated by the at least one target device identifier.
The service processing device 700 is a source device mentioned in the method embodiment, and specifically, the service processing device (or, the source device) in this embodiment is a service processing device that completes resource configuration.
According to the method and the device, the source device determines the configuration information according to the current resource configuration and sends the configuration information to the management device so as to be used by the target device determined (or designated) by the source device, and the rapid synchronous configuration among the multiple devices can be realized, so that the configuration efficiency of a scene needing system configuration among the multiple devices is improved, and the possibility of errors in manual configuration is reduced.
Optionally, in some embodiments, the target device identifier includes a user name corresponding to the source device and/or a serial number of the target device, and may further include a device name and/or a device location mentioned in table 1.
Fig. 8 is a schematic block diagram of a service processing device according to an embodiment of the present application, where the service processing device 800 includes:
a sending module 810, configured to send a configuration request message to a management device, where the configuration request message includes a target device identifier, and the configuration request message is used to instruct the management device to obtain configuration data corresponding to the target device identifier and send the configuration data to the target device, where the configuration data is data uploaded to the management device by a source device and is data for configuring the source device;
a receiving module 820, configured to receive configuration data sent by the management device according to the configuration request message;
a configuration module 830, configured to configure the target device according to the configuration data.
The service processing device 800 is a target device mentioned in the method embodiment, and specifically, in this embodiment, the service processing device (or, the target device) is a service processing device that does not complete resource configuration, and the service processing device (or, the target device) will complete resource configuration according to configuration information determined by resource configuration by the service processing device (or, the source device) that completes resource configuration.
According to the method and the device, the target device sends the request message to the management device, receives the configuration information required by the management device, and then performs resource configuration according to the configuration information, so that manual configuration is avoided, and the configuration efficiency of system configuration required among a plurality of devices is improved.
Optionally, in some embodiments, the target device identifier includes a user name corresponding to the source device and/or a serial number of the target device, and may further include a device name and/or a device location mentioned in table 1.
Fig. 9 is a schematic block diagram of a service processing system 900 provided in an embodiment of the present application.
The system 900 of fig. 9 includes the management device 600 of fig. 6, the service processing device 700 of fig. 7, and the service processing device 800 of fig. 8.
Fig. 10 is a schematic block diagram of an apparatus 1000 of a device configuration provided in an embodiment of the present application.
The apparatus 1000 comprises: the transceiver 1010 and the processor 1020, the processor 1020 and the transceiver 1010 being connected, optionally the device 1000 further comprises a memory 1030, the memory 1030 being connected to the processor 1020, further optionally the device 1000 comprises a bus system. Wherein, the processor 1020, the memory 1030 and the transceiver 1010 can be connected via a bus system, the memory 1030 can be used for storing instructions, and the processor 1020 can be used for executing the instructions stored by the memory 1030 to control the transceiver 1010 to receive information or signals, so that the apparatus 1000 executes the functions of the above methods or devices, the executed actions or processes. Here, detailed description thereof is omitted in order to avoid redundancy.
It should be noted that the embodiments of the present application may be applied to or implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method embodiments may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable gate array (FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware component. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
It will be appreciated that the memory in the embodiments of the subject application can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data rate Synchronous Dynamic random access memory (DDR SDRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and direct memory bus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
It should be understood that the term "and/or" herein is merely one type of association relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It should be understood that, in the embodiment of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiment of the present application.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (12)
1. A method of device configuration, the method comprising:
the method comprises the steps that a management device receives a synchronous configuration message sent by a source device, the synchronous configuration message comprises configuration data and at least one target device identifier, the configuration data is data for configuring the source device, and each target device identifier indicates one target device;
the management device sends the configuration data to the target device indicated by the at least one target device identification.
2. The method of claim 1, wherein before the management device sends the configuration data to the target device indicated by the at least one target device identification, the method further comprises:
the management device receives a configuration request message sent by the target device, wherein the configuration request message is used for requesting the management device to send the configuration data to the target device, and the configuration request message comprises the target device identification;
the management equipment searches the target equipment identification in the management equipment;
and if the target equipment identification is found, acquiring configuration data corresponding to the target equipment identification.
3. The method according to claim 1 or 2, wherein the synchronization configuration message further includes a source device identifier, and the source device identifier is used to indicate the source device, and the method further includes:
after receiving the synchronous configuration message, the management device generates a configuration tracking table, where the configuration tracking table includes the source device identifier, the at least one target device identifier, and a configuration state corresponding to each target device identifier;
when the management equipment sends the configuration data to a target equipment, setting the configuration state corresponding to the target equipment identification of the target equipment to which the configuration data is sent as synchronized;
and when the configuration states corresponding to the at least one target equipment identifier are all synchronized, the management equipment deletes the configuration data and deletes the configuration tracking table.
4. The method of claim 1, further comprising:
after receiving a synchronous configuration message sent by a source device, the management device generates a data identifier for the configuration data;
before the management device sends the configuration data to the target device indicated by the at least one target device identification:
receiving a monitoring request message sent by the target equipment, wherein the monitoring request message comprises the target equipment identification;
the management equipment searches the target equipment identification in the management equipment;
if the management equipment finds the target equipment identification, sending the data identification of the configuration data corresponding to the target equipment identification to the target equipment;
the management equipment receives a configuration request message sent by the target equipment, wherein the configuration request message comprises the data identifier;
and the management equipment acquires the configuration data according to the data identification.
5. A method of device configuration, the method comprising:
acquiring configuration data of source equipment;
determining at least one target device identifier which needs to be configured synchronously with the source device, and sending a synchronous configuration message to a management device, where the synchronous configuration message includes the configuration data and the at least one target device identifier, and the synchronous configuration message instructs the management device to send the configuration data to the target device indicated by the at least one target device identifier.
6. A method of device configuration, the method comprising:
the method comprises the steps that target equipment sends a configuration request message to management equipment, wherein the configuration request message comprises a target equipment identifier, the configuration request message is used for indicating the management equipment to acquire configuration data corresponding to the target equipment identifier and sending the configuration data to the target equipment, and the configuration data are uploaded to the management equipment by source equipment and are data for configuring the source equipment;
and the target equipment receives the configuration data sent by the management equipment according to the configuration request message and configures the target equipment according to the configuration data.
7. A management device, characterized in that the management device comprises:
a receiving module, configured to receive a synchronization configuration message sent by a source device, where the synchronization configuration message includes configuration data and at least one target device identifier, the configuration data is data for configuring the source device, and each target device identifier indicates one target device;
a sending module, configured to send the configuration data to the target device indicated by the at least one target device identifier.
8. The management device according to claim 7, wherein the receiving module is further configured to receive a configuration request message sent by a target device, the configuration request message being used to request the management device to send the configuration data to the target device, the request message including the target device identifier;
the management device further comprises a first searching module, configured to search the target device identifier in the management device;
and if the target equipment identification is found, acquiring configuration data corresponding to the target equipment identification.
9. The management device according to claim 7 or 8, wherein the synchronization configuration message further includes a source device identifier, the source device identifier is used to indicate the source device, and the management device further includes:
a first generating module, configured to generate a configuration tracking table after the receiving module receives the synchronization configuration message, where the configuration tracking table includes the source device identifier, the at least one target device identifier, and a configuration state corresponding to each target device identifier;
when the sending module sends the configuration data to a target device, setting the configuration state corresponding to the target device identifier of the target device to which the configuration data is sent as synchronized;
the management device further includes a deleting module, configured to delete the configuration data and delete the configuration tracking table when the configuration states corresponding to the at least one target device identifier are all synchronized.
10. The management device according to claim 7, wherein the management device further comprises a second generating module, configured to generate a data identifier for the configuration data after the receiving module receives the synchronization configuration message sent by the source device;
the receiving module is further configured to receive a monitoring request message, where the monitoring request message includes the target device identifier;
the management device further comprises a second searching module for searching the target device identifier;
if the target equipment identifier is found, the sending module sends the data identifier of the configuration data corresponding to the target equipment identifier to the target equipment;
the receiving module receives a configuration request message sent by the target device, wherein the configuration request message comprises the data identifier;
and the sending module acquires the configuration data according to the data identification.
11. A service processing device applied to a source device, the service processing device comprising:
an obtaining module, configured to obtain configuration data of the source device;
a processing module, configured to determine at least one target device identifier configured synchronously with the source device, and send a synchronous configuration message to a management device, where the synchronous configuration message includes the configuration data and the at least one target device identifier, and the synchronous configuration message instructs the management device to send the configuration data to a target device indicated by the at least one target device identifier.
12. A service processing device applied to a target device, the service processing device comprising:
a sending module, configured to send a configuration request message to a management device, where the configuration request message includes a target device identifier, and the configuration request message is used to instruct the management device to obtain configuration data corresponding to the target device identifier and send the configuration data to the target device, where the configuration data is data uploaded to the management device by a source device and is data for configuring the source device;
a receiving module, configured to receive configuration data sent by the management device according to the configuration request message;
and the configuration module is used for configuring the target equipment according to the configuration data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711295179.8A CN109905260A (en) | 2017-12-08 | 2017-12-08 | Method, management equipment and the service processing equipment of device configuration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711295179.8A CN109905260A (en) | 2017-12-08 | 2017-12-08 | Method, management equipment and the service processing equipment of device configuration |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109905260A true CN109905260A (en) | 2019-06-18 |
Family
ID=66940417
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711295179.8A Pending CN109905260A (en) | 2017-12-08 | 2017-12-08 | Method, management equipment and the service processing equipment of device configuration |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109905260A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111327458A (en) * | 2020-01-22 | 2020-06-23 | 维沃移动通信有限公司 | Configuration information sharing method, terminal device and computer readable storage medium |
CN112015461A (en) * | 2020-07-09 | 2020-12-01 | 厦门蓝斯通信股份有限公司 | Parameter management system and method for bus-mounted POS terminal |
CN113542340A (en) * | 2021-01-07 | 2021-10-22 | 腾讯科技(深圳)有限公司 | Multi-terminal configuration method, terminal and computer-readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007115470A1 (en) * | 2006-04-11 | 2007-10-18 | Huawei Technologies Co., Ltd. | A device configuration information management method, the server and the system thereof |
CN105915369A (en) * | 2016-03-31 | 2016-08-31 | 北京奇艺世纪科技有限公司 | Configuration information management method and configuration information management device |
CN106254147A (en) * | 2016-09-08 | 2016-12-21 | 珠海全志科技股份有限公司 | A kind of collocation method for Wi Fi network, internet-of-things terminal and control end |
CN106878363A (en) * | 2016-06-01 | 2017-06-20 | 阿里巴巴集团控股有限公司 | A kind of information processing method, apparatus and system |
-
2017
- 2017-12-08 CN CN201711295179.8A patent/CN109905260A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007115470A1 (en) * | 2006-04-11 | 2007-10-18 | Huawei Technologies Co., Ltd. | A device configuration information management method, the server and the system thereof |
CN105915369A (en) * | 2016-03-31 | 2016-08-31 | 北京奇艺世纪科技有限公司 | Configuration information management method and configuration information management device |
CN106878363A (en) * | 2016-06-01 | 2017-06-20 | 阿里巴巴集团控股有限公司 | A kind of information processing method, apparatus and system |
CN106254147A (en) * | 2016-09-08 | 2016-12-21 | 珠海全志科技股份有限公司 | A kind of collocation method for Wi Fi network, internet-of-things terminal and control end |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111327458A (en) * | 2020-01-22 | 2020-06-23 | 维沃移动通信有限公司 | Configuration information sharing method, terminal device and computer readable storage medium |
CN112015461A (en) * | 2020-07-09 | 2020-12-01 | 厦门蓝斯通信股份有限公司 | Parameter management system and method for bus-mounted POS terminal |
CN113542340A (en) * | 2021-01-07 | 2021-10-22 | 腾讯科技(深圳)有限公司 | Multi-terminal configuration method, terminal and computer-readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10959089B2 (en) | Data management microservice in a microservice domain | |
KR102105636B1 (en) | Installing application remotely | |
CN107832329B (en) | Page resource obtaining method and terminal equipment | |
CN107809383B (en) | MVC-based path mapping method and device | |
CN111399756B (en) | Data storage method, data downloading method and device | |
US10055266B1 (en) | Dynamic optimization of application workflows | |
WO2017045450A1 (en) | Resource operation processing method and device | |
CN110651256B (en) | System and method for preventing service interruption during software update | |
US20200153889A1 (en) | Method for uploading and downloading file, and server for executing the same | |
US20150011187A1 (en) | Location based applications | |
CN109905260A (en) | Method, management equipment and the service processing equipment of device configuration | |
KR102225815B1 (en) | Managing data feeds | |
CN111078238A (en) | Centralized processing method and device for application configuration in container environment | |
CN110019158A (en) | A kind of method and apparatus of monitoring data quality | |
US20170048160A1 (en) | Resource Notification Method, Device and System | |
JP2016212656A (en) | Information processor, terminal, system having information processor and terminal, and information processing method and program | |
CN109391658B (en) | Account data synchronization method and equipment, storage medium and terminal thereof | |
CN112153146B (en) | Operation notification method and apparatus, storage medium, and electronic apparatus | |
US9286055B1 (en) | System, method, and computer program for aggregating fragments of data objects from a plurality of devices | |
CN110955460B (en) | Service process starting method and device, electronic equipment and storage medium | |
US20160156722A1 (en) | Resource migration method and apparatus | |
US10152490B2 (en) | Sequential replication with limited number of objects | |
CN115996187A (en) | Routing information processing method and device, routing information interaction system and routing equipment | |
US11403093B1 (en) | Application modification with proxy service process | |
US9311612B2 (en) | System and method for improved service oriented architecture |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190618 |