CN113626008A - System, method and device for physical device adaptation based on hybrid development application - Google Patents

System, method and device for physical device adaptation based on hybrid development application Download PDF

Info

Publication number
CN113626008A
CN113626008A CN202111195094.9A CN202111195094A CN113626008A CN 113626008 A CN113626008 A CN 113626008A CN 202111195094 A CN202111195094 A CN 202111195094A CN 113626008 A CN113626008 A CN 113626008A
Authority
CN
China
Prior art keywords
adaptation
module
service
application
request information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111195094.9A
Other languages
Chinese (zh)
Other versions
CN113626008B (en
Inventor
吴鑫
周浩楠
田晓明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Seuic Technology Co ltd
Original Assignee
Jiangsu Seuic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu Seuic Technology Co ltd filed Critical Jiangsu Seuic Technology Co ltd
Priority to CN202111195094.9A priority Critical patent/CN113626008B/en
Publication of CN113626008A publication Critical patent/CN113626008A/en
Application granted granted Critical
Publication of CN113626008B publication Critical patent/CN113626008B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design

Abstract

The invention discloses a system, a method and equipment for physical equipment adaptation based on hybrid development and application. The system comprises a mixed development application, an SDK plug-in and a service application; the SDK plug-in comprises a transcoding module and an adapting module; the transcoding module is connected with the mixed development application and is used for transcoding the function request of the mixed development application to form native request information; the adaptation module is connected with the transcoding module and is used for adapting the original request information to form service adaptation request information; the service application is connected with the adaptation module and used for calling the physical equipment according to the service adaptation request information. The code repeated development process of the SDK plug-ins corresponding to different mixed development applications can be reduced, and the development cost of the SDK plug-ins corresponding to different mixed development applications is saved. Meanwhile, the safety of the SDK plug-in and the universality of the SDK plug-in are improved. And improves the code robustness and ease of repair of service applications.

Description

System, method and device for physical device adaptation based on hybrid development application
Technical Field
The embodiment of the invention relates to the technical field of application adaptation, in particular to a system, a method and equipment for physical equipment adaptation based on hybrid development and application.
Background
Many functions in the Android system are applied to the use process, and not only are function development required to realize interface display, but also physical equipment is required to be called to participate in the interface display. Typically, the interfaces of physical devices are written based on the Java language. Many functional applications in the Android system can be developed in multiple development modes, for example, multiple development modes are formed by mixing various development modes. At this time, the development mode of the functional application easily causes the problem that the interfaces of the functional application and the physical device are incompatible, and the difficulty of safely and reliably calling the physical device is increased.
In the prior art, part of the functional applications and the physical devices which are developed in a mixed manner can be adapted by calling a Software Development Kit (SDK) plug-in which is developed in a mixed manner, the SDK plug-in is integrated in a client project, and the physical devices are called by the SDK plug-in. Because the SDK plug-in is integrated in the client project, developers cannot repair the SDK plug-in when the SDK plug-in has problems, and cannot upgrade the SDK plug-in. Moreover, the client can directly contact the functional program in the SDK plug-in, so that the functional program in the SDK plug-in is easily tampered by the client, and the safety of the SDK plug-in is reduced. In addition, each function application of the hybrid development mode needs to correspond to one SDK plug-in separately, that is, the function application with different hybrid development modes needs to be repeatedly developed when calling the physical device, so that the development cost of the SDK plug-in is relatively high. Meanwhile, when the physical device has a special function and needs special permission to be opened, the SDK plug-in is difficult to meet.
Disclosure of Invention
Embodiments of the present invention provide a system, a method, and a device for physical device adaptation based on hybrid development and application, so as to reduce the development cost of an SDK plug-in and ensure the security of the SDK plug-in.
In a first aspect, an embodiment of the present invention provides a system for physical device adaptation based on hybrid development application, including the hybrid development application, an SDK plug-in, and a service application;
the SDK plug-in comprises a transcoding module and an adapting module; the transcoding module is connected with the mixed development application and is used for transcoding the function request of the mixed development application to form native request information; the adaptation module is connected with the transcoding module and is used for adapting the native request information to form service adaptation request information; the service application is connected with the adaptation module and used for calling the physical equipment according to the service adaptation request information.
Optionally, the transcoding module and the adaptation module are communicatively connected.
Optionally, the service application comprises a permission check module;
the permission checking module is connected with the adapting module and is used for initiating permission check to the server according to the service adapting request information and authorizing the permission after the permission check is passed.
Optionally, the service application is further configured to return a function request processing result to the adaptation module.
Optionally, the function request processing result includes result information and result analysis information; and the transcoding module is also used for carrying out interception response according to the function request processing result and outputting the result information to the hybrid development application.
In a second aspect, an embodiment of the present invention further provides a method for adapting a physical device based on a hybrid development application, which is performed by using the system for adapting a physical device based on a hybrid development application provided in the first aspect, and includes:
the transcoding module of the SDK plug-in transcodes the function request of the hybrid development application to form native request information;
the adaptation module of the SDK plug-in adapts the native request information to form service adaptation request information;
and the service application calls the physical equipment according to the service adaptation request information.
Optionally, the service application comprises a permission check module; before the service application calls the physical device according to the service adaptation request information, the method further comprises the following steps:
and the permission checking module initiates permission check to the server according to the service adaptation request information and authorizes the permission after the permission check is passed.
Optionally, after the service application invokes the physical device according to the service adaptation request information, the method further includes:
and the service application returns a function request processing result to the adaptation module.
Optionally, the function request processing result includes result information and result analysis information; after the service application returns the function request processing result to the adaptation module, the method further includes:
and the transcoding module carries out interception response according to the function request processing result and outputs the result information to the hybrid development application.
In a third aspect, an embodiment of the present invention further provides a terminal device, including the system for physical device adaptation based on hybrid development application provided in the first aspect.
According to the technical scheme of the embodiment of the invention, the SDK plug-in unit is arranged to comprise a transcoding module and an adaptation module, and the transcoding module transcodes the function request of the hybrid development application to form the original request information; the adaptation module is used for adapting the original request information to form service adaptation request information, and the service application calls the physical equipment according to the service adaptation request information. When the mixed development mode of the mixed development application changes, the transcoding module can be adaptively modified according to the mixed development mode, so that the transcoding module transcodes all the function requests sent by the mixed development applications corresponding to different mixed development modes into the native request information, the native request information output by different transcoding modules has the same format, and the adaptation module adapts the native request information, so that the mixed development application and the service application can be connected through the SDK plug-in without modifying the codes of the adaptation module and the service application only by adaptively modifying the transcoding module when the mixed development mode of the mixed development application changes, the repeated code development process of the SDK plug-in corresponding to different mixed development applications is reduced, and the development cost of the SDK plug-in corresponding to different mixed development applications is saved. In addition, the service application is separated from the SDK plug-in, so that the SDK plug-in only has data interaction, the service processing function in the SDK plug-in is avoided, a client can be prevented from tampering a function program in the SDK plug-in, and the safety of the SDK plug-in is ensured. Meanwhile, the application of special permission through the SDK plug-in can be avoided when the physical equipment has special functions, and the universality of the SDK plug-in is improved. Moreover, function adjustment and bug repair can be completed by modifying the service application, and the code robustness and the repairability of the service application are improved.
Drawings
Fig. 1 is a schematic structural diagram of a system for physical device adaptation based on hybrid development application according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of another system for physical device adaptation based on hybrid development application according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for physical device adaptation based on hybrid development application according to an embodiment of the present invention;
fig. 4 is a flowchart of another method for physical device adaptation based on hybrid development application according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Fig. 1 is a schematic structural diagram of a system for physical device adaptation based on a hybrid development application according to an embodiment of the present invention, as shown in fig. 1, the system includes a hybrid development application 110, an SDK plug-in 120, and a service application 130; the SDK plug-in 120 includes a transcoding module 121 and an adaptation module 122; the transcoding module 121 is connected to the hybrid development application 110, and the transcoding module 121 is configured to transcode the function request of the hybrid development application 110 to form native request information; the adaptation module 122 is connected to the transcoding module 121, and the adaptation module 122 is configured to adapt to the native request information to form service adaptation request information; the service application 130 is connected to the adaptation module 122, and the service application 130 is configured to invoke the physical device according to the service adaptation request information.
Specifically, the hybrid development application 110 may be a mixed-mode mobile application (hybrid app), which is a hybrid development of a web page language and a program language. Different hybrid development applications 110 have multiple hybrid development forms, with different hybrid development forms corresponding to different language hybrid forms. When the hybrid development forms of the hybrid development application 110 are different, the hybrid development application 110 is connected with other applications through the adapted SDK plug-in 120 to ensure the communication connection of the hybrid development application 110 with other applications. The service application 130 may be installed in a physical device, and when the hybrid development application 110 calls the physical device, the hybrid development application 110 is in communication connection with the service application 130 through the SDK plug-in 120, and a request for the hybrid development application 110 to call the physical device is processed through the service application 130, so that a process that the hybrid development application 110 calls the physical device is realized. The SDK plug-in 120 includes a transcoding module 121 and an adaptation module 122, and when the hybrid development Application 110 calls a physical device, the hybrid development Application 110 calls an Application Programming Interface (API) of the transcoding module 121, transmits a function request sent by the hybrid development Application 110 to the transcoding module 121, and implements data interaction between the hybrid development Application 110 and the transcoding module 121. The transcoding module 121 has a program adapted to the hybrid development application 110, and can intercept and transcode the function request to form native request information. The native request information is in a native format, which is beneficial to realizing data interaction between the adaptation module 122 and the transcoding module 121. Illustratively, the native request information may be in a native class format. The original request information is transmitted to the adaptation module 122, and the adaptation module 122 adapts the original request information to form service adaptation request information. The format of the service adaptation request information matches the format of the service application 130, facilitating data interaction between the service application 130 and the adaptation module 122. The adaptation module 122 may be connected to the service application 130 through Inter-Process Communication (IPC) or Inter-Process Communication (IPC), the service adaptation request information formed by the adaptation module 122 is transmitted to the service application 130, and the service application 130 performs service processing according to the service adaptation request information to implement invocation of the physical device.
In the above process, when the hybrid development mode of the hybrid development application 110 changes, the transcoding module 121 may be adaptively modified according to the hybrid development mode, so that the transcoding module 121 transcodes all the function requests sent by the hybrid development applications 110 corresponding to different hybrid development modes into the native request information, the native request information output by different transcoding modules 121 has the same format, the adaptation module 122 adapts the native request information, therefore, when the mixed development mode of the mixed development application 110 is changed, only the transcoding module 121 needs to be adaptively modified, the SDK plug-in 120 can be used for connecting the hybrid development application 110 and the service application 130 without modifying the codes of the adaptation module 122 and the service application 130, so that the repeated code development process of the SDK plug-in 120 corresponding to different hybrid development applications 110 is reduced, and the development cost of the SDK plug-in 120 corresponding to different hybrid development applications 110 is saved. In addition, the service application 130 is separated from the SDK plug-in 120, so that the SDK plug-in 120 only has a data interaction function, and a service processing function set in the SDK plug-in 120 is avoided, so that a client can be prevented from tampering a function program in the SDK plug-in 120, and the security of the SDK plug-in 120 is ensured. Meanwhile, the application of special permission through the SDK plug-in 120 when the physical device has special functions can be avoided, and the universality of the SDK plug-in 120 is improved. Moreover, function adjustment and bug repair can be completed by modifying the service application 130, and the code robustness and the repairability of the service application 130 are improved.
With continued reference to fig. 1, the transcoding module 121 and the adaptation module 122 are in communication connection, at this time, the transcoding module 121 and the adaptation module 122 may be separated in a code level structure, and when the hybrid development mode of the hybrid development application 110 changes, data interaction between the SDK plug-in 120 and the hybrid development application 110 and the service application 130 may be realized only by modifying codes in the transcoding module 121, so that a code repeated development process of the SDK plug-in 120 corresponding to different hybrid development applications 110 is reduced, and development costs of the SDK plug-ins 120 corresponding to different hybrid development applications 110 are saved.
Fig. 2 is a schematic structural diagram of another system for physical device adaptation based on hybrid development application according to an embodiment of the present invention, and as shown in fig. 2, the service application 130 includes a permission checking module 131; the permission checking module 131 is connected to the adapting module 122, and the permission checking module 131 is configured to initiate permission checking to the server according to the service adapting request information, and perform permission authorization after the permission checking is passed.
Specifically, after the permission checking module 131 and the data checking module 132 obtain the service adaptation request information, a permission query is initiated to the server, and the server records the device information with permission and the specific permission range. The permission checking module 131 may query whether the device information included in the service adaptation request information is recorded in the server, and when the device information included in the service adaptation request information is recorded in the server, it indicates that the hybrid development function 110 has the function request permission, and at this time, through permission checking, the service application 130 executes the service adaptation request information to perform service processing, so that the probability of capturing and tampering the service adaptation request information by other applications may be further reduced through the permission checking module 131, the security of the service application 130 is improved, and the security of a system adapted to a physical device of the hybrid development application is improved.
It should be noted that the check rule of the permission check module 131 may be modified as needed, and is not limited herein. When the authority check module 131 does not pass the authority check, the service application 130 does not perform the service process.
With continued reference to fig. 2, the service application 130 may further include a data checking module 132, before the service application 130 performs service processing, the data checking module 132 may perform integrity checking on data in the service adaptation request information, when the data in the service adaptation request information is complete, the data checking of the service adaptation request information is passed, the service application 130 starts to perform service processing on the service adaptation request information, so as to ensure accuracy of the service adaptation request information, and at the same time, the probability that other applications capture and tamper the service adaptation request information may be reduced, so that the security of the service application 130 is improved, and the security of a system adapted to the physical device of the hybrid development application is improved.
In other embodiments, the service application 130 may further include a version update module that may add data encryption and decryption rules and a data collection module that may add data collection analysis. By providing the version update module and the data collection module, the service application 130 can be adjusted as needed, and the practicability and repairability of the service application 130 are improved.
With continued reference to fig. 2, the service application 130 is also configured to return the function request processing result to the adaptation module 122.
Specifically, the communication between the hybrid development application 110 and the SDK plug-in 120, and the communication between the service application 130 and the SDK plug-in 120 may both be bidirectional communication. After the service application 130 finishes processing the service, a function request processing result may be formed and returned to the hybrid development application 110 through the SDK plug-in 120, so that a user of the hybrid development application 110 can determine a processing state of the function request according to the returned function request processing result. For example, the function request processing result may be "success" or "failure", and the user of the hybrid development application 110 determines whether the function request is successful according to the function request processing result.
Preferably, the function request processing result includes result information and result analysis information; the transcoding module 121 is further configured to perform an interception response according to the function request processing result, and output result information to the hybrid development application 110.
Specifically, the function request processing result may include result analysis information, and the result analysis information may characterize a cause of generating the result information. Illustratively, when the result information is "failure", the result analysis information may display the reason analysis of the failure. The result information and the result analysis information may be transmitted to the adaptation module 122 of the SDK plug-in 120, and the adaptation module 122 parses the result information and the result analysis information, transmits the result information to the transcoding module 121, and stores the result analysis information. When the service application needs maintenance, maintenance personnel can perform maintenance according to the result analysis information, so that the maintenance direction of the maintenance personnel is clear, and the maintenance difficulty of the maintenance personnel is reduced. The data format of the result information is native, after the transcoding module 121 intercepts the result information, the format of the result information can be converted into a data format corresponding to the hybrid development application 110, and then the result information is transmitted to the hybrid development application 110 through data interaction, so that result feedback of the function request is realized.
Fig. 3 is a flowchart of a method for adapting a physical device based on a hybrid development application according to an embodiment of the present invention, where the embodiment is applicable to a case where the hybrid development application calls the physical device for adaptation, the method may be executed by a system for adapting a physical device based on a hybrid development application, the system may be implemented in a software and/or hardware manner, and the system may be configured in an electronic device, for example, a terminal device, where a typical terminal device includes a mobile terminal, and specifically includes a mobile phone, a computer, or a tablet computer. As shown in fig. 3, the method may specifically include:
s10, transcoding the function request of the mixed development application by the transcoding module of the SDK plug-in to form original request information;
s20, the adaptation module of the SDK plug-in adapts the original request information to form service adaptation request information;
and S30, the service application calls the physical equipment according to the service adaptation request information.
According to the technical scheme of the embodiment, when the mixed development mode of the mixed development application is changed, the transcoding module can be adaptively modified according to the mixed development mode, so that the transcoding module transcodes the function requests sent by the mixed development applications corresponding to different mixed development modes into the original request information, the formats of the original request information output by different transcoding modules are the same, the adaptation module adapts the original request information, therefore, when the mixed development mode of the mixed development application is changed, only the transcoding module needs to be adaptively modified, the method can realize the connection of the hybrid development application and the service application through the SDK plug-in without modifying the codes of the adaptation module and the service application, reduce the code repeated development process of the SDK plug-in corresponding to different hybrid development applications, and save the development cost of the SDK plug-in corresponding to different hybrid development applications. In addition, the service application is separated from the SDK plug-in, so that the SDK plug-in only has data interaction, the service processing function in the SDK plug-in is avoided, a client can be prevented from tampering a function program in the SDK plug-in, and the safety of the SDK plug-in is ensured. Meanwhile, the application of special permission through the SDK plug-in can be avoided when the physical equipment has special functions, and the universality of the SDK plug-in is improved. Moreover, function adjustment and bug repair can be completed by modifying the service application, and the code robustness and the repairability of the service application are improved.
When the service application comprises the permission check module, the embodiment further optimizes the method for adapting the physical device based on the hybrid development application on the basis of the embodiment. Before the service application calls the physical device according to the service adaptation request information, the method further comprises the following steps:
and the permission checking module initiates permission check to the server according to the service adaptation request information and authorizes the permission after the permission check is passed.
The permission checking module is arranged to carry out permission checking on the service adaptation request information, permission authorization is carried out after the checking is passed, and the service application executes the service adaptation request information to carry out service processing, so that the probability of other applications capturing and tampering the service adaptation request information is further reduced through the permission checking module, the safety of the service application is improved, and the safety of a system for physical device adaptation of hybrid development application is improved.
After the service application calls the physical device according to the service adaptation request information, the method further comprises the following steps:
the service application returns the function request processing result to the adaptation module.
When the function request processing result comprises result information and result analysis information; after the service application returns the function request processing result to the adaptation module, the method further comprises the following steps:
and the transcoding module carries out interception response according to the function request processing result and outputs result information to the hybrid development application.
Fig. 4 is a flowchart of another method for adapting a physical device based on a hybrid development application according to an embodiment of the present invention, where as shown in fig. 4, a user initiates a function request through the hybrid development application, the function request invokes an API of an SDK plug-in to transmit to a transcoding module of the SDK plug-in, the transcoding module intercepts and analyzes the function request, transcodes the function request into native request information, transmits the native request information to an adaptation module, and the adaptation module analyzes the native request information. And when the native request information analyzed by the adaptation module is abnormal, directly returning to the transcoding module, intercepting the response by the transcoding module, returning to the mixed development application, processing the data returned by the response by the mixed development application, and informing the user. When the original request information analyzed by the adaptation module is normal, the original request information is converted into a format corresponding to the service application to form service adaptation request information, and the service adaptation request information is transmitted to the service application through IPC. And the service application initiates authority verification to the server according to the service adaptation request information, and when the verification fails, the service application does not process the service of the service request information and directly returns a function request processing result to the adaptation module through the IPC. And when the verification is passed, the service application performs service processing on the service request information, forms a function request processing result after the service processing, and returns the function request processing result to the adaptation module through the IPC. The function request processing result comprises result information and result analysis information. When the service application needs maintenance, maintenance personnel can perform maintenance according to the result analysis information, so that the maintenance direction of the maintenance personnel is clear, and the maintenance difficulty of the maintenance personnel is reduced. And then the adaptation module converts the data format of the result information into a native format and transmits the native format to the transcoding module, the transcoding module intercepts and responds the result information, the format of the result information is converted into a data format corresponding to the hybrid development application, and then the hybrid development application processes the data returned by the response and informs a user, so that the adaptation of the physical equipment is realized.
The embodiment of the invention also provides terminal equipment, and the terminal equipment comprises the system for adapting the physical equipment based on the hybrid development application provided by any embodiment of the invention. Since the terminal device includes the system for physical device adaptation based on the hybrid development application, the terminal device has the same beneficial effects as the system for physical device adaptation based on the hybrid development application, and details are not repeated here.
Fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention. Fig. 5 illustrates a block diagram of an exemplary terminal device 412 suitable for use in implementing embodiments of the present invention. The terminal device 412 shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 5, the terminal device 412 is represented in the form of a general-purpose device. The components of the terminal device 412 may include, but are not limited to: one or more processors 416, a storage device 428, and a bus 418 that couples the various system components including the storage device 428 and the processors 416.
Bus 418 represents one or more of any of several types of bus structures, including a memory device bus or memory device controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Terminal device 412 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by terminal device 412 and includes both volatile and nonvolatile media, removable and non-removable media.
Storage 428 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 430 and/or cache Memory 432. The terminal device 412 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 434 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk such as a Compact disk Read-Only Memory (CD-ROM), Digital Video disk Read-Only Memory (DVD-ROM) or other optical media may be provided. In these cases, each drive may be connected to bus 418 by one or more data media interfaces. Storage 428 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 440 having a set (at least one) of program modules 442 may be stored, for instance, in storage 428, such program modules 442 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. The program modules 442 generally perform the functions and/or methodologies of the described embodiments of the invention.
The terminal device 412 may also communicate with one or more external devices 414 (e.g., keyboard, pointing terminal, display 424, etc.), with one or more terminals that enable a user to interact with the terminal device 412, and/or with any terminals (e.g., network card, modem, etc.) that enable the terminal device 412 to communicate with one or more other computing terminals. Such communication may occur via input/output (I/O) interfaces 422. Also, the terminal device 412 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public Network, such as the internet) via the Network adapter 420. As shown in fig. 5, the network adapter 420 communicates with the other modules of the terminal device 412 over the bus 418. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the terminal device 412, including but not limited to: microcode, end drives, Redundant processors, external disk drive Arrays, RAID (Redundant Arrays of Independent Disks) systems, tape drives, and data backup storage systems, among others.
The processor 416 executes various hybrid development applications and data processing by running programs stored in the storage 428, for example, implementing a method for physical device adaptation based on hybrid development applications provided by the embodiment of the present invention, the method including:
the transcoding module of the SDK plug-in transcodes the function request of the hybrid development application to form native request information;
the adaptation module of the SDK plug-in adapts the original request information to form service adaptation request information;
and the service application calls the physical equipment according to the service adaptation request information.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A physical equipment adaptation system based on hybrid development application is characterized by comprising the hybrid development application, an SDK plug-in and a service application;
the SDK plug-in comprises a transcoding module and an adapting module; the transcoding module is connected with the mixed development application and is used for transcoding the function request of the mixed development application to form native request information; the adaptation module is connected with the transcoding module and is used for adapting the native request information to form service adaptation request information; the service application is connected with the adaptation module and used for calling the physical equipment according to the service adaptation request information.
2. The system for physical device adaptation based on a hybrid development application of claim 1, wherein the transcoding module and the adaptation module are communicatively coupled.
3. The system for physical device adaptation based on hybrid development application of claim 1, wherein the service application comprises an entitlement check module;
the permission checking module is connected with the adapting module and is used for initiating permission check to the server according to the service adapting request information and authorizing the permission after the permission check is passed.
4. The system for physical device adaptation based on hybrid development application according to claim 1, wherein the service application is further configured to return a function request processing result to the adaptation module.
5. The system for physical device adaptation based on hybrid development application according to claim 4, wherein the function request processing result comprises result information and result analysis information; and the transcoding module is also used for carrying out interception response according to the function request processing result and outputting the result information to the hybrid development application.
6. A method for physical device adaptation based on hybrid development application, which is performed by the system for physical device adaptation based on hybrid development application according to any one of claims 1 to 5, and which comprises:
the transcoding module of the SDK plug-in transcodes the function request of the hybrid development application to form native request information;
the adaptation module of the SDK plug-in adapts the native request information to form service adaptation request information;
and the service application calls the physical equipment according to the service adaptation request information.
7. The method for physical device adaptation based on hybrid development application according to claim 6, wherein the service application comprises an entitlement check module; before the service application calls the physical device according to the service adaptation request information, the method further comprises the following steps:
and the permission checking module initiates permission check to the server according to the service adaptation request information and authorizes the permission after the permission check is passed.
8. The method for adapting physical devices based on hybrid development application according to claim 6, wherein after the service application calls the physical devices according to the service adaptation request information, the method further comprises:
and the service application returns a function request processing result to the adaptation module.
9. The method for physical device adaptation based on hybrid development application according to claim 6, wherein the function request processing result comprises result information and result analysis information; after the service application returns the function request processing result to the adaptation module, the method further includes:
and the transcoding module carries out interception response according to the function request processing result and outputs the result information to the hybrid development application.
10. A terminal device, characterized in that it comprises a system for physical device adaptation based on hybrid development applications according to any of claims 1 to 5.
CN202111195094.9A 2021-10-14 2021-10-14 System, method and device for physical device adaptation based on hybrid development application Active CN113626008B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111195094.9A CN113626008B (en) 2021-10-14 2021-10-14 System, method and device for physical device adaptation based on hybrid development application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111195094.9A CN113626008B (en) 2021-10-14 2021-10-14 System, method and device for physical device adaptation based on hybrid development application

Publications (2)

Publication Number Publication Date
CN113626008A true CN113626008A (en) 2021-11-09
CN113626008B CN113626008B (en) 2022-03-15

Family

ID=78391293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111195094.9A Active CN113626008B (en) 2021-10-14 2021-10-14 System, method and device for physical device adaptation based on hybrid development application

Country Status (1)

Country Link
CN (1) CN113626008B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060101160A1 (en) * 2004-06-23 2006-05-11 Nokia Corporation Methods, systems and computer program products for expressing classes of adaptation and classes of content in media transcoding
CN104636139A (en) * 2015-01-26 2015-05-20 北京邮电大学 Visualized cross-platform mobile application development and generation system
CN110874236A (en) * 2019-11-13 2020-03-10 中国建设银行股份有限公司 Cross-platform application device, terminal and storage medium
CN111142910A (en) * 2019-12-27 2020-05-12 郑州信大捷安信息技术股份有限公司 Multi-interface-oriented resource allocation processing method and system
CN112256325A (en) * 2020-10-14 2021-01-22 北京康惠达科技有限公司 Interface data adaptation method, equipment, server and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060101160A1 (en) * 2004-06-23 2006-05-11 Nokia Corporation Methods, systems and computer program products for expressing classes of adaptation and classes of content in media transcoding
CN104636139A (en) * 2015-01-26 2015-05-20 北京邮电大学 Visualized cross-platform mobile application development and generation system
CN110874236A (en) * 2019-11-13 2020-03-10 中国建设银行股份有限公司 Cross-platform application device, terminal and storage medium
CN111142910A (en) * 2019-12-27 2020-05-12 郑州信大捷安信息技术股份有限公司 Multi-interface-oriented resource allocation processing method and system
CN112256325A (en) * 2020-10-14 2021-01-22 北京康惠达科技有限公司 Interface data adaptation method, equipment, server and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王向前: "《长江融合媒体平台设计与实施》", 《广播与电视技术》 *

Also Published As

Publication number Publication date
CN113626008B (en) 2022-03-15

Similar Documents

Publication Publication Date Title
CN110515678B (en) Information processing method, equipment and computer storage medium
US20040059735A1 (en) Systems and methods for enabling failover in a distributed-object computing environment
CN111290806B (en) Calling method and device of application program interface, computer equipment and storage medium
US7350067B2 (en) Bios security management
CN101201884A (en) Software component, software component management method, and software component management system
CN110602043A (en) API gateway implementation system and method for mobile application
CN113626008B (en) System, method and device for physical device adaptation based on hybrid development application
WO2019217649A2 (en) Method and system for improved data control and access
US20120304264A1 (en) Key protecting method and a computing apparatus
US8332834B2 (en) Generation of a program code in a load format and provision of an executable program code
US20050080659A1 (en) Server including an encoded data converter apparatus
US20050179938A1 (en) Network terminal system
CN114675989A (en) Data verification method and device, electronic equipment and storage medium
CN112966277A (en) Webpage protection method and device, computer equipment and storage medium
CN111666581A (en) Data protection method, device, equipment and medium
WO2000034871A1 (en) Computer, recorded medium on which address validity checking program is recorded, and address validity checking method
WO2023221001A1 (en) Web application program access method and apparatus
CN114710338B (en) MITM-based interactive hijacking method, device, electronic equipment and medium
TWI691859B (en) System for identifying according to instruction to execute service and method thereof
CN113067706B (en) Service identification system and method, storage medium, and electronic device
CN110881182B (en) Terminal and intelligent Bluetooth lock verification method, bluetooth lock and storage medium
CN116302808A (en) Method, device, equipment and storage medium for capturing and processing abnormal information
CN116089956A (en) Virtual test system and method based on TEE
CN117874808A (en) Office method and system based on safe USB flash disk
CN115795412A (en) Software activation method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: No.15 Xinghuo Road, Jiangbei new district, Nanjing, Jiangsu Province, 210031

Applicant after: Dongji Technology Co.,Ltd.

Address before: No.15 Xinghuo Road, Jiangbei new district, Nanjing, Jiangsu Province, 210031

Applicant before: JIANGSU SEUIC TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant