CN112835581A - Terminal capability calling method, device, equipment and storage medium - Google Patents

Terminal capability calling method, device, equipment and storage medium Download PDF

Info

Publication number
CN112835581A
CN112835581A CN202110260746.6A CN202110260746A CN112835581A CN 112835581 A CN112835581 A CN 112835581A CN 202110260746 A CN202110260746 A CN 202110260746A CN 112835581 A CN112835581 A CN 112835581A
Authority
CN
China
Prior art keywords
capability
service
instruction
calling
rendering
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.)
Pending
Application number
CN202110260746.6A
Other languages
Chinese (zh)
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.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202110260746.6A priority Critical patent/CN112835581A/en
Publication of CN112835581A publication Critical patent/CN112835581A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/10Geometric effects
    • G06T15/20Perspective computation
    • G06T15/205Image-based rendering

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computing Systems (AREA)
  • Geometry (AREA)
  • Computer Graphics (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides a method, a device, equipment and a storage medium for calling end capability, and relates to the technical field of computers such as intelligent equipment, cloud service and rendering. The specific implementation scheme is as follows: receiving an end capability calling instruction from a rendering module, wherein the end capability calling instruction is used for calling the service capability of the equipment end; and sending the terminal capacity calling instruction to an equipment end system service to indicate the equipment end system service to call the service capacity corresponding to the terminal capacity calling instruction. The embodiment of the disclosure calls the corresponding service capability based on the call instruction from the rendering module, supports the call of the terminal capability when the device terminal performs rendering, and can show rich rendering effect.

Description

Terminal capability calling method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technology, and in particular, to the field of smart devices, cloud services, and rendering.
Background
In the related art, the rendering process mainly includes compiling a file to be rendered and converting the file into a result visible to a user. The file can be compiled at the cloud end, and the compiled code is sent to the equipment end to display the rendering effect. In the process, a large amount of data needs to be transmitted between the cloud end and the equipment end, and the rendering effect is influenced by the network, the transmission speed, the data loss and other factors. The amount of calculation required for rendering at the device side is large, and the rendering effect may also be affected.
Disclosure of Invention
The disclosure provides a method, a device, equipment and a storage medium for calling end capability.
According to an aspect of the present disclosure, there is provided an end capability calling method, including: receiving an end capability calling instruction from a rendering module, wherein the end capability calling instruction is used for calling the service capability of the equipment end; and sending the terminal capacity calling instruction to an equipment end system service to indicate the equipment end system service to call the service capacity corresponding to the terminal capacity calling instruction.
According to another aspect of the present disclosure, there is provided an end capability calling apparatus including: the device comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving an end capability calling instruction from a rendering module, and the end capability calling instruction is used for calling the service capability of the device end; and the sending unit is used for sending the terminal capacity calling instruction to the equipment end system service so as to indicate the equipment end system service to call the service capacity corresponding to the terminal capacity calling instruction.
According to another aspect of the present disclosure, there is provided an electronic device including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method according to any one of the embodiments of the present disclosure.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform a method in any of the embodiments of the present disclosure.
According to another aspect of the present disclosure, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the method in any of the embodiments of the present disclosure.
According to the technology disclosed by the invention, the corresponding service capability is called based on the calling instruction from the rendering module, the calling of the terminal capability is supported when the equipment terminal performs rendering, and rich rendering effect can be displayed.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 is a flow diagram of a method of end capability invocation according to an embodiment of the present disclosure;
FIG. 2 is a flow diagram of a method of end capability invocation according to another embodiment of the present disclosure;
FIG. 3 is a block diagram of an end capability calling device according to an embodiment of the present disclosure;
FIG. 4 is a block diagram of an end capability invocation device, in accordance with another embodiment of the present disclosure;
fig. 5 is a schematic diagram of an ACE system disposed in a smart device according to an embodiment of the disclosure;
FIG. 6 is a schematic diagram of a relationship of an end capability module to system services according to an embodiment of the present disclosure;
FIG. 7 is a flowchart diagram of an example of a caller capability of an embodiment of the present disclosure;
FIG. 8 is a schematic block diagram of an example electronic device used to implement embodiments of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a flowchart illustrating a method for calling end capability according to an embodiment of the disclosure. The method can comprise the following steps:
s101, receiving an end capability calling instruction from a rendering module, wherein the end capability calling instruction is used for calling the service capability of the equipment end;
and S102, sending the terminal capacity calling instruction to an equipment end system service to indicate the equipment end system service to call the service capacity corresponding to the terminal capacity calling instruction.
Illustratively, the device side may include a smart device capable of displaying. For example, various voice smart devices with screens. The operating system of the device side can comprise a container engine system, and the system can comprise a cross-process processing module, a rendering module, a container module, a device side capability module and the like. The communication module of the system may be referred to as a cross-process processing module, which is capable of communicating with the client. The container module may acquire multiple types of container engines. Such as a Page (Page) container engine, Dialog box (Dialog) container engine, applet (Mini App) container engine, etc. The container engine may provide a script execution environment, and the like. The container engine may also be referred to as an application container engine, application container, container instance, application container instance, engine instance, container, engine, and the like. The client may include an application, an applet, and the like. The client may include therein a communication module, a set of description information of the component, and the like. The device side may include a communication module, a rendering module, a container module, and the like. The device side capability module may provide various side capabilities (also referred to as skills) that support various calling side capabilities by the device side during rendering. The method of the embodiment may be used in a container engine system, for example, may be specifically applied in a device side capability module.
If the rendering module receives rendered data (otherwise referred to as prerendered data), it may determine whether a certain end capability or capabilities of the device end need to be invoked based on the rendered data. If the rendering module receives the script (e.g., JavaScript, JS for short), the script may be executed to obtain rendered data, and then it is determined whether to call one or more end capabilities of the device end based on the rendered data.
Various end capabilities may be supported in the device-end system services, such as microphone, speaker, camera, face recognition, voice recognition, gesture recognition, gaze recognition, cloud services, and so forth. For example, if music needs to be played when a certain website page is rendered, a call instruction may be sent to the speaker. As another example, if a camera needs to be turned on when a certain applet is rendered, a call instruction may be sent to the camera. For another example, if it is required to implement face recognition when a dialog box is rendered, a call instruction may be sent to the face recognition service.
The embodiment calls the corresponding service capability based on the call instruction from the rendering module, supports the call of the terminal capability when the device terminal performs rendering, and can show rich rendering effect.
Fig. 2 is a flowchart illustrating a method for end capability calling according to another embodiment of the disclosure. The method of this embodiment may include the steps of the embodiments described above. In one embodiment, the method further comprises:
s201, based on the service capability called by the terminal capability calling instruction, returning rendered data corresponding to the service capability to the rendering module;
the rendered data corresponding to the service capability is used for obtaining a container engine of the service capability, constructing a container view of the service capability by using the container engine of the service capability, and generating a display page of the service capability.
Illustratively, if the device-side capability module has a specific rendering effect based on the service capability of the device side called by the end capability calling instruction, at least one of a script, a rendering instruction, rendered data, and the like corresponding to the called service capability of the device side may be returned to the rendering module. The rendering module can perform corresponding processing on the received information and then send the processed information to the container module. The method further includes obtaining, by the container module, a container engine of the invoked service capability based on the rendered data, building a container view of the invoked service capability with the container engine, and generating a display page of the invoked service capability. For example, the rendering effect of the call command to open the microphone may include an animation with a partial display of the microphone image, and the device-side capability module may send rendered data corresponding to the animation to the rendering module. The rendering module may retrieve a container engine, such as a dialog container engine, required for the animation. In the dialog box container engine, a container view can be constructed based on view information in the rendered data, and executable code of the component can be run based on the component information to obtain a display page.
According to the embodiment, the container engine of the equipment end can be utilized, the rendering effect corresponding to the capacity of the equipment end is displayed, the resource utilization rate is improved, and the rich rendering effect is displayed.
In one embodiment, the end capability calling instruction is obtained by the rendering module running a script that the client needs to render, and/or is obtained by the rendering module from rendered data.
For example, the cross-process processing module may send a script to be rendered to the rendering module through the instruction processing module. The rendering module runs the script to obtain rendered data, and then obtains an end capability calling instruction from the rendered data.
For another example, the instruction processing module may parse the rendering instruction of the cloud to obtain rendered data, and then send the rendered data to the rendering module. Further, the rendering module obtains an end capability call instruction from the rendered data.
The method supports the calling of the opposite end capability in various scenes and can realize richer rendering effect.
In one embodiment, the method further comprises:
s202, reporting the state and/or the event of the called service capability to a cloud.
When the device end capability module calls the device end system service, the device end system service can execute corresponding operation according to the call instruction. The device end system service can report the state and/or event and the like after the called service capability executes corresponding operation to the cloud end through the device end capability module. For example, in response to a call instruction, the music player starts and plays music. The music player can return music playing records to the equipment end capacity module, and the music playing records are reported to the cloud end by the equipment end capacity module. This is beneficial to monitoring the specific state and/or event of the service capability of the device side at the cloud end.
In one embodiment, the service capability corresponding to the end capability calling instruction includes at least one of:
hardware capabilities, such as: microphone, speaker, camera, display, etc.
Intelligent services, such as: face recognition, voice recognition, gesture recognition, gaze recognition, and the like.
Cloud services, such as: downloading data from the cloud, reporting data to the cloud, and the like.
Fig. 3 is a block diagram of an end capability calling device according to an embodiment of the present disclosure. The apparatus may include:
a receiving unit 301, configured to receive an end capability calling instruction from a rendering module, where the end capability calling instruction is used to call a service capability of the device end;
a sending unit 302, configured to send the end capability calling instruction to an equipment end system service, so as to instruct the equipment end system service to call a service capability corresponding to the end capability calling instruction.
Fig. 4 is a block diagram of an end capability calling device according to another embodiment of the present disclosure. The apparatus of this embodiment may include the various components of the apparatus embodiments described above. In one embodiment, the apparatus further comprises:
a returning unit 401, configured to return rendered data corresponding to the service capability to the rendering module based on the service capability called by the end capability calling instruction;
the rendered data corresponding to the service capability is used for obtaining a container engine of the service capability, constructing a container view of the service capability by using the container engine of the service capability, and generating a display page of the service capability.
In one embodiment, the end capability calling instruction is obtained by the rendering module running a script that the client needs to render, and/or is obtained by the rendering module from rendered data.
In one embodiment, the apparatus further comprises:
a reporting unit 402, configured to report the state and/or the event of the called service capability to a cloud.
In one embodiment, the service capability corresponding to the end capability calling instruction includes at least one of:
hardware capabilities, such as: microphone, speaker, camera, display, etc.
Intelligent services, such as: face recognition, voice recognition, gesture recognition, gaze recognition, and the like.
Cloud services, such as: downloading data from the cloud, reporting data to the cloud, and the like.
The functions of each unit and sub-unit in each device in the embodiments of the present disclosure may refer to the corresponding description in the above method embodiments, and are not described herein again.
In one application example, a smart device with a screen such as: an Application Container Engine (ACE) system may be included in a voice smart device such as a smart speaker. The ACE system may be an embedded application system. As shown in fig. 5, the system mainly includes the following parts:
first, a client communication management module. For example, in the screen-based voice intelligent device in fig. 5, the client communication management module may be a cross-process rendering management module (which may also be referred to as a client rendering management module, a client management module, a cross-process management module, and the like, and is an example of a cross-process processing module in the foregoing method embodiment). The cross-process rendering management module may be in communication with a client.
Optionally, the ACE system may also include a client (which may be referred to as an ACE system client, client plug-in, client module, etc.). The ACE system client may be located in other applications that require dynamic rendering of content. For example, an ACE system client may be integrated in an installation package of an Application (APP) accessed by a third party, such as an APK, and the client may be installed or downloaded to a device for running. The client may interact with other modules through a cross-process rendering management module of the ACE system. The client may include a communication module (e.g., an instruction receiving end), a component set (a set of description information of a component), an instruction execution module (e.g., an instruction executor), and the like.
And a command parsing and distributing module (or called a command parsing and distributing subsystem, a protocol parsing and distributing subsystem, etc., which are examples of the command processing module in the above method embodiment) for parsing and distributing the command based on the system protocol. For example, the instruction transceiver service module may receive rendering instructions from a cloud (also referred to as a cloud service, etc.) or a client. After the instruction analysis and distribution module analyzes the rendering instruction to obtain rendered data, the rendered data can be distributed to the container module for processing. The instruction parsing and distributing module can also transparently transmit the rendered data to the container module through the rendering module.
For example, the cloud may compile content to be rendered into rendering instructions, and send the rendering instructions to the instruction transceiving service module of the device side. The instruction transceiving service module may be in communication with the cloud, and receive rendering instructions from the cloud. The rendering instruction can be compiled code, mainly comprises layout-related information and the like, and has a small data volume. And the instruction receiving and sending service module sends the rendering instruction from the cloud end to the instruction processing module. After receiving the rendering instruction, the instruction processing module may parse the rendering instruction to obtain rendered data. Therefore, the rendering effect is achieved between the cloud end and the equipment end through the rendering instruction, a large amount of data content does not need to be transmitted, and the required rendering effect can be achieved through the small amount of data transmitted through the rendering instruction. Similarly, the client may also implement the required rendering effect on the device side by transmitting a smaller amount of data through the rendering instruction.
And thirdly, a device side capability module (or called as a side capability module, a device side capability subsystem, a side capability subsystem and the like). During rendering, various capabilities (which may also be referred to as skills) on the device side may need to be invoked. The end capacity module can receive the end capacity calling instruction from the instruction analysis and distribution module and send the corresponding calling instruction to the equipment end system service module according to the end capacity calling instruction. For example, an instruction to turn on a microphone, an instruction to turn on a camera, and the like. The end capabilities may include a variety of capabilities such as hardware capabilities, smart services, and cloud services.
Further, if the service capability of the device end called by the device end capability module based on the end capability calling instruction has a specific rendering effect, at least one of the script, the rendering instruction, the rendered data and other information corresponding to the called service capability of the device end may be returned to the rendering module. The rendering module can perform corresponding processing on the received information and then send the processed information to the container module. The method further includes obtaining, by the container module, a container engine of the invoked service capability based on the rendered data, building a container view of the invoked service capability with the container engine, and generating a display page of the invoked service capability. For example, the rendering effect of the call instruction to open the microphone may include an animation with a partial display of the microphone image, and the device-side capability module may send rendered data corresponding to the animation to the rendering module. The rendering module may retrieve a container engine, such as a dialog container engine, required for the animation. In the dialog box container engine, a container view can be constructed based on view information in the rendered data, and executable code of the component can be run based on the component information to obtain a display page.
In addition, when the device-side capability module calls the device-side system service, the device-side system service may perform a corresponding operation according to the call instruction. The device end system service can report the state and/or event and the like after the called service capability executes corresponding operation to the cloud end through the device end capability module. For example, in response to a call instruction, the music player starts and plays music. The music player can return music playing records to the equipment end capacity module, and the music playing records are reported to the cloud end by the equipment end capacity module.
And the container module (or container subsystem) is used for managing various container engines. The container engine may include a page container engine, a dialog box container engine, an applet container engine, and the like. The container module may retrieve the required container engine based on rendered data from the rendering module, the instruction parsing distribution module, or the cross-process rendering management module. For example, if there is an already open page container engine, the page container engine may be used to build a container page. If there is no container engine already open, a new page container engine may be started, with which the container page is built. For another example, if there is an already open dialog container engine, the dialog container engine may be closed first, and a new dialog container engine may be started to build a container page based on the rendered data. If there is no dialog box container engine already open, a new dialog box container engine can be started directly. The new dialog container engine is used to build a container page. As another example, if there is an applet container engine that has already been opened, the applet container engine can be used to build a container page. If there is no already open applet container engine, a new applet container engine may be started, and the container page built using the new applet container engine.
After the container page is built by the container engine, executable codes of components required for rendering are loaded in the container page, and a display page capable of showing rendering effects on a screen of a device side is generated. Further, the display page may be presented on a screen of the device side.
And fifthly, a rendering module (or a rendering subsystem) is used for realizing screen rendering of the equipment.
The rendering module may execute the script to obtain rendered data or receive rendered data from the instruction parsing distribution module. The rendering module may then send the rendered data to the container module.
Additionally, the rendering module may parse from the rendered data to determine if a calling end capability is required. If the end capability needs to be called, a terminal capability calling instruction can be sent to the equipment end capability module so as to call the service capability of the equipment end. If the device side capability module returns rendered data corresponding to the service capability called based on the side capability calling instruction to the rendering module, the device side capability module can send the rendered data to the container module for processing.
Further, a set of components may be included in the ACE system. The component set of the ACE system may include a collection of executable code for each component. The client of the ACE system can also comprise a component set, and the component set of the client can comprise a set of description information of part of the custom components. The script to be rendered by the client may include an identifier of the container engine, container component information, description information of the component, and the like. If custom components need to be registered in the ACE system, the script that the client needs to render may include description information of the respective defined components. For example, the APP of a certain video website may include, in addition to various components and layouts of the APP, custom components for displaying rendering effects of "happy new year" and "happy mid-autumn".
In an example, the ACE system can be applied to a voice intelligent device with a screen, an efficient processing mode is provided for content display of system application and third-party application of the device, and the ACE system can improve expressive force of the voice intelligent device and achieve better user experience as a beneficial supplement of intelligent voice interaction.
The ACE system may provide services in a variety of communication modes: 1) a third party communication service based on a client plug-in; 2) cloud service communication based on a registration protocol; 3) and service communication based on the local system of the equipment side. The application container engine system distributes corresponding containers, organizes related contents in the containers through component sets and related instructions, and finishes rendering screen contents, thereby finishing the service target of each caller (caller). In addition, the ACE system may also manage the lifecycle of the corresponding service.
The ACE system can complete rendering in a voice intelligent device, and reduces the data volume needing to be transmitted with the outside, such as a cloud; the rendering processing speed and the display effect can be improved by multiplexing the containers.
As shown in fig. 6, the device side capability module (which may be referred to as a side capability integration module, a side capability integration application, a side capability integration subsystem, etc.) is a bridge between the system services and the application container engine on the device side. For example, the device hardware capability in the device side capability module may call a device hardware capability (e.g., an audio/video capability) provided by the device side in the device side system service, the smart device service may call an end smart service (e.g., face recognition, gesture recognition, etc.) in the device side system service, and the cloud service may call a cloud instruction transceiving service (e.g., a state of the device side, reporting and synchronizing of an event), etc. in the device side system service. The device hardware capability provided by the device side capability module can call an operating system interface in the device side system service to provide audio and video capability. The intelligent device service can call the end intelligent service in the device side system service to provide the audio and video capability. The end capability can be called through at least one of the cross-process rendering management module, the rendering module and the instruction analysis module, and a rendering instruction corresponding to the end capability can be generated, so that a rendering effect corresponding to the end capability is realized.
In one example, as shown in fig. 7, the flow of calling end capability may include: and determining the end capacity needing to call the gazing identification based on the script or rendered data obtained by analyzing the script. This step may be performed by native code, mapped to a command via an engine script function call. Requesting, by the page state encapsulation module, the display device, such as a duershwodevice, to set the gaze recognition state. The display device requests a smart device service, such as Launcher, to set a gaze recognition state through the cross-process interface.
The end capability module can be combined with other parts of the application container engine, so that the high-performance instant execution is maintained, the resource utilization rate is improved, the flow and steps called by a third party are simplified, and the development and the use of the lightweight application are facilitated.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 8 illustrates a schematic block diagram of an example electronic device 800 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 8, the electronic device 800 includes a computing unit 801 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM)802 or a computer program loaded from a storage unit 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic apparatus 800 can also be stored. The calculation unit 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
A number of components in the electronic device 800 are connected to the I/O interface 805, including: an input unit 806, such as a keyboard, a mouse, or the like; an output unit 807 such as various types of displays, speakers, and the like; a storage unit 808, such as a magnetic disk, optical disk, or the like; and a communication unit 809 such as a network card, modem, wireless communication transceiver, etc. The communication unit 809 allows the electronic device 800 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
Computing unit 801 may be a variety of general and/or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and the like. The calculation unit 801 executes the respective methods and processes described above, such as the end capability calling method. For example, in some embodiments, the end capability calling method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 808. In some embodiments, part or all of the computer program can be loaded and/or installed onto the electronic device 800 via the ROM 802 and/or the communication unit 809. When loaded into RAM 803 and executed by computing unit 801, a computer program may perform one or more of the steps of the end capability calling method described above. Alternatively, in other embodiments, the computing unit 801 may be configured to perform the end capability calling method in any other suitable manner (e.g., by way of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel or sequentially or in different orders, and are not limited herein as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (13)

1. An end capability calling method, comprising:
receiving an end capability calling instruction from a rendering module, wherein the end capability calling instruction is used for calling the service capability of the equipment end;
and sending the terminal capacity calling instruction to an equipment end system service to indicate the equipment end system service to call the service capacity corresponding to the terminal capacity calling instruction.
2. The method of claim 1, further comprising:
based on the service capability called by the terminal capability calling instruction, returning rendered data corresponding to the service capability to the rendering module;
the rendered data corresponding to the service capability is used for obtaining a container engine of the service capability, constructing a container view of the service capability by using the container engine of the service capability, and generating a display page of the service capability.
3. The method according to claim 2, wherein the end capability calling instruction is obtained by the rendering module running a script that the client needs to render, and/or is obtained by the rendering module from rendered data.
4. The method according to any one of claims 1 to 3, further comprising:
and reporting the state and/or the event of the called service capability to a cloud.
5. The method according to any one of claims 1 to 3, wherein the service capability corresponding to the end capability calling instruction comprises at least one of:
hardware capabilities;
intelligent service;
and (5) cloud service.
6. An end capability calling apparatus comprising:
the device comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving an end capability calling instruction from a rendering module, and the end capability calling instruction is used for calling the service capability of the device end;
and the sending unit is used for sending the terminal capacity calling instruction to the equipment end system service so as to indicate the equipment end system service to call the service capacity corresponding to the terminal capacity calling instruction.
7. The apparatus of claim 6, wherein the apparatus further comprises:
a returning unit, configured to return rendered data corresponding to the service capability to the rendering module based on the service capability called by the end capability calling instruction;
the rendered data corresponding to the service capability is used for obtaining a container engine of the service capability, constructing a container view of the service capability by using the container engine of the service capability, and generating a display page of the service capability.
8. The device of claim 7, wherein the end capability calling instruction is obtained by the rendering module running a script that the client needs to render, and/or is obtained by the rendering module from rendered data.
9. The apparatus of any of claims 6 to 8, wherein the apparatus further comprises:
and the reporting unit is used for reporting the state and/or the event of the called service capability to a cloud.
10. The apparatus according to any one of claims 6 to 8, wherein the service capability corresponding to the end capability call instruction comprises at least one of:
hardware capabilities;
intelligent service;
and (5) cloud service.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
12. A non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method of any one of claims 1-5.
13. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-5.
CN202110260746.6A 2021-03-10 2021-03-10 Terminal capability calling method, device, equipment and storage medium Pending CN112835581A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110260746.6A CN112835581A (en) 2021-03-10 2021-03-10 Terminal capability calling method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110260746.6A CN112835581A (en) 2021-03-10 2021-03-10 Terminal capability calling method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112835581A true CN112835581A (en) 2021-05-25

Family

ID=75930056

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110260746.6A Pending CN112835581A (en) 2021-03-10 2021-03-10 Terminal capability calling method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112835581A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150310126A1 (en) * 2014-04-23 2015-10-29 Akamai Technologies, Inc. Creation and delivery of pre-rendered web pages for accelerated browsing
CN108241703A (en) * 2016-12-27 2018-07-03 腾讯科技(深圳)有限公司 Web data transmission method and device
US20180375804A1 (en) * 2017-06-23 2018-12-27 Wayblazer, Inc. Interaction driven artificial intelligence system and uses for same
CN109343858A (en) * 2018-11-01 2019-02-15 成都嗨翻屋科技有限公司 A kind of build a station automatically container deployment system and its working method based on server-side rendering
US20190065619A1 (en) * 2017-08-24 2019-02-28 Coursera, Inc. Scalable server-side rendering
CN110442811A (en) * 2019-08-14 2019-11-12 广州虎牙科技有限公司 A kind of processing method of the page, device, computer equipment and storage medium
CN110727434A (en) * 2019-10-21 2020-01-24 百度在线网络技术(北京)有限公司 Rendering method, rendering device, electronic equipment and storage medium
CN111814089A (en) * 2020-06-30 2020-10-23 广州市百果园信息技术有限公司 Page rendering method and device, rendering server and storage medium
US20200348949A1 (en) * 2019-05-01 2020-11-05 Intuit Inc. System and methods for loading objects from hash chains
CN112383539A (en) * 2020-11-11 2021-02-19 视若飞信息科技(上海)有限公司 Method and device for calling cloud browser based on remote process and electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150310126A1 (en) * 2014-04-23 2015-10-29 Akamai Technologies, Inc. Creation and delivery of pre-rendered web pages for accelerated browsing
CN108241703A (en) * 2016-12-27 2018-07-03 腾讯科技(深圳)有限公司 Web data transmission method and device
US20180375804A1 (en) * 2017-06-23 2018-12-27 Wayblazer, Inc. Interaction driven artificial intelligence system and uses for same
US20190065619A1 (en) * 2017-08-24 2019-02-28 Coursera, Inc. Scalable server-side rendering
CN109343858A (en) * 2018-11-01 2019-02-15 成都嗨翻屋科技有限公司 A kind of build a station automatically container deployment system and its working method based on server-side rendering
US20200348949A1 (en) * 2019-05-01 2020-11-05 Intuit Inc. System and methods for loading objects from hash chains
CN110442811A (en) * 2019-08-14 2019-11-12 广州虎牙科技有限公司 A kind of processing method of the page, device, computer equipment and storage medium
CN110727434A (en) * 2019-10-21 2020-01-24 百度在线网络技术(北京)有限公司 Rendering method, rendering device, electronic equipment and storage medium
CN111814089A (en) * 2020-06-30 2020-10-23 广州市百果园信息技术有限公司 Page rendering method and device, rendering server and storage medium
CN112383539A (en) * 2020-11-11 2021-02-19 视若飞信息科技(上海)有限公司 Method and device for calling cloud browser based on remote process and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
宋奕爽等: ""WEB端可视化表单生成引擎的设计与实现"", 《软件》, 31 December 2017 (2017-12-31), pages 153 - 159 *

Similar Documents

Publication Publication Date Title
CN112882709B (en) Rendering method, device, equipment and storage medium based on container engine system
CN109408136B (en) Information processing method, information processing apparatus, storage medium, and electronic device
CN109542614B (en) Resource allocation method, device, terminal and storage medium
EP3779690A1 (en) Processor core scheduling method and apparatus, terminal, and storage medium
CN113849312A (en) Data processing task allocation method and device, electronic equipment and storage medium
CN113794909A (en) Video streaming system, method, server, device, and storage medium
CN114244821B (en) Data processing method, device, equipment, electronic equipment and storage medium
CN112835582A (en) Container engine-based rendering method, device, equipment and storage medium
CN114748873A (en) Interface rendering method, device, equipment and storage medium
CN113961289A (en) Data processing method, device, equipment and storage medium
CN114327087A (en) Input event processing method and device, electronic equipment and storage medium
CN114490126A (en) Page processing method and device, electronic equipment and storage medium
CN112882711A (en) Rendering method, device, equipment and storage medium
CN112835580B (en) Instruction processing method, device, equipment and storage medium
CN115934076B (en) Cross-platform client micro-service providing device and method and electronic equipment
CN110874343B (en) Method for processing voice based on deep learning chip and deep learning chip
CN112835581A (en) Terminal capability calling method, device, equipment and storage medium
CN114374703B (en) Cloud mobile phone information acquisition method, device, equipment and storage medium
CN113407259B (en) Scene loading method, device, equipment and storage medium
CN115373869A (en) Process processing method and device based on AAR and electronic equipment
CN114138401A (en) Container configuration method, device, equipment and medium based on artificial intelligence
CN114090118A (en) Method, device and equipment for starting small program and storage medium
CN112882710B (en) Rendering method, device, equipment and storage medium based on client
CN111580882A (en) Application program starting method, device, computer system and medium
CN114095758B (en) Cloud image intercepting method and related device

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