A system service processing method and system based on a smart screen middleware, and a medium

By using a system service processing method based on smart screen middleware, we have achieved compatibility with different motherboard types and functions, solved the problem of low efficiency in middleware program debugging and maintenance, and improved software development efficiency.

CN114237595BActive Publication Date: 2026-05-29INSPUR FINANCIAL INFORMATION TECHNOLOGY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
INSPUR FINANCIAL INFORMATION TECHNOLOGY CO LTD
Filing Date
2021-11-16
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

Existing technologies make it difficult to efficiently debug and maintain middleware programs in commercial smart screens, resulting in low software development efficiency and difficulty in adapting to various software applications.

Method used

Design a system service processing method based on smart screen middleware. Through encapsulation, service configuration and JAR package creation, it can adapt to different motherboard types and functions, and provide efficient business processing and decoupling mechanism.

Benefits of technology

It improves the development efficiency of software on smart screens, enables compatibility with various motherboard models, and features middleware programs with high business processing independence and easy maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114237595B_ABST
    Figure CN114237595B_ABST
Patent Text Reader

Abstract

The application discloses a kind of system service processing method, system and medium based on wisdom screen middleware, the method includes the following steps: obtaining motherboard usage, based on motherboard usage, encapsulation operation is executed, and motherboard business processing module and public business processing module are obtained;Based on interface definition module, service class configuration information is obtained by executing service class configuration operation to public business processing module and motherboard business processing module;Based on motherboard business processing module, public business processing module, interface definition module and service class configuration information, service JAR package is obtained by executing JAR package creation operation;Based on service JAR package and system service demand, requirement processing operation is executed;The application can realize the development of a kind of middleware program with multiple functions and new architecture, make wisdom screen adapt more types of software development process, simultaneously based on the middleware program, the processing of business on wisdom screen is carried out, and the development efficiency of software on wisdom screen is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of smart screen business framework design technology, and in particular to a system service processing method, system and medium based on smart screen middleware. Background Technology

[0002] Because commercial smart screens need to be compatible with the development of various software during application, middleware programs need to be introduced into the commercial smart screen during the software development process. After the smart screen is equipped with middleware programs, the upper-layer applications running on the smart screen can be isolated from the smart screen device motherboard, thereby decoupling data interaction, business processing and hardware operation. Considering the importance of middleware programs, it is necessary to design a middleware that has various basic functions, can support various software applications, and is also easy to debug and maintain, so as to process the system services and software services on the smart screen and improve the development efficiency of software on the smart screen. Summary of the Invention

[0003] The purpose of this invention is to design a middleware that has various basic functions, can support various software applications, and is easy to debug and maintain, thereby processing system services and software services on smart screens and improving the development efficiency of software on smart screens.

[0004] To solve the above-mentioned technical problems, one technical solution adopted by the present invention is to provide a system service processing method based on smart screen middleware, comprising the following steps:

[0005] Initial packaging steps:

[0006] Obtain the motherboard usage information, and perform a packaging operation based on the motherboard usage information to obtain the motherboard business processing module and the common business processing module;

[0007] Service configuration steps:

[0008] Configure the interface definition module, and perform service class configuration operations on the motherboard business processing module and the common business processing module based on the interface definition module to obtain service class configuration information;

[0009] JAR package creation steps:

[0010] Based on the motherboard business processing module, the public business processing module, the interface definition module, and the service class configuration information, a JAR package creation operation is performed to obtain a service JAR package;

[0011] Request processing steps:

[0012] Obtain system service requirements, and perform requirement processing operations based on the service JAR package and the system service requirements.

[0013] As an improved solution, the motherboard usage includes: motherboard type usage and motherboard general function usage;

[0014] The mainboard business processing module includes: a plurality of first business processing modules;

[0015] The system service requirements include: a first requirement and a second requirement; the first requirement is: application-related business requirements; the second requirement is: system-related business requirements.

[0016] The demand processing operations include: a first operation and a second operation.

[0017] As an improved solution, the packaging operation includes:

[0018] The system statistically analyzes the usage of several first motherboard types; configures several first motherboard adaptation intermediate components that match the several first motherboard types respectively; and sets the several first motherboard adaptation intermediate components to be several first service processing modules.

[0019] The process involves: statistically analyzing the usage of several first motherboard general functions; configuring a packaging container and several second motherboard adaptation intermediate components that are respectively matched with the several first motherboard general functions; setting the several second motherboard adaptation intermediate components as several second service processing modules; and packaging the several second service processing modules into the packaging container to obtain the common service processing module.

[0020] As an improved solution, the service class configuration operation includes:

[0021] The interface definition module is invoked to perform a first service configuration operation on several first service processing modules to obtain first service invocation information;

[0022] The interface definition module is invoked to perform second service configuration operations on several second service processing modules to obtain second service invocation information.

[0023] By integrating the first service call information and the second service call information, the service class configuration information is obtained.

[0024] As an improved approach, the first service configuration operation includes:

[0025] The interface definition module is invoked to configure several first interface specifications that match several first business processing modules respectively; the interface definition module is invoked to create several first function call objects that match several first business processing modules respectively based on several first interface specifications; the interface definition module is invoked to access the system service framework of the smart screen and add several first function call objects to the system service framework; the interface definition module is invoked to integrate the first interface specifications corresponding to the first function call objects added to the system service framework to obtain the first service call information;

[0026] The second service configuration operation includes:

[0027] The interface definition module is invoked to execute the first service configuration operation based on several second business processing modules, thereby obtaining second service call information, several second interface specifications, and several second function call objects.

[0028] As an improved solution, the first interface specification includes: first interface ID information, first interface function information, and first interface data structure that match the first business processing module;

[0029] The JAR package creation operation includes:

[0030] The interface definition module is invoked to compile the first business processing modules into several first business class JAR files based on Gradle technology and several first interface specifications; the interface definition module is then invoked to package the several first business class JAR files to obtain a first JAR package;

[0031] The first JAR package is the service JAR package.

[0032] As an improved solution, the service JAR package is configured with several JAR class files that each matches one of the first business processing modules and one of the first interface specifications; the JAR class files are configured with JAR methods.

[0033] As an improved approach, the step of performing the requirement processing operation based on the service JAR package and the system service requirements further includes:

[0034] When the system service requirement is the first requirement, the first operation is performed based on the service JAR package; when the system service requirement is the second requirement, the second operation is performed.

[0035] The first operation includes: identifying a first requirement function class in the first requirement; filtering a first JAR class file that matches the first requirement function class in the service JAR package; obtaining a first JAR method in the first JAR class file; identifying a first interface specification that matches the first JAR method in the service class configuration information; and calling the first function call object corresponding to the first interface specification in the system service framework to execute the first JAR method.

[0036] The second operation includes: identifying the second requirement function class and the second requirement execution information in the second requirement; identifying the second interface specification in the service class configuration information that matches the second requirement function class; and running the second function call object corresponding to the second interface specification in the system service framework according to the second requirement execution information.

[0037] This invention also provides a system service processing system based on smart screen middleware, comprising:

[0038] The module includes an encapsulation module, a service configuration module, a JAR package creation module, and a requirement processing module.

[0039] The encapsulation module is used to obtain the motherboard usage information and perform encapsulation operations based on the motherboard usage information to obtain the motherboard business processing module and the common business processing module.

[0040] The service configuration module is used to configure the interface definition module, and to perform service class configuration operations on the motherboard business processing module and the common business processing module based on the interface definition module to obtain service class configuration information;

[0041] The JAR package creation module is used to perform a JAR package creation operation based on the motherboard business processing module, the public business processing module, the interface definition module, and the service class configuration information to obtain a service JAR package;

[0042] The requirement processing module is used to obtain system service requirements and perform requirement processing operations based on the service JAR package and the system service requirements.

[0043] The present invention also provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of the system service processing method based on smart screen middleware.

[0044] The beneficial effects of this invention are:

[0045] 1. The system service processing method based on smart screen middleware described in this invention can realize the development of a middleware program with multiple functions and a new architecture, thereby adapting it to various models of smart screen motherboards, enabling smart screens to adapt to more types of software development processes. At the same time, the processing of business on the smart screen based on this middleware program has extremely high business processing independence and order, is convenient to call and easy to maintain, and improves the development efficiency of software on the smart screen.

[0046] 2. The system service processing system based on smart screen middleware described in this invention can achieve the development of a middleware program with multiple functions and a new architecture through the cooperation of the encapsulation module, service configuration module, JAR package creation module and requirement processing module. This allows for the adaptation of various smart screen motherboard models, enabling smart screens to adapt to more types of software development processes. At the same time, the processing of business on the smart screen based on this middleware program has extremely high business processing independence and order, is convenient to call and easy to maintain, and improves the development efficiency of software on the smart screen.

[0047] 3. The computer-readable storage medium of the present invention enables the boot packaging module, service configuration module, JAR package creation module and requirement processing module to cooperate, thereby developing a middleware program with multiple functions and a new architecture, which can be adapted to various models of smart screen motherboards, thereby enabling smart screens to adapt to more types of software development processes, and the computer-readable storage medium effectively improves the operability of the system service processing method based on smart screen middleware. Attached Figure Description

[0048] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0049] Figure 1 This is a flowchart of the system service processing method based on smart screen middleware as described in Embodiment 1 of the present invention;

[0050] Figure 2 This is a schematic diagram of the specific process of the system service processing method based on smart screen middleware described in Embodiment 1 of the present invention;

[0051] Figure 3 This is an architecture diagram of the system service processing system based on smart screen middleware as described in Embodiment 2 of the present invention. Detailed Implementation

[0052] The preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings, so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby providing a clearer and more explicit definition of the scope of protection of the present invention.

[0053] In the description of this invention, it should be noted that the embodiments described in this invention are only some embodiments of this invention, not all embodiments; based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.

[0054] In the description of this invention, it should be noted that the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0055] In the description of this invention, it should be noted that, unless otherwise explicitly specified and limited, the terms "motherboard usage," "packaging operation," "motherboard business processing module," "common business processing module," "interface definition module," "service class configuration operation," "service class configuration information," "JAR package creation operation," "service JAR package," "system service requirements," "motherboard type usage," "motherboard general function usage," "motherboard adaptation intermediate component," "packaging container," "service call information," "interface specification," "function call object," "system service framework," "business class JAR file," "packaging module," "service configuration module," "JAR package creation module," and "requirement processing module" should be interpreted broadly. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances.

[0056] In the description of this invention, it should be noted that: Gradle is an open-source tool for automated builds; JAR is a software package used to aggregate a large number of Java class files, related metadata, and resources.

[0057] Example 1

[0058] This embodiment provides a system service processing method based on smart screen middleware, such as... Figure 1 and Figure 2 As shown, it includes the following steps:

[0059] S100, Initial Packaging Steps, specifically including:

[0060] S110. Obtain the motherboard usage information, and perform a packaging operation based on the motherboard usage information to obtain the motherboard business processing module and the common business processing module. In this embodiment, this part is the initial framework construction part, which mainly designs the middleware program as a component architecture, so that the business components that process different functions are packaged separately, thereby improving decoupling.

[0061] Specifically, the motherboard usage includes: motherboard type usage and motherboard general function usage; the motherboard business processing module includes: several first business processing modules; in this embodiment, the motherboard type usage refers to several motherboard types that are typically equipped with or used in commercial smart screens, i.e., the first motherboard types described below; the several first business processing modules represent that the motherboard business processing module is composed of several components that process different application businesses; the motherboard general function usage refers to several system functions that are typically used in commercial smart screens, i.e., the first motherboard general functions described below, such as: smart screen brightness adjustment, volume adjustment, Bluetooth on and off, etc.

[0062] Specifically, the encapsulation operation includes:

[0063] The process involves: statistically analyzing several first motherboard types in the usage of the aforementioned motherboard types; configuring several first motherboard adaptation intermediate components that match each of the aforementioned first motherboard types; setting each of the aforementioned first motherboard adaptation intermediate components as a number of first service processing modules; in this embodiment, the number of first service processing modules are used for processing application services; statistically analyzing several first motherboard general functions in the usage of the aforementioned motherboard general functions; configuring an encapsulation container and several second motherboard adaptation intermediate components that match each of the number of first motherboard general functions; setting each of the number of second motherboard adaptation intermediate components as a number of second service processing modules; encapsulating the number of second service processing modules into the encapsulation container to obtain the common service processing module; in this embodiment, all these service modules that do not involve motherboard differences are encapsulated into the encapsulation container, which is the module integration space used to integrate multiple service modules; ultimately, the common service processing module is mainly used to implement some system functions in the smart screen.

[0064] S200, service configuration steps, specifically including:

[0065] S210. Configure the interface definition module, and perform service class configuration operations on the mainboard business processing module and the common business processing module based on the interface definition module to obtain service class configuration information. In this embodiment, the interface definition module is mainly used to realize communication, calling and function implementation between the application, system, mainboard business processing module and common business processing module. The service class configuration operation is mainly to configure the relevant calling objects of the mainboard business processing module and the common business processing module in the system service of the smart screen, thereby ensuring the logical implementation of subsequent system service and application service processing.

[0066] Specifically, the service configuration operations include:

[0067] The interface definition module is invoked to perform a first service configuration operation on several first business processing modules to obtain first service call information; the interface definition module is invoked to perform a second service configuration operation on several second business processing modules to obtain second service call information; the first service call information and the second service call information are integrated to obtain the service class configuration information; in this embodiment, the service class configuration information is an "intermediary value" used to carry the result of the service class configuration operation and serves as the basis for subsequent JAR package creation.

[0068] Specifically, the first service configuration operation includes:

[0069] The interface definition module is invoked to configure several first interface specifications that match the several first business processing modules respectively; the interface definition module is invoked to create several first function call objects that match the several first business processing modules based on the several first interface specifications. In this embodiment, the first function call object is the interface management object responsible for the call interface of the first business processing module. Creating based on the first interface specification means creating an interface management object corresponding to the interface specification and interface function according to the interface specification; the interface definition module is invoked to access the system service framework of the smart screen and add the several first function call objects to the system service framework. At this time, the service framework is set up, and the relevant functional logic of the first business processing module can be invoked. Use and operation; correspondingly, the creation of the first function call object and the addition of the first function call object to the system service framework are both implemented based on JAR class files and related JAR methods. For example: defining JAR interface management class files and JAR middleware service class files, calling the interface definition module to obtain the "addService()" method in the "android.os.ServiceManager" class in the JAR middleware service class file, thereby adding the first function call object to the system service framework; calling the interface definition module to integrate the first interface specification corresponding to the first function call object added to the system service framework to obtain the first service call information;

[0070] The second service configuration operation includes:

[0071] The interface definition module is invoked to execute the first service configuration operation based on several second business processing modules, thereby obtaining several second interface specifications, several second function call objects, and second service call information. Correspondingly, the operation logic of the second service configuration operation is the same as that of the first service configuration operation. Therefore, the second service configuration operation specifically includes: invoking the interface definition module to configure several second interface specifications that match the several second business processing modules respectively; invoking the interface definition module to create several second function call objects that match the several second business processing modules based on the several second interface specifications; invoking the interface definition module to access the system service framework of the smart screen and adding the several second function call objects to the system service framework; and invoking the interface definition module to integrate the second interface specifications corresponding to the second function call objects added to the system service framework to obtain the second service call information.

[0072] By following the steps above, the overall system service framework is built. Subsequent JAR file creation will enable efficient processing of application service requirements, thereby facilitating software development and improving development efficiency.

[0073] The steps for creating an S300 JAR package include:

[0074] S310. Based on the motherboard business processing module, the public business processing module, the interface definition module, and the service class configuration information, perform a JAR package creation operation to obtain a service JAR package. Correspondingly, the service JAR package is a JAR file, which is used for integration by upper-layer applications in the smart screen. When the upper-layer application runs, it can realize the corresponding service functions through the relevant class files and methods in the JAR package, thereby realizing the processing of requirements. At the same time, it realizes the decoupling between the application and the device motherboard, without the need for complex calls and logic, and is extremely efficient.

[0075] Specifically, the first interface specification includes: first interface ID information, first interface function information, and first interface data structure that match the first business processing module; correspondingly, the functionality of the corresponding business processing module can be known according to the interface specification, and then the relevant JAR package can be compiled according to the functionality.

[0076] The JAR package creation operation includes:

[0077] The interface definition module is invoked to compile several first business processing modules into several first business class JAR files based on Gradle compilation technology and several first interface specifications; the interface definition module is invoked to package several first business class JAR files to obtain a first JAR package; the first JAR package is the service JAR package; the service JAR package is configured with several JAR class files that match several first business processing modules and several first interface specifications respectively; the JAR class files are configured with JAR methods; in this embodiment, for example, the JAR class file of the communication management class is "android.os.ServiceManager"; correspondingly, the cross-process communication method therein is "getService()"; in this embodiment, steps S100 to S300 are the overall configuration and construction of the new component architecture of the middleware program, and step S400 is the main operation flow for demand processing according to the new component architecture. Through the middleware program and operation flow designed in this method, efficient data interaction and processing between applications and devices in the smart screen can be realized, thereby improving the development efficiency of software on the smart screen.

[0078] S400, Requirements Processing Steps, specifically include:

[0079] S410. Obtain system service requirements, and perform requirement processing operations based on the service JAR package and the system service requirements;

[0080] Specifically, the system service requirements include: a first requirement and a second requirement; the first requirement is: an application-related business requirement; the second requirement is: a system-related business requirement; the requirement processing operations include: a first operation and a second operation; the first operation and the second operation correspond to the first requirement and the second requirement, respectively.

[0081] Specifically, when the system service requirement is the first requirement, that is, the application-type business requirement needs to be processed, the first operation is performed based on the service JAR package; when the system service requirement is the second requirement, that is, the system-type business requirement needs to be processed, the second operation is performed; since the second operation is the implementation of the system service, which are all some basic functions of the system and based on the device architecture of the smart screen itself, it is implemented based on the common business processing module.

[0082] The first operation includes: identifying a first requirement function class in the first requirement; the first requirement function class is the main requirement function of the first requirement; filtering a first JAR class file that matches the first requirement function class in the service JAR package; obtaining a first JAR method in the first JAR class file; identifying a first interface specification that matches the first JAR method in the service class configuration information, and calling the first function call object corresponding to the first interface specification to execute the first JAR method in the system service framework; for example, in this embodiment, if the first requirement function class is an application and middleware communication class, the filtered first JAR class file is the "android.os.ServiceManager" class file, obtaining the "getService()" method in the "android.os.ServiceManager" class, and calling the first function call object to execute the method, thereby realizing cross-process communication between the application and middleware in the smart screen.

[0083] Correspondingly, the second operation is similar in logic to the first operation, and the second operation includes: identifying the second requirement function class and the second requirement execution information in the second requirement; for example, in this embodiment, the second requirement function is brightness adjustment, and the second requirement execution information includes, but is not limited to: dimming the brightness to a certain value or brightening the brightness to a certain value; identifying the second interface specification in the service class configuration information that matches the second requirement function class, and running the second function call object corresponding to the second interface specification in the system service framework according to the second requirement execution information; therefore, in this embodiment, when the second function call object runs, that is, the second function call object directly calls the relevant interface based on the second interface specification to adjust the brightness according to the second requirement execution information, and the second function call object corresponding to the second interface specification is the relevant interface management object of the relevant general component (second motherboard adapter intermediate component) controlling the brightness of the smart screen in the system service framework; when the object runs according to the second requirement execution information, the object calls its own corresponding smart screen business interface to perform related logical operations.

[0084] Example 2

[0085] This embodiment is based on the same inventive concept as the system service processing method based on smart screen middleware described in Embodiment 1, and provides a system service processing system based on smart screen middleware, such as... Figure 3 As shown, it includes: an encapsulation module, a service configuration module, a JAR package creation module, and a requirement processing module;

[0086] In the system service processing system based on the smart screen middleware, the encapsulation module is used to obtain the motherboard usage information and perform encapsulation operations based on the motherboard usage information to obtain the motherboard business processing module and the common business processing module.

[0087] Specifically, the motherboard usage includes: motherboard type usage and motherboard general function usage; the motherboard business processing module includes: several first business processing modules;

[0088] Specifically, the encapsulation operation includes: the encapsulation module statistically analyzing several first motherboard types in the motherboard type usage scenarios; the encapsulation module configuring several first motherboard adaptation intermediate components that respectively match the several first motherboard types; the encapsulation module setting the several first motherboard adaptation intermediate components as several first service processing modules; the encapsulation module statistically analyzing several first motherboard general functions in the motherboard general function usage scenarios; the encapsulation module configuring an encapsulation container and several second motherboard adaptation intermediate components that respectively match the several first motherboard general functions; the encapsulation module setting the several second motherboard adaptation intermediate components as several second service processing modules; and the encapsulation module encapsulating the several second service processing modules into the encapsulation container to obtain the common service processing module.

[0089] In the system service processing system based on the smart screen middleware, the service configuration module is used to configure the interface definition module, and performs service class configuration operations on the main board business processing module and the common business processing module based on the interface definition module to obtain service class configuration information;

[0090] Specifically, the service configuration operation includes: the service configuration module calling the interface definition module to perform a first service configuration operation on a plurality of first business processing modules to obtain first service call information; the service configuration module calling the interface definition module to perform a second service configuration operation on a plurality of second business processing modules to obtain second service call information; and the service configuration module integrating the first service call information and the second service call information to obtain the service class configuration information.

[0091] Specifically, the first service configuration operation includes: the service configuration module calling the interface definition module to configure several first interface specifications that respectively match several first business processing modules; the service configuration module calling the interface definition module to create several first function call objects that respectively match several first business processing modules based on several first interface specifications; the service configuration module calling the interface definition module to access the system service framework of the smart screen and adding several first function call objects to the system service framework; and the service configuration module calling the interface definition module to integrate the first interface specifications corresponding to the first function call objects added to the system service framework to obtain the first service call information.

[0092] Specifically, the second service configuration operation includes: the service configuration module calling the interface definition module to execute the first service configuration operation based on several second business processing modules to obtain the second service call information, several second interface specifications, and several second function call objects.

[0093] In the system service processing system based on the smart screen middleware, the JAR package creation module is used to perform a JAR package creation operation based on the mainboard business processing module, the public business processing module, the interface definition module and the service class configuration information to obtain a service JAR package;

[0094] Specifically, the first interface specification includes: first interface ID information, first interface function information, and first interface data structure that match the first business processing module;

[0095] Specifically, the JAR package creation operation includes: the JAR package creation module calling the interface definition module to compile the first business processing modules into a number of first business class JAR files based on Gradle technology and several first interface specifications; the JAR package creation module calling the interface definition module to package the several first business class JAR files to obtain a first JAR package; correspondingly, the first JAR package is the service JAR package; the service JAR package is configured with several JAR class files that match the several first business processing modules and the several first interface specifications respectively; the JAR class files are configured with JAR methods.

[0096] In the system service processing system based on the smart screen middleware, the demand processing module is used to obtain system service demands and perform demand processing operations based on the service JAR package and the system service demands.

[0097] Specifically, the system service requirements include: a first requirement and a second requirement; the first requirement is: application-related business requirements; the second requirement is: system-related business requirements; the requirement processing operations include: a first operation and a second operation;

[0098] Specifically, when the system service requirement is the first requirement, the requirement processing module performs the first operation based on the service JAR package; when the system service requirement is the second requirement, the requirement processing module performs the second operation.

[0099] The first operation includes: the requirement processing module identifying a first requirement functional class in the first requirement; the requirement processing module filtering a first JAR class file that matches the first requirement functional class in the service JAR package; the requirement processing module obtaining a first JAR method in the first JAR class file; the requirement processing module identifying a first interface specification that matches the first JAR method in the service class configuration information, and calling the first function call object corresponding to the first interface specification in the system service framework to execute the first JAR method;

[0100] The second operation includes: the requirement processing module identifying the second requirement function class and the second requirement execution information in the second requirement; the requirement processing module identifying the second interface specification that matches the second requirement function class in the service class configuration information, and running the second function call object corresponding to the second interface specification in the system service framework according to the second requirement execution information.

[0101] Example 3

[0102] This embodiment provides a computer-readable storage medium, including:

[0103] The storage medium is used to store computer software instructions used to implement the system service processing method based on smart screen middleware as described in Embodiment 1 above. It includes a program for executing the system service processing method based on smart screen middleware described above. Specifically, the executable program can be built into the system service processing system based on smart screen middleware described in Embodiment 2. In this way, the system service processing system based on smart screen middleware can implement the system service processing method based on smart screen middleware as described in Embodiment 1 by executing the built-in executable program.

[0104] Furthermore, the computer-readable storage medium in this embodiment can be any combination of one or more readable storage media, wherein the readable storage medium includes an electrical, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof.

[0105] Unlike existing technologies, the system service processing method, system, and medium based on smart screen middleware proposed in this application can develop a middleware program with multiple functions and a new architecture, thereby adapting it to various models of smart screen motherboards and enabling smart screens to adapt to more types of software development processes. At the same time, the processing of business on the smart screen based on this middleware program has extremely high business processing independence and order, is convenient to call and easy to maintain. This system provides effective technical support for this method, ultimately improving the development efficiency of software on smart screens.

[0106] The embodiment numbers disclosed in the above embodiments of the present invention are merely for description and do not represent the superiority or inferiority of the embodiments.

[0107] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware, or by a program instructing related hardware to implement the program, which can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0108] The above description is merely an embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structural or procedural transformations made based on the content of the present invention's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of the present invention.

Claims

1. A system service processing method based on smart screen middleware, characterized in that, Includes the following steps: Initial packaging steps: Obtain the motherboard usage information, and perform a packaging operation based on the motherboard usage information to obtain the motherboard business processing module and the common business processing module; Service configuration steps: Configure the interface definition module, and perform service class configuration operations on the motherboard business processing module and the common business processing module based on the interface definition module to obtain service class configuration information; JAR package creation steps: Based on the motherboard business processing module, the public business processing module, the interface definition module, and the service class configuration information, a JAR package creation operation is performed to obtain a service JAR package; Request processing steps: Obtain system service requirements, and perform requirement processing operations based on the service JAR package and the system service requirements; The motherboard usage information includes: motherboard type usage and general motherboard function usage; The mainboard business processing module includes: a plurality of first business processing modules; The system service requirements include: a first requirement and a second requirement; the first requirement is: application-related business requirements; the second requirement is: system-related business requirements. The demand processing operation includes: a first operation and a second operation; The encapsulation operation includes: statistically analyzing several first motherboard types in the usage of the motherboard types; configuring several first motherboard adaptation intermediate components that match the several first motherboard types respectively; setting the several first motherboard adaptation intermediate components as several first service processing modules; statistically analyzing several first motherboard general functions in the usage of the motherboard general functions; configuring an encapsulation container and several second motherboard adaptation intermediate components that match the several first motherboard general functions respectively; setting the several second motherboard adaptation intermediate components as several second service processing modules; and encapsulating the several second service processing modules into the encapsulation container to obtain the common service processing module. The service class configuration operation includes: calling the interface definition module to perform a first service configuration operation on a plurality of first business processing modules to obtain first service call information; calling the interface definition module to perform a second service configuration operation on a plurality of second business processing modules to obtain second service call information; and integrating the first service call information and the second service call information to obtain the service class configuration information. The first service configuration operation includes: calling the interface definition module to configure several first interface specifications that respectively match several first business processing modules; calling the interface definition module to create several first function call objects that respectively match several first business processing modules based on several first interface specifications; calling the interface definition module to access the system service framework of the smart screen and add several first function call objects to the system service framework; and calling the interface definition module to integrate the first interface specifications corresponding to the first function call objects added to the system service framework to obtain the first service call information.

2. The system service processing method based on smart screen middleware according to claim 1, characterized in that, The second service configuration operation includes: calling the interface definition module to execute the first service configuration operation based on several second business processing modules to obtain the second service call information, several second interface specifications, and several second function call objects.

3. The system service processing method based on smart screen middleware according to claim 2, characterized in that, The first interface specification includes: first interface ID information, first interface function information, and first interface data structure that match the first business processing module; The JAR package creation operation includes: The interface definition module is invoked to compile the first business processing modules into several first business class JAR files based on Gradle technology and several first interface specifications; the interface definition module is then invoked to package the several first business class JAR files to obtain a first JAR package; The first JAR package is the service JAR package.

4. A system service processing method based on smart screen middleware according to claim 3, characterized in that, The service JAR package contains several JAR class files that each matches one of the first business processing modules and one of the first interface specifications; each JAR class file contains JAR methods.

5. The system service processing method based on smart screen middleware according to claim 4 is characterized in that, The step of performing the requirement processing operation based on the service JAR package and the system service requirements further includes: When the system service requirement is the first requirement, the first operation is performed based on the service JAR package; when the system service requirement is the second requirement, the second operation is performed. The first operation includes: identifying a first requirement function class in the first requirement; filtering a first JAR class file that matches the first requirement function class in the service JAR package; obtaining a first JAR method in the first JAR class file; identifying a first interface specification that matches the first JAR method in the service class configuration information; and calling the first function call object corresponding to the first interface specification in the system service framework to execute the first JAR method. The second operation includes: identifying the second requirement function class and the second requirement execution information in the second requirement; identifying the second interface specification in the service class configuration information that matches the second requirement function class; and running the second function call object corresponding to the second interface specification in the system service framework according to the second requirement execution information.

6. A system for processing system services based on smart screen middleware, based on any one of claims 1 to 5, characterized in that: include: The module includes an encapsulation module, a service configuration module, a JAR package creation module, and a requirement processing module. The encapsulation module is used to obtain the motherboard usage information and perform encapsulation operations based on the motherboard usage information to obtain the motherboard business processing module and the common business processing module. The service configuration module is used to configure the interface definition module, and to perform service class configuration operations on the motherboard business processing module and the common business processing module based on the interface definition module to obtain service class configuration information; The JAR package creation module is used to perform a JAR package creation operation based on the motherboard business processing module, the public business processing module, the interface definition module, and the service class configuration information to obtain a service JAR package; The requirement processing module is used to obtain system service requirements and perform requirement processing operations based on the service JAR package and the system service requirements.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the system service processing method based on smart screen middleware as described in any one of claims 1 to 5.