This application claims priority to Chinese Patent Application No. 201810551435.3, filed with the China National Intellectual Property Administration (CNIPA) on May 31, 2018, the content of which is incorporated herein by reference in its entirety.
Embodiments of the present disclosure relate to the field of Internet of Things technology, specifically to a method and apparatus for updating a configuration object.
In the future wireless communication system, the number of smart devices flooding into wireless networks may increase exponentially. Whether it is a smart city, smart home, intelligent logistics, telemedicine, etc., it will join the era of the Internet of Everything, that is, the Internet of Things (IoT). This is bound to generate a large amount of data. In a traditional solution, the massive data generated at the devices needs to be uploaded to a cloud server for calculation, which causes problems such as long response delay and high bandwidth cost. In the existing technology, the above problems may be solved by a solution of an edge computing device being combined with the Internet of Things.
Serving as a bridge between devices connected to the IoT and the remote cloud server, the edge computing device may meet the needs such as data optimization, security, and privacy protection.
Embodiments of the present disclosure provide a method and apparatus for updating a configuration object.
In a first aspect, the embodiments of the present disclosure provide a method for updating a configuration object, including: acquiring an update configuration file; determining a to-be-updated configuration object based on the update configuration file and a pre-stored historical configuration file; determining whether the to-be-updated configuration object is processing information; and updating, in response to determining that the to-be-updated configuration object is processing information, the to-be-updated configuration object based on the update configuration file when any one of the following conditions is met: the information is processed, a preset duration has elapsed since the update configuration file being acquired.
In some embodiments, the acquiring an update configuration file includes: receiving an update configuration instruction; deserializing the update configuration instruction to determine a download address of the update configuration file; and downloading the update configuration file from the download address.
In some embodiments, the update configuration file includes an update device permission list; and the method further includes: determining whether the update device permission list includes an identifier of a currently connected device; and disconnecting a current connection, in response to determining that the update device permission list does not include the identifier of the currently connected device.
In some embodiments, the method further includes: receiving a request from a device, the request including a message publishing request or a message subscription request; determining whether a configuration object processing the request is being updated; and processing, in response to determining that the configuration object processing the request is being updated, the request after the configuration object processing the request is updated.
In some embodiments, the update device permission list includes publishing topic information corresponding to the identifier of the device; and the method further includes: receiving, in response to determining that the update device permission list includes the identifier of the currently connected device, a message publishing request from the currently connected device, the message publishing request including a message content and a message topic; determining whether the message topic matches the publishing topic information; and publishing, in response to determining that the message topic matches the publishing topic information, the message topic and the message content.
In some embodiments, the update configuration file includes an update message forwarding information list, and update message forwarding information in the update message forwarding information list includes a target topic and one of following: a destination topic, and a destination configuration object; and the method further includes: creating a target configuration object based on the update message forwarding information list, where when determining that the published message topic is the same as the target topic, the target configuration object forwards the published message content to any one of the following: a queue for storing messages of the destination topic, and a queue for storing messages of the destination configuration object.
In a second aspect, the embodiments of the present disclosure provide an apparatus for updating a configuration object, including: an update configuration file acquisition unit, configured to acquire an update configuration file; a configuration object determination unit, configured to determine a to-be-updated configuration object based on the update configuration file and a pre stored historical configuration file; a first state determination unit, configured to determine whether the to-be-updated configuration object is processing information; and a configuration object updating unit, configured to update, in response to determining that the to-be-updated configuration object is processing information, the to-be-updated configuration object based on the update configuration file when any one of the following conditions is met: the information is processed, a preset duration has elapsed since the update configuration file being acquired.
In some embodiments, the update configuration file acquisition unit includes: a configuration instruction receiving module, configured to receive an update configuration instruction; a deserialization module, configured to deserialize the update configuration instruction to determine a download address of the update configuration file; and an update configuration file downloading module, configured to download the update configuration file from the download address.
In some embodiments, the update configuration file includes an update device permission list; and the apparatus further includes: a connection permission verification unit, configured to determine whether the update device permission list comprises an identifier of a currently connected device; and a connection disconnecting unit, configured to disconnect a current connection, in response to determining that the update device permission list does not include the identifier of the currently connected device.
In some embodiments, the apparatus further includes: a first request receiving unit, configured to receive a request from a device, the request including a message publishing request or a message subscription request; a second state determination unit, configured to determine whether a configuration object processing the request is being updated; and a request processing unit, configured to process, in response to determining that the configuration object processing the request is being updated, the request after the configuration object processing the request is updated.
In some embodiments, the update device permission list includes publishing topic information corresponding to the identifier of the device; and the apparatus further includes: a second request receiving unit, configured to receive, in response to determining that the update device permission list includes the identifier of the currently connected device, a message publishing request from the currently connected device, the message publishing request including a message content and a message topic; a message topic determination unit, configured to determine whether the message topic matches the publishing topic information; and a message publishing unit, configured to publish, in response to determining that the message topic matches the publishing topic information, the message topic and the message content.
In some embodiments, the update configuration file includes an update message forwarding information list, and update message forwarding information in the update message forwarding information list includes a target topic and one of the following: a destination topic, and a destination configuration object; and the apparatus further includes: a target configuration object creating unit, configured to create a target configuration object based on the update message forwarding information list, where when determining that the published message topic is the same as the target topic, the target configuration object forwards the published message content to any one of the following: a queue for storing messages of the destination topic, and a queue for storing messages of the destination configuration object.
In a third aspect, the embodiments of the present disclosure provide an edge computing device, including: one or more processors; and a storage apparatus, storing one or more programs thereon, and the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method as described in any one of the embodiments in the first aspect.
In a fourth aspect, the embodiments of the present disclosure provide a computer readable medium, storing a computer program thereon, the computer program, when executed by a processor, implements the method as described in any one of the embodiments in the first aspect.
The method and apparatus for updating a configuration object provided by the embodiments of the present disclosure, after acquiring an update configuration file, may determine a to-be-updated configuration object based on the acquired update configuration file and a pre-stored historical configuration file, then may determine whether the to-be-updated configuration object is processing information, and update, in response to determining that the to-be-updated configuration object is processing information, the to-be-updated configuration object based on the update configuration file when any one of the following conditions is met: the information is processed, a preset duration has elapsed since the update configuration file being acquired. The method and apparatus of the present disclosure provide buffer time before updating the configuration object, and updates the configuration object without the user's perception.
After reading detailed descriptions of non-limiting embodiments with reference to the following accompanying drawings, other features, objectives and advantages of the present disclosure will become more apparent:
The present disclosure will be further described below in detail in combination with the accompanying drawings and the embodiments. It may be appreciated that the specific embodiments described herein are merely used for explaining the relevant disclosure, rather than limiting the disclosure. In addition, it should be noted that, for the convenience of description, only the parts related to the relevant disclosure are shown in the accompanying drawings.
It should be noted that the embodiments in the present disclosure and the features in the embodiments may be combined with each other on a non-conflict basis. The present disclosure will be described below in detail with reference to the accompanying drawings and in combination with the embodiments.
As shown in
The devices 101, 102, 103 may interact with the edge computing device 105 through the network 104 to receive or send messages and the like. Various sensors may be installed on the devices 101, 102, 103, and the data measured by the sensors may be sent to the edge computing device 105. For example, the device 101 is a rice cooker on which a temperature sensor may be installed, it may send the temperature of the food contained therein to the edge computing device 105. For example, a timer may be installed on the washing machine 103, and the laundry time may be sent to the edge computing device 105.
The devices 101, 102, 103 may be hardware or software. When the devices 101, 102, 103 are hardware, they may be various electronic devices with sensors including, but not limited to, rice cookers, air conditioners, refrigerators, washing machines, smart TVs, smart lights, smart sockets, and the like. When the devices 101, 102, 103 are software, they may be installed in the above-listed electronic devices. It may be implemented as a plurality of software or software modules (e.g., for providing distributed services) or as a single software or software module, which is not specifically limited in the present disclosure.
The edge computing device 105 may be an electronic device that provides various services in the Internet of Things, such as an electronic device that provides computing services to information sent by the devices 101, 102, and 103. The edge computing device 105 may perform processing such as analyzing on the received data (for example, temperature information sent by the rice cooker), and feed back the processing result (control to continue heating or keeping warm) to the device.
The edge computing device 105 may be hardware or software. When the edge computing device 105 is hardware, it may be various electronic devices having data processing functions, including but not limited to smart phones, tablets, laptop portable computers, desktop computers and the like. When the edge computing device 105 is software, it may be installed in the above-listed electronic devices. It may be implemented as a plurality of software or software modules (e.g., for providing distributed services) or as a single software or software module, which is not specifically limited in the present disclosure.
The server 107 may be a cloud server that provides cloud services in the Internet of Things. For example, a server that issues an update configuration command to the edge computing device 105. The cloud server may also acquire hardware information of the edge computing device 105 and issue data to the edge computing device based on the hardware information.
The server 107 may be hardware or software. When the server 107 is hardware, it may be various electronic devices having data processing functions, including but not limited to smart phones, tablets, laptop portable computers, desktop computers and the like. When the server 107 is software, it may be installed in the above-listed electronic devices. It may be implemented as a plurality of software or software modules (e.g., for providing distributed services) or as a single software or software module, which is not specifically limited in the present disclosure.
It should be noted that the method for updating a configuration object provided by the embodiments of the present disclosure is generally executed by the edge computing device 105, and accordingly, the apparatus for updating a configuration object is generally provided in the edge computing device 105.
It should be understood that the number of devices, networks, edge computing devices, and servers in
With further reference to
Step 201, acquiring an update configuration file.
In the present embodiment, an executing body of the method for updating a configuration object (for example, the edge computing device 105 as shown in
In the present embodiment, the executing body may acquire the above update configuration file in a plurality of methods. For example, the executing body may acquire from a cloud server of the Internet of Things, or acquire from a separate server for the update configuration file, or may acquire the update configuration file by running a command line parameter.
It should be noted that the above wireless connection may include but is not limited to 3G/4G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other wireless connections that are now known or to-be-developed in the future.
Step 202, determining a to-be-updated configuration object based on the update configuration file and a pre-stored historical configuration file.
In the present embodiment, the executing body may locally pre-store a historical configuration file. The current configuration data of the executing body is obtained from the historical configuration file. The update configuration file may be a configuration file that differs from the historical configuration file.
The executing body may compare the update configuration file with the historical configuration file to determine a difference content between the two. For the difference content, the executing body may determine, in combination with the content processed by the current configuration object, a configuration object for processing the difference content in the current configuration. For example, compared with the historical configuration file, the update configuration file deletes one function calculation model, and the executing body may look up in the existing configuration object set for the configuration object which performs calculation through this function calculation model. The found configuration object is the to-be-updated configuration object.
It may be understood that the to-be-updated configuration object may include a to-be-added configuration object, a to-be-deleted configuration object, and a to-be-changed configuration object. When compared with the historical configuration file, the update configuration file is added a content, the executing body detects whether the current configuration object may process the added content. If not, the executing body may parse the added content and then create a configuration object which is for processing the added content. When compared with the historical configuration file, the update configuration file is deleted a content, the executing body may delete the configuration object which is for processing the deleted content. When compared with the historical configuration file, the update configuration file changes a content, the executing body may update the configuration object which is for processing the changed content.
Step 203, determining whether the to-be-updated configuration object is processing information.
After determining the to-be-updated configuration object, the executing body may determine whether the to-be-updated configuration object is processing information. Generally, after receiving the information, the object processes the received information by calling a function. That is, the object implements the processing of the information by running the called function. The executing body may acquire the state of the object, and if it is in the code running state, it means the object is processing information. Or, the object may generate a return value after the processing of the information is completed. When a return value is not received, it may be determined that the configuration object is processing information. Therefore, the executing body may determine whether the return value of the to-be-updated configuration object is received to determine whether the to-be-updated configuration object is processing information. For example, the to-be-updated configuration object is computing a certain piece of information, or is forwarding a certain message, or is publishing a certain message.
Step 204, updating, in response to determining that the to-be-updated configuration object is processing information, the to-be-updated configuration object based on the update configuration file when any one of the following conditions is met: the information is processed, a preset duration has elapsed since the update configuration file being acquired.
The executing body may enter a waiting state when determining that the to-be-updated configuration object is processing information, so that the to-be-updated configuration object continues to process the information. The executing body may determine in real time whether the following conditions are met after acquiring the update configuration file: the information is processed, a preset duration has elapsed since the update configuration file being acquired. When the processing of the information requires a long time, the to-be-updated configuration object may be updated when the preset duration has elapsed since the update configuration file being acquired, so as to improve the update efficiency of the configuration object.
When it is determined that any one of the above conditions is met, the executing body may update the to-be-updated configuration object based on the update configuration file. When updating the configuration object, the to-be-updated configuration object may be closed first, and then the to-be-updated configuration object is initialized. Then, a new configuration object may be created, configuration objects that are not in the original update configuration file may be deleted, and the original configuration object may be updated.
It may be understood that when it is determined that the to-be-updated configuration object is not processing information, the executing body may directly update the to-be-updated configuration object based on the update configuration file.
In some alternative implementations of the present embodiment, after the update of the configuration object is completed, the executing body may store the update configuration file as the historical configuration file for later update of the configuration object.
With further reference to
The method for updating a configuration object provided by the above embodiments of the present disclosure may determine, after acquiring an update configuration file, a to-be-updated configuration object based on the acquired update configuration file and a pre-stored historical configuration file; then may determine whether the to-be-updated configuration object is processing information; and in response to determining that the to-be-updated configuration object is processing information, update the to-be-updated configuration object based on the update configuration file when any one of the following conditions is met: the information is processed, a preset duration has elapsed since the update configuration file being acquired. The method of the present embodiment provides buffer time before updating the configuration object, and the user experience is not affected.
In some alternative implementations of the present embodiment, the step 201 may include the following steps not shown in
In this implementation, the executing body may first receive an update configuration instruction from the cloud server. The update configuration instruction may be a sequence of bytes including the download address of the update configuration file. After receiving the update configuration instruction, the executing body may perform a deserialization operation on the update configuration instruction to obtain the download address therein. The executing body may download the update configuration file from the download address.
In the method of this implementation, the update configuration file may be placed on a remote file server, and the executing body may download the update configuration file through the Hypertext Transfer Protocol (HTTP), which may effectively improve the download speed.
In some alternative implementations of the present embodiment, the method may further include the following steps not shown in
In the method of this implementation, during the updating of the configuration object of the executing body, the request sent by the device may still be received, and the request may include a message publishing request and a message subscription request. The message publishing request is for requesting to publish messages of certain topics, and the message subscription request is for requesting to subscribe to messages of certain topics. Upon receiving the above request, the executing body may determine whether the configuration object used to process the request is being updated. It may be understood that the configuration object may be updated by running code. Therefore, the executing body may determine whether the configuration object is being updated by detecting the state of the configuration object. If it is being updated, the request is processed after the update of the configuration object is completed.
In the method of this implementation, the request from the device may still be received during the updating of the configuration object and the request is processed after the update is completed. In other words, during the updating of the configuration object, the service will not be stopped, which improves the user experience.
In some alternative implementations of the present embodiment, the method may further include the following steps not shown in
The above function calculation model is determined in combination with the hardware information of the edge computing device by the cloud server after determining the hardware resources required by each function calculation model in the preset function calculation model set. The function calculation model may be various functions for processing information sent by the device, which may be trained and obtained by the machine learning algorithm. For example, the function calculation model may be a trained neural network, the neural network may calculate the received temperature information to determine whether it is necessary to continue to heat up and an increased temperature value. The cloud server may first determine the hardware resources required by each function calculation model in the preset function calculation model set. Then, in conjunction with the current hardware information of the edge computing device, the cloud server may determine how many function calculation models the edge computing device can run and which function calculation models the edge computing device can run. The cloud server may send the determined function calculation models to the edge computing device after determining the function calculation models. For example, the memory capacity of the edge computing device is 1G, the function calculation model A needs 300 M memory at runtime, and the function calculation model B needs 500 M memory at runtime, then the cloud server may send the function calculation model A and the function calculation model B to the edge computing device.
It may be understood that the cloud server may be in communication connection with a plurality of edge computing devices. The function calculation models running in each edge computing device may be the same or different. The edge computing device may create a configuration object that uses the above function calculation model for data processing, to implement processing of the data sent by the device.
With further reference to
Step 401, determining whether the update device permission list includes an identifier of a currently connected device.
In the present embodiment, the executing body may determine whether the identifier of a device currently connected to the executing body is included in the update device permission list included in the update configuration file. If not, it indicates that the device currently connected to the executing body no longer has the permission to connect to the executing body, and then step 402 is performed. If included, it indicates that the device currently connected to the executing body still has the permission to connect to the executing body, and then step 403 is performed.
Step 402, disconnecting a current connection, in response to determining that the update device permission list does not include the identifier of the currently connected device.
If the executing body determines that the update device permission list does not include the identifier of the currently connected device, it may be determined that the connection between the currently connected device and the executing body is illegal, and the executing body may disconnect the connection with the currently connected device.
Step 403, receiving, in response to determining that the update device permission list includes the identifier of the currently connected device, a message publishing request from the currently connected device.
If the executing body determines that the update device permission list includes the identifier of the currently connected device, it may be determined that the connection between the currently connected device and the executing body is still legal. Then, the executing body may receive a message publishing request from the currently connected device through a monitoring port. The executing body may support a variety of communication protocols, including but not limited to MQTT (Message Queuing Telemetry Transport) protocol, TCP (Transmission Control Protocol), SSL (Secure Sockets Layer), and the like. In the communication process, there are three identities in the MQTT protocol: a publisher, an agent, and a subscriber. The publisher and the subscriber of a message may both be devices, and the message agent may be the executing body (edge computing device) of the present embodiment. The message publisher may be the message subscriber at the same time. Messages transmitted by the MQTT may include two parts: a topic and a payload. The topic may be understood as the type of a message, and after the subscriber subscribes to messages of the topic, it receives the message content for the topic. The payload may be understood as the content of a message, which refers to the content that the subscriber specifically uses. In the present embodiment, the message publishing request may include a message topic and a message content.
Step 404, determining whether the message topic matches the publishing topic information.
After receiving the message publishing request, the executing body may determine whether the message topic in the message publishing request matches the publishing topic information. The matching here means that the publishing topic information includes the message topic. If it matches, step 405 is performed.
Step 405, publishing, in response to determining that the message topic matches the publishing topic information, the message topic and the message content.
If the executing body determines that the message topic matches the publishing topic information, the message topic and the message content may be published.
The method for updating a configuration object provided by the above embodiments of the present disclosure may maintain the connection of the device that is still legal and valid in the update configuration file, and avoid the phenomenon that the current update causes the device to reconnect. After receiving the message publishing request of the device, it is determined based on the update configuration file whether the device has a publishing permission, the connected device may be effectively controlled.
In some alternative implementations of the present embodiment, the update configuration file may include an update message forwarding information list, and message forwarding information in the list may include a target topic and one of the following: a destination topic, and a destination configuration object. The destination topic is used to match with the message topic published by the device. The destination topic refers to a topic that may receive the message content, and the destination configuration object refers to a configuration object that may receive the message content. For example, the target topic may be the temperature published by the air conditioner, the destination topic may be the humidity published by the humidifier, and the destination configuration object may be a function object for calculating the temperature control.
The method may further include the following steps not shown in
In the method of this implementation, the message may be forwarded to different topics and configuration objects at the same time, which enriches the forwarding method of the message and improves the forwarding efficiency of the message.
With further reference to
As shown in
Here, the update configuration file acquisition unit 501 is configured to acquire an update configuration file.
The configuration object determination unit 502 is configured to determine a to-be-updated configuration object based on the update configuration file and a pre-stored historical configuration file.
The first state determination unit 503 is configured to determine whether the to-be-updated configuration object is processing information.
The configuration object updating unit 504 is configured to update, in response to determining that the to-be-updated configuration object is processing information, the to-be-updated configuration object based on the update configuration file when any one of the following conditions is met: the information is processed, a preset duration has elapsed since the update configuration file being acquired.
In some alternative implementations of the present embodiment, the update configuration file acquisition unit 501 may further include a configuration instruction receiving module, a deserialization module and an update configuration file downloading module not shown in
Here, the configuration instruction receiving module is configured to receive an update configuration instruction.
The deserialization module is configured to deserialize the update configuration instruction to determine a download address of the update configuration file.
The update configuration file downloading module is configured to download the update configuration file from the download address.
In some alternative implementations of the present embodiment, the update configuration file includes an update device permission list. The apparatus 500 may further include a connection permission verification unit and a connection disconnecting unit not shown in
The connection permission verification unit is configured to determine whether the update device permission list comprises an identifier of a currently connected device.
The connection disconnecting unit is configured to disconnect a current connection, in response to determining that the update device permission list does not include the identifier of the currently connected device.
In some alternative implementations of the present embodiment, the apparatus 500 may further include a first request receiving unit, a second state determination unit and a request processing unit not shown in
The first request receiving unit is configured to receive a request from a device. The request includes a message publishing request or a message subscription request.
The second state determination unit is configured to determine whether a configuration object processing the request is being updated.
The request processing unit is configured to process, in response to determining that the configuration object processing the request is being updated, the request after the configuration object processing the request is updated.
In some alternative implementations of the present embodiment, the update device permission list includes publishing topic information corresponding to the identifier of the device. The apparatus 500 may further include a second request receiving unit, a message topic determination unit and a message publishing unit not shown in
The second request receiving unit is configured to receive, in response to determining that the update device permission list includes the identifier of the currently connected device, a message publishing request from the currently connected device. The message publishing request includes a message content and a message topic.
The message topic determination unit is configured to determine whether the message topic matches the publishing topic information.
The message publishing unit is configured to publish, in response to determining that the message topic matches the publishing topic information, the message topic and the message content.
In some alternative implementations of the present embodiment, the update configuration file includes an update message forwarding information list, and update message forwarding information in the update message forwarding information list includes a target topic and one of the following: a destination topic, and a destination configuration object. The apparatus 500 may further include a target configuration object creating unit not shown in
The apparatus for updating a configuration object provided by the above embodiment of the present disclosure, after acquiring an update configuration file, may determine a to-be-updated configuration object based on the acquired update configuration file and a pre-stored historical configuration file, then may determine whether the to-be-updated configuration object is processing information, and update, in response to determining that the to-be-updated configuration object is processing information, the to-be-updated configuration object based on the update configuration file when any one of the following conditions is met: the information is processed, a preset duration has elapsed since the update configuration file being acquired. The method and apparatus of the present embodiment provide buffer time before updating the configuration object, and update the configuration object without the user's perception.
It should be understood that the units 501 to 504 described in the apparatus 500 for updating a configuration object respectively correspond to the respective steps in the method described with reference to
With further reference to
As shown in
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, etc.; an output portion 607 including such as a cathode ray tube (CRT), a liquid crystal display device (LCD), a speaker, etc.; a storage portion 608 including a hard disk and the like; and a communication portion 609 including a network interface card, such as a LAN card and a modem. The communication portion 609 performs communication processes via a network, such as the Internet. A driver 610 is also connected to the I/O interface 605 as required. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, and a semiconductor memory, may be installed on the driver 610, to facilitate the retrieval of a computer program from the removable medium 611, and the installation thereof on the storage portion 608 as needed.
In particular, according to the embodiments of the present disclosure, the process described above with reference to the flow chart may be implemented in a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program that is tangibly embedded in a computer-readable medium. The computer program includes program codes for performing the method as illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 609, and/or may be installed from the removable medium 611. The computer program, when executed by the central processing unit (CPU) 601, implements the above mentioned functionalities as defined by the method of some embodiments of the present disclosure.
It should be noted that the computer readable medium in some embodiments of the present disclosure may be computer readable signal medium or computer readable storage medium or any combination of the above two. An example of the computer readable storage medium may include, but not limited to: electric, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, elements, or a combination of any of the above. A more specific example of the computer readable medium may include but is not limited to: electrical connection with one or more wire, a portable computer disk, a hard disk, a random access memory (RAM), a read only memory (ROM), an erasable programmable read only memory (EPROM or flash memory), a fiber, a portable compact disk read only memory (CD-ROM), an optical memory, a magnet memory or any suitable combination of the above.
In some embodiments of the present disclosure, the computer storage medium may be any physical medium containing or storing programs which may be used by a command execution system, apparatus or element or incorporated thereto. In some embodiments of the present disclosure, the computer readable signal medium may include data signal in the base band or propagating as parts of a carrier, in which computer readable program codes are carried. The propagating data signal may take various forms, including but not limited to: an electromagnetic signal, an optical signal or any suitable combination of the above. The signal medium that can be read by computer may be any computer readable medium except for the computer readable storage medium. The computer readable medium is capable of transmitting, propagating or transferring programs for use by, or used in combination with, a command execution system, apparatus or element. The program codes contained on the computer readable medium may be transmitted with any suitable medium including but not limited to: wireless, wired, optical cable, RF medium etc., or any suitable combination of the above.
A computer program code for performing operations in some embodiments of the present disclosure may be compiled using one or more programming languages or combinations thereof. The programming languages include object-oriented programming languages, such as Java, Smalltalk or C++, and also include conventional procedural programming languages, such as āCā language or similar programming languages. The program code may be completely executed on a user's computer, partially executed on a user's computer, executed as a separate software package, partially executed on a user's computer and partially executed on a remote computer, or completely executed on a remote computer or server. In the circumstance involving a remote computer, the remote computer may be connected to a user's computer through any network, including local area network (LAN) or wide area network (WAN), or may be connected to an external computer (for example, connected through Internet using an Internet service provider).
The flow charts and block diagrams in the accompanying drawings illustrate architectures, functions and operations that may be implemented according to the systems, methods and computer program products of the various embodiments of the present disclosure. In this regard, each of the blocks in the flow charts or block diagrams may represent a module, a program segment, or a code portion, said module, program segment, or code portion including one or more executable instructions for implementing specified logic functions. It should also be noted that, in some alternative implementations, the functions denoted by the blocks may occur in a sequence different from the sequences shown in the accompanying drawings. For example, any two blocks presented in succession may be executed, substantially in parallel, or they may sometimes be in a reverse sequence, depending on the function involved. It should also be noted that each block in the block diagrams and/or flow charts as well as a combination of blocks may be implemented using a dedicated hardware-based system performing specified functions or operations, or by a combination of a dedicated hardware and computer instructions.
The units involved in the embodiments of the present disclosure may be implemented by means of software or hardware. The described units may also be provided in a processor, for example, described as: a processor, including an update configuration file acquisition unit, a configuration object determination unit, a first state determination unit and a configuration object updating unit. Here, the names of these units do not in some cases constitute a limitation to such units themselves. For example, the update configuration file acquisition unit may also be described as āa unit for acquiring an update configuration file.ā
In another aspect, the present disclosure further provides a computer readable medium. The computer readable medium may be included in the apparatus in the above described embodiments, or a stand-alone computer readable medium not assembled into the apparatus. The computer readable medium stores one or more programs. The one or more programs, when executed by the apparatus, cause the apparatus to: acquire an update configuration file; determine a to-be-updated configuration object based on the update configuration file and a pre-stored historical configuration file; determine whether the to-be-updated configuration object is processing information; and update, in response to determining that the to-be-updated configuration object is processing information, the to-be-updated configuration object based on the update configuration file when any one of the following conditions is met: the information is processed, a preset duration has elapsed since the update configuration file being acquired.
The above description only provides an explanation of the preferred embodiments of the present disclosure and the technical principles used. It should be appreciated by those skilled in the art that the inventive scope of the present disclosure is not limited to the technical solutions formed by the particular combinations of the above-described technical features. The inventive scope should also cover other technical solutions formed by any combinations of the above-described technical features or equivalent features thereof without departing from the concept of the present disclosure. Technical schemes formed by the above-described features being interchanged with, but not limited to, technical features with similar functions disclosed in the present disclosure are examples.
Number | Date | Country | Kind |
---|---|---|---|
201810551435.3 | May 2018 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
7383534 | Agbabian | Jun 2008 | B1 |
20050021622 | Cullen | Jan 2005 | A1 |
20060050862 | Shen | Mar 2006 | A1 |
20060143716 | Ikemoto | Jun 2006 | A1 |
20060168614 | Salas | Jul 2006 | A1 |
20080103854 | Adam | May 2008 | A1 |
20130125107 | Bandakka | May 2013 | A1 |
20150212944 | Chen | Jul 2015 | A1 |
20180332117 | Street | Nov 2018 | A1 |
Number | Date | Country |
---|---|---|
101170557 | Apr 2008 | CN |
107547239 | Jan 2018 | CN |
108089874 | May 2018 | CN |
Number | Date | Country | |
---|---|---|---|
20190372840 A1 | Dec 2019 | US |