Terminal management method and system based on hierarchical management system, medium and terminal

Through the design of the hierarchical management system, including the application layer, protocol layer and bridging layer, the stability and scalability issues of the terminal management system in the face of changes in operator and protocol requirements are solved, and more efficient terminal management performance is achieved.

CN118748852APending Publication Date: 2024-10-08TCL COMM TECH (CHENGDU) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411017276.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

When facing the changing needs of different operators and Open Mobile Alliance protocols, the existing terminal management system has problems such as unstable architecture, difficulty in maintenance and difficulty in expansion, resulting in weak management performance.

Method used

Adopt a terminal management method based on a hierarchical management system, including application layer, protocol layer and bridge layer. The application layer receives operator business events and creates tasks, the protocol layer processes Open Mobile Alliance protocol events, and the bridge layer performs data transparent transmission to realize operations Customization of business requirements and protocol adjustment processing, effectively decoupling the realization of requirements.

Benefits of technology

It avoids large-scale code modifications, improves the stability of the terminal system, eases maintenance and expansion, and improves terminal management performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118748852A_ABST
    Figure CN118748852A_ABST
Patent Text Reader

Abstract

The invention discloses a terminal management method and system based on a hierarchical management system, a medium and a terminal, and relates to the technical field of terminal management, the hierarchical management system comprises an application layer, a protocol layer and a bridging layer, and the bridging layer is bridged between the application layer and the protocol layer; the terminal management method comprises the following steps: receiving a service processing event of a target operator through an application layer, creating a corresponding task, and carrying out operator demand customization according to the task; receiving a protocol processing event of the open mobile alliance protocol through the protocol layer, and performing protocol adjustment processing of the open mobile alliance protocol according to the protocol processing event; and performing service data transparent transmission between the application layer and the protocol layer based on the bridging layer. According to the invention, the framework of the terminal system in the terminal management scheme based on the OMA DM protocol is more stable on the whole and is easy to maintain and expand, and the terminal management performance is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of terminal management, and in particular to a terminal management method, system, medium and terminal based on a hierarchical management system. Background Art

[0002] Mobile operators usually manage terminals based on the OPEN MOBILE ALLIANCE (OMA) Device Management (DM) protocol. The OMA DM protocol is a terminal management protocol derived from the OMA protocol. The server can perform various terminal management functions such as firmware update, parameter configuration, and protocol update on the terminal through the OMA DM protocol. Correspondingly, the terminal system in the terminal also implements various terminal management requirements based on the OMA DM protocol.

[0003] However, facing different operators, various requirements are usually very different, change quickly, and are highly customized, making the implementation of the terminal system in the terminal complex and changeable. Changes in various requirements (such as operator-related requirements or Open Mobile Alliance protocol-related requirements) often cause large-scale code modifications in the terminal system and introduce instability risks, making the terminal system have problems such as unstable architecture, difficult maintenance and difficult expansion, resulting in weak terminal management performance. Summary of the invention

[0004] The embodiment of the present application provides a terminal management solution based on a hierarchical management system, which can effectively avoid the introduction of instability risks, make the overall architecture of the terminal system more stable, easier to maintain and easier to expand, and effectively improve the terminal management performance.

[0005] The embodiments of the present application provide the following technical solutions:

[0006] According to an embodiment of the present application, a terminal management method based on a hierarchical management system is provided, wherein the hierarchical management system is applied to a terminal, wherein the hierarchical management system includes an application layer for implementing operator-related requirements, a protocol layer for implementing Open Mobile Alliance protocol-related requirements, and a bridging layer, wherein the bridging layer is bridged between the application layer and the protocol layer; the terminal management method includes: receiving a service processing event of a target operator through the application layer, creating a task corresponding to the service processing event, and customizing operator requirements according to the task; receiving a protocol processing event of an Open Mobile Alliance protocol through the protocol layer, and performing protocol adjustment processing of the Open Mobile Alliance protocol according to the protocol processing event; transparently transmitting service data between the application layer and the protocol layer based on the bridging layer, wherein the service data includes relevant data in the process of operator requirement customization and protocol adjustment processing.

[0007] According to one embodiment of the present application, a hierarchical management system for terminal management is applied to a terminal, the hierarchical management system includes an application layer, a protocol layer and a bridging layer, the bridging layer is bridged between the application layer and the protocol layer; the application layer is used to: receive a service processing event of a target operator, create a task corresponding to the service processing event, and customize the operator's needs according to the task; the protocol layer is used to: receive a protocol processing event of an open mobile alliance protocol, and perform protocol adjustment processing of the open mobile alliance protocol according to the protocol processing event; the bridging layer is used to: transparently transmit service data between the application layer and the protocol layer, the service data including relevant data in the process of operator demand customization and protocol adjustment processing.

[0008] According to another embodiment of the present application, a storage medium stores a computer program thereon, and when the computer program is executed by a processor of a computer, the computer executes the method described in the embodiment of the present application.

[0009] According to another embodiment of the present application, a terminal may include: a memory storing a computer program; and a processor reading the computer program stored in the memory to execute the method described in the embodiment of the present application.

[0010] According to another embodiment of the present application, a computer program product or a computer program includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method provided in various optional implementations described in the embodiments of the present application.

[0011] In an embodiment of the present application, a terminal management method based on a hierarchical management system is provided, the hierarchical management system comprising an application layer for implementing operator-related requirements, a protocol layer for implementing open mobile alliance protocol-related requirements, and a bridging layer, wherein the bridging layer is bridged between the application layer and the protocol layer; the terminal management method comprises: receiving a service processing event of a target operator through the application layer, creating a task corresponding to the service processing event, and customizing operator requirements according to the task; receiving a protocol processing event of an open mobile alliance protocol through the protocol layer, and performing protocol adjustment processing of the open mobile alliance protocol according to the protocol processing event; transparently transmitting service data between the application layer and the protocol layer based on the bridging layer, wherein the service data includes relevant data in the process of operator requirement customization and protocol adjustment processing.

[0012] In this way, by designing a hierarchical management system consisting of an application layer for implementing operator-related requirements, a protocol layer for implementing Open Mobile Alliance protocol-related requirements, and a bridging layer, the bridging layer bridges the application layer and the protocol layer. The "three-layer" hierarchical design effectively decouples and separates the implementation of operator-related requirements and Open Mobile Alliance protocol-related requirements. When terminal management is performed based on the hierarchical management system, changes to operator-related requirements and Open Mobile Alliance protocol-related requirements can be implemented in layers, which will not cause large-scale code modifications to the terminal system, thereby avoiding the introduction of instability risks, making the overall architecture of the terminal system more stable, easy to maintain and easy to expand, and effectively improving terminal management performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0014] Figure 1 A framework diagram of a hierarchical management system for terminal management according to an embodiment of the present application is shown.

[0015] Figure 2 A flowchart of a terminal management method based on a hierarchical management system according to an embodiment of the present application is shown.

[0016] Figure 3 A framework diagram of the application layer according to an embodiment of the present application is shown.

[0017] Figure 4 A framework diagram of a hierarchical management system for terminal management according to another embodiment of the present application is shown.

[0018] Figure 5 A framework diagram of a requirement component according to an embodiment of the present application is shown.

[0019] Figure 6 A task processing flow chart according to an embodiment of the present application is shown.

[0020] Figure 7 A block diagram of a terminal according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0021] The present disclosure is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the embodiments provided herein are only used to explain the present disclosure and are not intended to limit the present disclosure. In addition, the embodiments provided below are partial embodiments for implementing the present disclosure, rather than providing all embodiments for implementing the present disclosure. In the absence of conflict, the technical solutions recorded in the embodiments of the present disclosure can be implemented in any combination.

[0022] It should be noted that, in the embodiments of the present disclosure, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a method or apparatus including a series of elements includes not only the elements explicitly recorded, but also includes other elements not explicitly listed, or also includes elements inherent to the implementation of the method or apparatus. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other related elements in the method or apparatus including the element (such as a step in the method or a unit in the apparatus, for example, a unit may be a part of a circuit, a part of a processor, a part of a program or software, etc.).

[0023] For example, the terminal management method based on the hierarchical management system provided in the embodiment of the present disclosure includes a series of steps, but the terminal management method based on the hierarchical management system provided in the embodiment of the present disclosure is not limited to the recorded steps. Similarly, the terminal management device based on the hierarchical management system provided in the embodiment of the present disclosure includes a series of units, but the device provided in the embodiment of the present disclosure is not limited to including the units explicitly recorded, and may also include units required to obtain relevant information or perform processing based on the information.

[0024] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present disclosure belongs. The terms used herein are only for the purpose of describing specific embodiments and are not intended to limit the present disclosure.

[0025] Figure 1 The framework structure diagram of a hierarchical management system according to an embodiment of the present application is schematically shown. The hierarchical management system 100 may include an application layer 110 for implementing operator-related requirements, a protocol layer 130 for implementing Open Mobile Alliance protocol-related requirements, and a bridge layer 120, wherein the bridge layer 120 is bridged between the application layer 110 and the protocol layer 130, and is used to bridge the application layer 110 and the protocol layer 130.

[0026] The operator-related requirements may specifically include at least one of firmware upgrade / update (e.g., upgrade / update of baseband firmware, wireless LAN firmware, etc.), parameter configuration (e.g., configuration of network access parameters, wireless LAN parameters, etc.). The open mobile alliance protocol-related requirements may specifically include requirements such as modification or upgrade of the open mobile alliance protocol.

[0027] The hierarchical management system 100 can be applied to a terminal (such as a mobile phone, a smart watch, a tablet, etc.), and the hierarchical management system 100 can be loaded in a terminal system (such as an Android system, etc.) of the terminal in the form of a subsystem or a system application.

[0028] based on Figure 1 The hierarchical management system 100 shown, Figure 2 The following schematically shows a flow chart of a terminal management method according to an embodiment of the present application. Figure 2 As shown, the terminal management method based on the hierarchical management system may include the contents of step S210 to step S230, wherein the execution order of step S210 to step S230 is not specifically limited in this application.

[0029] Step S210, receiving a service processing event of a target operator through the application layer, creating a task corresponding to the service processing event, and customizing the task according to the operator's needs;

[0030] Step S220, receiving a protocol processing event of the Open Mobile Alliance protocol through the protocol layer, and performing protocol adjustment processing of the Open Mobile Alliance protocol according to the protocol processing event;

[0031] Step S230: transparently transmit service data between the application layer and the protocol layer based on the bridge layer, wherein the service data includes relevant data in the process of operator demand customization and protocol adjustment processing.

[0032] In this application, when the target operator generates operator-related requirements, the service server of the target operator sends a service processing event indicating the operator-related requirements to the terminal. The terminal receives the service processing event of the target operator through the application layer. After receiving the service processing event of the target operator through the application layer, the terminal further creates a task corresponding to the service processing event at the application layer, and performs operator requirement customization according to the task.

[0033] Among them, a task may include one or more of the following information: task ID, task type, task initiator (device, user or server), network request parameters used to interact with the task server during task processing, and current task status. Tasks can be saved in a database so that they can be restored according to operator requirements in any scenario. Operator requirement customization specifically refers to the corresponding processing events for operator-related requirements.

[0034] For example, when the operator-related requirement of the target operator is "upgrade the firmware of wireless LAN A", the service server of the target operator sends a service processing event 1 to the terminal to indicate "upgrade the firmware of wireless LAN A"; after the terminal receives the service processing event 1 through the application layer, it creates the corresponding "task 1". Specifically, at this time, the task 1 may specifically include the following information data: the task ID is task1, the task type is UpdateFM1, the task initiator is server A, the network request parameters used to interact with the task server during the processing of the task are the URL address (i.e., the identifier of the requested resource) and the required firmware, and the current status of the task is to be completed. After the creation of the "task 1", the application layer can customize the operator's needs according to the task 1, and perform the firmware upgrade for the wireless LAN A based on the information data contained in the task 1.

[0035] For example, when the operator-related requirements of the target operator are "upgrading the firmware of wireless LAN A" and "updating the configuration of x parameters and y parameters of wireless LAN A", the service server of the target operator sends a service processing event 1 indicating "upgrading the firmware of wireless LAN A" and a service processing event 2 indicating "updating the configuration of x parameters and y parameters of wireless LAN A" to the terminal; after receiving the service processing events 1 and 2 through the application layer, the terminal creates corresponding "task 1" and "task 2" respectively. Specifically, at this time, the task 1 may specifically include the following information data: the task ID is task1, the task type is UpdateFM1, the task initiator is server A, the network request parameters used to interact with the task server during the processing of the task are the URL address (i.e., the identifier of the requested resource) and the required firmware, and the current state of the task is to be completed; the task 2 may specifically include the following information data: the task ID is task2, the task type is UpdatePM, the task initiator is server A, the network request parameters used to interact with the task server during the processing of the task are the URL address (i.e., the identifier of the requested resource) and the required parameters, and the current state of the task is to be completed. After the creation of "task 1", the application layer can customize the operator's needs according to task 1, and perform the firmware upgrade for wireless LAN A based on the information data contained in task 1; after the creation of "task 2", the application layer can customize the operator's needs according to task 2, and perform the configuration update for x parameters and y parameters based on the information data contained in task 2.

[0036] In the present application, when the target operator generates requirements related to the Open Mobile Alliance protocol, the protocol server of the target operator sends a protocol processing event about the Open Mobile Alliance protocol to the terminal. After the terminal receives the protocol processing event through the application layer, it sends the protocol processing event to the protocol layer through the bridge layer. The protocol layer can perform protocol adjustment processing of the Open Mobile Alliance protocol according to the protocol processing event. The protocol adjustment processing can specifically be processing such as modifying or upgrading the Open Mobile Alliance protocol.

[0037] For example, when the target operator generates an Open Mobile Alliance protocol-related requirement of "upgrading the Open Mobile Alliance protocol", the target operator's protocol server can send a protocol processing event 3 indicating "upgrading the OMA DM protocol" to the terminal; after receiving the protocol processing event 3 through the application layer, the terminal sends the protocol processing event 3 to the protocol layer through the bridge layer, and the protocol layer can further create a corresponding "task 3". Specifically, at this time, the task 3 can specifically include the following information data: the task ID is task3, the task type is UpdatePL1, the task initiator is server B, the network request parameters used to interact with the task server during the processing of the task are the URL address (i.e., the identifier of the requested resource) and the required protocol content, and the current state of the task is to be completed. After the creation of the "task 3", the application layer can customize the operator's needs according to the task 3, and perform the upgrade of the OMA DM protocol based on the information data contained in the task 3.

[0038] It should be noted that the service server, task server and protocol server of the target operator in this application may be the same server or different servers, and this application does not limit this.

[0039] During the process of customizing operator requirements in the application layer and adjusting the protocol in the protocol layer, when transparent transmission of service data is required between the application layer and the protocol layer, the service data can be transparently transmitted between the application layer and the protocol layer through the bridge layer. Specifically, the bridge layer can define a first standard interface for interacting with the application layer and a second standard interface for interacting with the protocol layer. The code in the bridge layer is usually stable and unchanged. Only when necessary changes are involved in the interaction interface, the bridge layer code will be changed.

[0040] For example, in some examples, when the business processing events processed by the application layer include some protocol-related business logic, the aforementioned business data may include the business logic events corresponding to the business logic and the related content obtained by the business logic processing; the application layer can pass the business logic event to the bridge layer through the first standard interface, and then the bridge layer transmits the business logic event to the protocol layer through the second standard interface; the protocol layer can pass the related content obtained by processing the business logic event to the bridge layer through the second standard interface, and then the bridge layer transmits the related content to the application layer through the first standard interface.

[0041] In this way, by designing a hierarchical management system consisting of an application layer for implementing operator-related requirements, a protocol layer for implementing Open Mobile Alliance protocol-related requirements, and a bridging layer, the bridging layer bridges the application layer and the protocol layer, and the "three-layer" hierarchical design effectively decouples and separates the implementation of operator-related requirements and Open Mobile Alliance protocol-related requirements. When terminal management is performed based on the hierarchical management system, changes to operator-related requirements and Open Mobile Alliance protocol-related requirements can be implemented in layers, without causing large-scale code modifications to the terminal system, thereby avoiding the introduction of instability risks. That is, the terminal management implementation solution based on the OMA (Open Mobile Alliance) DM (Device Management) protocol provided by the present application makes the overall architecture of the terminal system more stable, easy to maintain and easy to expand, and effectively improves the terminal management performance.

[0042] Described below Figure 1 When performing terminal management based on a hierarchical management system in the embodiment, further optional specific embodiments are provided for each step performed.

[0043] In one embodiment, see Figure 3 and Figure 4 The application layer 110 includes a basic function module 310 and an operator demand customization component 320, and the operator demand customization component 320 includes a plurality of demand components of different operators (for example, an ATT demand component 410, a VZW demand component 420, etc.); further, refer to Figure 5 , the receiving of the business processing event of the target operator through the application layer, creating a task corresponding to the business processing event, and customizing the operator's needs according to the task may include: step S510, receiving the business processing event of the target operator through the basic function module, and creating a task corresponding to the business processing event, and routing the task to the target demand component, the target demand component is the demand component corresponding to the target operator in the operator demand customization component; step S520, processing the task based on the target demand component to customize the operator's needs.

[0044] The application layer 110 includes a basic function module 310 and an operator demand customization component 320. The operator demand customization component includes a plurality of different operator demand components. Each operator demand component can be used to customize the operator demand of the corresponding operator. Figure 4As shown, the operator demand customization component 320 may include an ATT (American Telephone & Telegraph Company) operator demand component (ATT demand component), a VZW (Verizon Wireless) operator demand component (VZW demand component), and the like.

[0045] The basic function module 310 can receive the business processing event of the target operator, and create a task corresponding to the business processing event. The basic function module can further determine the demand component (i.e., the target demand component) corresponding to the target operator from the operator demand customization component 320, and route the task to the target demand component through the routing component (ARouter). The target demand component processes the received task to implement operator demand customization. For example, if the task is to configure the parameters required by the target operator, the target demand component can configure the parameters required by the target operator in the terminal device.

[0046] Each operator's demand component can be used to customize the operator's demand for the corresponding operator. Therefore, the problem of multi-operator demand adaptation and mutual influence caused by the demand changes of different operators can be overcome. Through the design scheme combining basic functional modules with operator demand customization components, the focus and changes of different operators can be effectively separated, and the demands of different operators can be effectively isolated, which is further easy to maintain and expand.

[0047] For further information, see Figure 3 and Figure 4 The application layer 110 may also include a public resource module 330, which may include some public resource files, such as user interface layout resources, image icon resources, etc. The application layer may update these public resource files in the public resource module according to the update instructions of the user or the server.

[0048] Furthermore, in one embodiment, the basic function module also includes a task state machine; each of the requirement components includes an operator state machine; after the task corresponding to the business processing event is created, the terminal management method also includes: using the task state machine to divide the business process of the task into states to obtain a plurality of different states, wherein different states correspond to different business logics; the task is processed based on the target requirement component to customize the operator requirements, including: based on the operator state machine in the target requirement component, the business logic corresponding to each state in the business process is processed separately according to each state.

[0049] See also Figure 4 The basic function module 310 may also include a task state machine 430. Figure 6 Each demand component may include an operator state machine 611, and the target demand component also includes an operator state machine. The task state machine in the basic function module can divide the business process of the received task into states to obtain multiple different states (State, that is, stages), and different states correspond to different business logics. Furthermore, the operator state machine in the target demand component can process the business logic corresponding to each state in the business process according to each state.

[0050] For example, in one example, the task state machine can divide the business process of an over-the-air firmware upgrade (FOTA) task into: task initialization state (TaskInitState), task start state (TaskStartState), download description file (DD, Download Description) download state (TaskDownloadingDDState), file download completion state (TaskDownloadFinish), firmware package pre-download state (TaskPreFMDownload), firmware package download state (TaskDowloadingFMState), firmware package download completion state (TaskDowloadFMFinishState), installation state (TaskInstallingState), installation completion state (TaskInstallFinishState), device update completion state (TaskUpdateFinishState), and task end state (TaskEndState).

[0051] Furthermore, the operator state machine can process the corresponding business logic in each state respectively: in the task initialization state, complete some initialization work, such as network and listener initialization; in the task start state, communicate with the designated server to determine whether there is a terminal management session; if there is a session, in the download description file download state, download the download description file (DD); in the file download completion state, prompt the user that there is a software update; in the firmware package pre-download state, determine whether the memory and power meet the predetermined conditions, and prompt the user that the conditions are not met; in the firmware package download state, download the firmware package; in the firmware package download completion state, verify the firmware package, and report the download completion status to the designated server; in the installation state, start calling the underlying interface, copy the firmware package to the predetermined partition for installation; in the installation completion state, the underlying update is completed, wait for restart to apply the new partition, prompt the user to complete the restart, and check the device application status after restart; in the device update completion state, display the user update result and report the result to the designated server; in the task end state, release the relevant resources.

[0052] In this way, by setting up a task state machine in the basic function module and an operator state machine in each demand component, the state machine can be used to divide the business process into different reasonable states and perform business logic state processing, thereby simplifying complex logic and reducing the difficulty of business implementation. It can effectively overcome the problems of code logic confusion, expansion difficulties, and maintenance difficulties caused by processing complex and changeable business logic in one task, and further improve system stability and scalability.

[0053] In one embodiment, the basic function module also includes a task scheduler; creating the task corresponding to the business processing event and routing the task to the target requirement component may include: creating a task for the business processing event through the task scheduler to obtain the task corresponding to the business processing event; routing the task corresponding to the business processing event to the target requirement component through the task scheduler.

[0054] See also Figure 4 The basic function module 310 may further include a task scheduler 440. The task scheduler 440 may create a task for a business processing event to obtain a task corresponding to the business processing event. The task scheduler 440 may further route the task corresponding to the business processing event to a target demand component.

[0055] In one embodiment, the basic function module also includes an event manager, which is used to register different event listeners; receiving the business processing event of the target operator through the basic function module includes: receiving the event through the event listener registered in the event manager to obtain the business processing event of the target operator.

[0056] See also Figure 4 The basic function module 310 may also include an event manager 450, which is used to register different event listeners. The event manager may be an independent event distribution thread implemented based on the observer pattern. Related modules in the basic function module (such as the task scheduler, etc.) may register event listeners in the event manager to monitor and receive events and obtain the service processing events of the target operator. For example, the task scheduler may register event listeners for events such as client initialization (CI, Client Initiation), device initialization (DI, Device Initiation) and network initialization (NI, Network Initiation) in the event manager to monitor and receive corresponding events, and further create and initiate corresponding tasks.

[0057] In one embodiment, each of the demand components also includes a user interface logic control module; the business process includes user interface business logic and other business logic; the terminal management method also includes: unified processing of the user interface business logic by the user interface logic control module, and the other business logic is processed by the operator state machine.

[0058] See also Figure 6 , each requirement component may include a user interface logic control module 612, and the target requirement component also includes a user interface logic control module. The business process of a task may include user interface business logic and other business logics. For example, the business logic in the business process of the over-the-air firmware upgrade task in the above example may include user interface (UI interface) business logic: "prompt the user that there is a software update", "prompt the user that the conditions are not met" and "display the user update results" through the user interface. Other business logics are the remaining business logics except these user interface business logics.

[0059] In the above-mentioned embodiment, the user interface business logic and other business logic are processed by the operator state machine. In this embodiment, a user interface logic control module is introduced, and these user interface business logics are uniformly processed by the user interface logic control module, and the remaining other business logics are processed by the operator state machine.

[0060] The user interface business logic seems simple, but in fact it is complex and changeable according to the different needs of operators. If the user interface logic control module is not introduced for unified processing, it is easy to cause the user interface business logic related to the user interface in the state machine to be scattered, complex and difficult to understand, poor in versatility, and difficult to expand. In this embodiment, the user interface logic control module is introduced, and the user interface business logic is extracted from the state machine for processing and integrated and unified by the user interface logic control module, which can achieve business focus, make the logic of concern in the operator state machine clearer and more abstract, and can further improve the overall stability, maintainability and scalability of the terminal system architecture as a whole.

[0061] Further, in a specific embodiment, refer to Figure 6 , each requirement component may specifically include an operator service component 610 and a user interface component 620, and an operator state machine 611 and a user interface logic control module 612 may be located in the operator service component 610. The user interface component 620 may generate a user interface for a user, for example, when "prompting the user that there is a software update" through a user interface, the user interface component may generate a corresponding user interface to display the promotion information for prompting the user that there is a software update.

[0062] Further, in some embodiments, see Figure 6 The operator business component 610 may also include a special scenario state machine 613. The business logic of some specified special scenarios can be processed by the special scenario state machine. Furthermore, the business logic of the special scenario can be extracted from the operator state machine, which can further make the logic of concern in the operator state machine clearer and more abstract, and can further improve the overall stability, maintainability and scalability of the terminal system architecture as a whole.

[0063] In one embodiment, the protocol layer includes an event dispatching module and a protocol requirement implementation module; the receiving a protocol processing event of the Open Mobile Alliance protocol through the protocol layer, and performing protocol adjustment processing of the Open Mobile Alliance protocol according to the protocol processing event, includes:

[0064] The protocol processing event is received by the event dispatching module, and the protocol processing event is dispatched to the protocol requirement implementation module. The protocol processing event is passed from the application layer to the event dispatching module through the bridging layer; based on the protocol requirement implementation module, protocol adjustment processing is performed on the protocol processing event.

[0065] See also Figure 4The protocol layer 130 may include an event dispatching module 460 and a protocol requirement implementation module 470. The application layer 110 may pass the protocol processing event to the event dispatching module 460 through the bridging layer 120. The event dispatching module 460 may receive the protocol processing event and dispatch the protocol processing event to the protocol requirement implementation module 470.

[0066] The protocol requirement implementation module 470 can perform protocol adjustment processing on the received protocol processing events. The protocol processing events can be events such as protocol upgrades or protocol modifications. The protocol requirement implementation module 470 can perform protocol upgrades or protocol modifications on events such as protocol upgrades or protocol modifications.

[0067] The protocol requirement implementation module 470 can also process other protocol-related requirements according to the requirements, such as information synchronization standard protocol (SyncM, Synchronization Markup Language) signaling processing, terminal management tree (DM tree) operation and maintenance, encoding and decoding, etc. For example, when the system event module of the application layer receives a push message (WAP-PUSH message), the data in the push message can be sent to the protocol layer through the bridge layer for parsing, and the event dispatching module in the protocol layer dispatches the data to the protocol requirement implementation module for parsing and processing. After the parsing is successful, the dispatching layer reports the parsed content to the application layer through the bridge layer.

[0068] Furthermore, in one embodiment, the protocol layer also includes a business logic processing module; receiving business logic events through the event dispatching module, and dispatching the business logic events to the business logic processing module; and processing the business logic in the business logic events based on the business logic processing module.

[0069] See also Figure 4 The protocol layer 130 may also be provided with a business logic processing module 480, through which the application layer may be assisted in processing the business logic related to the protocol, thereby further improving the overall stability and scalability of the system.

[0070] When processing some protocol-related business logic in the application layer, the application layer can send business logic events to the protocol layer through the bridge layer. After receiving the business logic event, the event dispatching module 460 can dispatch the business logic event to the business logic processing module 480, and the business logic processing module 480 can process the business logic in the business logic event. In one example, the application layer can send business logic event 1 to the protocol layer through the bridge layer. Business logic event 1 can be an event for initialization work, and then the business logic processing module in the protocol layer can perform initialization work.

[0071] Furthermore, the processing of the business logic in the business logic event based on the business logic processing module includes: interacting with the target server based on the business logic processing module to process the business logic in the business logic event; and passing relevant content in the processing of the business logic to the application layer through the bridge layer based on the business logic processing module.

[0072] By implementing the relevant business logic for interacting with the server through the business logic processing module set in the protocol layer, the overall system can be further stabilized and the system stability can be improved. For example, the application layer can send business logic event 2 to the protocol layer through the bridge layer. Business logic event 2 can be an event for communicating with a server (such as a terminal management (DM: Device Management) server or a firmware download (DL: Download) server, etc.) and performing a certain business (such as firmware download). The business logic processing module in the protocol layer can communicate with the server and perform the certain business (such as firmware download). Furthermore, the business logic processing module can pass the download result from the dispatch layer to the application layer through the bridge layer.

[0073] In one embodiment, see Figure 4 The protocol layer also includes a transplantation module 490, which is used to connect to the system interface of the terminal system; the terminal management method also includes: receiving a system message sent by the system interface through the transplantation module, and passing the system message to other modules in the protocol layer. The transplantation module 490 is located at the bottom layer of the protocol layer and is responsible for directly connecting to the system interface of the terminal system and encapsulating the system interface so that other modules of the protocol layer do not need to directly contact the system interface (system API) to achieve system-level functions.

[0074] In order to better implement the terminal management method based on the hierarchical management system provided in the embodiment of the present application, the embodiment of the present application also provides a hierarchical management system for terminal management. The meanings of the terms are the same as those in the terminal management method based on the hierarchical management system, and the specific implementation details can refer to the description in the method embodiment.

[0075] The hierarchical management system is applied to a terminal, and includes an application layer, a protocol layer and a bridging layer, wherein the bridging layer is bridged between the application layer and the protocol layer; the application layer is used to receive a service processing event of a target operator, create a task corresponding to the service processing event, and customize the operator's needs according to the task; the protocol layer is used to receive a protocol processing event of an open mobile alliance protocol, and perform protocol adjustment processing of the open mobile alliance protocol according to the protocol processing event; the bridging layer is used to transparently transmit service data between the application layer and the protocol layer, and the service data includes relevant data in the process of operator demand customization and protocol adjustment processing.

[0076] In one embodiment, the application layer includes a basic function module and an operator demand customization component, and the operator demand customization component includes demand components of multiple different operators; the basic function module is used to: receive a business processing event of the target operator; and create a task corresponding to the business processing event, and route the task to a target demand component, and the target demand component is the demand component corresponding to the target operator in the operator demand customization component; the target demand component is used to: process the task to perform operator demand customization.

[0077] In one embodiment, the basic function module includes a task state machine; each of the requirement components includes an operator state machine; the task state machine is used to: divide the business process of the task into states to obtain multiple different states, wherein different states correspond to different business logics; the operator state machine in the target requirement component is used to: separately process the business logic corresponding to each state in the business process according to each state.

[0078] In one embodiment, each of the demand components also includes a user interface logic control module; the business process includes user interface business logic and other business logic; the user interface logic control module is used to: uniformly process the user interface business logic, and the other business logic is processed by the operator state machine.

[0079] In one embodiment, the protocol layer includes an event dispatching module and a protocol requirement implementation module; the event dispatching module is used to: receive the protocol processing event, and dispatch the protocol processing event to the protocol requirement implementation module, the protocol processing event is passed from the application layer to the event dispatching module through the bridging layer; the protocol requirement implementation module is used to: perform protocol adjustment processing on the protocol processing event.

[0080] In one embodiment, the protocol layer also includes a business logic processing module; the event dispatching module is used to: receive business logic events, and dispatch the business logic events to the business logic processing module; the business logic processing module is used to: process the business logic in the business logic events.

[0081] In one embodiment, the business logic processing module is used to: interact with the target server for the business logic in the business logic event to process the business logic; and pass the relevant content in the processing of the business logic to the application layer through the bridge layer.

[0082] In one embodiment, the protocol layer also includes a transplantation module, which is used to connect to the system interface of the terminal system; the transplantation module is used to: receive system messages sent by the system interface, and pass the system messages to other modules in the protocol layer.

[0083] In one embodiment, the basic function module also includes a task scheduler; the task scheduler is used to: create a task for the business processing event to obtain the task corresponding to the business processing event; and route the task corresponding to the business processing event to the target demand component.

[0084] In one embodiment, the basic function module also includes an event manager, and the event manager is used to register different event listeners; the basic function module is used to: receive event monitoring through the event listener registered in the event manager to obtain the service processing event of the target operator.

[0085] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.

[0086] In addition, the present application embodiment also provides a terminal, such as Figure 7 As shown, Figure 7 A block diagram of a terminal according to an embodiment of the present application is shown, specifically:

[0087] The terminal may include one or more processing core processors 701, one or more computer-readable storage media memories 702, a power supply 703, an input unit 704 and other components. Those skilled in the art will appreciate that Figure 7The terminal structure shown in the figure does not constitute a limitation on the terminal, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0088] The processor 701 is the control center of the terminal. It uses various interfaces and lines to connect various parts of the entire computer device. By running or executing software programs and / or modules stored in the memory 702 and calling data stored in the memory 702, it executes various functions of the computer device and processes data, thereby monitoring the terminal as a whole. Optionally, the processor 701 may include one or more processing cores; preferably, the processor 701 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user pages and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 701.

[0089] The memory 702 can be used to store software programs and modules. The processor 701 executes various functional applications and data processing by running the software programs and modules stored in the memory 702. The memory 702 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 702 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 702 may also include a memory controller to provide the processor 701 with access to the memory 702.

[0090] The terminal also includes a power supply 703 for supplying power to each component. Preferably, the power supply 703 can be logically connected to the processor 701 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 703 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.

[0091] The terminal may further include an input unit 704, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0092] Although not shown, the terminal may also include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 701 in the terminal will load the executable files corresponding to the processes of one or more computer programs into the memory 702 according to the following instructions, and the processor 701 will run the computer programs stored in the memory 702, thereby realizing various functions in the aforementioned embodiments of the present application.

[0093] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be accomplished by a computer program, or by controlling related hardware through a computer program. The computer program may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0094] To this end, an embodiment of the present application further provides a storage medium, in which a computer program is stored. The computer program can be loaded by a processor to execute the steps in any method provided in the embodiment of the present application.

[0095] The storage medium may be a computer-readable storage medium, and the storage medium may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0096] Since the computer program stored in the storage medium can execute the steps in any method provided in the embodiments of the present application, the beneficial effects that can be achieved by the method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0097] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the embodiments disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application.

[0098] It should be understood that the present application is not limited to the embodiments that have been described above and shown in the accompanying drawings, but various modifications and changes may be made without departing from the scope thereof.

Claims

1. A terminal management method based on a hierarchical management system, characterized in that: The hierarchical management system is applied to a terminal, and includes an application layer for implementing operator-related requirements, a protocol layer for implementing Open Mobile Alliance protocol-related requirements, and a bridging layer, wherein the bridging layer is bridged between the application layer and the protocol layer; The terminal management method comprises: Receiving a service processing event of a target operator through the application layer, creating a task corresponding to the service processing event, and customizing the task according to the operator's needs; receiving a protocol processing event of the Open Mobile Alliance protocol through the protocol layer, and performing protocol adjustment processing of the Open Mobile Alliance protocol according to the protocol processing event; Based on the bridging layer, transparent transmission of service data is performed between the application layer and the protocol layer, and the service data includes relevant data in the process of operator demand customization and protocol adjustment processing.

2. The method according to claim 1, characterized in that The application layer includes basic function modules and operator demand customization components, and the operator demand customization components include demand components of multiple different operators; The receiving, through the application layer, a service processing event of a target operator, creating a task corresponding to the service processing event, and customizing the task according to operator requirements includes: Receiving, through the basic function module, a service processing event of the target operator; and, Creating a task corresponding to the business processing event, and routing the task to a target demand component, where the target demand component is the demand component corresponding to the target operator in the operator demand customization component; The task is processed based on the target requirement component to be customized according to operator requirements.

3. The method according to claim 2, characterized in that The basic function module includes a task state machine; Each of the requirement components includes an operator state machine; After the task corresponding to the business processing event is created, the terminal management method further includes: The task state machine is used to divide the business process of the task into states to obtain a plurality of different states, wherein different states correspond to different business logics; The processing of the task based on the target requirement component to customize the operator's requirements includes: Based on the operator state machine in the target requirement component, the business logic corresponding to each state in the business process is processed respectively according to each state.

4. The method according to claim 3, characterized in that Each of the demand components also includes a user interface logic control module; the business process includes user interface business logic and other business logic; The terminal management method further includes: The user interface business logic is uniformly processed by the user interface logic control module, and the other business logics are processed by the operator state machine.

5. The method according to claim 1, characterized in that The protocol layer includes an event dispatching module and a protocol requirement implementation module; The receiving a protocol processing event of the Open Mobile Alliance protocol through the protocol layer, and performing protocol adjustment processing of the Open Mobile Alliance protocol according to the protocol processing event, includes: The event dispatching module receives the protocol processing event and dispatches the protocol processing event to the protocol requirement implementation module, wherein the protocol processing event is transmitted from the application layer to the event dispatching module through the bridge layer; The protocol requirement implementation module performs protocol adjustment processing on the protocol processing event.

6. The method according to claim 5, characterized in that The protocol layer also includes a business logic processing module; Receive business logic events through the event dispatching module, and dispatch the business logic events to the business logic processing module; The business logic in the business logic event is processed based on the business logic processing module.

7. The method according to claim 6, characterized in that The processing of the business logic in the business logic event based on the business logic processing module includes: For the business logic in the business logic event, interact with the target server based on the business logic processing module to process the business logic; The relevant content in processing the business logic is transmitted to the application layer through the bridge layer based on the business logic processing module.

8. The method according to claim 5, characterized in that The protocol layer also includes a transplantation module, which is used to connect to the system interface of the terminal system; The terminal management method further includes: The system message sent by the system interface is received through the transplantation module, and the system message is transmitted to other modules in the protocol layer.

9. The method according to claim 2, characterized in that: The basic function module also includes a task scheduler; the creation of tasks corresponding to the business processing events and routing the tasks to the target demand components include: Creating a task for the business processing event through the task scheduler to obtain a task corresponding to the business processing event; The task corresponding to the business processing event is routed to the target demand component through the task scheduler.

10. The method according to claim 2, characterized in that The basic function module also includes an event manager, which is used to register different event listeners; The receiving, through the basic function module, the service processing event of the target operator includes: The event listener registered in the event manager is used to monitor and receive the event, thereby obtaining the service processing event of the target operator.

11. A hierarchical management system for terminal management, characterized in that: The hierarchical management system is applied to a terminal, and the hierarchical management system includes an application layer, a protocol layer, and a bridging layer, wherein the bridging layer is bridged between the application layer and the protocol layer; The application layer is used to: receive a service processing event of a target operator, create a task corresponding to the service processing event, and customize the task according to the operator's needs; The protocol layer is used to: receive a protocol processing event of the Open Mobile Alliance protocol, and perform protocol adjustment processing of the Open Mobile Alliance protocol according to the protocol processing event; The bridging layer is used to transparently transmit service data between the application layer and the protocol layer, wherein the service data includes relevant data in the process of operator demand customization and protocol adjustment processing.

12. The hierarchical management system according to claim 11, characterized in that: The application layer includes basic function modules and operator demand customization components, and the operator demand customization components include demand components of multiple different operators; The basic function module is used to: receive a service processing event of the target operator; And, creating a task corresponding to the business processing event, and routing the task to a target demand component, where the target demand component is the demand component corresponding to the target operator in the operator demand customization component; The target requirement component is used to process the task to customize the operator's requirements.

13. The hierarchical management system according to claim 12, characterized in that: The basic function module includes a task state machine; each of the requirement components includes an operator state machine; The task state machine is used to: divide the business process of the task into states to obtain a plurality of different states, wherein different states correspond to different business logics; The operator state machine in the target requirement component is used to process the business logic corresponding to each state in the business process according to each state.

14. A storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor of a computer, the computer is caused to execute the method according to any one of claims 1 to 10.

15. A terminal, characterized in that: include: a memory storing a computer program; A processor reads a computer program stored in a memory to execute the method according to any one of claims 1 to 10.