WO2016149925A1 - 多主机环境应用管理方法、装置和设备 - Google Patents

多主机环境应用管理方法、装置和设备 Download PDF

Info

Publication number
WO2016149925A1
WO2016149925A1 PCT/CN2015/075082 CN2015075082W WO2016149925A1 WO 2016149925 A1 WO2016149925 A1 WO 2016149925A1 CN 2015075082 W CN2015075082 W CN 2015075082W WO 2016149925 A1 WO2016149925 A1 WO 2016149925A1
Authority
WO
WIPO (PCT)
Prior art keywords
host
crel
global
managed
installation
Prior art date
Application number
PCT/CN2015/075082
Other languages
English (en)
French (fr)
Inventor
李国庆
梅敬青
常新苗
赵晓娜
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2015/075082 priority Critical patent/WO2016149925A1/zh
Priority to CN201580078162.XA priority patent/CN107408048B/zh
Publication of WO2016149925A1 publication Critical patent/WO2016149925A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices

Definitions

  • the embodiments of the present invention relate to communication technologies, and in particular, to a multi-host environment application management method, apparatus, and device.
  • the Contactless Registry Event Listener is listening for a contactless application
  • Contactless Application is an application that executes preset business logic when the registry changes
  • the host in the HCI network is a logical entity that runs one or more services, where these services are used for management purposes. Or perform a contactless transaction function.
  • a host running a service for management purposes may include a device host (Central Processing Unit (CPU)), and a host running the contactless transaction function includes a Secure Digital Card (Secure Digital Card) that supports the HCI specification.
  • SD Secure Digital Card
  • embedded unit embedded Secure Element
  • UICC Universal Integrated Circuit Card
  • the CREL application is related to the contactless registry service (CRS) running on the host, and is used for managing parameters and configurations related to the contactless interface.
  • CRS contactless registry service
  • the update will be The CL App is associated with one or more CREL applications to implement a set of business logic; when the contactless registry corresponding to the CL App changes, the CREL application is woken up and executed.
  • a multi-host scenario when multiple hosts work at the same time, one CREL is installed in each host to manage the configuration of related parameters and their parameters.
  • the embodiments of the present invention provide a multi-host environment application management method, apparatus, and device, which are used to improve the robustness of the system.
  • an embodiment of the present invention provides a multi-host environment application management method, which is applied to a terminal, where the terminal includes a management host MH and at least one managed host, including:
  • the MH obtains at least one installation indication information, where the installation indication information includes a host identifier of one of the at least one managed host;
  • the MH determines, according to the installation indication information, whether the at least one managed host can install a global contactless registry event listener CREL;
  • the MH determines one of the at least one managed host capable of installing the global CREL as an installation host, and registers the host identifier of the installation host and/or the global CREL.
  • the installation indication information includes storage state information of the at least one managed host
  • the MH according to the installation indication information, determining whether the at least one managed host can install the global CREL, specifically includes:
  • the MH determines that the managed host whose unused storage space in the at least one managed host is greater than a preset threshold can install the global CREL.
  • the installation indication information includes access control policy information of the at least one managed host
  • the MH according to the installation indication information, determining whether the at least one managed host can install the global CREL, specifically includes:
  • the MH determines, according to the access control policy information of the at least one managed host, that the managed host in the at least one managed host that is allowed to install the global CREL can install the global CREL.
  • the installation indication information includes an owner of the at least one managed host
  • the MH according to the installation indication information, determining whether the at least one managed host can install the global CREL, specifically includes:
  • the MH determines that the owner of the at least one managed host belongs to the owner of the record in the whitelist
  • the managed host is able to install the global CREL.
  • the installation indication information includes an owner of the at least one managed host
  • the MH according to the installation indication information, determining whether the at least one managed host can install the global CREL, specifically includes:
  • the MH determines that the managed host of the at least one managed host whose owner does not belong to the record in the blacklist can install the global CREL.
  • the installation indication information includes a message processing capability identifier of the at least one managed host
  • the MH according to the installation indication information, determining whether the at least one managed host can install the global CREL, specifically includes:
  • the MH determines, according to the message processing capability identifier of the at least one managed host, that the managed host capable of processing the global CREL trigger message sent by the MH in the at least one managed host can install the global CREL.
  • the MH obtains the at least one installation indication information, specifically:
  • the MH receives the installation indication information sent by the at least one managed host.
  • the MH obtains the at least one installation indication information, specifically:
  • the MH determines that the managed host that is not registered and has the global CREL installed, or the registered host that has been registered with the global CREL is abnormal in status, sends a query message to the managed host in the normal state;
  • the MH receives the installation indication information that is sent by the managed host in a normal state according to the query message.
  • the MH obtains at least one installation indication information, specifically:
  • the MH determines that the managed host that is not registered and has installed the global CREL, or the registered managed host with the global CREL status is abnormal, sends a query message to the host controller for the host
  • the controller sends the query message to all managed hosts in a normal state, and receives the managed host in a normal state according to the query message.
  • the MH receives the installation indication information forwarded by the host controller.
  • the method further includes:
  • the registering the host identifier of the installation host and/or the global CREL includes:
  • the MH receives a second notification message that is sent by the installation host and carries an installation status, and registers the host identifier of the installation host and/or the global CREL according to the second notification message.
  • the method further includes:
  • the MH sends a disable local CREL message to other managed hosts other than the installation host in the at least one managed host.
  • an embodiment of the present invention provides a multi-host environment application management method, which is applied to a terminal, where the terminal includes a management host MH and a managed host, and the method includes:
  • the managed host sends the installation indication information carrying the determination result to the MH, so that the MH registers the host identifier of the managed host and/or the global CREL according to the installation indication information.
  • the information about the managed host includes storage state information of the managed host
  • the managed host determines, according to the information of the managed host, whether the managed host can install the global CREL, and obtains a determination result, which specifically includes:
  • the managed host includes access control policy information of the managed host;
  • the managed host determines, according to the information of the managed host, whether the managed host can install the global CREL, and obtains a determination result, which specifically includes:
  • an embodiment of the present invention provides a multi-host environment application management device, including:
  • a transceiver module configured to obtain at least one installation indication information, where the installation indication information includes a host identifier of one of the at least one managed host;
  • a determining module configured to determine, according to the installation indication information obtained by the transceiver module, whether the managed host can install a global contactless registry event listener CREL;
  • a determining module configured to determine, by the determining module, at least one managed host capable of installing the global CREL as an installation host;
  • a processing module configured to register the host identifier of the installation host and/or the global CREL determined by the determining module.
  • the installation indication information obtained by the transceiver module includes storage state information of the at least one managed host
  • the determining module determines, according to the installation indication information, whether the at least one managed host can install the global CREL, specifically:
  • Determining that the managed host in the at least one managed host whose unused storage space is greater than a preset threshold can install the global CREL
  • the installation indication information obtained by the transceiver module includes access control policy information of the at least one managed host
  • the determining module determines, according to the installation indication information, whether the at least one managed host can install the global CREL, specifically:
  • the transceiver module The obtained installation indication information includes an owner of the at least one managed host;
  • the determining module determines, according to the installation indication information, whether the at least one managed host can install the global CREL, specifically:
  • the managed host that determines that the owner of the at least one managed host belongs to the whitelist is able to install the global CREL.
  • the installation indication information obtained by the transceiver module includes an owner of the at least one managed host
  • the determining module determines, according to the installation indication information, whether the at least one managed host can install the global CREL, specifically:
  • the managed host that determines that the owner of the at least one managed host does not belong to the record in the blacklist can install the global CREL.
  • the installation indication information obtained by the transceiver module includes a message processing capability identifier of the at least one managed host
  • the determining module determines, according to the installation indication information, whether the at least one managed host can install the global CREL, specifically:
  • the transceiver module is further configured to receive the installation indication information that is sent by the at least one managed host.
  • the determining module is further configured to determine whether the managed host that is not registered and has the global CREL installed, or is used to determine that the Whether the state of the managed host in which the global CREL is installed is abnormal;
  • the transceiver module is specifically configured to: when the determining module determines that the managed host that has not been registered and has installed the global CREL, or when the determining module determines that the managed host with the global CREL installed has an abnormal state Sending a query message to the managed host in a normal state;
  • the transceiver module is further configured to receive the installation indication information that is sent by the managed host in a normal state according to the query message.
  • the determining module is further configured to determine whether the managed host that is not registered and has the global CREL installed, or is used to determine that the registration has been performed. Whether the state of the managed host in which the global CREL is installed is abnormal;
  • the transceiver module is specifically configured to: when the determining module determines that the managed host that is not registered and has installed the global CREL, or when the determining module determines that the managed host that has been registered with the global CREL is already registered When the status is abnormal, sending a query message to the host controller, so that the host controller sends the query message to all managed hosts in a normal state, and receives the managed host in the normal state according to the query message.
  • the installation indication information of the response is specifically configured to: when the determining module determines that the managed host that is not registered and has installed the global CREL, or when the determining module determines that the managed host that has been registered with the global CREL is already registered
  • the transceiver module is further configured to receive the installation indication information forwarded by the host controller.
  • the transceiver module is further used in the processing module Before registering the host identifier of the installation host and/or the global CREL, sending a first notification message to the installation host, so that the installation host installs the global CREL according to the first notification message;
  • the transceiver module is further configured to receive a second notification message that is sent by the installation host and that carries an installation status;
  • the processing module is configured to register, according to the second notification message, a host identifier of the installation host and/or the global CREL.
  • the transceiver module is further configured to send, to the at least one managed host, the installation host The other managed hosts send a disable local CREL message.
  • an embodiment of the present invention provides a multi-host environment application management device, including:
  • a determining module configured to determine, according to the information of the managed host, whether the managed host can install a global contactless registry event listener CREL, and obtain a determination result
  • a transceiver module configured to send, to the MH, installation indication information that carries the determination result obtained by the determining module, so that the MH registers the host identifier of the managed host according to the installation indication information, and/or the Global CREL.
  • the information about the managed host includes storage state information of the managed host
  • the determining module determines, according to the information of the managed host, whether the managed host can install the global CREL, and obtains a determination result, which specifically includes:
  • the information about the managed host includes access control policy information of the managed host
  • the determining module determines, according to the information of the managed host, whether the managed host can install the global CREL, and obtains a determination result, which specifically includes:
  • an embodiment of the present invention provides a management host, including:
  • a receiver configured to obtain at least one installation indication information, where the installation indication information includes a host identifier of one of the at least one managed host;
  • a processor configured to determine, according to the installation indication information, whether the at least one managed host can install a global contactless registry event listener CREL;
  • the processor is further configured to determine one of the at least one managed host capable of installing the global CREL as an installation host, and register a host identifier of the installation host and/or the global CREL.
  • the installation indication information received by the receiver includes storage state information of the at least one managed host
  • the managed host that determines that the unused storage space in the at least one managed host is greater than a preset threshold can install the global CREL.
  • the installation indication information received by the receiver includes access control policy information of the at least one managed host
  • the global CREL can be installed, including:
  • the installation indication information received by the receiver includes an owner of the at least one managed host
  • the managed host that determines that the owner of the at least one managed host belongs to the whitelist is able to install the global CREL.
  • the installation indication information received by the receiver includes an owner of the at least one managed host
  • the managed host that determines that the owner of the at least one managed host does not belong to the record in the blacklist can install the global CREL.
  • the installation indication information received by the receiver includes a message processing capability identifier of the at least one managed host
  • the receiver is further configured to receive the installation indication information that is sent by the at least one managed host.
  • the processor is further configured to determine whether a managed host that is not registered and has installed the global CREL, or is used to determine that the registration has been performed. Whether the status of the managed host in which the global CREL is installed is abnormal;
  • the management host further includes: a transmitter; wherein
  • the transmitter is configured to: when the processor determines that the managed host that is not registered and has installed the global CREL, or determines that the managed host that has been registered with the global CREL is already registered When the status is abnormal, the query message is sent to the managed host in the normal state;
  • the receiver is further configured to receive the installation indication information that is sent by the managed host in a normal state according to the query message.
  • the processor is further configured to determine whether a managed host that is not registered and has installed the global CREL, or is used to determine that the registration has been performed. Whether the status of the managed host in which the global CREL is installed is abnormal;
  • the management host further includes: a transmitter; wherein
  • the transmitter is configured to: when the processor determines that the managed host that is not registered and has installed the global CREL, or when the processor determines that the managed host with the global CREL installed has an abnormal state Sending a query message to the host controller, so that the host controller sends the query message to all managed hosts in a normal state, and receives the managed host in the normal state to respond according to the query message.
  • the installation indication information
  • the receiver is further configured to receive the installation indication information forwarded by the host controller.
  • the transmitter is further configured to register in the processor Before installing the host identifier of the host and/or the global CREL, sending a first notification message to the installation host, so that the installation host installs the global CREL according to the first notification message;
  • the receiver is further configured to receive a second notification message that is sent by the installation host and that carries an installation state;
  • the processor is further configured to register, according to the second notification message, an operation of installing the host identifier of the host and/or the global CREL.
  • the transmitter is further configured to send the installation host to the at least one managed host Other managed hosts outside send a disable local CREL message.
  • an embodiment of the present invention provides a host, including:
  • a processor configured to determine, according to the information of the host, whether the host can install a global contactless registry event listener CREL, and obtain a determination result;
  • a transmitter configured to send, to the MH, installation indication information that carries the determination result obtained by the processor, so that the MH registers a host identifier of the host according to the installation indication information, and/or the Global CREL.
  • the information of the host includes storage state information of the host
  • the processor determines, according to the information of the host, whether the host can install the global CREL, and obtains a determination result, which specifically includes:
  • the information of the host includes access control policy information of the host
  • the processor determines, according to the information of the host, whether the host can install the global CREL, and obtains a determination result, which specifically includes:
  • the MH obtains at least one installation indication information, where the installation indication information includes a host identifier of one of the at least one managed host, and the MH according to the installation instruction information, where the MH obtains the multi-host environment application management method, apparatus, and device. Determining whether at least one managed host can install the global CREL application; the MH determines one of the at least one managed host capable of installing the global CREL as the installation host, and registers the host identifier and/or the global CREL of the installed host. After MH determines that the managed host can install the global CREL, select one of them as the installation host, and register the host ID and/or global CREL of the installation host.
  • the global CREL can be selected to be installed on a managed host, the global CREL is used to serve multiple managed hosts, and the global CREL is used to record multiple contactless applications in multiple managed hosts. Information, thus avoiding conflicts between multiple local CRELs, ensuring the normal operation of the service and improving the robustness of the system.
  • Embodiment 1 is a schematic flowchart of Embodiment 1 of a multi-host environment application management method according to the present invention
  • Embodiment 2 is a schematic flowchart of Embodiment 2 of a multi-host environment application management method according to the present invention
  • Embodiment 3 is a schematic flowchart of Embodiment 3 of a multi-host environment application management method according to the present invention
  • Embodiment 4 is a schematic structural diagram of Embodiment 1 of a multi-host environment application management apparatus according to the present invention.
  • Embodiment 2 of a multi-host environment application management apparatus according to the present invention
  • FIG. 6 is a schematic structural diagram of Embodiment 1 of a management host according to the present invention.
  • FIG. 7 is a schematic structural diagram of Embodiment 2 of a management host according to the present invention.
  • FIG. 8 is a schematic structural diagram of Embodiment 1 of a host provided by the present invention.
  • FIG. 1 is a schematic flowchart diagram of Embodiment 1 of a multi-host environment application management method according to the present invention.
  • the embodiment of the present invention provides a multi-host environment application management method, which may be performed by any device that executes a multi-host environment application management method, and the device may be implemented by software and/or hardware.
  • the device can be integrated in a management host (Management Host; MH for short).
  • the application management in the present invention includes the installation of the application and the preparation work before the application installation, for example, checking the related configuration of the host.
  • the method in this embodiment may include:
  • Step 101 The MH obtains at least one installation indication information, where the installation indication information includes a host identifier of one of the at least one managed host.
  • the multi-host environment may be an HCI network or a Card Emulation Environment.
  • an HCI network generally includes a device host, a host controller (Host Controller), and one or more managed hosts.
  • the device host is the MH, and the host controller is used to manage the entire HCI network, and the managed host is a logical entity that runs one or more services.
  • MH is generally used to manage the coordinated work of multiple managed hosts on the same terminal and multiple contactless applications installed on multiple managed hosts.
  • the installation indication information obtained by the MH includes a host identifier corresponding to multiple managed hosts in the terminal to identify different managed hosts. It should be noted that the managed host in this embodiment is an HCI host.
  • Step 102 The MH determines, according to the installation indication information, whether at least one managed host can install the global CREL.
  • a multi-host environment that is, at least the host controller (Host Controller; abbreviation: HC), a contactless front end (CRF), and at least two
  • Host Controller Host Controller
  • CRF contactless front end
  • a managed host when there are MHs and multiple managed hosts work at the same time, since local CREL is installed in each managed host, if the CL App changes, multiple local CRELs may be triggered. The conflict causes the business to fail, so a global CREL can be installed for multiple managed host services working at the same time.
  • the MH obtains the installation indication information, it is determined according to the installation indication information whether the managed host corresponding to each host identifier can install the global CREL.
  • Step 103 The MH determines one of the at least one managed host capable of installing the global CREL as the installation host, and registers the host identifier and/or the global CREL of the installation host.
  • the MH determines one of the managed hosts that can install the global CREL as the installation host, and registers the host identifier of the installed host and / or global CREL, for example: MH saves the host ID of the installation host in the registry and / or saves the application identifier of the global CREL in the registry, so after the MH registers the host ID of the installation host and / or global CREL
  • the data record is stored in the registry, and the data record includes an application identifier (AID) of the global CREL and/or a host identifier of the installed host.
  • the MH obtains at least one installation indication information, where the installation indication information includes at least one host identifier of the managed host, and the MH determines, according to the installation indication information, whether at least one managed host can be installed.
  • the global CREL application the MH determines one of the at least one managed host capable of installing the global CREL as the installation host, and registers the host identity and/or the global CREL of the installation host. MH judged that it can install all After the managed host of the CREL, select one of them as the installation host, and register the host ID and/or global CREL of the installed host.
  • FIG. 2 is a schematic flowchart of a second embodiment of a multi-host environment application management method according to the present invention.
  • the embodiment is related to a specific implementation process of the MH obtaining at least one installation indication information, as shown in FIG. 2 .
  • the above step 101 specifically includes:
  • Step 201 If the MH determines that the managed host that has not been registered and has the global CREL installed, or the registered managed host with the global CREL is abnormal, sends a query message to the managed host in the normal state.
  • the MH detects whether the managed host that has installed the global CREL is registered, and when the MH determines that the managed host that is not registered and has the global CREL installed, or The registered managed host with the global CREL installed is in an abnormal state. For example, if the managed host is removed, the MH sends a query message to the managed host in a normal state.
  • the query message may be named EVT_GCREL_SUPPORT_REQ. HCI event.
  • the MH may send a request message to the host controller, so that the host controller establishes an HCI pipeline between the MH and each managed host. After the pipeline is successfully established, the MH sends an EVT_GCREL_SUPPORT_REQ event to each managed host. .
  • Step 202 The MH receives the installation indication information that the managed host in the normal state responds according to the query message.
  • the managed host in the normal state After the MH sends the query message to the managed host in the normal state, the managed host in the normal state returns the installation indication information to the MH according to the received query message.
  • the installation indication information may be encapsulated in the Returned in the HCI event named EVT_GCREL_SUPPORT_RSP.
  • Step 203 The MH determines, according to the installation indication information, whether at least one managed host can install the global CREL.
  • the installation indication information received by the MH includes at least one managed host. a host identity of a managed host and any one of the following parameters: storage state information of at least one managed host, access control policy information of at least one managed host, owner of at least one managed host, and at least one Manage the message processing capability identifier of the host.
  • the MH After receiving the installation instruction information, the MH will analyze it and determine whether the managed host can install the global CREL.
  • the MH can determine whether each managed host can install the global CREL or whether the local CREL can be used as the global CREL by the following method: (1) determining that the unused storage space in the at least one managed host is greater than the preset
  • the managed host of the threshold can install the global CREL; for example, when it is determined that the storage space unused by a managed host is greater than 50 KB, the managed host can install the global CREL.
  • the preset threshold may be selected according to the actual situation. The specific value of the preset threshold is not limited in this embodiment; and (2) determining at least one managed host according to the access control policy information of the at least one managed host.
  • the managed host that allows the global CREL to be installed can install the global CREL; for example, if a managed host belongs to the carrier, and its access control policy information is to allow installation of all kinds of applications, such as payment applications, bus card applications, The membership card application, the global CREL application, etc., indicate that the managed host can install the global CREL; (3) the MH determines that at least one managed host whose owner belongs to the whitelist in the managed host can install the global CREL. Specifically, the whitelist of the owner that allows the global CREL to be installed is pre-stored in the MH. If the owner of a managed host is in the whitelist in the MH, it is determined that the managed host allows the global CREL to be installed.
  • the MH determines that the owner of the at least one managed host does not belong to the blacklist.
  • the managed host of the owner of the record can install the global CREL. Specifically, the blacklist of the owner that prohibits the installation of the global CREL is pre-stored in the MH.
  • the owner of a managed host is in the blacklist in the MH, it is determined that the managed host cannot install the global CREL, otherwise Determining that the managed host can install the global CREL, wherein the owner stored in the blacklist can be the owner ID or any other owner identification information; (5) determining at least the message processing capability identifier of the at least one managed host
  • a managed host capable of handling the global CREL trigger message sent by the MH in the managed host can install the global CREL; in the actual application, each managed host can report the characteristic list of the processed message to the MH, and the feature list can include a Byte or a bit, using the value of the byte or the bit to indicate whether each managed host can process the global CREL trigger message sent by the MH, for example, when the value in the feature list is 1, Indicates that the managed host can process the global CREL trigger message sent by the MH.
  • Step 204 The MH determines one of the at least one managed host capable of installing the global CREL as the installation host, and sends a first notification message to the installation host, so that the installation host installs the global CREL according to the first notification message.
  • one of the plurality of managed hosts may be randomly selected as the installation host, and the first notification message may be sent to the installation host, or Determining the priority of each managed host to install the global CREL according to the storage state information of each managed host, the access control policy information of each managed host, the owner of each managed host, and the message processing capability identifier of each managed host.
  • the order is sequential, so that one of the managed hosts with the highest priority is selected as the installation host from all managed hosts capable of installing the global CREL, and the first notification message is sent to the installation host.
  • the storage state information of each managed host may be compared, and the priority of the managed host may be sequentially determined according to the size of the unused storage space of each managed host; or the access control policy of each managed host may be adopted. Determine the priority according to the number of types of applications allowed to be installed. You can also determine the priority of the host by comparing the priority of each managed host preset in the MH, for example, by each management. The priority of the host corresponding to the owner in the MH preset owner list is determined. It should be noted that only when the owner of each managed host belongs to the owner of the whitelist record, The owner of the management host determines the priority order in which each managed host can install the global CREL.
  • the method for selecting the host to be installed and the method for determining the priority may be set according to the actual application, which is not limited by the present invention.
  • the MH may also send a global CREL installation request message to the server, and the server may The received global CREL installation request message establishes a channel between the installation host and the installation host.
  • the server downloads the installation script and the installation file, and sends the downloaded installation script and installation file to the channel between the installation host and the installation host.
  • the installation host installs the global CREL locally based on the installation scripts and installation files sent by the server.
  • the global CREL installation request message may also be directly sent by the installation host to the server, and the server establishes a channel with the installation host according to the received global CREL installation request message.
  • Step 205 The MH receives the second notification message that is sent by the installation host and carries the installation status, and registers the host identifier and/or the global CREL of the installation host according to the second notification message.
  • the second notification message carrying the installation status is sent to the MH, for example, the second notification message.
  • It can be an HCI event named EVT_NEW_CONFIGURAION.
  • MH knows that after installing the host to install the global CREL successfully, it will register the host ID and/or global CREL of the installed host. Therefore, in the multi-host scenario, when the CL App changes, the change can be reported to the global CREL, which avoids the collision of multiple local CRELs in the prior art, thereby improving the robustness of the system.
  • the MH may also periodically obtain the installation indication information, and determine, according to the received installation indication information, whether the state in which the managed host can install the global CREL changes, and update the saved state according to the determination result. Whether the managed host can install information about the status of the global CREL.
  • the MH needs to determine whether the managed host is a host that installs the global CREL. If so, the MH needs to re-select the appropriate managed host. Install global CREL.
  • Step 206 Send a disable local CREL message to at least one managed host other than the installed host.
  • the host identifier of the installation host is sent to all managed hosts.
  • the MH also sends a disable local CREL message to all managed hosts except the installed host to ensure the uniqueness of the global CREL.
  • the MH obtains at least one installation indication information, where the installation indication information includes a host identifier of at least one managed host of the managed host; and the MH determines to be managed according to the installation indication information. Whether the host can install the global CREL application; the MH determines one of the at least one managed host capable of installing the global CREL as the installation host, and registers the host identifier and/or the global CREL of the installation host. After MH determines that the managed host can install the global CREL, select one of them as the installation host, and register the host ID and/or global CREL of the installed host. Therefore, there are multiple managed hosts and multiple managed hosts.
  • the contactless application When the contactless application is activated at the same time, you can choose to install the global CREL on one managed host, use the global CREL to serve multiple managed hosts, and record the information of multiple contactless applications in multiple managed hosts through the global CREL. Therefore, multiple local CREL conflicts are avoided, the normal operation of the service is ensured, and the robustness of the system is improved.
  • the MH sends a query message to the managed host in the normal state, and according to the installation instruction information returned by the managed host, determines whether each managed host can install the global CREL, and determines the managed host capable of installing the global CREL.
  • Non-contact applications can be activated simultaneously.
  • the query message is sent to the host controller for the host controller.
  • the query message is sent to all managed hosts in a normal state, and receives the installation indication information returned by the managed host in a normal state according to the query message; the MH receives the installation indication information sent by the host controller.
  • the MH detects whether the managed host that has installed the global CREL is registered, when the MH determines that the managed host that is not registered and has the global CREL installed, or that the registered global CREL has been installed.
  • the managed host is in an abnormal state, for example, the managed host is removed, etc., and the MH sends a query message to the host controller.
  • the query message may be an HCI event named EVT_GCREL_SUPPORT_REQ.
  • the host controller receives the query message, the query message can be broadcast to the managed host in a normal state.
  • the managed host After receiving the query message, the managed host returns the installation instruction information to the host controller according to the query message, and the host controller returns the installation indication information to the MH.
  • the installation instructions can also be directly returned to the MH by the managed host.
  • the MH obtains at least one installation indication information, where the installation indication information includes a host identifier of at least one managed host of the managed host; and the MH determines to be managed according to the installation indication information. Whether the host can install the global CREL application; the MH determines one of the at least one managed host capable of installing the global CREL as the installation host, and registers the host identifier and/or the global CREL of the installation host. After MH determines that the managed host can install the global CREL, select one of them as the installation host, and register the host ID and/or global CREL of the installation host.
  • the MH may also receive installation indication information sent by the at least one managed host.
  • the managed host accesses the HCI network for the first time, it can determine whether it can install the global CREL or whether the local CREL can be used as the global CREL according to its own storage state information or access control policy information, and encapsulate the judgment result.
  • the installation instructions are sent to the MH.
  • the managed host can determine whether it can install the global CREL or whether the local CREL can be used as the global CREL by the following methods: (1) determining whether the unused storage space of the managed host is greater than a preset.
  • the threshold determines that the managed host can install the global CREL; for example, when it is determined that the unused storage space of the managed host is greater than 50 KB, the managed host can install the global CREL.
  • the preset threshold may be selected according to the actual situation. The specific value of the preset threshold is not limited in this embodiment.
  • the storage state information of the managed host or the access control policy information of the managed host may change, so in the subsequent operation.
  • Each managed host periodically checks its storage status information or access control policy information, and makes a judgment, and encapsulates the result of whether it can install the global CREL into the installation indication information and sends it to the MH; therefore, the MH can periodically Obtaining installation instruction information, and determining, according to the received installation instruction information, whether the state in which the managed host can install the global CREL changes, and updating, according to the determination result, whether the saved managed host can install the state of the global CREL state. .
  • FIG. 3 is a schematic flowchart of Embodiment 3 of a multi-host environment application management method according to the present invention.
  • the embodiment of the present invention provides a multi-host environment application management method, which may be performed by any device that executes a multi-host environment application management method, and the device may be implemented by software and/or hardware.
  • the device can be integrated in the managed host.
  • the method in this embodiment may include:
  • Step 301 The managed host determines, according to the information of the managed host, whether the managed host can install the global CREL, and obtains the determination result.
  • the managed host After the managed host first accesses the HCI network, it determines whether it can install the global CREL according to the information of the managed host. In a specific implementation process, the managed host may determine whether the global CREL can be installed or whether the local CREL can be used as the global CREL according to the storage state information of the managed host or the access control policy information of the host.
  • the host may determine whether it can install the global CREL or whether the local CREL can be used as the global CREL by the following method: (1) determining whether the unused storage space of the managed host is greater than a preset threshold, and if so, determining The management host can install the global CREL; if not, it determines that the managed host cannot install the global CREL; for example, when it is determined that the unused storage space of a managed host is greater than 50 KB, the managed host can install the global CREL.
  • the preset threshold may be selected according to the actual situation. The specific value of the preset threshold is not limited in this embodiment.
  • the managed host belongs to the carrier, and its access control policy information is to allow installation of all kinds of applications, such as payment applications, bus card applications, loyalty card applications, global CREL applications, etc., indicating that the managed host can install the global CREL.
  • the managed host may also report the installation indication information to the MH when the status of the global CREL is changed. After the period of time, the managed host determines that its unused storage space is less than the preset threshold, indicating that the managed host is changed from being able to install the global CREL to not being able to install the global CREL.
  • the installation instruction information is recorded, after the MH receives the installation indication information, the host identification of all the managed hosts that have changed.
  • Step 302 The managed host sends the installation indication information carrying the determination result to the MH, so that the MH registers the host identifier of the managed host and/or the global CREL according to the installation indication information.
  • the managed host determines whether the managed host can install the application according to the information of the managed host, and obtains the judgment result
  • the judgment result is carried in the installation instruction information and sent to the MH, and the MH determines according to the judgment.
  • one of the at least one managed host that can determine the global CREL can be selected as the installation host, and the host ID and/or the global CREL of the installation host are registered.
  • the managed host determines whether the managed host can install the global CREL according to the information of the managed host, and obtains the judgment result, and the managed host sends an installation instruction carrying the judgment result to the MH.
  • Information so that the MH registers the host ID of the managed host and/or the global CREL according to the installation instructions.
  • the judgment result is carried in the installation indication information and sent to the MH.
  • the managed host receives a query message sent by the MH when determining that the managed host that is not registered and has the global CREL installed, or the registered host that has registered the global CREL is abnormal; the host according to the query The message sends an installation instruction message to the MH.
  • the MH detects whether the managed host that has installed the global CREL is registered, when the MH determines that the managed host that is not registered and has the global CREL installed, or that the registered global CREL has been installed.
  • the MH sends a query request message to the managed host in a normal state, for example, the HCI event named EVT_GCREL_SUPPORT_REQ.
  • the MH can send a request message to the host controller.
  • the host controller establishes an HCI pipeline between the MH and the managed host in a normal state.
  • the MH After the HCI pipeline is successfully established, the MH sends an EVT_GCREL_SUPPORT_REQ event to each managed host. After receiving the query request message, the managed host returns the installation indication information to the MH, where the installation instruction information carries any one of the following parameters: storage state information of the managed host, access control policy information of the managed host, The owner of the managed host can analyze whether the managed host can install the global CREL after the MH receives the installation instruction information and parses the installation instruction information.
  • the managed host receives the query message sent by the host controller, where the query message is a managed host determined by the MH to be unregistered and has the global CREL installed, or the registered host with the global CREL installed.
  • the status is abnormal, it is sent to the host controller; the managed host sends installation instruction information to the host controller according to the query message, so that the host controller sends the installation indication information to the MH.
  • FIG. 4 is a schematic structural diagram of Embodiment 1 of a multi-host environment application management apparatus according to the present invention.
  • the multi-host environment application management apparatus provided by the embodiment of the present invention includes a transceiver module 11, a determination module 12, a determination module 13, and a processing module 14.
  • the transceiver module 11 is configured to obtain at least one installation indication information, where the installation indication information includes a host identifier of one of the at least one managed host, and the determining module 12 is configured to obtain, according to the transceiver module 11 Installing the indication information, determining whether the at least one managed host is capable of installing the global contactless registry event listener CREL; the determining module 13 is configured to determine, from the determining module 12, at least one managed host capable of installing the global CREL One is determined as an installation host; the processing module 14 is configured to register the host identifier of the installation host and/or the global CREL determined by the determining module 13.
  • the MH obtains at least one installation indication information, where the installation indication information includes a host identifier of at least one managed host of the managed host; and the MH determines at least one according to the installation indication information. Whether the managed host can install the global CREL; the MH determines one of the at least one managed host capable of installing the global CREL as the installation host, and registers the host identifier and/or the global CREL of the installed host. After MH determines that the managed host can install the global CREL, select one of them as the installation host, and register the host ID and/or global CREL of the installation host.
  • the global CREL is installed on the management host, and the global CREL is used to serve multiple managed hosts, and the information of multiple non-contact applications in multiple managed hosts is recorded through the global CREL, thereby avoiding conflicts between multiple local CRELs and ensuring The normal operation of the business improves the robustness of the system.
  • the installation indication information obtained by the transceiver module 11 includes storage state information of the at least one managed host
  • the determining module 12 determines, according to the installation indication information, whether the at least one managed host can install the global CREL, and specifically includes:
  • the managed host that determines that the unused storage space in the at least one managed host is greater than a preset threshold can install the global CREL.
  • the installation indication information obtained by the transceiver module 11 includes access control policy information of the at least one managed host
  • the determining module 12 determines, according to the installation indication information, whether the at least one managed host can install the global CREL, and specifically includes:
  • the installation indication information obtained by the transceiver module 11 includes an owner of the at least one managed host
  • the determining module 12 determines, according to the installation indication information, whether the at least one managed host can install the global CREL, and specifically includes:
  • the managed host that determines that the owner of the at least one managed host belongs to the whitelist is able to install the global CREL.
  • the installation indication information obtained by the transceiver module 11 includes an owner of the at least one managed host
  • the determining module 12 determines, according to the installation indication information, whether the at least one managed host can install the global CREL, and specifically includes:
  • the managed host that determines that the owner of the at least one managed host does not belong to the record in the blacklist can install the global CREL.
  • the installation indication information obtained by the transceiver module 11 includes a message processing capability identifier of the at least one managed host.
  • the determining module 12 determines the at least one managed host according to the installation indication information. Whether the global CREL can be installed includes:
  • the transceiver module 11 is further configured to receive the installation indication information sent by the at least one managed host.
  • the determining module 12 is further configured to determine whether the managed host that is not registered and has the global CREL installed, or whether the managed host state that has been registered with the global CREL is abnormal;
  • the transceiver module 11 is specifically configured to: when the determining module 12 determines that the managed host that has not been registered and has installed the global CREL, or when the determining module 12 determines that the global CREL that has been registered is managed, When the host status is abnormal, the query message is sent to the managed host in the normal state;
  • the transceiver module 11 is further configured to receive the installation indication information that is sent by the managed host in a normal state according to the query message.
  • the determining module 12 is further configured to determine whether the managed host that is not registered and has the global CREL installed, or is used to determine whether the managed host state in which the global CREL is installed is abnormal.
  • the transceiver module 11 is specifically configured to: when the determining module 12 determines that the managed host that has not been registered and has installed the global CREL, or when the determining module 12 determines that the global CREL has been registered, When the managed host status is abnormal, sending a query message to the host controller, so that the host controller sends the query message to all managed hosts in a normal state, and receives the managed host in a normal state according to the Said installation indication information of the query message response;
  • the transceiver module 11 is further configured to receive the installation indication information forwarded by the host controller.
  • the transceiver module 11 is further configured to send a first notification message to the installation host before the processing module 14 registers the host identifier of the installation host and/or the global CREL, so that the installation is performed.
  • the host installs the global CREL according to the first notification message;
  • the transceiver module 11 is further configured to receive a second notification message that is sent by the installation host and that carries an installation state.
  • the processing module 14 is configured to register, according to the second notification message, a host identifier of the installation host and/or the global CREL.
  • the transceiver module 11 is further configured to send a global CREL installation request message to the server, so that the server establishes a channel with the installation host.
  • the transceiver module 11 is further configured to send a disable local CREL message to the managed host other than the installation host of the at least one managed host.
  • the multi-host environment application management device of this embodiment may be used to implement the technical solution of the multi-host environment application management method provided by any embodiment of the present invention, and the implementation principle and technical effects thereof are similar, and details are not described herein again.
  • FIG. 5 is a schematic structural diagram of Embodiment 2 of a multi-host environment application management apparatus according to the present invention.
  • the multi-host environment application management apparatus provided by the embodiment of the present invention includes a judging module 21 and a transceiver module 22.
  • the determining module 21 is further configured to determine, according to the information of the managed host, whether the managed host can install a global contactless registry event listener CREL, and obtain a determination result; the transceiver module 22 is configured to use the MH The installation indication information carrying the determination result obtained by the judging module 21 is sent, so that the MH registers the host identifier of the managed host and/or the global CREL according to the installation indication information.
  • the managed host determines whether the managed host can install the global CREL according to the information of the managed host, and obtains the determination result, and the managed host sends an installation instruction carrying the determination result to the MH.
  • Information so that the MH registers the host ID of the managed host and/or the global CREL according to the installation instructions. After the managed host determines whether it can install the global CREL according to its own information, the judgment result is carried in the installation indication information and sent to the MH.
  • the information about the managed host includes storage state information of the managed host
  • the determining module 21 determines, according to the information of the managed host, whether the managed host can install the global CREL, and obtains a determination result, which specifically includes:
  • the information about the managed host includes access control policy information of the managed host.
  • the determining module 21 determines, according to the information of the managed host, whether the managed host can install the global CREL, and obtains a determination result, which specifically includes:
  • the multi-host environment application management device of this embodiment may be used to implement the technical solution of the multi-host environment application management method provided by any embodiment of the present invention, and the implementation principle and technical effects thereof are similar, and details are not described herein again.
  • FIG. 6 is a schematic structural diagram of Embodiment 1 of a management host according to the present invention.
  • the management host provided by the embodiment of the present invention includes a receiver 31 and a processor 32.
  • the receiver 31 is configured to obtain at least one installation indication information, where the installation indication information includes a host identifier of one of the at least one managed host, and the processor 32 is configured to determine, according to the installation indication information, Whether at least one managed host can install a global contactless registry event listener CREL; the processor 32 is further configured to determine one of the determined managed hosts capable of installing the global CREL as an installation host, and register the Install the host ID of the host and/or the global CREL.
  • the management host provided in this embodiment may be used to implement the technical solution of the multi-host environment application management method provided by any embodiment of the present invention, and the implementation principle and technical effects thereof are similar, and details are not described herein again.
  • the installation indication information received by the receiver 31 includes storage state information of the at least one managed host
  • the processor 32 determines, according to the installation indication information, whether the at least one managed host can install the global CREL, and specifically includes:
  • the host can install the global CREL.
  • the installation indication information received by the receiver 31 includes access control policy information of the at least one managed host
  • the processor 32 determines, according to the installation indication information, whether the at least one managed host can install the global CREL, and specifically includes:
  • the installation indication information received by the receiver 31 includes an owner of the at least one managed host
  • the processor 32 determines, according to the installation indication information, whether the at least one managed host can install the global CREL, and specifically includes:
  • the managed host that determines that the owner of the at least one managed host belongs to the whitelist is able to install the global CREL.
  • the installation indication information received by the receiver 31 includes an owner of the at least one managed host
  • the processor 32 determines, according to the installation indication information, whether the at least one managed host can install the global CREL, and specifically includes:
  • the managed host that determines that the owner of the at least one managed host does not belong to the record in the blacklist can install the global CREL.
  • the installation indication information received by the receiver 31 includes a message processing capability identifier of the at least one managed host.
  • the processor 32 determines, according to the installation indication information, whether the at least one managed host can install the global CREL, and specifically includes:
  • the receiver 31 is further configured to receive the installation indication information sent by the at least one managed host.
  • the management host provided in this embodiment may be used to implement the technical solution of the multi-host environment application management method provided by any embodiment of the present invention, and the implementation principle and the technical effect are similar. Narration.
  • FIG. 7 is a schematic structural diagram of Embodiment 2 of a management host according to the present invention. As shown in FIG. 7 , the management host further includes a transmitter 33 on the basis of the embodiment shown in FIG. 6 .
  • the processor 32 is further configured to determine whether the managed host that is not registered and has the global CREL installed, or is used to determine whether the managed host state in which the global CREL is installed is abnormal.
  • the transmitter 33 is configured to: when the processor 32 determines that the managed host that is not registered and has installed the global CREL, or when the processor 32 determines that the managed host with the global CREL installed has been registered When the status is abnormal, the query message is sent to the managed host in the normal state;
  • the receiver 31 is further configured to receive the installation indication information that is sent by the managed host in a normal state according to the query message.
  • the processor 32 is further configured to determine whether the managed host that is not registered and has the global CREL installed, or is used to determine whether the managed host state in which the global CREL is installed is abnormal.
  • the transmitter 33 is configured to: when the processor 32 determines that the managed host that is not registered and has installed the global CREL, or when the processor 32 determines that the managed host with the global CREL installed has been registered When the status is abnormal, sending a query message to the host controller, so that the host controller sends the query message to all managed hosts in a normal state, and receives the managed host in the normal state according to the query message.
  • the installation indication information of the response
  • the receiver 31 is further configured to receive the installation indication information forwarded by the host controller.
  • the sender 33 is further configured to send a first notification message to the installation host before the processor 32 registers the host identifier of the installation host and/or the global CREL, so that the installation The host installs the global CREL according to the first notification message;
  • the receiver 31 is further configured to receive a second notification message that is sent by the installation host and that carries an installation status.
  • the processor 32 is further configured to register, according to the second notification message, a host identifier of the installation host and/or the global CREL.
  • the sender 33 is further configured to send a global CREL installation request message to the server. In order for the server to establish a channel with the installation host.
  • the sender 33 is further configured to send a disable local CREL message to the managed host other than the installation host in the at least one managed host.
  • the management host provided in this embodiment may be used to implement the technical solution of the multi-host environment application management method provided by any embodiment of the present invention, and the implementation principle and technical effects thereof are similar, and details are not described herein again.
  • FIG. 8 is a schematic structural diagram of Embodiment 1 of a host provided by the present invention.
  • the host provided by the embodiment of the present invention includes a processor 41 and a transmitter 42.
  • the processor 41 is configured to determine, according to information about the host, whether the host can install a global contactless registry event listener CREL, and obtain a determination result;
  • the transmitter 42 is configured to send, to the MH, installation indication information that carries the determination result obtained by the processor 41, so that the MH registers the host identifier and/or the host according to the installation indication information. Describe the global CREL.
  • the host provided in this embodiment may be used to implement the technical solution of the multi-host environment application management method provided by any embodiment of the present invention, and the implementation principle and technical effects thereof are similar, and details are not described herein again.
  • the information of the host includes storage state information of the host
  • the processor 41 determines, according to the information of the host, whether the host can install the global CREL, and obtains a determination result, which specifically includes:
  • the information of the host includes access control policy information of the host
  • the processor 41 determines, according to the information of the host, whether the host can install the global CREL, and obtains a determination result, which specifically includes:
  • the host provided in this embodiment may be used to implement the technical solution of the multi-host environment application management method provided by any embodiment of the present invention, and the implementation principle and technical effects thereof are similar, and details are not described herein again.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division.
  • there may be another division manner for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • a computer readable storage medium A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

本发明实施例涉及一种多主机环境应用管理方法、装置和设备,该方法包括:MH获得至少一个安装指示信息,安装指示信息包括至少一个被管理主机中的一个被管理主机的主机标识;MH根据安装指示信息,判定至少一个被管理主机是否能够安装全局CREL;MH从判定出的能够安装全局CREL的至少一个被管理主机中确定一个作为安装主机,并注册安装主机的主机标识和/或全局CREL。本发明实施例提供的多主机环境应用管理方法、装置和设备提高了系统的健壮性。

Description

多主机环境应用管理方法、装置和设备 技术领域
本发明实施例涉及通信技术,特别涉及一种多主机环境应用管理方法、装置和设备。
背景技术
在主机控制器接口(Host Controller Interface;简称:HCI)网络中,非接触注册表事件侦听器(Contactless Registry Event Listener;简称:CREL)是在侦听到某个非接触应用(Contactless Application;简称:CL App)的注册表发生变化时,执行预设业务逻辑的一种应用,而HCI网络中的主机,则是运行一个或多个业务的逻辑实体,其中,这些业务是用于实现管理目的或执行非接触交易功能。例如:运行管理目的的业务的主机可以包括设备主机(终端中央处理器(Central Processing Unit;简称:CPU))等,运行非接触交易功能的主机包括支持HCI规范的安全数字卡(Secure Digital Card;简称:SD)卡、嵌入式单元(Embedded Secure Element)或通用集成电路卡(Universal Integrated Circuit Card;简称:UICC),也即SIM卡等。
现有技术中,CREL应用与主机上运行的非接触注册表服务(Contactless Registry Service;简称:CRS)相关,用于管理非接触接口相关的参数和配置,各CL App安装或配置更新时,将CL App与一个或多个CREL应用关联,以便实现一组业务逻辑;当该CL App对应的非接触注册表有变化时,CREL应用被唤醒并执行。在单主机场景下,通过在主机中安装CREL,进行相关参数及其配置的管理。在多主机场景下,当多个主机同时工作时,每一个主机中均安装有一个CREL,以管理对应的相关参数及其参数的配置。
然而,在现有技术中,在多主机场景下,当多个主机同时工作时,由于每个主机中均安装有本地CREL,而CL App发生的任何变化都可能会影响到其他主机中的正在运行的CL App,进而影响对应的主机中的CREL应用,引发多个本地CREL之间的冲突,导致业务运行失败,造成系统的健壮性较低。
发明内容
本发明实施例提供一种多主机环境应用管理方法、装置和设备,用于提高系统的健壮性。
第一方面,本发明实施例提供一种多主机环境应用管理方法,应用于终端,所述终端包括管理主机MH和至少一个被管理主机,包括:
所述MH获得至少一个安装指示信息,所述安装指示信息包括所述至少一个被管理主机中的一个被管理主机的主机标识;
所述MH根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装全局非接触注册表事件侦听器CREL;
所述MH从判定出的能够安装所述全局CREL的至少一个被管理主机中确定一个作为安装主机,并注册所述安装主机的主机标识和/或所述全局CREL。
结合第一方面,在第一方面的第一种可能的实现方式中,所述安装指示信息包括所述至少一个被管理主机的存储状态信息;
所述MH根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
所述MH判断所述至少一个被管理主机中的未使用的存储空间大于预设阈值的被管理主机能够安装全局CREL。
结合第一方面,在第一方面的第二种可能的实现方式中,所述安装指示信息包括所述至少一个被管理主机的访问控制策略信息;
所述MH根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
所述MH根据所述至少一个被管理主机的访问控制策略信息,判断所述至少一个被管理主机中允许安装所述全局CREL的被管理主机能够安装全局CREL。
结合第一方面,在第一方面的第三种可能的实现方式中,所述安装指示信息包括所述至少一个被管理主机的属主;
所述MH根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
所述MH判断所述至少一个被管理主机中属主属于白名单中记录的属主 的被管理主机能够安装全局CREL。
结合第一方面,在第一方面的第四种可能的实现方式中,所述安装指示信息包括所述至少一个被管理主机的属主;
所述MH根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
所述MH判断所述至少一个被管理主机中属主不属于黑名单中记录的属主的被管理主机能够安装全局CREL。
结合第一方面,在第一方面的第五种可能的实现方式中,所述安装指示信息包括所述至少一个被管理主机的消息处理能力标识;
所述MH根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
所述MH根据所述至少一个被管理主机的消息处理能力标识,判断所述至少一个被管理主机中能够处理MH发送的全局CREL触发消息的被管理主机能够安装全局CREL。
结合第一方面,在第一方面的第六种可能的实现方式中,所述MH获得至少一个安装指示信息,具体包括:
所述MH接收所述至少一个被管理主机发送的所述安装指示信息。
结合第一方面,在第一方面的第七种可能的实现方式中,所述MH获得至少一个安装指示信息,具体包括:
若所述MH确定未注册、且已经安装了全局CREL的被管理主机,或者,已经注册的所述安装了全局CREL的被管理主机状态异常,则向处于正常状态的被管理主机发送查询消息;
所述MH接收所述处于正常状态的被管理主机根据所述查询消息应答的所述安装指示信息。
结合第一方面,在第一方面的第八种可能的实现方式中,所述MH获得至少一个安装指示信息,具体包括:
若所述MH确定未注册、且已经安装了全局CREL的被管理主机,或者,已经注册的所述安装了全局CREL的被管理主机状态异常,则向主机控制器发送查询消息,以便所述主机控制器将所述查询消息发送给所有处于正常状态的被管理主机,并接收所述处于正常状态的被管理主机根据所述查询消息 应答的所述安装指示信息;
所述MH接收所述主机控制器转发的所述安装指示信息。
结合第一方面、第一方面的第一种至第一方面的第八种任一种可能的实现方式,在第一方面的第九种可能的实现方式中,在所述注册所述安装主机的主机标识和/或所述全局CREL之前,所述方法还包括:
向所述安装主机发送第一通知消息,以便所述安装主机根据所述第一通知消息安装所述全局CREL;
所述注册所述安装主机的主机标识和/或所述全局CREL,具体包括:
所述MH接收所述安装主机发送的携带有安装状态的第二通知消息,根据所述第二通知消息,注册所述安装主机的主机标识和/或所述全局CREL。
结合第一方面的第九种可能的实现方式,在第一方面的第十种可能的实现方式中,所述向所述安装主机发送第一通知消息之后,所述方法还包括:
所述MH向所述至少一个被管理主机中除所述安装主机之外的其他被管理主机发送禁用本地CREL消息。
第二方面,本发明实施例提供一种多主机环境应用管理方法,应用于终端,所述终端包括管理主机MH和被管理主机,所述方法包括:
所述被管理主机根据所述被管理主机的信息判定所述被管理主机是否能够安装全局非接触注册表事件侦听器CREL,并获得判断结果;
所述被管理主机向所述MH发送携带有所述判断结果的安装指示信息,以便所述MH根据所述安装指示信息,注册所述被管理主机的主机标识和/或所述全局CREL。
结合第二方面,在第二方面的第一种可能的实现方式中,所述被管理主机的信息包括所述被管理主机的存储状态信息;
所述被管理主机根据所述被管理主机的信息判定所述被管理主机是否能够安装所述全局CREL,并获得判断结果,具体包括:
所述被管理主机判断所述被管理主机的未使用的存储空间是否大于预设阈值;
若是,则判定所述被管理主机能够安装全局CREL;
若否,则判定所述被管理主机不能够安装全局CREL。
结合第二方面,在第二方面的第二种可能的实现方式中,所述被管理主 机的信息包括所述被管理主机的访问控制策略信息;
所述被管理主机根据所述被管理主机的信息判定所述被管理主机是否能够安装所述全局CREL,并获得判断结果,具体包括:
所述被管理主机根据所述被管理主机的访问控制策略信息,判断所述被管理主机是否允许安装所述全局CREL;
若是,则判定所述被管理主机能够安装全局CREL;
若否,则判定所述被管理主机不能够安装全局CREL。
第三方面,本发明实施例提供一种多主机环境应用管理装置,包括:
收发模块,用于获得至少一个安装指示信息,所述安装指示信息包括至少一个被管理主机中的一个被管理主机的主机标识;
判断模块,用于根据所述收发模块获得的所述安装指示信息,判定所述被管理主机是否能够安装全局非接触注册表事件侦听器CREL;
确定模块,用于从所述判断模块判定出的能够安装所述全局CREL的至少一个被管理主机中确定一个作为安装主机;
处理模块,用于注册所述确定模块确定出的所述安装主机的主机标识和/或所述全局CREL。
结合第三方面,在第三方面的第一种可能的实现方式中,所述收发模块获得的所述安装指示信息包括所述至少一个被管理主机的存储状态信息;
所述判断模块根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
判断所述至少一个被管理主机中的未使用的存储空间大于预设阈值的被管理主机能够安装全局CREL
结合第三方面,在第三方面的第二种可能的实现方式中,所述收发模块获得的所述安装指示信息包括所述至少一个被管理主机的访问控制策略信息;
所述判断模块根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
根据所述至少一个被管理主机的访问控制策略信息,判断所述至少一个被管理主机中允许安装所述全局CREL的被管理主机能够安装全局CREL。
结合第三方面,在第三方面的第三种可能的实现方式中,所述收发模块 获得的所述安装指示信息包括所述至少一个被管理主机的属主;
所述判断模块根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
判断所述至少一个被管理主机中属主属于白名单中记录的属主的被管理主机能够安装全局CREL。
结合第三方面,在第三方面的第四种可能的实现方式中,所述收发模块获得的所述安装指示信息包括所述至少一个被管理主机的属主;
所述判断模块根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
判断所述至少一个被管理主机中属主不属于黑名单中记录的属主的被管理主机能够安装全局CREL。
结合第三方面,在第三方面的第五种可能的实现方式中,所述收发模块获得的所述安装指示信息包括所述至少一个被管理主机的消息处理能力标识;
所述判断模块根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
根据所述至少一个被管理主机的消息处理能力标识,判断所述至少一个被管理主机中能够处理MH发送的全局CREL触发消息的被管理主机能够安装全局CREL。
结合第三方面,在第三方面的第六种可能的实现方式中,所述收发模块,还用于接收所述至少一个被管理主机发送的所述安装指示信息。
结合第三方面,在第三方面的第七种可能的实现方式中,所述判断模块,还用于确定是否未注册、且已经安装了全局CREL的被管理主机,或者,用于确定已经注册的所述安装了全局CREL的被管理主机状态是否异常;
所述收发模块具体用于当所述判断模块确定未注册、且已经安装了全局CREL的被管理主机,或者,当所述判断模块确定已经注册的所述安装了全局CREL的被管理主机状态异常时,向处于正常状态的被管理主机发送查询消息;
所述收发模块,还用于接收所述处于正常状态的被管理主机根据所述查询消息应答的所述安装指示信息。
结合第三方面,在第三方面的第八种可能的实现方式中,所述判断模块,还用于确定是否未注册、且已经安装了全局CREL的被管理主机,或者,用于确定已经注册的所述安装了全局CREL的被管理主机状态是否异常;
所述收发模块具体用于当所述判断模块确定出未注册、且已经安装了全局CREL的被管理主机,或者,当所述判断模块确定出已经注册的所述安装了全局CREL的被管理主机状态异常时,向主机控制器发送查询消息,以便所述主机控制器将所述查询消息发送给所有处于正常状态的被管理主机,并接收所述处于正常状态的被管理主机根据所述查询消息应答的所述安装指示信息;
所述收发模块还用于接收所述主机控制器转发的所述安装指示信息。
结合第三方面、第三方面的第一种至第八种任一种可能的实现方式,在第三方面的第九种可能的实现方式中,所述收发模块还用于在所述处理模块注册所述安装主机的主机标识和/或所述全局CREL之前,向所述安装主机发送第一通知消息,以便所述安装主机根据所述第一通知消息安装所述全局CREL;
所述收发模块还用于接收所述安装主机发送的携带有安装状态的第二通知消息;
所述处理模块,用于根据所述第二通知消息,注册所述安装主机的主机标识和/或所述全局CREL。
结合第三方面的第九种可能的实现方式,在第三方面的第十种可能的实现方式中,所述收发模块还用于向所述至少一个被管理主机中除所述安装主机之外的其他被管理主机发送禁用本地CREL消息。
第四方面,本发明实施例提供一种多主机环境应用管理装置,包括:
判断模块,用于根据所述被管理主机的信息判定所述被管理主机是否能够安装全局非接触注册表事件侦听器CREL,并获得判断结果;
收发模块,用于向所述MH发送携带有所述判断模块获得的判断结果的安装指示信息,以便所述MH根据所述安装指示信息,注册所述被管理主机的主机标识和/或所述全局CREL。
结合第四方面,在第四方面的第一种可能的实现方式中,所述被管理主机的信息包括所述被管理主机的存储状态信息;
所述判断模块根据所述被管理主机的信息判定所述被管理主机是否能够安装所述全局CREL,并获得判断结果,具体包括:
判断所述被管理主机的未使用的存储空间是否大于预设阈值;
若是,则判定所述被管理主机能够安装全局CREL;
若否,则判定所述被管理主机不能够安装全局CREL。
结合第四方面,在第四方面的第二种可能的实现方式中,所述被管理主机的信息包括所述被管理主机的访问控制策略信息;
所述判断模块根据所述被管理主机的信息判定所述被管理主机是否能够安装所述全局CREL,并获得判断结果,具体包括:
根据所述被管理主机的访问控制策略信息,判断所述被管理主机是否允许安装所述全局CREL;
若是,则判定所述被管理主机能够安装全局CREL;
若否,则判定所述被管理主机不能够安装全局CREL。
第五方面,本发明实施例提供一种管理主机,包括:
接收器,用于获得至少一个安装指示信息,所述安装指示信息包括至少一个被管理主机中的一个被管理主机的主机标识;
处理器,用于根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装全局非接触注册表事件侦听器CREL;
所述处理器,还用于从判定出的能够安装所述全局CREL的至少一个被管理主机中确定一个作为安装主机,并注册所述安装主机的主机标识和/或所述全局CREL。
结合第五方面,在第五方面的第一种可能的实现方式中,所述接收器接收的所述安装指示信息包括所述至少一个被管理主机的存储状态信息;
所述处理器根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
判断所述至少一个被管理主机中未使用的存储空间大于预设阈值的被管理主机能够安装全局CREL。
结合第五方面,在第五方面的第二种可能的实现方式中,所述接收器接收的所述安装指示信息包括所述至少一个被管理主机的访问控制策略信息;
所述处理器根据所述安装指示信息,判定所述至少一个被管理主机是否 能够安装所述全局CREL,具体包括:
根据所述至少一个被管理主机的访问控制策略信息,判断所述至少一个被管理主机中允许安装所述全局CREL的被管理主机能够安装全局CREL。
结合第五方面,在第五方面的第三种可能的实现方式中,所述接收器接收的所述安装指示信息包括所述至少一个被管理主机的属主;
所述处理器根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
判断所述至少一个被管理主机中属主属于白名单中记录的属主的被管理主机能够安装全局CREL。
结合第五方面,在第五方面的第四种可能的实现方式中,所述接收器接收的所述安装指示信息包括所述至少一个被管理主机的属主;
所述处理器根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
判断所述至少一个被管理主机中属主不属于黑名单中记录的属主的被管理主机能够安装全局CREL。
结合第五方面,在第五方面的第五种可能的实现方式中,所述接收器接收的所述安装指示信息包括所述至少一个被管理主机的消息处理能力标识;
所述处理器根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
根据所述至少一个被管理主机的消息处理能力标识,判断所述至少一个被管理主机中能够处理MH发送的全局CREL触发消息的被管理主机能够安装全局CREL。
结合第五方面,在第五方面的六种可能的实现方式中,所述接收器还用于接收所述至少一个被管理主机发送的所述安装指示信息。
结合第五方面,在第五方面的第七种可能的实现方式中,所述处理器还用于确定是否未注册、且已经安装了全局CREL的被管理主机,或者,用于确定已经注册的所述安装了全局CREL的被管理主机状态是否异常;
所述管理主机还包括:发送器;其中,
所述发送器,用于当所述处理器确定未注册、且已经安装了全局CREL的被管理主机,或者,确定已经注册的所述安装了全局CREL的被管理主机 状态异常时,向处于正常状态的被管理主机发送查询消息;
所述接收器,还用于接收所述处于正常状态的被管理主机根据所述查询消息应答的所述安装指示信息。
结合第五方面,在第五方面的第八种可能的实现方式中,所述处理器还用于确定是否未注册、且已经安装了全局CREL的被管理主机,或者,用于确定已经注册的所述安装了全局CREL的被管理主机状态是否异常;
所述管理主机还包括:发送器;其中,
所述发送器,用于当所述处理器确定未注册、且已经安装了全局CREL的被管理主机,或者,当所述处理器确定已经注册的所述安装了全局CREL的被管理主机状态异常时,向主机控制器发送查询消息,以便所述主机控制器将所述查询消息发送给所有处于正常状态的被管理主机,并接收所述处于正常状态的被管理主机根据所述查询消息应答的所述安装指示信息;
所述接收器,还用于接收所述主机控制器转发的所述安装指示信息。
结合第五方面、第五方面的第一种至第八种可能的实现方式,在第五方面的第九种可能的实现方式中,所述发送器,还用于在所述处理器注册所述安装主机的主机标识和/或所述全局CREL之前,向所述安装主机发送第一通知消息,以便所述安装主机根据所述第一通知消息安装所述全局CREL;
所述接收器,还用于接收所述安装主机发送的携带有安装状态的第二通知消息;
所述处理器,还用于根据所述第二通知消息,注册所述安装主机的主机标识和/或所述全局CREL的操作。
结合第五方面的第九种可能的实现方式,在第五方面的第十种可能的实现方式中,所述发送器,还用于向所述至少一个被管理主机中除所述安装主机之外的其他被管理主机发送禁用本地CREL消息。
第六方面,本发明实施例提供一种主机,包括:
处理器,用于根据所述主机的信息判定所述主机是否能够安装全局非接触注册表事件侦听器CREL,并获得判断结果;
发送器,用于向所述MH发送携带有所述处理器获得的所述判断结果的安装指示信息,以便所述MH根据所述安装指示信息,注册所述主机的主机标识和/或所述全局CREL。
结合第六方面,在第六方面的第一种可能的实现方式中,所述主机的信息包括所述主机的存储状态信息;
所述处理器根据所述主机的信息判定所述主机是否能够安装所述全局CREL,并获得判断结果,具体包括:
判断所述主机的未使用的存储空间是否大于预设阈值;
若是,则判定所述主机能够安装全局CREL;
若否,则判定所述主机不能够安装全局CREL。
结合第六方面,在第六方面的第二种可能的实现方式中,所述主机的信息包括所述主机的访问控制策略信息;
所述处理器根据所述主机的信息判定所述主机是否能够安装所述全局CREL,并获得判断结果,具体包括:
根据所述主机的访问控制策略信息,判断所述主机是否允许安装所述全局CREL;
若是,则判定所述主机能够安装全局CREL;
若否,则判定所述主机不能够安装全局CREL。
本发明实施例提供的多主机环境应用管理方法、装置和设备,MH获得至少一个安装指示信息,该安装指示信息包括至少一个被管理主机中的一个被管理主机的主机标识;MH根据安装指示信息,判定至少一个被管理主机是否能够安装全局CREL应用;MH从判定出的能够安装全局CREL的至少一个被管理主机中確定一个作为安装主机,并注册安装主机的主机标识和/或全局CREL。MH判断出能够安装全局CREL的被管理主机之后,选择其中的一个作为安装主机,并注册安装主机的主机标识和/或全局CREL,因此,在存在多个被管理主机并且多个被管理主机内的非接触应用同时激活时,可以选择在一个被管理主机上安装全局CREL,利用该全局CREL为多个被管理主机服务,并通过全局CREL记录多个被管理主机内的多个非接触应用的信息,从而避免了多个本地CREL发生冲突,保证业务的正常运行,提高系统的健壮性。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实 施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明多主机环境应用管理方法实施例一的流程示意图;
图2为本发明多主机环境应用管理方法实施例二的流程示意图;
图3为本发明多主机环境应用管理方法实施例三的流程示意图;
图4为本发明多主机环境应用管理装置实施例一的结构示意图;
图5为本发明多主机环境应用管理装置实施例二的结构示意图;
图6为本发明提供的管理主机实施例一的结构示意图;
图7为本发明提供的管理主机实施例二的结构示意图;
图8为本发明提供的主机实施例一的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
图1为本发明多主机环境应用管理方法实施例一的流程示意图。本发明实施例提供了一种多主机环境应用管理方法,该方法可以由任意执行多主机环境应用管理方法的装置来执行,该装置可以通过软件和/或硬件实现。本实施例中,该装置可以集成在管理主机(Managing Host;简称:MH)中。本发明中的应用管理包括应用的安装以及应用安装之前的准备工作,例如:检查主机的相关配置等。如图1所示,本实施例的方法可以包括:
步骤101、MH获得至少一个安装指示信息,该安装指示信息包括至少一个被管理主机中的一个被管理主机的主机标识。
在本实施例中,多主机环境,即Multiple Contactless HCI Hosts Environment,其中,多主机环境可以为HCI网络(HCI Network)或者卡模拟环境(Card Emulation Environment)。本领域技术人员可以理解,HCI网络一般包括一个设备主机、一个主机控制器(Host Controller)和一个或多个被管理主机。当在设备主机上安装某种特定软件,使其具备了主机管理的功能时, 此时设备主机即为MH,而主机控制器则用于管理整个HCI网络,被管理主机则为运行一个或多个业务的逻辑实体。在HCI网络或者卡模拟环境中,MH一般用于管理同一个终端上的多个被管理主机、以及安装到多个被管理主机上的多个非接触应用的协同工作。MH获得的安装指示信息中包含有终端内的多个被管理主机对应的主机标识,以标识不同的被管理主机。需要进行说明的是,本实施例中的被管理主机即为HCI主机。
步骤102、MH根据安装指示信息,判定至少一个被管理主机是否能够安装全局CREL。
在本实施例中,在多主机环境下,也即在同一个终端中至少包含了主机控制器(Host Controller;简称:HC)、非接触前端(Contactless Front-End;简称:CLF)和至少两个被管理主机的场景中,在存在MH且多个被管理主机同时工作时,由于每个被管理主机中均安装有本地CREL,若CL App发生变化,可能会引发多个本地CREL之间的冲突,导致业务运行失败,因此,可以安装一个全局CREL为多个同时工作的被管理主机服务。当MH获得安装指示信息之后,会根据该安装指示信息来判断各主机标识对应的被管理主机是否能够安装全局CREL。
步骤103、MH从判定出的能够安装全局CREL的至少一个被管理主机中确定一个作为安装主机,并注册安装主机的主机标识和/或全局CREL。
在本实施例中,MH根据安装指示信息判断出所有能够安装全局CREL的被管理主机之后,从所有能够安装全局CREL的被管理主机中确定一个作为安装主机,并注册该安装主机的主机标识和/或全局CREL,例如:MH在注册表中保存安装主机的主机标识和/或在注册表中保存全局CREL的应用标识符,因此,当MH注册该安装主机的主机标识和/或全局CREL之后,注册表中将保存有数据记录,该数据记录中包含有全局CREL的应用标识(application identifier;简称:AID)和/或安装主机的主机标识。
本发明实施例提供的多主机环境应用管理方法,MH获得至少一个安装指示信息,该安装指示信息包括至少一个被管理主机的主机标识;MH根据安装指示信息,判定至少一个被管理主机是否能够安装全局CREL应用;MH从判定出的能够安装全局CREL的至少一个被管理主机中确定一个作为安装主机,并注册安装主机的主机标识和/或全局CREL。MH判断出能够安装全 局CREL的被管理主机之后,选择其中的一个作为安装主机,并注册安装主机的主机标识和/或全局CREL,因此,在存在多个被管理主机并且多个被管理主机内的非接触应用同时激活时,可以选择在一个被管理主机上安装全局CREL,利用该全局CREL为多个被管理主机服务,并通过全局CREL记录多个被管理主机内的多个非接触应用的信息,从而避免了多个本地CREL发生冲突,保证业务的正常运行,提高系统的健壮性。
图2为本发明多主机环境应用管理方法实施例二的流程示意图,在图1所示实施例的基础上,本实施例涉及的是MH获得至少一个安装指示信息的具体实现过程,如图2所示,上述步骤101具体包括:
步骤201、若MH确定未注册、且已经安装了全局CREL的被管理主机,或者,已经注册的安装了全局CREL的被管理主机状态异常,则向处于正常状态的被管理主机发送查询消息。
在本实施例中,当终端启动之后,MH会检测是否对已经安装了全局CREL的被管理主机进行了注册,当MH确定并未注册、且已经安装了全局CREL的被管理主机,或者,已经注册的安装了全局CREL的被管理主机处于异常状态,例如:该被管理主机被移除等,则MH向处于正常状态的被管理主机发送查询消息,例如,该查询消息可以是名为EVT_GCREL_SUPPORT_REQ的HCI事件。在实际应用中,MH可以通过向主机控制器发送请求消息,以使主机控制器在MH与各被管理主机之间建立HCI管道,该管道建立成功之后,MH再向各被管理主机发送EVT_GCREL_SUPPORT_REQ事件。
步骤202、MH接收处于正常状态的被管理主机根据查询消息应答的安装指示信息。
在本实施例中,MH向处于正常状态的被管理主机发送查询消息之后,处于正常状态的被管理主机根据接收到的查询消息,向MH返回安装指示信息,例如,该安装指示信息可以封装在名为EVT_GCREL_SUPPORT_RSP的HCI事件中返回。
步骤203、MH根据安装指示信息,判定至少一个被管理主机是否能够安装全局CREL。
在本实施例中,MH接收到的安装指示信息中包括至少一个被管理主机 中的一个被管理主机的主机标识以及以下参数中的任一个:至少一个被管理主机的存储状态信息、至少一个被管理主机的访问控制策略信息、至少一个被管理主机的属主和至少一个被管理主机的消息处理能力标识。MH接收到安装指示信息之后,会对其进行解析,进而判断出各被管理主机是否能够安装全局CREL。在具体的实现过程中,MH可以通过以下方法判断各被管理主机是否能够安装全局CREL或者是否能够将本地CREL作为全局CREL:(1)判断至少一个被管理主机中未使用的存储空间大于预设阈值的被管理主机能够安装全局CREL;例如:当判断出某个被管理主机未使用的存储空间大于50KB时,则说明该被管理主机能够安装全局CREL。其中,预设阈值可以根据实际情况进行选取,对于预设阈值的具体取值,本实施例在此不作限制;(2)根据至少一个被管理主机的访问控制策略信息,判定至少一个被管理主机中允许安装全局CREL的被管理主机能够安装全局CREL;例如:若某个被管理主机归属于运营商,并且它的访问控制策略信息为允许安装所有种类的应用,如支付应用、公交卡应用、会员卡应用、全局CREL应用等,则说明该被管理主机能够安装全局CREL;(3)MH判断至少一个被管理主机中属主属于白名单中记录的属主的被管理主机能够安装全局CREL。具体地,在MH中预先存储有允许安装全局CREL的属主的白名单,若某个被管理主机的属主在MH中的白名单中,则判定该被管理主机允许安装全局CREL,否则,判定该被管理主机不能够安装全局CREL,其中,白名单中保存的属主可以是属主ID或任意其他属主标识信息;(4)MH判断至少一个被管理主机中属主不属于黑名单中记录的属主的被管理主机能够安装全局CREL。具体地,在MH中预先存储有禁止安装全局CREL的属主的黑名单,若某个被管理主机的属主在MH中的黑名单中,则判定该被管理主机不能够安装全局CREL,否则,判定该被管理主机能够安装全局CREL,其中,黑名单中保存的属主可以是属主ID或任意其他属主标识信息;(5)根据至少一个被管理主机的消息处理能力标识,判断至少一个被管理主机中能够处理MH发送的全局CREL触发消息的被管理主机能够安装全局CREL;在实际应用中,各被管理主机可以向MH上报自身处理消息的特性列表,该特性列表中可以包含一个字节或者一个比特,用该字节或者该比特的值来指示各被管理主机是否能够处理MH发送的全局CREL触发消息,例如:该特性列表中的值为1时, 表示该被管理主机能够处理MH发送的全局CREL触发消息,若为0,则表示该被管理主机不能够处理MH发送的全局CREL触发消息,若判断出被管理主机能够处理MH发送的全局CREL触发消息,则说明该被管理主机能够安装全局CREL;否则,说明该被管理主机不能够安装全局CREL。
步骤204、MH从判定出的能够安装全局CREL的至少一个被管理主机中确定一个作为安装主机,并向安装主机发送第一通知消息,以便安装主机根据第一通知消息安装全局CREL。
在本实施例中,在MH判断出所有能够安装全局CREL的被管理主机之后,可以从这多个被管理主机中随机选取一个作为安装主机,并向该安装主机发送第一通知消息,也可以根据各被管理主机的存储状态信息、各被管理主机的访问控制策略信息、各被管理主机的属主和各被管理主机的消息处理能力标识,确定出各被管理主机能够安装全局CREL的优先级顺序,从而从所有能够安装全局CREL的被管理主机中选择优先级最高的一个被管理主机作为安装主机,并向该安装主机发送第一通知消息。在具体地实现过程中,可以通过比较各被管理主机的存储状态信息,根据各被管理主机的未使用的存储空间的大小依次确定优先级的高低;也可以通过各被管理主机的访问控制策略,依据允许安装应用的种类多少来依次确定优先级的高低;还可以通过比较预设在MH中的各被管理主机的属主优先级高低来确定主机的优先级高低,例如,通过各被管理主机对应属主在MH预设的属主列表中的先后顺序确定其优先级,需要进行说明的是,只有在各被管理主机的属主属于白名单中记录的属主时,才能根据各被管理主机的属主确定各被管理主机能够安装全局CREL的优先级顺序。对于选取安装主机的方式以及确定优先级的方法,可以根据实际应用进行设置,本发明对此不作限制。MH向安装主机发送第一通知消息之后,该安装主机根据接收到的第一通知消息,开始安装全局CREL,或者将安装主机的本地CREL作为全局CREL。
另外,MH从判断出的所有能够安装全局CREL的被管理主机中选择一个作为安装主机,并向该安装主机发送第一通知消息之后,MH还可以向服务器发送全局CREL安装请求消息,该服务器根据接收到的全局CREL安装请求消息,建立与安装主机之间的通道,同时服务器会下载安装脚本和安装文件,并将下载的安装脚本和安装文件通过与安装主机之间的通道,发送给 该安装主机。此时,安装主机根据服务器发送的安装脚本和安装文件,在本地安装全局CREL。
需要进行说明的是,该全局CREL安装请求消息也可以由安装主机直接发送给服务器,该服务器根据接收到的全局CREL安装请求消息,建立与安装主机之间的通道。
步骤205、MH接收安装主机发送的携带有安装状态的第二通知消息,根据第二通知消息,注册安装主机的主机标识和/或全局CREL。
在本实施例中,安装主机根据MH发送的第一通知消息安装全局CREL或者将本地CREL作为全局CREL之后,会将携带有安装状态的第二通知消息发送给MH,例如,该第二通知消息可以是名为EVT_NEW_CONFIGURAION的HCI事件。MH根据安装状态获知安装主机安装全局CREL成功后,会注册安装主机的主机标识和/或全局CREL。因此,在多主机场景中,当CL App发生变化时,可以将该变化上报给全局CREL,避免了现有技术中多个本地CREL发生冲突的现象,由此可以提高系统的健壮性。
需要进行说明的是,由于在系统运行过程中,被管理主机的存储状态信息、被管理主机的访问控制策略信息、被管理主机的属主和被管理主机的消息处理能力标识可能会发生变化,因此,在后续的运行中,MH还可以周期性地获取安装指示信息,并根据接收到的安装指示信息判断被管理主机能够安装全局CREL的状态是否发生变化,并根据判断结果,更新所保存的被管理主机是否能够安装全局CREL的状态的相关信息。另外,在系统运行过程中,当有被管理主机被移除或者处于异常状态时,MH需要判断该被管理主机是否为安装全局CREL的主机,若是,则MH需要重新选取适合的被管理主机来安装全局CREL。
步骤206、向至少一个被管理主机中除安装主机之外的其他被管理主机发送禁用本地CREL消息。
在本实施例中,当MH向安装主机发送第一通知消息之后,会将该安装主机的主机标识发送给所有的被管理主机。另外,MH还向所有被管理主机中除安装主机之外的其他被管理主机发送禁用本地CREL消息,以保证全局CREL的唯一性。
本发明实施例提供的多主机环境应用管理方法,MH获得至少一个安装指示信息,该安装指示信息包括至少一个被管理主机中的一个被管理主机的主机标识;MH根据安装指示信息,判定被管理主机是否能够安装全局CREL应用;MH从判定出的能够安装全局CREL的至少一个被管理主机中确定一个作为安装主机,并注册安装主机的主机标识和/或全局CREL。MH判断出能够安装全局CREL的被管理主机之后,选择其中的一个作为安装主机,并注册安装主机的主机标识和/或全局CREL,因此,在存在多个被管理主机并且多个被管理主机上的非接触应用同时激活时,可以选择在一个被管理主机上安装全局CREL,利用全局CREL为多个被管理主机服务,并通过全局CREL记录多个被管理主机内的多个非接触应用的信息,从而避免了多个本地CREL发生冲突,保证业务的正常运行,提高系统的健壮性。另外,MH通过向处于正常状态的被管理主机发送查询消息,并根据被管理主机返回的安装指示信息,判断各被管理主机是否能够安装全局CREL,从判定出的能够安装全局CREL的被管理主机中选择一个来安装全局CREL,避免了现有技术中随机选择一个被管理主机安装全局CREL可能引发的安装失败的现象,极大地提高了安装全局CREL的成功率,确保了多个被管理主机上的非接触应用可以同时激活。
可选地,若MH确定未注册、且已经安装了全局CREL的被管理主机,或者,已经注册的安装了全局CREL的被管理主机状态异常,则向主机控制器发送查询消息,以便主机控制器将查询消息发送给所有处于正常状态的被管理主机,并接收处于正常状态的被管理主机根据查询消息返回的安装指示信息;MH接收主机控制器发送的安装指示信息。
具体地,当终端启动之后,MH会检测是否注册了已经安装全局CREL的被管理主机,当MH确定并未注册、且已经安装了全局CREL的被管理主机,或者,已经注册的安装了全局CREL的被管理主机处于异常状态,例如:该被管理主机被移除等,则MH向主机控制器发送查询消息,例如,该查询消息可以是名为EVT_GCREL_SUPPORT_REQ的HCI事件。当主机控制器接收到查询消息之后,可以将该查询消息广播给处于正常状态的被管理主机。处于正常状态的被管理主机接收到查询消息后,根据该查询消息向主机控制器返回安装指示信息,由主机控制器将该安装指示信息返回给MH,另外, 也可以由被管理主机直接将安装指示信息返回给MH。
本发明实施例提供的多主机环境应用管理方法,MH获得至少一个安装指示信息,该安装指示信息包括至少一个被管理主机中的一个被管理主机的主机标识;MH根据安装指示信息,判定被管理主机是否能够安装全局CREL应用;MH从判定出的能够安装全局CREL的至少一个被管理主机中确定一个作为安装主机,并注册安装主机的主机标识和/或全局CREL。MH判断出能够安装全局CREL的被管理主机之后,选择其中的一个作为安装主机,并注册安装主机的主机标识和/或全局CREL,因此,在存在多个被管理主机并且多个被管理主机内的非接触应用同时激活时,可以选择在一个被管理主机上安装全局CREL,利用全局CREL为多个被管理主机服务,并通过全局CREL记录多个被管理主机内的多个非接触应用的信息,从而避免了多个本地CREL发生冲突,保证业务的正常运行,提高系统的健壮性。
可选地,MH还可以接收至少一个被管理主机发送的安装指示信息。
具体地,当被管理主机初次接入HCI网络之后,可以根据自身的存储状态信息或访问控制策略信息,判断其是否能够安装全局CREL或者是否能够将本地CREL作为全局CREL,并将判断结果封装在安装指示信息中发送给MH。在具体的实现过程中,被管理主机可以通过以下方法来判断其是否能够安装全局CREL或者是否能够将本地CREL作为全局CREL:(1)通过判断被管理主机的未使用的存储空间是否大于预设阈值,若是,则判断出该被管理主机能够安装全局CREL;例如:当判断出被管理主机的未使用的存储空间大于50KB时,则说明该被管理主机能够安装全局CREL。其中,预设阈值可以根据实际情况进行选取,对于预设阈值的具体取值,本实施例在此不作限制。(2)根据被管理主机的访问控制策略信息,判断被管理主机是否允许安装全局CREL,若是,则判定该被管理主机能够安装全局CREL,若否,则判定该被管理主机不能够安装全局CREL;例如:若某个被管理主机归属于运营商,并且它的访问控制策略信息为允许安装所有种类的应用,如支付应用、公交卡应用、会员卡应用、全局CREL应用等,则说明该被管理主机能够安装全局CREL。
需要进行说明的是,由于在系统运行过程中,被管理主机的存储状态信息或被管理主机的访问控制策略信息可能会发生变化,因此,在后续的运行 中,各被管理主机会周期性的检查其存储状态信息或访问控制策略信息,并进行判断,并将其能否安装全局CREL的结果封装到安装指示信息中发送给MH;故而MH可以周期性地获取安装指示信息,并根据接收到的安装指示信息判断被管理主机能够安装全局CREL的状态是否发生变化,并根据判断结果,更新所保存的被管理主机是否能够安装全局CREL的状态的相关信息。
图3为本发明多主机环境应用管理方法实施例三的流程示意图。本发明实施例提供了一种多主机环境应用管理方法,该方法可以由任意执行多主机环境应用管理方法的装置来执行,该装置可以通过软件和/或硬件实现。本实施例中,该装置可以集成在被管理主机中。如图3所示,本实施例的方法可以包括:
步骤301、被管理主机根据被管理主机的信息判定被管理主机是否能够安装全局CREL,并获得判断结果。
在本实施例中,当被管理主机初次接入HCI网络之后,会根据被管理主机的信息判断其是否能够安装全局CREL。在具体地实现过程中,被管理主机可以根据被管理主机的存储状态信息或主机的访问控制策略信息,判断是否能够安装全局CREL或者是否能够将本地CREL作为全局CREL。具体地,主机可以通过以下方法来判断自身是否能够安装全局CREL或者是否能够将本地CREL作为全局CREL:(1)判断被管理主机的未使用的存储空间是否大于预设阈值,若是,则判定被管理主机能够安装全局CREL;若否,则判定被管理主机不能够安装全局CREL;例如:当判断出某个被管理主机的未使用的存储空间大于50KB时,则说明该被管理主机能够安装全局CREL。其中,预设阈值可以根据实际情况进行选取,对于预设阈值的具体取值,本实施例在此不作特别限制。(2)根据被管理主机的访问控制策略信息,判定被管理主机是否允许安装全局CREL;若是,则判定被管理主机能够安装全局CREL;若否,则判定被管理主机不能够安装全局CREL,例如:被管理主机归属于运营商,并且它的访问控制策略信息为允许安装所有种类的应用,如支付应用、公交卡应用、会员卡应用、全局CREL应用等,则说明该被管理主机能够安装全局CREL。
需要进行说明的是,被管理主机也可以在判断出自身是否能够安装全局CREL的状态发生变化时,再向MH主动上报安装指示信息,例如:经过一 段时间之后,被管理主机判断出自身的未使用的存储空间小于预设阈值,则说明该被管理主机由能够安装全局CREL变化为不能够安装全局CREL,此时该被管理主机可以向MH上报安装指示信息,当MH接收到该安装指示信息之后,将所有发生变化的被管理主机的主机标识进行记录。
步骤302、被管理主机向MH发送携带有所述判断结果的安装指示信息,以便MH根据安装指示信息,注册被管理主机的主机标识和/或全局CREL。
在本实施例中,当被管理主机根据被管理主机的信息判断出被管理主机是否能够安装应用,并获得判断结果之后,将该判断结果携带在安装指示信息中发送给MH,MH根据该判断结果获知所有能够安装全局CREL的被管理主机之后,从判定出的能够安装全局CREL的至少一个被管理主机中选择一个作为安装主机,并注册该安装主机的主机标识和/或全局CREL。
本发明实施例提供的多主机环境应用管理方法,被管理主机根据被管理主机的信息判定被管理主机是否能够安装全局CREL,并获得判断结果,被管理主机向MH发送携带有判断结果的安装指示信息,以便MH根据安装指示信息,注册被管理主机的主机标识和/或全局CREL。由于被管理主机根据自身的信息判断出其是否能够安装全局CREL之后,将判断结果携带在安装指示信息中发送给MH,因此,在存在多个主机并且多个主机上的非接触应用同时激活时,可以选择一个被管理主机安装全局CREL,并可以利用该全局CREL为多个主机服务,通过全局CREL记录多个主机内的多个非接触应用的信息,从而避免了多个本地CREL发生冲突,保证了业务的正常运行,提高了系统的鲁棒性。
可选地,被管理主机接收MH在确定未注册、且已经安装了全局CREL的被管理主机,或者,已经注册的安装了全局CREL的被管理主机状态异常时发送的查询消息;则主机根据查询消息,向MH发送安装指示信息。
具体地,当终端启动之后,MH会检测是否注册了已经安装全局CREL的被管理主机,当MH确定并未注册、且已经安装了全局CREL的被管理主机,或者,已经注册的安装了全局CREL的被管理主机处于异常状态时,例如:该被管理主机被移除等,MH向处于正常状态的被管理主机发送查询请求消息,该查询请求消息例如可以是名为EVT_GCREL_SUPPORT_REQ的HCI事件。在实际应用中,MH可以通过向主机控制器发送请求消息,以使 主机控制器在MH与各处于正常状态的被管理主机之间建立HCI管道,该HCI管道建立成功之后,MH向各被管理主机发送EVT_GCREL_SUPPORT_REQ事件。当被管理主机接收到查询请求消息之后,会向MH返回安装指示信息,该安装指示信息中携带有以下参数中的任一个:被管理主机的存储状态信息、被管理主机的访问控制策略信息、被管理主机的属主,当MH接收到安装指示信息之后,对该安装指示信息进行解析,便可以判断被管理主机是否能够安装全局CREL。
可选地,被管理主机接收主机控制器发送的查询消息,查询消息是由MH在确定未注册、且已经安装了全局CREL的被管理主机,或者,已经注册的安装了全局CREL的被管理主机状态异常时,发送给主机控制器的;被管理主机根据查询消息,向主机控制器发送安装指示信息,以便主机控制器将安装指示信息发送给MH。
图4为本发明多主机环境应用管理装置实施例一的结构示意图。如图4所示,本发明实施例提供的多主机环境应用管理装置包括收发模块11、判断模块12、确定模块13和处理模块14。
其中,收发模块11用于获得至少一个安装指示信息,所述安装指示信息包括至少一个被管理主机中的一个被管理主机的主机标识;判断模块12用于根据所述收发模块11获得的所述安装指示信息,判定所述至少一个被管理主机是否能够安装全局非接触注册表事件侦听器CREL;确定模块13用于从所述判断模块12判定出的能够安装全局CREL的至少一个被管理主机中确定一个作为安装主机;处理模块14用于注册所述确定模块13确定出的所述安装主机的主机标识和/或所述全局CREL。
本发明实施例提供的多主机环境应用管理装置,MH获得至少一个安装指示信息,该安装指示信息包括至少一个被管理主机中的一个被管理主机的主机标识;MH根据安装指示信息,判断至少一个被管理主机是否能够安装全局CREL;MH从判断出的能够安装全局CREL的至少一个被管理主机中确定一个作为安装主机,并注册安装主机的主机标识和/或全局CREL。MH判断出能够安装全局CREL的被管理主机之后,选择其中的一个作为安装主机,并注册安装主机的主机标识和/或全局CREL,因此,在存在多个被管理主机并且多个被管理主机内的非接触应用同时激活时,可以选择在一个被管 理主机上安装全局CREL,利用该全局CREL为多个被管理主机服务,并通过全局CREL记录多个被管理主机内的多个非接触应用的信息,从而避免了多个本地CREL发生冲突,保证业务的正常运行,提高系统的健壮性。
可选地,所述收发模块11获得的所述安装指示信息包括所述至少一个被管理主机的存储状态信息;
所述判断模块12根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
判断所述至少一个被管理主机中未使用的存储空间大于预设阈值的被管理主机能够安装全局CREL。
可选地,所述收发模块11获得的所述安装指示信息包括所述至少一个被管理主机的访问控制策略信息;
所述判断模块12根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
根据所述至少一个被管理主机的访问控制策略信息,判断所述至少一个被管理主机中允许安装所述全局CREL的被管理主机能够安装全局CREL。
可选地,所述收发模块11获得的所述安装指示信息包括所述至少一个被管理主机的属主;
所述判断模块12根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
判断所述至少一个被管理主机中属主属于白名单中记录的属主的被管理主机能够安装全局CREL。
可选地,所述收发模块11获得的所述安装指示信息包括所述至少一个被管理主机的属主;
所述判断模块12根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
判断所述至少一个被管理主机中属主不属于黑名单中记录的属主的被管理主机能够安装全局CREL。
可选地,所述收发模块11获得的所述安装指示信息包括所述至少一个被管理主机的消息处理能力标识;
所述判断模块12根据所述安装指示信息,判定所述至少一个被管理主机 是否能够安装所述全局CREL,具体包括:
根据所述至少一个被管理主机的消息处理能力标识,判断所述至少一个被管理主机中能够处理MH发送的全局CREL触发消息的被管理主机能够安装全局CREL。
可选地,所述收发模块11还用于接收所述至少一个被管理主机发送的所述安装指示信息。
可选地,所述判断模块12还用于确定是否未注册、且已经安装了全局CREL的被管理主机,或者,已经注册的所述安装了全局CREL的被管理主机状态是否异常;
所述收发模块11具体用于当所述判断模块12确定未注册、且已经安装了全局CREL的被管理主机,或者,当所述判断模块12确定已经注册的所述安装了全局CREL的被管理主机状态异常时,向处于正常状态的被管理主机发送查询消息;
所述收发模块11还用于接收所述处于正常状态的被管理主机根据所述查询消息应答的所述安装指示信息。
可选地,所述判断模块12还用于确定是否未注册、且已经安装了全局CREL的被管理主机,或者,用于确定已经注册的所述安装了全局CREL的被管理主机状态是否异常;
所述收发模块11具体用于当所述判断模块12确定出未注册、且已经安装了全局CREL的被管理主机,或者,当所述判断模块12确定出已经注册的所述安装了全局CREL的被管理主机状态异常时,向主机控制器发送查询消息,以便所述主机控制器将所述查询消息发送给所有处于正常状态的被管理主机,并接收所述处于正常状态的被管理主机根据所述查询消息应答的所述安装指示信息;
所述收发模块11还用于接收所述主机控制器转发的所述安装指示信息。
可选地,所述收发模块11还用于在所述处理模块14注册所述安装主机的主机标识和/或所述全局CREL之前,向所述安装主机发送第一通知消息,以便所述安装主机根据所述第一通知消息安装所述全局CREL;
所述收发模块11还用于接收所述安装主机发送的携带有安装状态的第二通知消息;
所述处理模块14用于根据所述第二通知消息,注册所述安装主机的主机标识和/或所述全局CREL。
可选地,所述收发模块11还用于向服务器发送全局CREL安装请求消息,以便所述服务器建立与所述安装主机之间的通道。
可选地,所述收发模块11还用于向所述至少一个被管理主机中除安装主机之外的其他被管理主机发送禁用本地CREL消息。
本实施例的多主机环境应用管理装置,可以用于执行本发明任意实施例所提供的多主机环境应用管理方法的技术方案,其实现原理和技术效果类似,此处不再赘述。
图5为本发明多主机环境应用管理装置实施例二的结构示意图。如图5所示,本发明实施例提供的多主机环境应用管理装置包括判断模块21和收发模块22。
其中,判断模块21还用于根据所述被管理主机的信息判定所述被管理主机是否能够安装全局非接触注册表事件侦听器CREL,并获得判断结果;收发模块22用于向所述MH发送携带有所述判断模块21获得的判断结果的安装指示信息,以便所述MH根据所述安装指示信息,注册所述被管理主机的主机标识和/或所述全局CREL。
本发明实施例提供的多主机环境应用管理装置,被管理主机根据被管理主机的信息判定被管理主机是否能够安装全局CREL,并获得判断结果,被管理主机向MH发送携带有判断结果的安装指示信息,以便MH根据安装指示信息,注册被管理主机的主机标识和/或全局CREL。由于被管理主机根据自身的信息判断出其是否能够安装全局CREL之后,将判断结果携带在安装指示信息中发送给MH,因此,在存在多个主机并且多个主机上的非接触应用同时激活时,可以选择一个被管理主机安装全局CREL,并可以利用该全局CREL为多个主机服务,通过全局CREL记录多个主机内的多个非接触应用的信息,从而避免了多个本地CREL发生冲突,保证了业务的正常运行,提高了系统的鲁棒性。
可选地,所述被管理主机的信息包括所述被管理主机的存储状态信息;
所述判断模块21根据所述被管理主机的信息判定所述被管理主机是否能够安装所述全局CREL,并获得判断结果,具体包括:
判断所述被管理主机的未使用的存储空间是否大于预设阈值;
若是,则判定所述被管理主机能够安装全局CREL;
若否,则判定所述被管理主机不能够安装全局CREL。
可选地,所述被管理主机的信息包括所述被管理主机的访问控制策略信息;
所述判断模块21根据所述被管理主机的信息判定所述被管理主机是否能够安装所述全局CREL,并获得判断结果,具体包括:
根据所述被管理主机的访问控制策略信息,判断所述被管理主机是否允许安装所述全局CREL;
若是,则判定所述被管理主机能够安装全局CREL;
若否,则判定所述被管理主机不能够安装全局CREL。
本实施例的多主机环境应用管理装置,可以用于执行本发明任意实施例所提供的多主机环境应用管理方法的技术方案,其实现原理和技术效果类似,此处不再赘述。
图6为本发明提供的管理主机实施例一的结构示意图。如图6所示,本发明实施例提供的管理主机包括接收器31和处理器32。
其中,接收器31用于获得至少一个安装指示信息,所述安装指示信息包括至少一个被管理主机中的一个被管理主机的主机标识;处理器32用于根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装全局非接触注册表事件侦听器CREL;所述处理器32还用于从判定出的能够安装全局CREL的被管理主机中确定一个作为安装主机,并注册所述安装主机的主机标识和/或所述全局CREL。
本实施例提供的管理主机,可以用于执行本发明任意实施例所提供的多主机环境应用管理方法的技术方案,其实现原理和技术效果类似,此处不再赘述。
可选地,所述接收器31接收的所述安装指示信息包括所述至少一个被管理主机的存储状态信息;
所述处理器32根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
判断所述至少一个被管理主机中未使用的存储空间大于预设阈值的被管 理主机能够安装全局CREL。
可选地,所述接收器31接收的所述安装指示信息包括所述至少一个被管理主机的访问控制策略信息;
所述处理器32根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
根据所述至少一个被管理主机的访问控制策略信息,判断所述至少一个被管理主机中允许安装所述全局CREL的被管理主机能够安装全局CREL。
可选地,所述接收器31接收的所述安装指示信息包括所述至少一个被管理主机的属主;
所述处理器32根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
判断所述至少一个被管理主机中属主属于白名单中记录的属主的被管理主机能够安装全局CREL。
可选地,所述接收器31接收的所述安装指示信息包括所述至少一个被管理主机的属主;
所述处理器32根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
判断所述至少一个被管理主机中属主不属于黑名单中记录的属主的被管理主机能够安装全局CREL。
可选地,所述接收器31接收的所述安装指示信息包括所述至少一个被管理主机的消息处理能力标识;
所述处理器32根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
根据所述至少一个被管理主机的消息处理能力标识,判断所述至少一个被管理主机中能够处理MH发送的全局CREL触发消息的被管理主机能够安装全局CREL。
可选地,所述接收器31还用于接收所述至少一个被管理主机发送的所述安装指示信息。
本实施例提供的管理主机,可以用于执行本发明任意实施例所提供的多主机环境应用管理方法的技术方案,其实现原理和技术效果类似,此处不再 赘述。
图7为本发明提供的管理主机实施例二的结构示意图,如图7所示,本实施例在图6所示实施例的基础上,所述管理主机还包括发送器33。
其中,所述处理器32还用于确定是否未注册、且已经安装了全局CREL的被管理主机,或者,用于确定已经注册的所述安装了全局CREL的被管理主机状态是否异常;
所述发送器33用于当所述处理器32确定未注册、且已经安装了全局CREL的被管理主机,或者,当所述处理器32确定已经注册的所述安装了全局CREL的被管理主机状态异常时,向处于正常状态的被管理主机发送查询消息;
所述接收器31还用于接收所述处于正常状态的被管理主机根据所述查询消息应答的所述安装指示信息。
可选地,所述处理器32还用于确定是否未注册、且已经安装了全局CREL的被管理主机,或者,用于确定已经注册的所述安装了全局CREL的被管理主机状态是否异常;
所述发送器33用于当所述处理器32确定未注册、且已经安装了全局CREL的被管理主机,或者,当所述处理器32确定已经注册的所述安装了全局CREL的被管理主机状态异常时,向主机控制器发送查询消息,以便所述主机控制器将所述查询消息发送给所有处于正常状态的被管理主机,并接收所述处于正常状态的被管理主机根据所述查询消息应答的所述安装指示信息;
所述接收器31还用于接收所述主机控制器转发的所述安装指示信息。
可选地,所述发送器33还用于在所述处理器32注册所述安装主机的主机标识和/或所述全局CREL之前,向所述安装主机发送第一通知消息,以便所述安装主机根据所述第一通知消息安装所述全局CREL;
所述接收器31还用于接收所述安装主机发送的携带有安装状态的第二通知消息;
所述处理器32还用于根据所述第二通知消息,注册所述安装主机的主机标识和/或所述全局CREL。
可选地,所述发送器33还用于向服务器发送全局CREL安装请求消息, 以便所述服务器建立与所述安装主机之间的通道。
可选地,所述发送器33还用于向所述至少一个被管理主机中除安装主机之外的其他被管理主机发送禁用本地CREL消息。
本实施例提供的管理主机,可以用于执行本发明任意实施例所提供的多主机环境应用管理方法的技术方案,其实现原理和技术效果类似,此处不再赘述。
图8为本发明提供的主机实施例一的结构示意图。如图8所示,本发明实施例提供的主机包括处理器41和发送器42。
其中,处理器41用于根据所述主机的信息判定所述主机是否能够安装全局非接触注册表事件侦听器CREL,并获得判断结果;
发送器42用于向所述MH发送携带有所述处理器41获得的所述判断结果的安装指示信息,以便所述MH根据所述安装指示信息,注册所述主机的主机标识和/或所述全局CREL。
本实施例提供的主机,可以用于执行本发明任意实施例所提供的多主机环境应用管理方法的技术方案,其实现原理和技术效果类似,此处不再赘述。
可选地,所述主机的信息包括所述主机的存储状态信息;
所述处理器41根据所述主机的信息判定所述主机是否能够安装所述全局CREL,并获得判断结果,具体包括:
判断所述主机的未使用的存储空间是否大于预设阈值;
若是,则判定所述主机能够安装全局CREL;
若否,则判定所述主机不能够安装全局CREL。
可选地,所述主机的信息包括所述主机的访问控制策略信息;
所述处理器41根据所述主机的信息判定所述主机是否能够安装所述全局CREL,并获得判断结果,具体包括:
根据所述主机的访问控制策略信息,判断所述主机是否允许安装所述全局CREL;
若是,则判定所述主机能够安装全局CREL;
若否,则判定所述主机不能够安装全局CREL。
本实施例提供的主机,可以用于执行本发明任意实施例所提供的多主机环境应用管理方法的技术方案,其实现原理和技术效果类似,此处不再赘述。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制; 尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。

Claims (42)

  1. 一种多主机环境应用管理方法,应用于终端,所述终端包括管理主机MH和至少一个被管理主机,其特征在于,所述方法包括:
    所述MH获得至少一个安装指示信息,所述安装指示信息包括所述至少一个被管理主机中的一个被管理主机的主机标识;
    所述MH根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装全局非接触注册表事件侦听器CREL;
    所述MH从判定出的能够安装所述全局CREL的至少一个被管理主机中确定一个作为安装主机,并注册所述安装主机的主机标识和/或所述全局CREL。
  2. 根据权利要求1所述的方法,其特征在于,所述安装指示信息包括所述至少一个被管理主机的存储状态信息;
    所述MH根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
    所述MH判断所述至少一个被管理主机中的未使用的存储空间大于预设阈值的被管理主机能够安装全局CREL。
  3. 根据权利要求1所述的方法,其特征在于,所述安装指示信息包括所述至少一个被管理主机的访问控制策略信息;
    所述MH根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
    所述MH根据所述至少一个被管理主机的访问控制策略信息,判断所述至少一个被管理主机中允许安装所述全局CREL的被管理主机能够安装全局CREL。
  4. 根据权利要求1所述的方法,其特征在于,所述安装指示信息包括所述至少一个被管理主机的属主;
    所述MH根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
    所述MH判断所述至少一个被管理主机中属主属于白名单中记录的属主的被管理主机能够安装全局CREL。
  5. 根据权利要求1所述的方法,其特征在于,所述安装指示信息包括所 述至少一个被管理主机的属主;
    所述MH根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
    所述MH判断所述至少一个被管理主机中属主不属于黑名单中记录的属主的被管理主机能够安装全局CREL。
  6. 根据权利要求1所述的方法,其特征在于,所述安装指示信息包括所述至少一个被管理主机的消息处理能力标识;
    所述MH根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述CREL,具体包括:
    所述MH根据所述至少一个被管理主机的消息处理能力标识,判断所述至少一个被管理主机中能够处理MH发送的全局CREL触发消息的被管理主机能够安装全局CREL。
  7. 根据权利要求1所述的方法,其特征在于,所述MH获得至少一个安装指示信息,具体包括:
    所述MH接收所述至少一个被管理主机发送的所述安装指示信息。
  8. 根据权利要求1所述的方法,其特征在于,所述MH获得至少一个安装指示信息,具体包括:
    若所述MH确定未注册、且已经安装了全局CREL的被管理主机,或者已经注册的所述安装了全局CREL的被管理主机状态异常,则向所有处于正常状态的被管理主机发送查询消息;
    所述MH接收所述处于正常状态的被管理主机根据所述查询消息应答的所述安装指示信息。
  9. 根据权利要求1所述的方法,其特征在于,所述MH获得至少一个安装指示信息,具体包括:
    若所述MH确定未注册、且已经安装了全局CREL的被管理主机,或者已经注册的所述安装了全局CREL的被管理主机状态异常,则向主机控制器发送查询消息,以便所述主机控制器将所述查询消息发送给所有处于正常状态的被管理主机,并接收所述处于正常状态的被管理主机根据所述查询消息应答的所述安装指示信息;
    所述MH接收所述主机控制器转发的所述安装指示信息。
  10. 根据权利要求1-9任一项所述的方法,其特征在于,在所述注册所述安装主机的主机标识和/或所述全局CREL之前,所述方法还包括:
    向所述安装主机发送第一通知消息,以便所述安装主机根据所述第一通知消息安装所述全局CREL;
    所述注册所述安装主机的主机标识和/或所述全局CREL,具体包括:
    所述MH接收所述安装主机发送的携带有安装状态的第二通知消息,根据所述第二通知消息,注册所述安装主机的主机标识和/或所述全局CREL。
  11. 根据权利要求10所述的方法,其特征在于,所述向所述安装主机发送第一通知消息之后,所述方法还包括:
    所述MH向所述至少一个被管理主机中除所述安装主机之外的其他被管理主机发送禁用本地CREL消息。
  12. 一种多主机环境应用管理方法,应用于终端,所述终端包括管理主机MH和被管理主机,其特征在于,所述方法包括:
    所述被管理主机根据所述被管理主机的信息判定所述被管理主机是否能够安装全局非接触注册表事件侦听器CREL,并获得判断结果;
    所述被管理主机向所述MH发送携带有所述判断结果的安装指示信息,以便所述MH根据所述安装指示信息,注册所述被管理主机的主机标识和/或所述全局CREL。
  13. 根据权利要求12所述的方法,其特征在于,所述被管理主机的信息包括所述被管理主机的存储状态信息;
    所述被管理主机根据所述被管理主机的信息判定所述被管理主机是否能够安装所述全局CREL,并获得判断结果,具体包括:
    所述被管理主机判断所述被管理主机的未使用的存储空间是否大于预设阈值;
    若是,则判定所述被管理主机能够安装全局CREL;
    若否,则判定所述被管理主机不能够安装全局CREL。
  14. 根据权利要求12所述的方法,其特征在于,所述被管理主机的信息包括所述被管理主机的访问控制策略信息;
    所述被管理主机根据所述被管理主机的信息判定所述被管理主机是否能够安装所述全局CREL,并获得判断结果,具体包括:
    所述被管理主机根据所述被管理主机的访问控制策略信息,判断所述被管理主机是否允许安装所述全局CREL;
    若是,则判定所述被管理主机能够安装全局CREL;
    若否,则判定所述被管理主机不能够安装全局CREL。
  15. 一种多主机环境应用管理装置,其特征在于,包括:
    收发模块,用于获得至少一个安装指示信息,所述安装指示信息包括至少一个被管理主机中的一个被管理主机的主机标识;
    判断模块,用于根据所述收发模块获得的所述安装指示信息,判定所述至少一个被管理主机是否能够安装全局非接触注册表事件侦听器CREL;
    确定模块,用于从所述判断模块判定出的能够安装所述全局CREL的至少一个被管理主机中确定一个作为安装主机;
    处理模块,用于注册所述确定模块确定出的所述安装主机的主机标识和/或所述全局CREL。
  16. 根据权利要求15所述的装置,其特征在于,所述收发模块获得的所述安装指示信息包括所述至少一个被管理主机的存储状态信息;
    所述判断模块根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
    判断所述至少一个被管理主机中的未使用的存储空间大于预设阈值的被管理主机能够安装全局CREL。
  17. 根据权利要求15所述的装置,其特征在于,所述收发模块获得的所述安装指示信息包括所述至少一个被管理主机的访问控制策略信息;
    所述判断模块根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
    根据所述至少一个被管理主机的访问控制策略信息,判断所述至少一个被管理主机中允许安装所述全局CREL的被管理主机能够安装全局CREL。
  18. 根据权利要求15所述的装置,其特征在于,所述收发模块获得的所述安装指示信息包括所述至少一个被管理主机的属主;
    所述判断模块根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
    判断所述至少一个被管理主机中属主属于白名单中记录的属主的被管理 主机能够安装全局CREL。
  19. 根据权利要求15所述的装置,其特征在于,所述收发模块获得的所述安装指示信息包括所述至少一个被管理主机的属主;
    所述判断模块根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
    判断所述至少一个被管理主机中属主不属于黑名单中记录的属主的被管理主机能够安装全局CREL。
  20. 根据权利要求15所述的装置,其特征在于,所述收发模块获得的所述安装指示信息包括所述至少一个被管理主机的消息处理能力标识;
    所述判断模块根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
    根据所述至少一个被管理主机的消息处理能力标识,判断所述至少一个被管理主机中能够处理MH发送的全局CREL触发消息的被管理主机能够安装全局CREL。
  21. 根据权利要求15所述的装置,其特征在于,所述收发模块,还用于接收所述至少一个被管理主机发送的所述安装指示信息。
  22. 根据权利要求15所述的装置,其特征在于,所述判断模块,还用于确定是否未注册、且已经安装了全局CREL的被管理主机,或者已经注册的所述安装了全局CREL的被管理主机状态是否异常;
    所述收发模块具体用于当所述判断模块确定未注册、且已经安装了全局CREL的被管理主机,或者当所述判断模块确定已经注册的所述安装了全局CREL的被管理主机状态异常时,向处于正常状态的被管理主机发送查询消息;
    所述收发模块,还用于接收所述处于正常状态的被管理主机根据所述查询消息应答的所述安装指示信息。
  23. 根据权利要求15所述的装置,其特征在于,所述判断模块,还用于确定是否未注册、且已经安装了全局CREL的被管理主机,或者已经注册的所述安装了全局CREL的被管理主机状态是否异常;
    所述收发模块具体用于当所述判断模块确定出未注册、且已经安装了全局CREL的被管理主机,或者当所述判断模块确定出已经注册的所述安装了 全局CREL的被管理主机状态异常时,向主机控制器发送查询消息,以便所述主机控制器将所述查询消息发送给所有处于正常状态的被管理主机,并接收所述处于正常状态的被管理主机根据所述查询消息应答的所述安装指示信息;
    所述收发模块还用于接收所述主机控制器转发的所述安装指示信息。
  24. 根据权利要求15-23任一项所述的装置,其特征在于,所述收发模块还用于在所述处理模块注册所述安装主机的主机标识和/或所述全局CREL之前,向所述安装主机发送第一通知消息,以便所述安装主机根据所述第一通知消息安装所述全局CREL;
    所述收发模块还用于接收所述安装主机发送的携带有安装状态的第二通知消息;
    所述处理模块,用于根据所述第二通知消息,注册所述安装主机的主机标识和/或所述全局CREL。
  25. 根据权利要求24所述的装置,其特征在于,所述收发模块还用于向所述至少一个被管理主机中除所述安装主机之外的其他被管理主机发送禁用本地CREL消息。
  26. 一种多主机环境应用管理装置,其特征在于,包括:
    判断模块,用于根据所述被管理主机的信息判定所述被管理主机是否能够安装全局非接触注册表事件侦听器CREL,并获得判断结果;
    收发模块,用于向所述MH发送携带有所述判断模块获得的判断结果的安装指示信息,以便所述MH根据所述安装指示信息,注册所述被管理主机的主机标识和/或所述全局CREL。
  27. 根据权利要求26所述的装置,其特征在于,所述被管理主机的信息包括所述被管理主机的存储状态信息;
    所述判断模块根据所述被管理主机的信息判定所述被管理主机是否能够安装所述全局CREL,并获得判断结果,具体包括:
    判断所述被管理主机的未使用的存储空间是否大于预设阈值;
    若是,则判定所述被管理主机能够安装全局CREL;
    若否,则判定所述被管理主机不能够安装全局CREL。
  28. 根据权利要求26所述的装置,其特征在于,所述被管理主机的信息 包括所述被管理主机的访问控制策略信息;
    所述判断模块根据所述被管理主机的信息判定所述被管理主机是否能够安装所述全局CREL,并获得判断结果,具体包括:
    根据所述被管理主机的访问控制策略信息,判断所述被管理主机是否允许安装所述全局CREL;
    若是,则判定所述被管理主机能够安装全局CREL;
    若否,则判定所述被管理主机不能够安装全局CREL。
  29. 一种管理主机,其特征在于,包括:
    接收器,用于获得至少一个安装指示信息,所述安装指示信息包括至少一个被管理主机中的一个被管理主机的主机标识;
    处理器,用于根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装全局非接触注册表事件侦听器CREL;
    所述处理器,还用于从判定出的能够安装所述全局CREL的至少一个被管理主机中确定一个作为安装主机,并注册所述安装主机的主机标识和/或所述全局CREL。
  30. 根据权利要求29所述的管理主机,其特征在于,所述接收器接收的所述安装指示信息包括所述至少一个被管理主机的存储状态信息;
    所述根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
    判断所述至少一个被管理主机中的未使用的存储空间大于预设阈值的被管理主机能够安装全局CREL。
  31. 根据权利要求29所述的管理主机,其特征在于,所述接收器接收的所述安装指示信息包括所述至少一个被管理主机的访问控制策略信息;
    所述根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
    根据所述至少一个被管理主机的访问控制策略信息,判断所述至少一个被管理主机中允许安装所述全局CREL的被管理主机能够安装全局CREL。
  32. 根据权利要求29所述的管理主机,其特征在于,所述接收器接收的所述安装指示信息包括所述至少一个被管理主机的属主;
    所述根据所述安装指示信息,判定所述至少一个被管理主机是否能够安 装所述全局CREL,具体包括:
    判断所述至少一个被管理主机中属主属于白名单中记录的属主的被管理主机能够安装全局CREL。
  33. 根据权利要求29所述的管理主机,其特征在于,所述接收器接收的所述安装指示信息包括所述至少一个被管理主机的属主;
    所述根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
    判断所述至少一个被管理主机中属主不属于黑名单中记录的属主的被管理主机能够安装全局CREL。
  34. 根据权利要求29所述的管理主机,其特征在于,所述接收器接收的所述安装指示信息包括所述至少一个被管理主机的消息处理能力标识;
    所述根据所述安装指示信息,判定所述至少一个被管理主机是否能够安装所述全局CREL,具体包括:
    根据所述至少一个被管理主机的消息处理能力标识,判断所述至少一个被管理主机中能够处理MH发送的全局CREL触发消息的被管理主机能够安装全局CREL。
  35. 根据权利要求29所述的管理主机,其特征在于,所述接收器还用于接收所述至少一个被管理主机发送的所述安装指示信息。
  36. 根据权利要求29所述的管理主机,其特征在于,所述处理器还用于确定是否未注册、且已经安装了全局CREL的被管理主机,或者已经注册的所述安装了全局CREL的被管理主机状态是否异常;
    所述管理主机还包括:发送器;其中,
    所述发送器,用于当所述处理器确定未注册、且已经安装了全局CREL的被管理主机,或者确定已经注册的所述安装了全局CREL的被管理主机状态异常时,向处于正常状态的被管理主机发送查询消息;
    所述接收器,还用于接收所述处于正常状态的被管理主机根据所述查询消息应答的所述安装指示信息。
  37. 根据权利要求29所述的管理主机,其特征在于,所述处理器还用于确定是否未注册、且已经安装了全局CREL的被管理主机,或者已经注册的所述安装了全局CREL的被管理主机状态是否异常;
    所述管理主机还包括:发送器;其中,
    所述发送器,用于当所述处理器确定未注册、且已经安装了全局CREL的被管理主机,或者当所述处理器确定已经注册的所述安装了全局CREL的被管理主机状态异常时,向主机控制器发送查询消息,以便所述主机控制器将所述查询消息发送给所有处于正常状态的被管理主机,并接收所述处于正常状态的被管理主机根据所述查询消息应答的所述安装指示信息;
    所述接收器,还用于接收所述主机控制器转发的所述安装指示信息。
  38. 根据权利要求29-37任一项所述的管理主机,其特征在于,所述发送器,还用于在所述处理器注册所述安装主机的主机标识和/或所述全局CREL之前,向所述安装主机发送第一通知消息,以便所述安装主机根据所述第一通知消息安装所述全局CREL;
    所述接收器,还用于接收所述安装主机发送的携带有安装状态的第二通知消息;
    所述处理器,还用于根据所述第二通知消息,注册所述安装主机的主机标识和/或所述全局CREL。
  39. 根据权利要求38所述的管理主机,其特征在于,所述发送器,还用于向所述至少一个被管理主机中除所述安装主机之外的其他被管理主机发送禁用本地CREL消息。
  40. 一种主机,其特征在于,包括:
    处理器,用于根据所述主机的信息判定所述主机是否能够安装全局非接触注册表事件侦听器CREL,并获得判断结果;
    发送器,用于向所述MH发送携带有所述处理器获得的所述判断结果的安装指示信息,以便所述MH根据所述安装指示信息,注册所述主机的主机标识和/或所述全局CREL。
  41. 根据权利要求40所述的主机,其特征在于,所述主机的信息包括所述主机的存储状态信息;
    所述根据所述主机的信息判定所述主机是否能够安装所述全局CREL,并获得判断结果,具体包括:
    判断所述主机的未使用的存储空间是否大于预设阈值;
    若是,则判定所述主机能够安装全局CREL;
    若否,则判定所述主机不能够安装全局CREL。
  42. 根据权利要求40所述的主机,其特征在于,所述主机的信息包括所述主机的访问控制策略信息;
    所述根据所述主机的信息判定所述主机是否能够安装所述全局CREL,并获得判断结果,具体包括:
    根据所述主机的访问控制策略信息,判定所述主机是否允许安装所述全局CREL;
    若是,则判定所述主机能够安装全局CREL;
    若否,则判定所述主机不能够安装全局CREL。
PCT/CN2015/075082 2015-03-26 2015-03-26 多主机环境应用管理方法、装置和设备 WO2016149925A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2015/075082 WO2016149925A1 (zh) 2015-03-26 2015-03-26 多主机环境应用管理方法、装置和设备
CN201580078162.XA CN107408048B (zh) 2015-03-26 2015-03-26 多主机环境应用管理方法、装置和设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/075082 WO2016149925A1 (zh) 2015-03-26 2015-03-26 多主机环境应用管理方法、装置和设备

Publications (1)

Publication Number Publication Date
WO2016149925A1 true WO2016149925A1 (zh) 2016-09-29

Family

ID=56977763

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/075082 WO2016149925A1 (zh) 2015-03-26 2015-03-26 多主机环境应用管理方法、装置和设备

Country Status (2)

Country Link
CN (1) CN107408048B (zh)
WO (1) WO2016149925A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6505297B1 (en) * 1998-09-09 2003-01-07 Hitachi, Ltd. IC card terminal device and installation of application program into IC card terminal device
US20030217065A1 (en) * 2002-03-25 2003-11-20 Canon Kabushiki Kaisha Install processing apparatus, processing method, storage medium, and program
CN103077058A (zh) * 2013-01-06 2013-05-01 邓海勤 一种安装应用程序的方法及装置
CN103222291A (zh) * 2010-11-17 2013-07-24 捷讯研究有限公司 用于支持多个nfc执行环境nfcee的nfc控制器的应用路由配置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101866514B (zh) * 2009-04-14 2014-12-17 中兴通讯股份有限公司 一种安装非接触支付应用的方法、智能卡及移动终端
CN102195978A (zh) * 2011-04-26 2011-09-21 深圳市共济科技有限公司 一种软件分布部署方法及系统
PL2563057T3 (pl) * 2011-08-24 2018-08-31 T-Mobile Czech Republic A.S. Sposób wymiany danych pomiędzy bezpiecznym elementem a terminalem, bezpieczny element oraz terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6505297B1 (en) * 1998-09-09 2003-01-07 Hitachi, Ltd. IC card terminal device and installation of application program into IC card terminal device
US20030217065A1 (en) * 2002-03-25 2003-11-20 Canon Kabushiki Kaisha Install processing apparatus, processing method, storage medium, and program
CN103222291A (zh) * 2010-11-17 2013-07-24 捷讯研究有限公司 用于支持多个nfc执行环境nfcee的nfc控制器的应用路由配置
CN103077058A (zh) * 2013-01-06 2013-05-01 邓海勤 一种安装应用程序的方法及装置

Also Published As

Publication number Publication date
CN107408048A (zh) 2017-11-28
CN107408048B (zh) 2020-04-21

Similar Documents

Publication Publication Date Title
WO2019100605A1 (zh) 平台即服务paas容器平台的构建方法、服务器、系统及存储介质
EP3378217B1 (en) Cross-resource subscription for m2m service layer
US10346481B2 (en) Customizing operating system based on detected carrier
US20190261184A1 (en) Information Sending Method, Unit, and System
KR102245367B1 (ko) 무선 통신 시스템에서 특정 리소스에 대한 접근 권한을 인증하기 위한 방법 및 장치
US8903370B2 (en) Network access credential migration
US9585022B2 (en) Profile integration management
US10966080B1 (en) Methods and/or systems for activation and/or configuration of an electronic subscriber identity module (eSIM)
WO2020057469A1 (zh) 数据处理方法、相关设备及计算机存储介质
EP2976874A1 (en) Startup configuration file deployment
WO2018103405A1 (zh) 识别接入点和热点的方法及相关产品
WO2017071087A1 (zh) 信息的传输方法、装置和设备
US20170303065A1 (en) Method and device for creating subscription resource
WO2019041086A1 (zh) 一种信息验证方法及相关设备
US10911945B1 (en) Automated eUICC service profile configuration in view of operational issue with respect to eUICC service profile
WO2016192161A1 (zh) 一种数据处理方法和装置
CN108702395B (zh) 无线网状网络形成
WO2019201248A1 (zh) 轻量级机器到机器系统中重新引导的方法和装置
WO2020113478A1 (zh) 地址信息处理方法、装置、电子设备及存储介质
WO2021115183A1 (zh) 地址管理方法、服务器和计算机可读存储介质
TW202224461A (zh) 用於用戶標識模組偵測錯誤的恢復技術
WO2020259691A1 (zh) 一种设备信息的管理方法、装置及系统
CN109699030B (zh) 无人机认证方法、装置、设备和计算机可读存储介质
WO2016149925A1 (zh) 多主机环境应用管理方法、装置和设备
WO2022073196A1 (zh) 信息处理方法、装置及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15885864

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15885864

Country of ref document: EP

Kind code of ref document: A1