WO2020052337A1 - 信息处理方法、装置、存储介质及电子设备 - Google Patents

信息处理方法、装置、存储介质及电子设备 Download PDF

Info

Publication number
WO2020052337A1
WO2020052337A1 PCT/CN2019/095100 CN2019095100W WO2020052337A1 WO 2020052337 A1 WO2020052337 A1 WO 2020052337A1 CN 2019095100 W CN2019095100 W CN 2019095100W WO 2020052337 A1 WO2020052337 A1 WO 2020052337A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
display
processing platform
configuration file
target information
Prior art date
Application number
PCT/CN2019/095100
Other languages
English (en)
French (fr)
Inventor
李森林
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to EP19858994.7A priority Critical patent/EP3848798A4/en
Publication of WO2020052337A1 publication Critical patent/WO2020052337A1/zh
Priority to US17/198,729 priority patent/US11706331B2/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/122File system administration, e.g. details of archiving or snapshots using management policies
    • 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/40Transformation of program code
    • G06F8/41Compilation
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/56Details of telephonic subscriber devices including a user help function
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present application relates to the field of information technology, and in particular, to an information processing method, device, storage medium, and electronic device.
  • the rendering engine in the current application needs to render and display the card code. Due to the variety of applications, the types of rendering engines used may not be the same, resulting in The compatibility between display contents is poor, and storage space is wasted due to storing multiple rendering engines.
  • the embodiments of the present application provide an information processing method, an apparatus, a storage medium, and an electronic device, which can save and improve compatibility between displayed information and save storage space.
  • an embodiment of the present application provides an information processing method, including:
  • the display parameters are analyzed to obtain target information, and the target information is displayed in a third-party application.
  • an information processing apparatus including:
  • a generating unit configured to generate a download instruction when detecting that the third-party application receives the information display instruction
  • a transmission unit configured to transmit the download instruction to a processing platform, so that the processing platform downloads a corresponding configuration file according to the download instruction, and the processing platform is configured to uniformly render information of third-party applications;
  • a control unit configured to control the processing platform to parse the configuration file to generate display parameters
  • the display unit is configured to analyze the display parameters to obtain target information, and display the target information in a third-party application.
  • a storage medium provided in an embodiment of the present application stores a computer program thereon, and when the computer program is run on a computer, the computer is caused to execute the information processing method provided by any embodiment of the present application.
  • the electronic device includes a processor and a memory, and the processor executes steps by calling a computer program stored in the memory:
  • the display parameters are analyzed to obtain target information, and the target information is displayed in a third-party application.
  • FIG. 1 is a system architecture diagram of an electronic device running according to an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of an information processing method according to an embodiment of the present application.
  • FIG. 3 is another schematic flowchart of an information processing method according to an embodiment of the present application.
  • FIG. 4 is another system architecture diagram of an electronic device running according to an embodiment of the present application.
  • FIG. 5 is a schematic block diagram of an information processing apparatus according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of another module of an information processing apparatus according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • FIG. 8 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
  • module can be considered as a software object executing on the computing system.
  • the different components, modules, engines, and services described in this article can be considered as implementation objects on this computing system.
  • the device and method described herein are preferably implemented in software, and of course, they can also be implemented in hardware, which are all within the protection scope of this application.
  • FIG. 1 is a system architecture diagram of an electronic device running provided by an embodiment of the present application.
  • the system architecture is an Android system architecture.
  • the system architecture may also be Apple (iphone Operating System). , IOS) system framework.
  • the Android system architecture is the Android system architecture.
  • the Android system architecture like its operating system, uses a layered architecture that is divided into four layers. From high to low are the Android application layer and the Android application framework. Layer (Application Framework), Android system running layer and Linux kernel layer.
  • Application layer An application is a program written in the Java language and running on a virtual machine, such as a camera application, Email client, SMS short message program, and calendar.
  • Application framework layer This layer is an application programming interface (API) framework used when writing core applications published by Google. Developers can also use these frameworks to develop their own applications, which simplifies Structural design of program development, but must adhere to the development principles of its framework.
  • API application programming interface
  • Linux kernel layer Android's core system services are given to the Linux 2.6 kernel, such as security, memory management, process management, network protocol stack, and driver model, etc. all depend on the kernel, such as Binder IPC (Internet Process Connection Connection) driver , A special driver for Android, with a separate device node that provides inter-process communication.
  • Binder IPC Internet Process Connection Connection
  • the transfer of display information between applications that are different from each other needs to use Binder communication to transfer information across processes.
  • the passed card information may not be opened in another application due to compatibility issues, and there is a corresponding rendering engine in each application, which will cause
  • SDK Software Development Kit
  • the increase in storage space of the Software Development Kit (SDK) of the application results in an increase in the storage space of the installation package of the application and wastes the storage space of the electronic device. Therefore, it is necessary to establish a processing platform (such as a fast application platform) ) To perform unified rendering processing in all applications.
  • SDK Software Development Kit
  • this software development kit is generally a collection of development tools used by some software engineers to build application software for a specific software package, software framework, hardware platform, operating system, and so on.
  • the information processing device may be specifically integrated into an electronic device, such as a mobile phone, a tablet computer, a personal digital assistant (PDA, Personal Assistant), or the like.
  • PDA personal digital assistant
  • An embodiment of the present application provides an information processing method, including:
  • the display parameters are analyzed to obtain target information, and the target information is displayed in a third-party application.
  • the step of controlling the processing platform to parse the configuration file and generating display parameters may include: loading a preset script file in the processing platform; The configuration file is parsed to generate corresponding display parameters of the configuration file.
  • the step of parsing the configuration file by using a preset script file and generating corresponding display parameters of the configuration file may include: The global configuration information is parsed to generate node object tree information corresponding to the global configuration information; and the node object tree information is determined as a display parameter.
  • the step of analyzing the display parameters to obtain target information and displaying the target information in a third-party application may include: traversing nodes in the node object tree, To obtain target information corresponding to the node; determine the corresponding display position of the target information in the third-party application, and draw the target information on the display position.
  • the step of transmitting the download instruction to a processing platform so that the processing platform downloads a corresponding configuration file according to the download instruction may include: transmitting the download instruction to the processing platform, The download instruction carries a target information identifier; and controls the processing platform to send the download instruction to a configuration server to receive a configuration file correspondingly returned by the configuration server according to the target information identifier.
  • the step of controlling the processing platform to parse the configuration file and generating display parameters may include: controlling a rendering engine in the processing platform to render and parse the configuration file to generate The display parameters of the arrangement rules of each individual display element in the display information.
  • the step of analyzing the display parameters to obtain target information and displaying the target information in a third-party application may include controlling the processing platform to distribute the display parameters to In a corresponding third-party application; controlling a corresponding view component in the third-party application to analyze the display parameter, determine a display attribute and a display position corresponding to each display element in the display parameter, and generate a corresponding view control according to the display attribute , And set the view control to the corresponding display position.
  • An embodiment of the present application provides an information processing method. As shown in FIG. 2, the information processing method may include the following steps:
  • step S101 when it is detected that the third-party application receives the information display instruction, a download instruction is generated.
  • the third-party application may include a variety of applications, such as a browser application, a voice assistant application, or a search application.
  • the information display instruction may be a picture information display instruction, a text information display instruction, or a card information display instruction.
  • the third-party application when it is detected that the third-party application receives the information display instruction, that is, when it is detected that real-time picture information, text information, or card information needs to be displayed, a download instruction is generated correspondingly, and the download instruction includes display information for downloading Request instructions.
  • step S102 the download instruction is transmitted to the processing platform, so that the processing platform downloads a corresponding configuration file according to the download instruction.
  • the processing platform is used to uniformly render the information of third-party applications.
  • the processing platform can be a platform for downloading and distributing display information, that is, the display information of all third-party applications is uniformly downloaded by the processing platform and Rendering, and the processed platform distributes the rendered data to the corresponding application, so that the application can directly display information.
  • the electronic device transmits the download instruction to the processing platform, and the processing platform downloads the corresponding configuration file according to the download instruction through the network.
  • the configuration file may include a template for displaying information, a function code, and a display style.
  • the step of transmitting the download instruction to the processing platform so that the processing platform downloads the corresponding configuration file according to the download instruction may include:
  • the processing platform is controlled to send the download instruction to the configuration server, so as to receive the configuration file correspondingly returned by the configuration server according to the target information identifier.
  • the electronic device transmits the generated download instruction to the processing platform, and the download instruction carries the target information identifier, that is, the download instruction carries the target information identifier of the target information to be downloaded and displayed.
  • the target information that needs to be displayed in the third-party application is stored in the configuration server in the form of a code.
  • Each configuration file is associated with the target information identifier corresponding to the target information. Therefore, the processing platform is controlled to download instructions The carried target information identifier is sent to the configuration server, and the configuration server correspondingly returns the configuration file associated with the target information identifier to the processing platform of the electronic device.
  • step S103 the control processing platform analyzes the configuration file to generate display parameters.
  • the electronic device controls the rendering engine in the processing platform to render and analyze the configuration file to generate a display parameter with an arrangement rule of each individual display element in the display information.
  • the display element can Is the picture and text
  • the arrangement rule is the picture and text display arrangement rule.
  • the rendering engine in the processing platform uniformly renders the configuration files corresponding to the target information to be displayed by all third-party applications, so that the SDK in other third-party applications may not need a rendering engine, thereby reducing the application's
  • the storage space of the installation file saves the storage space of the electronic device, and the display information between each third-party application can be shared with each other, which solves the compatibility problem.
  • the step of controlling the processing platform to parse the configuration file and generate display parameters may include:
  • the processing platform may be a fast application platform, and the fast application platform may include a preset script file, and the preset script file may be understood as a rendering engine.
  • the preset script file can be a JavaScript scripting language framework.
  • the JavaScript is a scripting language belonging to the web and has been widely used in web application development. It is often used to add a variety of dynamic functions to web pages to provide users with smoother Beautiful browsing effect.
  • the JavaScript scripting language framework can render and analyze the downloaded data.
  • a preset script file in the processing platform can be loaded, the configuration file is rendered and parsed through the preset script file, and the configuration file is parsed to include multiple display elements and between display elements.
  • the display parameters of the layout relationship can be loaded, the configuration file is rendered and parsed through the preset script file, and the configuration file is parsed to include multiple display elements and between display elements. The display parameters of the layout relationship.
  • the step of parsing the configuration file through the preset script file and generating the corresponding display parameters of the configuration file may include:
  • the node object tree (Document, Object Model, DOM Tree) can represent the layout rules between each display element in the target information.
  • the node object tree includes multiple nodes, and each node corresponds to a display element in the target information.
  • the global configuration information is a template, function code, and display style for displaying information.
  • the template, function code, and display style in the configuration file are parsed through the JavaScript scripting language framework, and the template, function code, and display style are generated into a corresponding node object tree, and the node object tree is determined as a display parameter.
  • step S104 the display parameters are analyzed to obtain target information, and the target information is displayed in a third-party application.
  • the processing platform will distribute the display parameters after rendering and analyzing the configuration file to the corresponding third-party application.
  • the third-party application analyzes the display parameters by the corresponding view component to determine the display.
  • the display attributes and display positions corresponding to each display element in the parameters are generated according to the display attributes, and the view controls are set at the corresponding display positions.
  • the step of analyzing the display parameters to obtain target information and displaying the target information in a third-party application may include:
  • the electronic device can traverse each node in the node object tree to obtain the display element corresponding to each node and the display position of the display element, and the display element corresponding to the node and the display position of the display element constitute the target information.
  • the display position of the target information in the third-party application is determined according to the display position, and the target information is drawn on the corresponding display position, thereby achieving the display of the target information.
  • the information processing method provided by this embodiment generates a download instruction when detecting that a third-party application receives an information display instruction; and transmits the download instruction to the processing platform so that the processing platform downloads the corresponding information according to the download instruction.
  • Configuration file; the control processing platform parses the configuration file to generate display parameters; analyzes the display parameters to obtain target information, and displays the target information in a third-party application.
  • the display data can be downloaded and parsed through the standard rendering engine in the processing platform, which avoids the situation of poor compatibility between the displayed information and saves storage space.
  • FIG. 3 is another schematic flowchart of an information processing method according to an embodiment of the present application.
  • the method includes:
  • step S201 when it is detected that the third-party application receives the information display instruction, a download instruction is generated.
  • the terminal is described by using a mobile phone, information as card information, and a processing platform as a fast application platform.
  • Card information usually refers to those that include certain pictures and text information. A rectangle that serves as an entrance to more details.
  • the card-like design has even become the default approach to balance the aesthetics of the interface. Because the card is very convenient to show that the content of the interface is composed of different elements.
  • third-party applications can include a variety of applications, such as browser applications, voice assistant applications, or search applications.
  • a voice assistant application or a search application is detected for weather information query, the mobile phone generates a weather information display instruction, and generates a download instruction according to the weather information display instruction.
  • step S202 the download instruction is transmitted to the processing platform.
  • the fast application platform includes a JavaScript scripting language framework.
  • the fast application platform can uniformly render and issue card information that needs to be displayed in browser applications, voice assistant applications, or search applications. Therefore, the mobile phone will download instructions. It is transmitted to the processing platform, and the download instruction carries the target information identifier corresponding to the weather card information.
  • step S203 the control processing platform sends a download instruction to the configuration server to receive the configuration file correspondingly returned by the configuration server according to the target information identifier.
  • the mobile control fast application platform sends the target information identifier corresponding to the weather card information to the configuration server. After receiving the target information identifier, the configuration server returns the configuration file corresponding to the target information identifier to the mobile phone.
  • the configuration file The global configuration information including the weather card information template, function code, and display style is computer program code.
  • the fast application platform 2 sends the target information identifier corresponding to the weather card information to the configuration server.
  • the configuration server After receiving the target information identifier, the configuration server returns the configuration file 3 corresponding to the target information identifier to the configuration server via the network.
  • the configuration file 3 includes global configuration information of a weather card information template, a function code, and a display style.
  • step S204 a preset script file in the processing platform is loaded.
  • the mobile phone After receiving the configuration file returned by the configuration server, the mobile phone will call and load the JavaScript scripting language framework in the processing platform.
  • step S205 the global configuration information in the configuration file is parsed through a preset script file to generate node object tree information corresponding to the global configuration information, and the node object tree information is determined as a display parameter.
  • the mobile phone parses the template, function code, and display style in the configuration file through the loaded JavaScript scripting language framework to generate a node object tree containing each display element in the weather card information. Each display element is a node.
  • the node object tree is determined as a display parameter.
  • the fast application platform 2 in the mobile phone analyzes the template, function code, and display style in the configuration file 3 through the JavaScript scripting language framework, and generates a corresponding node object tree and logic code.
  • the logic code represents the weather.
  • the card information implements logical functions.
  • step S206 the nodes in the node object tree are traversed to obtain target information corresponding to the nodes.
  • the mobile phone traverses each node (ie display element) in the node object tree one by one to determine the display attributes and display position of each display element.
  • the display attribute indicates whether the display element is a picture or a text, and the corresponding target of the node is obtained. information.
  • step S207 the corresponding display position of the target information in the third-party application is determined, and the target information is drawn on the display position.
  • the mobile phone determines the display position of the target information in the third-party application according to the display position in the target information, and draws the display elements included in the weather card information by the drawing component in the mobile phone's operating system and sets the display elements in the corresponding display position. Realize the display of weather card information. Because the fast application platform implements unified rendering of configuration files, the SDK in browser applications, voice assistant applications or search applications can save the rendering engine, saving storage space.
  • the weather card information is rendered by a general rendering engine, so different applications can quickly retrieve weather card information for display, which solves the problem of incompatibility between card information.
  • the third-party application 1 in the mobile phone analyzes the DOM tree and the logic code generated by the fast application platform through a drawing component, so as to draw weather card information on the display position of the third-party application.
  • the information processing method provided in this embodiment generates a download instruction when it is detected that a third-party application receives an information display instruction, and transmits the download instruction to the fast application platform.
  • the server receives the configuration file returned by the configuration server, loads the JavaScript scripting language framework in the fast application platform to parse the global configuration file in the configuration file, generates corresponding node object tree information, determines the node object tree information as display parameters, and
  • the drawing component traverses the nodes in the node object tree to obtain the target information corresponding to the nodes, and draws the target information on the display position in the third-party application.
  • the display data can be downloaded and parsed through the standard rendering engine in the processing platform, which avoids the situation of poor compatibility between the displayed information and saves storage space.
  • the embodiment of the present application further provides a device based on the above information processing method.
  • the meanings of the nouns are the same as in the above information processing method. For specific implementation details, refer to the description in the method embodiments.
  • An embodiment of the present application provides an information processing apparatus, including:
  • a generating unit configured to generate a download instruction when detecting that the third-party application receives the information display instruction
  • a transmission unit configured to transmit the download instruction to a processing platform, so that the processing platform downloads a corresponding configuration file according to the download instruction, and the processing platform is configured to uniformly render information of third-party applications;
  • a control unit configured to control the processing platform to parse the configuration file to generate display parameters
  • the display unit is configured to analyze the display parameters to obtain target information, and display the target information in a third-party application.
  • control unit may include: a loading subunit for loading a preset script file in the processing platform; and a parsing subunit for modifying the configuration file through the preset script file. Perform analysis to generate corresponding display parameters of the configuration file.
  • the parsing subunit is specifically configured to parse the global configuration information in the configuration file through the preset script file to generate node object tree information corresponding to the global configuration information;
  • the node object tree information is determined as a display parameter.
  • the display unit is specifically configured to: traverse nodes in the node object tree to obtain target information corresponding to the nodes; determine a corresponding display position of the target information in a third-party application, and The target information is drawn on the display position.
  • the transmission unit is specifically configured to: transmit the download instruction to a processing platform, where the download instruction carries a target information identifier; and control the processing platform to send the download instruction to a configuration server to Receiving the configuration file corresponding to the configuration server's corresponding identifier according to the target information.
  • FIG. 5 is a schematic diagram of a module of an information processing apparatus according to an embodiment of the present application.
  • the information processing apparatus 300 includes: a generating unit 31, a transmitting unit 32, a control unit 33, and a display unit 34.
  • the generating unit 31 is configured to generate a download instruction when detecting that the third-party application receives the information display instruction.
  • the third-party application may include a variety of applications, such as a browser application, a voice assistant application, or a search application.
  • the information display instruction may be a picture information display instruction, a text information display instruction, or a card information display instruction.
  • a download instruction is generated correspondingly, and the download instruction includes: Request for downloading display information.
  • the transmission unit 32 is configured to transmit the download instruction to the processing platform, so that the processing platform downloads a corresponding configuration file according to the download instruction, and the processing platform is configured to uniformly render information of third-party applications.
  • the processing platform may be a platform for downloading and distributing display information, that is, the generation of display information of all third-party applications is uniformly downloaded and rendered by the processing platform, and the rendered data is distributed to the corresponding platform by the processing platform.
  • the application can directly display information.
  • the transmission unit 32 transmits the download instruction to the processing platform, and the processing platform downloads the corresponding configuration file according to the download instruction through the network.
  • the configuration file may include a template for displaying information, a function code, and a display style. .
  • the transmission unit 32 is specifically configured to transmit the download instruction to the processing platform; control the processing platform to send the download instruction to the configuration server to receive the configuration returned by the configuration server according to the target information identifier. file.
  • the control unit 33 is configured to control the processing platform to analyze the configuration file to generate display parameters.
  • the control unit 33 controls the rendering engine in the processing platform to render and analyze the configuration file to generate a display parameter with an arrangement rule of each individual display element in the display information.
  • the display element It can be pictures and text, and the arrangement rule is the picture and text display arrangement rule.
  • the rendering engine in the processing platform uniformly renders the configuration files corresponding to the target information to be displayed by all third-party applications, so that the SDK in other third-party applications may not need a rendering engine, thereby reducing the application's
  • the storage space of the installation file saves the storage space of the electronic device, and the display information between each third-party application can be shared with each other, which solves the compatibility problem.
  • the display unit 34 is configured to analyze the display parameters to obtain target information, and display the target information in a third-party application.
  • the processing platform distributes the display parameters after rendering and analyzing the configuration file to the corresponding third-party application.
  • the display unit 34 analyzes the display parameters by the corresponding view component to determine the display.
  • the display attributes and display positions corresponding to each display element in the parameters are generated according to the display attributes, and the view controls are set at the corresponding display positions.
  • the display unit 34 is specifically configured to traverse a node in the node object tree to obtain target information corresponding to the node; determine a corresponding display position of the target information in a third-party application, and display the target The information is drawn on this display position.
  • FIG. 6, is a schematic diagram of another module of an information processing apparatus according to an embodiment of the present application.
  • the information processing apparatus 300 may further include:
  • the control unit 33 may include a loading sub-unit 331 and a parsing sub-unit 332.
  • the loading subunit 331 is configured to load a preset script file in the processing platform.
  • the parsing subunit 332 is configured to parse the configuration file by using the preset script file to generate corresponding display parameters of the configuration file.
  • the parsing subunit 332 is specifically configured to parse the global configuration information in the configuration file by using the preset script file to generate node object tree information corresponding to the global configuration information; determine the node object tree information as a display parameter.
  • the information processing device generates a download instruction when the generating unit 31 detects that a third-party application receives an information display instruction; the transmitting unit 32 transmits the download instruction to the processing platform to enable processing The platform downloads the corresponding configuration file according to the download instruction; the control unit 33 controls the processing platform to analyze the configuration file to generate display parameters; the display unit 34 analyzes the display parameters to obtain target information and displays the target information in a third-party application.
  • the display data can be downloaded and parsed through the standard rendering engine in the processing platform, which avoids the situation of poor compatibility between the displayed information and saves storage space.
  • the electronic device 500 includes a processor 501 and a memory 502.
  • the processor 501 is electrically connected to the memory 502.
  • the processor 500 is a control center of the electronic device 500, and uses various interfaces and lines to connect various parts of the entire electronic device. Various functions of the electronic device 500 and data are processed to perform overall monitoring of the electronic device 500.
  • the memory 502 can be used to store software programs and modules.
  • the processor 501 executes various functional applications and data processing by running computer programs and modules stored in the memory 502.
  • the memory 502 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, a computer program (such as a sound playback function, an image playback function, etc.) required for at least one function, and the like; Data created by the use of electronic devices, etc.
  • the memory 502 may include a high-speed random access memory, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 502 may further include a memory controller to provide the processor 501 with access to the memory 502.
  • the processor 501 in the electronic device 500 loads the instructions corresponding to the process of one or more computer programs into the memory 502 according to the following steps, and the processor 501 runs and stores the memory 502 A computer program in the computer to achieve various functions, as follows:
  • Control the processing platform to parse the configuration file and generate display parameters
  • the display parameters are analyzed to obtain target information, and the target information is displayed in a third-party application.
  • the processing platform includes a preset script file.
  • the processor 501 may specifically perform the following steps:
  • the configuration file is parsed through the preset script file to generate corresponding display parameters of the configuration file.
  • the processor 501 may specifically perform the following steps:
  • the node object tree information is determined as a display parameter.
  • the processor 501 when analyzing the display parameters to obtain target information and displaying the target information in a third-party application, the processor 501 may specifically perform the following steps:
  • the processor 501 may specifically perform the following steps:
  • the processing platform is controlled to send the download instruction to the configuration server, so as to receive the configuration file correspondingly returned by the configuration server according to the target information identifier.
  • the processor 501 may specifically perform the following steps:
  • the processing platform is controlled to send the download instruction to the configuration server, so as to receive the configuration file correspondingly returned by the configuration server according to the target information identifier.
  • the processor 501 may specifically perform the following steps:
  • the processing platform is controlled to send the download instruction to the configuration server, so as to receive the configuration file correspondingly returned by the configuration server according to the target information identifier.
  • the electronic device in the embodiment of the present application generates a download instruction when detecting that a third-party application receives an information display instruction; and transmits the download instruction to the processing platform so that the processing platform downloads a corresponding configuration file according to the download instruction ;
  • the control processing platform analyzes the configuration file to generate display parameters; analyzes the display parameters to obtain target information, and displays the target information in a third-party application.
  • the display data can be downloaded and parsed through the standard rendering engine in the processing platform, which avoids the situation of poor compatibility between the displayed information and saves storage space.
  • the electronic device 500 may further include a display 503, a radio frequency circuit 504, an audio circuit 505, and a power source 506.
  • the display 503, the radio frequency circuit 504, the audio circuit 505, and the power supply 506 are electrically connected to the processor 501, respectively.
  • the display 503 may be used to display information input by the user or information provided to the user and various graphical user interfaces. These graphical user interfaces may be composed of graphics, text, icons, videos, and any combination thereof.
  • the display 503 may include a display panel.
  • the display panel may be configured by using a liquid crystal display (Liquid Crystal Display, LCD), or an organic light emitting diode (Organic Light-Emitting Diode, OLED).
  • the radio frequency circuit 504 can be used to transmit and receive radio frequency signals to establish wireless communication with a network device or other electronic devices through wireless communication, and transmit and receive signals to and from the network device or other electronic devices.
  • the audio circuit 505 may be used to provide an audio interface between the user and the electronic device through a speaker or a microphone.
  • the power supply 506 can be used to power various components of the electronic device 500.
  • the power supply 506 may be logically connected to the processor 501 through a power management system, so as to implement functions such as managing charging, discharging, and power management through the power management system.
  • the electronic device 500 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • An embodiment of the present application further provides a storage medium.
  • the storage medium stores a computer program, and when the computer program is run on a computer, the computer is caused to execute the information processing method in any one of the foregoing embodiments, for example, when the first When the three-party application receives the information display instruction, it generates a download instruction; transmits the download instruction to the processing platform so that the processing platform downloads the corresponding configuration file according to the download instruction, and the processing platform is used to uniformly render the information of the third-party application; control processing The platform analyzes the configuration file to generate display parameters; analyzes the display parameters to obtain target information, and displays the target information in a third-party application.
  • the storage medium may be a magnetic disk, an optical disc, a read-only memory (ROM), or a random access memory (Random Access Memory, RAM).
  • ROM read-only memory
  • RAM Random Access Memory
  • the computer program may be stored in a computer-readable storage medium, such as stored in a memory of an electronic device, and executed by at least one processor in the electronic device.
  • the execution process may include, for example, the implementation of an information processing method Example process.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, or the like.
  • its functional modules may be integrated into one processing chip, or each module may exist separately physically, or two or more modules may be integrated into one module.
  • the above integrated modules may be implemented in the form of hardware or software functional modules. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium, such as a read-only memory, a magnetic disk, or an optical disk.

Abstract

一种信息处理方法,包括:当检测到第三方应用接收到信息显示指令时,生成下载指令(S101);将下载指令传输至处理平台,以使得处理平台根据下载指令下载相应的配置文件(S102);控制处理平台对配置文件进行解析,生成显示参数(S103);对显示参数进行分析,以得到目标信息,并在第三方应用中显示目标信息(S104)。

Description

信息处理方法、装置、存储介质及电子设备
本申请要求于2018年09月12日提交中国专利局、申请号为201811063792.1、发明名称为“一种信息处理方法、装置、存储介质及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及信息技术领域,尤其涉及一种信息处理方法、装置、存储介质及电子设备。
背景技术
随着电子技术的不断发展,电子设备如手机的功能越来越强大,用户可以通过各式各样的应用程序去浏览信息,如浏览文字信息、图像信息、音视频信息以及卡片信息等等。
目前,手机在通过当前应用程序对卡片信息进行浏览时,都需要当前应用程序中的渲染引擎对卡片代码进行渲染并显示,由于应用程序的种类繁多,使用的渲染引擎种类也不一定相同,导致显示内容之间的兼容性较差,且由于存储多个渲染引擎,造成存储空间浪费。
发明内容
本申请实施例提供一种信息处理方法、装置、存储介质及电子设备,可以节省提升显示信息之间的兼容性,且节省存储空间。
第一方面,本申请实施例了提供了一种信息处理方法,包括:
当检测到第三方应用接收到信息显示指令时,生成下载指令;
将所述下载指令传输至处理平台,以使得所述处理平台根据所述下载指令下载相应的配置文件,所述处理平台用于统一对第三方应用的信息进行渲染;
控制所述处理平台对所述配置文件进行解析,生成显示参数;
对所述显示参数进行分析,以得到目标信息,并在第三方应用中显示所述目标信息。
第二方面,本申请实施例了提供了的一种信息处理装置,包括:
生成单元,用于当检测到第三方应用接收到信息显示指令时,生成下载指令;
传输单元,用于将所述下载指令传输至处理平台,以使得所述处理平台根据所述下载指令下载相应的配置文件,所述处理平台用于统一对第三方应用的信息进行渲染;
控制单元,用于控制所述处理平台对所述配置文件进行解析,生成显示参 数;
显示单元,用于对所述显示参数进行分析,以得到目标信息,并在第三方应用中显示所述目标信息。
第三方面,本申请实施例提供的存储介质,其上存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行如本申请任一实施例提供的信息处理方法。
第四方面,本申请实施例提供的电子设备,包括处理器和存储器,所述处理器通过调用所述存储器中存储的计算机程序,用于执行步骤:
当检测到第三方应用接收到信息显示指令时,生成下载指令;
将所述下载指令传输至处理平台,以使得所述处理平台根据所述下载指令下载相应的配置文件,所述处理平台用于统一对第三方应用的信息进行渲染;
控制所述处理平台对所述配置文件进行解析,生成显示参数;
对所述显示参数进行分析,以得到目标信息,并在第三方应用中显示所述目标信息。
附图说明
下面结合附图,通过对本申请的具体实施方式详细描述,将使本申请的技术方案及其它有益效果显而易见。
图1为本申请实施例所提供电子设备运行的系统架构图。
图2是本申请实施例提供的信息处理方法的流程示意图。
图3为本申请实施例提供的信息处理方法的另一流程示意图。
图4为本申请实施例提供的电子设备运行的另一系统架构图。
图5为本申请实施例提供的信息处理装置的模块示意图。
图6为本申请实施例提供的信息处理装置的另一模块示意图。
图7为本申请实施例提供的电子设备的结构示意图。
图8为本申请实施例提供的电子设备的另一结构示意图。
具体实施方式
请参照图式,其中相同的组件符号代表相同的组件,本申请的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本申请具体实施例,其不应被视为限制本申请未在此详述的其它具体实施例。
本文所使用的术语「模块」可看做为在该运算系统上执行的软件对象。本文该的不同组件、模块、引擎及服务可看做为在该运算系统上的实施对象。而本文该的装置及方法优选的以软件的方式进行实施,当然也可在硬件上进行实施,均在本申请保护范围之内。
请参阅图1,图1为本申请实施例所提供电子设备运行的系统架构图,该系统架构为安卓(Android)系统架构,在一实施方式中,该系统架构还可以为苹果(iphone Operating System,IOS)系统框架等。该安卓系统架构是安卓系统的体系结构,安卓的系统架构和其操作系统一样,采用了分层的架构,共分为四层,从高到低分别是安卓应用层(Application),安卓应用框架层(Application Framework),安卓系统运行层和Linux内核层。
应用层:应用是用java语言编写的运行在虚拟机上的程序,比如摄像机应用、Email客户端、SMS短消息程序以及日历等。
应用框架层:这一层是编写谷歌(Google)发布的核心应用时所使用的应用程序编程接口(Application Programming Interface,API)框架,开发人员同样可以使用这些框架来开发自己的应用,这样便简化了程序开发的结构设计,但是必须要遵守其框架的开发原则。
系统运行库(C/C++库以及安卓运行库)层:当使用安卓应用框架时,安卓系统会通过一些C/C++库来支持我们使用的各个组件,使其更好的为我们服务,比如其中的SQLite(关系数据库),Webkit(Web浏览器引擎)。
Linux内核层:安卓的核心系统服务给予Linux2.6内核,如安全性、内存管理、进程管理、网络协议栈和驱动模型等都依赖于该内核,比如Binder IPC(Internet Process Connection进程间通信)驱动,安卓的一个特殊驱动程序,具有单独的设备节点,提供进程间通信的功能。
其中,彼此不同的应用之间的显示信息传递,如摄像机应用与桌面应用之间的卡片信息传递,需要通过Binder通讯方式,将信息进行跨进程传输。需要说明的是,由于不同应用之间使用的渲染引擎不一致,可能会导致传递的卡片信息在另一个应用中由于兼容性问题,无法打开,并且每一个应用中都存在相应的渲染引擎,会导致应用的软件开发工具包(Software Development Kit,SDK)的存储空间的增加,进而导致应用的安装包的存储空间的增加,浪费电子设备的存储空间,因此,需要建立一个处理平台(如快应用平台),对所有应用中进行统一渲染处理。
需要说明的是,该软件开发工具包一般都是一些软件工程师为特定的软件包、软件框架、硬件平台、操作系统等建立应用软件时的开发工具的集合。
以下进行具体分析说明。
在本实施例中,将从信息处理装置的角度进行描述,该信息处理装置具体可以集成在电子设备,比如手机、平板电脑、掌上电脑(PDA,Personal Digital Assistant)等。
本申请实施例提供一种信息处理方法,包括:
当检测到第三方应用接收到信息显示指令时,生成下载指令;
将所述下载指令传输至处理平台,以使得所述处理平台根据所述下载指令下载相应的配置文件,所述处理平台用于统一对第三方应用的信息进行渲染;
控制所述处理平台对所述配置文件进行解析,生成显示参数;
对所述显示参数进行分析,以得到目标信息,并在第三方应用中显示所述目标信息。
在一种实施方式中,该控制所述处理平台对所述配置文件进行解析,生成显示参数的步骤,可以包括:加载所述处理平台中的预设脚本文件;通过所述预设脚本文件对所述配置文件进行解析,生成所述配置文件相应的显示参数。
在一种实施方式中,该通过预设脚本文件对所述配置文件进行解析,生成所述配置文件相应的显示参数的步骤,可以包括:通过所述预设脚本文件对所述配置文件中的全局配置信息进行解析,生成所述全局配置信息相应的节点对象树信息;将所述节点对象树信息确定为显示参数。
在一种实施方式中,该对所述显示参数进行分析,以得到目标信息,并在第三方应用中显示所述目标信息的步骤,可以包括:对所述节点对象树中的节点进行遍历,以得到节点对应的目标信息;确定目标信息在第三方应用中相应的显示位置,并将所述目标信息绘制在所述显示位置上。
在一种实施方式中,该将所述下载指令传输至处理平台,以使得所述处理平台根据所述下载指令下载相应的配置文件的步骤,可以包括:将所述下载指令传输至处理平台,所述下载指令携带目标信息标识;控制所述处理平台将所述下载指令发送至配置服务器,以接收所述配置服务器根据所述目标信息标识对应返回的配置文件。
在一种实施方式中,该控制所述处理平台对所述配置文件进行解析,生成显示参数的步骤,可以包括:控制所述处理平台中的渲染引擎对所述配置文件进行渲染解析,生成具有显示信息中的每一单独的显示元素的排列规则的显示参数。
在一种实施方式中,该对所述显示参数进行分析,以得到目标信息,并在第三方应用中显示所述目标信息的步骤,可以包括:控制所述处理平台将所述显示参数分发到相应的第三方应用中;控制所述第三方应用中相应的视图组件对所述显示参数进行分析,确定显示参数中每一显示元素对应的显示属性和显示位置,根据显示属性生成对应的视图控件,并将视图控件设置在相应的显示位置上。
本申请实施例提供一种信息处理方法,如图2所示,该信息处理方法,可以包括以下步骤:
在步骤S101中,当检测到第三方应用接收到信息显示指令时,生成下载指令。
其中,该第三方应用可以包括多种多样的应用程序,如浏览器应用、语音助手应用或者搜索应用等等,该信息显示指令可以为图片信息显示指令、文字信息显示指令或者卡片信息显示指令。
进一步的,当检测到第三方应用接收到信息显示指令时,即当检测到需要显示实时的图片信息、文字信息或者卡片信息时,会对应的生成一个下载指令,该下载指令包含为下载显示信息的请求指令。
在步骤S102中,将下载指令传输至处理平台,以使得处理平台根据下载指令下载相应的配置文件。
其中,该处理平台用于统一对第三方应用的信息进行渲染,该处理平台可以为显示信息的下载以及分发的平台,即所有第三方应用的显示信息的生成都由该处理平台进行统一下载以及渲染,并由该处理平台将渲染后的数据分发至相应的应用中,使得应用可以直接进行信息显示。
进一步的,电子设备会将下载指令传输至处理平台,该处理平台会通过网络根据该下载指令下载相应的配置文件,该配置文件中可以包括显示信息的模板、功能代码以及显示样式三个部分。
在一些实施方式中,将下载指令传输至处理平台,以使得处理平台根据下载指令下载相应的配置文件的步骤,可以包括:
(1)将该下载指令传输至处理平台;
(2)控制该处理平台将该下载指令发送至配置服务器,以接收该配置服务器根据该目标信息标识对应返回的配置文件。
其中,电子设备将生成的下载指令传输至处理平台,该下载指令中携带目标信息标识,即下载指令中携带需要下载并显示的目标信息的目标信息标识。
可以理解的是,第三方应用中需要显示的目标信息都以代码形式形成配置文件存储在配置服务器中,每一配置文件都关联对应目标信息的目标信息标识,因此,控制该处理平台将下载指令携带的目标信息标识发送至配置服务器,配置服务器会对应将目标信息标识关联的配置文件返回至电子设备的处理平台上。
在步骤S103中,控制处理平台对配置文件进行解析,生成显示参数。
其中,在接收到相应的配置文件后,电子设备会控制处理平台中的渲染引 擎对配置文件进行渲染解析,生成具有显示信息中每一单独的显示元素的排列规则的显示参数,该显示元素可以为图片以及文字,该排列规则为图片以及文字的显示排列规则。依此,通过处理平台中的渲染引擎对所有第三方应用的需要显示的目标信息对应的配置文件进行统一渲染,使得其他第三方应用中的SDK中可以不需要渲染引擎,进而减小了应用的安装文件的存储空间,节省了电子设备的存储空间,并且每一第三方应用之间的显示信息可以实现相互共享,解决了兼容性问题。
在一些实施方式中,该控制该处理平台对该配置文件进行解析,生成显示参数的步骤,可以包括:
(1)加载该处理平台中的预设脚本文件;
(2)通过该预设脚本文件对该配置文件进行解析,生成该配置文件相应的显示参数。
其中,该处理平台可以为快应用平台,该快应用平台中可以包括预设脚本文件,该预设脚本文件可以理解为渲染引擎。该预设脚本文件可以为JavaScript脚本语言框架,该JavaScript是一种属于网络的脚本语言,已经被广泛用于Web应用开发,常用来为网页添加各式各样的动态功能,为用户提供更流畅美观的浏览效果,该JavaScript脚本语言框架可以对下载的数据进行渲染解析。
进一步的,在接收到配置文件时,可以加载该处理平台中的预设脚本文件,通过该预设脚本文件对配置文件进行渲染解析,将配置文件解析为包含多个显示元素以及显示元素之间的布局关系的显示参数。
在一些实施方式中,该通过该预设脚本文件对该配置文件进行解析,生成该配置文件相应的显示参数的步骤,可以包括:
(1.1)通过该预设脚本文件对该配置文件中的全局配置信息进行解析,生成该全局配置信息相应的节点对象树信息;
(1.2)将该节点对象树信息确定为显示参数。
其中,该节点对象树(Document Object Model,DOM Tree)可以表示目标信息中每一显示元素之间的布局规则,该节点对象树中包括多个节点,每一个节点对应目标信息中的一个显示元素。该全局配置信息为显示信息的模板、功能代码以及显示样式。通过JavaScript脚本语言框架对配置文件中的模板、功能代码以及显示样式进行解析,将模板、功能代码以及显示样式生成对应的节点对象树,并将该节点对象树确定为显示参数。
在步骤S104中,对显示参数进行分析,以得到目标信息,并在第三方应用中显示目标信息。
其中,处理平台会将对配置文件进行渲染解析后的显示参数分发到相应的第三方应用中,第三方应用在接收到相应的显示参数后,由相应的视图组件对显示参数进行分析,确定显示参数中每一显示元素对应的显示属性以及显示位置,根据显示属性生成对应的视图控件,并将视图控件设置在相应的显示位置上。
在一些实施方式中,该对显示参数进行分析,以得到目标信息,并在第三方应用中显示目标信息的步骤,可以包括:
(1)对该节点对象树中的节点进行遍历,以得到节点对应的目标信息;
(2)确定目标信息在第三方应用中相应的显示位置,并将该目标信息绘制在该显示位置上。
其中,电子设备可以对节点对象树中的每一节点进行遍历,得到每一个节点对应的显示元素以及显示元素的显示位置,节点对应的显示元素以及显示元素的显示位置组成目标信息。
进一步的,根据显示位置确定目标信息在第三方应用中的显示位置,并将目标信息绘制在相应的显示位置上,实现了目标信息的显示。
由上述可知,本实施例提供的一种信息处理方法,通过当检测到第三方应用接收到信息显示指令时,生成下载指令;将下载指令传输至处理平台,以使得处理平台根据下载指令下载相应的配置文件;控制处理平台对配置文件进行解析,生成显示参数;对显示参数进行分析,以得到目标信息,并在第三方应用中显示目标信息。以此当第三方应用需要进行信息显示时,可以统一通过处理平台中的标准渲染引擎对显示数据进行下载并解析,避免了显示信息之间的兼容性差的情况,且节省了存储空间。
根据上述实施例所描述的方法,以下将举例作进一步详细说明。
请参阅图3,图3为本申请实施例提供的信息处理方法的另一流程示意图。
具体而言,该方法包括:
在步骤S201中,当检测到第三方应用接收到信息显示指令时,生成下载指令。
需要说明的是,为了更好的说明本实施例,将终端以手机、信息为卡片信息、处理平台为快应用平台为例进行说明,卡片信息通常是指那些包含一定图片和文本信息在内的一个长方形,作为指向更多详细信息的一个入口。现如今,在保证界面具有优秀可用性的同时,卡片式的设计甚至成为了平衡界面美学的默认做法。因为卡片很方便的显示出界面中的内容由不同的元素组成的。
其中,第三方应用可以包括多种多样的应用程序,如浏览器应用、语音助 手应用或者搜索应用等等。当检测到语音助手应用或者搜索应用进行天气信息查询时,手机会生成天气信息显示指令,并根据该天气信息显示指令生成下载指令。
在步骤S202中,将下载指令传输至处理平台。
其中,该快应用平台上包括JavaScript脚本语言框架,该快应用平台可以对浏览器应用、语音助手应用或者搜索应用等中需要显示的卡片信息进行统一渲染并分别发放处理,因此,手机将下载指令传输至处理平台,该下载指令中携带天气卡片信息对应的目标信息标识。
在步骤S203中,控制处理平台将下载指令发送至配置服务器,以接收配置服务器根据目标信息标识对应返回的配置文件。
其中,手机控制快应用平台将包含天气卡片信息对应的目标信息标识发送至配置服务器,该配置服务器在接收到目标信息标识后,会将目标信息标识对应的配置文件返回到手机上,该配置文件包括天气卡片信息的模板、功能代码以及显示样式三个部分的全局配置信息,为计算机程序代码。
如图4所示,快应用平台2将包含天气卡片信息对应的目标信息标识发送至配置服务器,该配置服务器在接收到目标信息标识后,会将目标信息标识对应的配置文件3通过网络返回到手机上,该配置文件3包括天气卡片信息的模板、功能代码以及显示样式三个部分的全局配置信息。
在步骤S204中,加载处理平台中的预设脚本文件。
其中,在接收到配置服务器返回的配置文件后,手机会调用并加载处理平台中的JavaScript脚本语言框架。
在步骤S205中,通过预设脚本文件对配置文件中的全局配置信息进行解析,生成全局配置信息相应的节点对象树信息,将节点对象树信息确定为显示参数。
其中,手机通过加载的JavaScript脚本语言框架对配置文件中的模板、功能代码以及显示样式进行解析,生成包含天气卡片信息中每一显示元素的节点对象树,每一显示元素即为一个节点,将节点对象树确定为显示参数。
如图4所示,手机中的快应用平台2通过JavaScript脚本语言框架对配置文件3中的模板、功能代码以及显示样式进行解析,生成相应的节点对象树以及逻辑代码,该逻辑代码表示了天气卡片信息的实现逻辑功能。
在步骤S206中,对节点对象树中的节点进行遍历,以得到节点对应的目标信息。
其中,手机对节点对象树中的每一节点(即显示元素)进行逐一遍历,确 定每一显示元素的显示属性以及显示位置,该显示属性说明显示元素为图片还是文字,即得到节点相应的目标信息。
在步骤S207中,确定目标信息在第三方应用中相应的显示位置,并将目标信息绘制在显示位置上。
其中,手机根据目标信息中的显示位置确定目标信息在第三方应用中的显示位置,并通过手机的操作系统中的绘制组件将天气卡片信息包含的显示元素进行绘制并设置在相应的显示位置中,实现天气卡片信息的显示,由于快应用平台实现对配置文件的统一渲染,所以浏览器应用、语音助手应用或者搜索应用中的SDK都可以省去渲染引擎,节省了存储空间,另外,由于生成的天气卡片信息为通用渲染引擎进行渲染,所以不同的应用之间可以快速调取天气卡片信息进行显示,解决了卡片信息之间不兼容的问题。
如图4所示,手机中的第三方应用1通过绘制组件对快应用平台生成的DOM树以及逻辑代码进行分析,实现将天气卡片信息绘制在第三方应用的显示位置上。
由上述可知,本实施例提供的一种信息处理方法,通过当检测到第三方应用接收到信息显示指令时,生成下载指令,将下载指令传输至快应用平台,快应用平台将下载指令发送配置服务器,接收配置服务器返回的配置文件,加载快应用平台中的JavaScript脚本语言框架对配置文件中的全局配置文件进行解析,生成相应的节点对象树信息,将节点对象树信息确定为显示参数,根据绘制组件对节点对象树中的节点进行遍历,得到节点对应的目标信息,将目标信息绘制在第三方应用中的显示位置上。以此当第三方应用需要进行信息显示时,可以统一通过处理平台中的标准渲染引擎对显示数据进行下载并解析,避免了显示信息之间的兼容性差的情况,且节省了存储空间。
为便于更好的实施本申请实施例提供的信息处理方法,本申请实施例还提供一种基于上述信息处理方法的装置。其中名词的含义与上述信息处理方法中相同,具体实现细节可以参考方法实施例中的说明。
本申请实施例提供一种信息处理装置,包括:
生成单元,用于当检测到第三方应用接收到信息显示指令时,生成下载指令;
传输单元,用于将所述下载指令传输至处理平台,以使得所述处理平台根据所述下载指令下载相应的配置文件,所述处理平台用于统一对第三方应用的信息进行渲染;
控制单元,用于控制所述处理平台对所述配置文件进行解析,生成显示参 数;
显示单元,用于对所述显示参数进行分析,以得到目标信息,并在第三方应用中显示所述目标信息。
在一种实施方式中,该控制单元,可以包括:加载子单元,用于加载所述处理平台中的预设脚本文件;解析子单元,用于通过所述预设脚本文件对所述配置文件进行解析,生成所述配置文件相应的显示参数。
在一种实施方式中,该解析子单元,具体用于:通过所述预设脚本文件对所述配置文件中的全局配置信息进行解析,生成所述全局配置信息相应的节点对象树信息;将所述节点对象树信息确定为显示参数。
在一种实施方式中,该显示单元,具体用于:对所述节点对象树中的节点进行遍历,以得到节点对应的目标信息;确定目标信息在第三方应用中相应的显示位置,并将所述目标信息绘制在所述显示位置上。
在一种实施方式中,该传输单元,具体用于:将所述下载指令传输至处理平台,所述下载指令携带目标信息标识;控制所述处理平台将所述下载指令发送至配置服务器,以接收所述配置服务器根据所述目标信息标识对应返回的配置文件。
请参阅图5,图5为本申请实施例提供的信息处理装置的模块示意图。具体而言,该信息处理装置300,包括:生成单元31、传输单元32、控制单元33以及显示单元34。
生成单元31,用于当检测到第三方应用接收到信息显示指令时,生成下载指令。
其中,该第三方应用可以包括多种多样的应用程序,如浏览器应用、语音助手应用或者搜索应用等等,该信息显示指令可以为图片信息显示指令、文字信息显示指令或者卡片信息显示指令。
进一步的,当生成单元31检测到第三方应用接收到信息显示指令时,即当检测到需要显示实时的图片信息、文字信息或者卡片信息时,会对应的生成一个下载指令,该下载指令包含为下载显示信息的请求指令。
传输单元32,用于将该下载指令传输至处理平台,以使得该处理平台根据该下载指令下载相应的配置文件,该处理平台用于统一对第三方应用的信息进行渲染。
其中,该处理平台可以为显示信息的下载以及分发的平台,即所有第三方应用的显示信息的生成都由该处理平台进行统一下载以及渲染,并由该处理平台将渲染后的数据分发至相应的应用中,使得应用可以直接进行信息显示。
进一步的,传输单元32会将下载指令传输至处理平台,该处理平台会通过网络根据该下载指令下载相应的配置文件,该配置文件中可以包括显示信息的模板、功能代码以及显示样式三个部分。
在一些实施方式中,该传输单元32,具体用于将该下载指令传输至处理平台;控制该处理平台将该下载指令发送至配置服务器,以接收该配置服务器根据该目标信息标识对应返回的配置文件。
控制单元33,用于控制该处理平台对该配置文件进行解析,生成显示参数。
其中,在接收到相应的配置文件后,控制单元33会控制处理平台中的渲染引擎对配置文件进行渲染解析,生成具有显示信息中每一单独的显示元素的排列规则的显示参数,该显示元素可以为图片以及文字,该排列规则为图片以及文字的显示排列规则。依此,通过处理平台中的渲染引擎对所有第三方应用的需要显示的目标信息对应的配置文件进行统一渲染,使得其他第三方应用中的SDK中可以不需要渲染引擎,进而减小了应用的安装文件的存储空间,节省了电子设备的存储空间,并且每一第三方应用之间的显示信息可以实现相互共享,解决了兼容性问题。
显示单元34,用于对该显示参数进行分析,以得到目标信息,并在第三方应用中显示该目标信息。
其中,处理平台会将对配置文件进行渲染解析后的显示参数分发到相应的第三方应用中,显示单元34在接收到相应的显示参数后,由相应的视图组件对显示参数进行分析,确定显示参数中每一显示元素对应的显示属性以及显示位置,根据显示属性生成对应的视图控件,并将视图控件设置在相应的显示位置上。
在一些实施方式中,该显示单元34,具体用于对该节点对象树中的节点进行遍历,以得到节点对应的目标信息;确定目标信息在第三方应用中相应的显示位置,并将该目标信息绘制在该显示位置上。
可一并参考图6,图6为本申请实施例提供的信息处理装置的另一模块示意图,该信息处理装置300还可以包括:
其中,该控制单元33可以包括加载子单元331以及解析子单元332。
进一步的,该加载子单元331,用于加载该处理平台中的预设脚本文件。该解析子单元332,用于通过该预设脚本文件对该配置文件进行解析,生成该配置文件相应的显示参数。
其中,该解析子单元332,具体用于通过该预设脚本文件对该配置文件中 的全局配置信息进行解析,生成该全局配置信息相应的节点对象树信息;将该节点对象树信息确定为显示参数。
由上述可知,本实施例提供的一种信息处理装置,通过当生成单元31检测到第三方应用接收到信息显示指令时,生成下载指令;传输单元32将下载指令传输至处理平台,以使得处理平台根据下载指令下载相应的配置文件;控制单元33控制处理平台对配置文件进行解析,生成显示参数;显示单元34对显示参数进行分析,以得到目标信息,并在第三方应用中显示目标信息。以此当第三方应用需要进行信息显示时,可以统一通过处理平台中的标准渲染引擎对显示数据进行下载并解析,避免了显示信息之间的兼容性差的情况,且节省了存储空间。
本申请实施例还提供一种电子设备。请参阅图7,电子设备500包括处理器501以及存储器502。其中,处理器501与存储器502电性连接。
该处理器500是电子设备500的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或加载存储在存储器502内的计算机程序,以及调用存储在存储器502内的数据,执行电子设备500的各种功能并处理数据,从而对电子设备500进行整体监控。
该存储器502可用于存储软件程序以及模块,处理器501通过运行存储在存储器502的计算机程序以及模块,从而执行各种功能应用以及数据处理。存储器502可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的计算机程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备的使用所创建的数据等。此外,存储器502可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器502还可以包括存储器控制器,以提供处理器501对存储器502的访问。
在本申请实施例中,电子设备500中的处理器501会按照如下的步骤,将一个或一个以上的计算机程序的进程对应的指令加载到存储器502中,并由处理器501运行存储在存储器502中的计算机程序,从而实现各种功能,如下:
当检测到第三方应用接收到信息显示指令时,生成下载指令;
将该下载指令传输至处理平台,以使得该处理平台根据该下载指令下载相应的配置文件,该处理平台用于统一对第三方应用的信息进行渲染;
控制该处理平台对该配置文件进行解析,生成显示参数;
对该显示参数进行分析,以得到目标信息,并在第三方应用中显示该目标信息。
在某些实施方式中,该处理平台包括预设脚本文件,在控制该处理平台对该配置文件进行解析,生成显示参数时,处理器501可以具体执行以下步骤:
加载该处理平台中的预设脚本文件;
通过该预设脚本文件对该配置文件进行解析,生成该配置文件相应的显示参数。
在某些实施方式中,在通过预设脚本文件对该配置文件进行解析,生成该配置文件相应的显示参数时,处理器501可以具体执行以下步骤:
通过该预设脚本文件对该配置文件中的全局配置信息进行解析,生成该全局配置信息相应的节点对象树信息;
将该节点对象树信息确定为显示参数。
在某些实施方式中,在对该显示参数进行分析,以得到目标信息,并在第三方应用中显示该目标信息时,处理器501可以具体执行以下步骤:
对该节点对象树中的节点进行遍历,以得到节点对应的目标信息;
确定目标信息在第三方应用中相应的显示位置,并将该目标信息绘制在该显示位置上。
在某些实施方式中,在将该下载指令传输至处理平台,以使得该处理平台根据该下载指令下载相应的配置文件时,处理器501可以具体执行以下步骤:
将该下载指令传输至处理平台,该下载指令携带目标信息标识;
控制该处理平台将该下载指令发送至配置服务器,以接收该配置服务器根据该目标信息标识对应返回的配置文件。
在某些实施方式中,在将该下载指令传输至处理平台,以使得该处理平台根据该下载指令下载相应的配置文件时,处理器501可以具体执行以下步骤:
将该下载指令传输至处理平台,该下载指令携带目标信息标识;
控制该处理平台将该下载指令发送至配置服务器,以接收该配置服务器根据该目标信息标识对应返回的配置文件。
在某些实施方式中,在将该下载指令传输至处理平台,以使得该处理平台根据该下载指令下载相应的配置文件时,处理器501可以具体执行以下步骤:
将该下载指令传输至处理平台,该下载指令携带目标信息标识;
控制该处理平台将该下载指令发送至配置服务器,以接收该配置服务器根据该目标信息标识对应返回的配置文件。
由上述可知,本申请实施例的电子设备,通过当检测到第三方应用接收到信息显示指令时,生成下载指令;将下载指令传输至处理平台,以使得处理平台根据下载指令下载相应的配置文件;控制处理平台对配置文件进行解析,生 成显示参数;对显示参数进行分析,以得到目标信息,并在第三方应用中显示目标信息。以此当第三方应用需要进行信息显示时,可以统一通过处理平台中的标准渲染引擎对显示数据进行下载并解析,避免了显示信息之间的兼容性差的情况,且节省了存储空间。
请一并参阅图8,在某些实施方式中,电子设备500还可以包括:显示器503、射频电路504、音频电路505以及电源506。其中,其中,显示器503、射频电路504、音频电路505以及电源506分别与处理器501电性连接。
该显示器503可以用于显示由用户输入的信息或提供给用户的信息以及各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示器503可以包括显示面板,在某些实施方式中,可以采用液晶显示器(Liquid Crystal Display,LCD)、或者有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板。
该射频电路504可以用于收发射频信号,以通过无线通信与网络设备或其他电子设备建立无线通讯,与网络设备或其他电子设备之间收发信号。
该音频电路505可以用于通过扬声器、传声器提供用户与电子设备之间的音频接口。
该电源506可以用于给电子设备500的各个部件供电。在一些实施例中,电源506可以通过电源管理系统与处理器501逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
尽管图8中未示出,电子设备500还可以包括摄像头、蓝牙模块等,在此不再赘述。
本申请实施例还提供一种存储介质,该存储介质存储有计算机程序,当该计算机程序在计算机上运行时,使得该计算机执行上述任一实施例中的信息处理方法,比如:当检测到第三方应用接收到信息显示指令时,生成下载指令;将下载指令传输至处理平台,以使得处理平台根据下载指令下载相应的配置文件,处理平台用于统一对第三方应用的信息进行渲染;控制处理平台对配置文件进行解析,生成显示参数;对显示参数进行分析,以得到目标信息,并在第三方应用中显示目标信息。
在本申请实施例中,存储介质可以是磁碟、光盘、只读存储器(Read Only Memory,ROM,)、或者随机存取记忆体(Random Access Memory,RAM)等。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
需要说明的是,对本申请实施例的信息处理方法而言,本领域普通测试人 员可以理解实现本申请实施例的信息处理方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,该计算机程序可存储于一计算机可读取存储介质中,如存储在电子设备的存储器中,并被该电子设备内的至少一个处理器执行,在执行过程中可包括如信息处理方法的实施例的流程。其中,该的存储介质可为磁碟、光盘、只读存储器、随机存取记忆体等。
对本申请实施例的信息处理装置而言,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。该集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中,该存储介质譬如为只读存储器,磁盘或光盘等。
以上对本申请实施例所提供的一种信息处理方法、装置、存储介质及电子设备进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (20)

  1. 一种信息处理方法,其中,包括:
    当检测到第三方应用接收到信息显示指令时,生成下载指令;
    将所述下载指令传输至处理平台,以使得所述处理平台根据所述下载指令下载相应的配置文件,所述处理平台用于统一对第三方应用的信息进行渲染;
    控制所述处理平台对所述配置文件进行解析,生成显示参数;
    对所述显示参数进行分析,以得到目标信息,并在第三方应用中显示所述目标信息。
  2. 如权利要求1所述的信息处理方法,其中,所述处理平台包括预设脚本文件,所述控制所述处理平台对所述配置文件进行解析,生成显示参数的步骤,包括:
    加载所述处理平台中的预设脚本文件;
    通过所述预设脚本文件对所述配置文件进行解析,生成所述配置文件相应的显示参数。
  3. 如权利要求2所述的信息处理方法,其中,所述通过预设脚本文件对所述配置文件进行解析,生成所述配置文件相应的显示参数的步骤,包括:
    通过所述预设脚本文件对所述配置文件中的全局配置信息进行解析,生成所述全局配置信息相应的节点对象树信息;
    将所述节点对象树信息确定为显示参数。
  4. 如权利要求3所述的信息处理方法,其中,所述对所述显示参数进行分析,以得到目标信息,并在第三方应用中显示所述目标信息的步骤,包括:
    对所述节点对象树中的节点进行遍历,以得到节点对应的目标信息;
    确定目标信息在第三方应用中相应的显示位置,并将所述目标信息绘制在所述显示位置上。
  5. 如权利要求1所述的信息处理方法,其中,所述将所述下载指令传输至处理平台,以使得所述处理平台根据所述下载指令下载相应的配置文件的步骤,包括:
    将所述下载指令传输至处理平台,所述下载指令携带目标信息标识;
    控制所述处理平台将所述下载指令发送至配置服务器,以接收所述配置服务器根据所述目标信息标识对应返回的配置文件。
  6. 如权利要求1所述的信息处理方法,其中,所述控制所述处理平台对所述配置文件进行解析,生成显示参数的步骤,包括:
    控制所述处理平台中的渲染引擎对所述配置文件进行渲染解析,生成具有 显示信息中的每一单独的显示元素的排列规则的显示参数。
  7. 如权利要求1所述的信息处理方法,其中,所述对所述显示参数进行分析,以得到目标信息,并在第三方应用中显示所述目标信息的步骤,包括:
    控制所述处理平台将所述显示参数分发到相应的第三方应用中;
    控制所述第三方应用中相应的视图组件对所述显示参数进行分析,确定显示参数中每一显示元素对应的显示属性和显示位置,根据显示属性生成对应的视图控件,并将视图控件设置在相应的显示位置上。
  8. 一种信息处理装置,其中,包括:
    生成单元,用于当检测到第三方应用接收到信息显示指令时,生成下载指令;
    传输单元,用于将所述下载指令传输至处理平台,以使得所述处理平台根据所述下载指令下载相应的配置文件,所述处理平台用于统一对第三方应用的信息进行渲染;
    控制单元,用于控制所述处理平台对所述配置文件进行解析,生成显示参数;
    显示单元,用于对所述显示参数进行分析,以得到目标信息,并在第三方应用中显示所述目标信息。
  9. 如权利要求8所述的信息处理装置,其中,所述处理平台包括预设脚本文件,所述控制单元,包括:
    加载子单元,用于加载所述处理平台中的预设脚本文件;
    解析子单元,用于通过所述预设脚本文件对所述配置文件进行解析,生成所述配置文件相应的显示参数。
  10. 如权利要求9所述的信息处理装置,其中,所述解析子单元,具体用于:
    通过所述预设脚本文件对所述配置文件中的全局配置信息进行解析,生成所述全局配置信息相应的节点对象树信息;
    将所述节点对象树信息确定为显示参数。
  11. 如权利要求10所述的信息处理装置,其中,所述显示单元,具体用于:
    对所述节点对象树中的节点进行遍历,以得到节点对应的目标信息;
    确定目标信息在第三方应用中相应的显示位置,并将所述目标信息绘制在所述显示位置上。
  12. 如权利要求8所述的信息处理装置,其中,所述传输单元,具体用于:
    将所述下载指令传输至处理平台,所述下载指令携带目标信息标识;
    控制所述处理平台将所述下载指令发送至配置服务器,以接收所述配置服务器根据所述目标信息标识对应返回的配置文件。
  13. 一种存储介质,其上存储有计算机程序,其中,当所述计算机程序在计算机上运行时,使得所述计算机执行如权利要求1所述的信息处理方法。
  14. 一种电子设备,包括存储器和处理器,其中,所述处理器通过调用所述存储器中存储的计算机程序,用于执行步骤:
    当检测到第三方应用接收到信息显示指令时,生成下载指令;
    将所述下载指令传输至处理平台,以使得所述处理平台根据所述下载指令下载相应的配置文件,所述处理平台用于统一对第三方应用的信息进行渲染;
    控制所述处理平台对所述配置文件进行解析,生成显示参数;
    对所述显示参数进行分析,以得到目标信息,并在第三方应用中显示所述目标信息。
  15. 如权利要求14所述的电子设备,其中,所述处理器通过调用所述计算机程序,用于执行步骤:
    加载所述处理平台中的预设脚本文件;
    通过所述预设脚本文件对所述配置文件进行解析,生成所述配置文件相应的显示参数。
  16. 如权利要求15所述的电子设备,其中,所述处理器通过调用所述计算机程序,用于执行步骤:
    通过所述预设脚本文件对所述配置文件中的全局配置信息进行解析,生成所述全局配置信息相应的节点对象树信息;
    将所述节点对象树信息确定为显示参数。
  17. 如权利要求16所述的电子设备,其中,所述处理器通过调用所述计算机程序,用于执行步骤:
    对所述节点对象树中的节点进行遍历,以得到节点对应的目标信息;
    确定目标信息在第三方应用中相应的显示位置,并将所述目标信息绘制在所述显示位置上。
  18. 如权利要求14所述的电子设备,其中,所述处理器通过调用所述计算机程序,用于执行步骤:
    将所述下载指令传输至处理平台,所述下载指令携带目标信息标识;
    控制所述处理平台将所述下载指令发送至配置服务器,以接收所述配置服务器根据所述目标信息标识对应返回的配置文件。
  19. 如权利要求14所述的电子设备,其中,所述处理器通过调用所述计算机程序,用于执行步骤:
    控制所述处理平台中的渲染引擎对所述配置文件进行渲染解析,生成具有显示信息中的每一单独的显示元素的排列规则的显示参数。
  20. 如权利要求14所述的电子设备,其中,所述处理器通过调用所述计算机程序,用于执行步骤:
    控制所述处理平台将所述显示参数分发到相应的第三方应用中;
    控制所述第三方应用中相应的视图组件对所述显示参数进行分析,确定显示参数中每一显示元素对应的显示属性和显示位置,根据显示属性生成对应的视图控件,并将视图控件设置在相应的显示位置上。
PCT/CN2019/095100 2018-09-12 2019-07-08 信息处理方法、装置、存储介质及电子设备 WO2020052337A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP19858994.7A EP3848798A4 (en) 2018-09-12 2019-07-08 APPARATUS AND METHOD FOR PROCESSING INFORMATION, DATA MEDIA, AND ELECTRONIC DEVICE
US17/198,729 US11706331B2 (en) 2018-09-12 2021-03-11 Information processing method and apparatus, storage medium, and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811063792.1A CN109408136B (zh) 2018-09-12 2018-09-12 信息处理方法、装置、存储介质及电子设备
CN201811063792.1 2018-09-12

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/198,729 Continuation US11706331B2 (en) 2018-09-12 2021-03-11 Information processing method and apparatus, storage medium, and electronic device

Publications (1)

Publication Number Publication Date
WO2020052337A1 true WO2020052337A1 (zh) 2020-03-19

Family

ID=65464144

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/095100 WO2020052337A1 (zh) 2018-09-12 2019-07-08 信息处理方法、装置、存储介质及电子设备

Country Status (4)

Country Link
US (1) US11706331B2 (zh)
EP (1) EP3848798A4 (zh)
CN (1) CN109408136B (zh)
WO (1) WO2020052337A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897523A (zh) * 2020-06-29 2020-11-06 北京金茂绿建科技有限公司 一种信息显示方法和装置
CN114090117A (zh) * 2021-11-10 2022-02-25 深圳Tcl新技术有限公司 一种配置方法、装置、设备及存储介质

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109408136B (zh) * 2018-09-12 2021-06-15 Oppo广东移动通信有限公司 信息处理方法、装置、存储介质及电子设备
CN109948581B (zh) * 2019-03-28 2023-05-05 腾讯科技(深圳)有限公司 图文渲染方法、装置、设备及可读存储介质
CN110109728A (zh) * 2019-05-07 2019-08-09 安徽省渠道网络股份有限公司 信息处理装置、信息处理方法以及存储介质
CN110311968B (zh) * 2019-06-26 2022-04-08 北京小米移动软件有限公司 流式加载文件的方法、装置及智能设备
CN110457038B (zh) * 2019-08-14 2022-11-29 百度在线网络技术(北京)有限公司 附属应用端的卡片显示方法、装置、设备以及存储介质
CN114706621B (zh) * 2019-09-26 2023-03-24 华为技术有限公司 一种启动快应用的方法及相关装置
CN112530433B (zh) * 2020-12-01 2023-11-07 杭州灵伴科技有限公司 一种通用语音指令生成方法、装置和增强现实显示设备
CN116257286B (zh) * 2023-03-13 2023-09-15 北京百度网讯科技有限公司 一种文件处理方法、装置、电子设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831190A (zh) * 2012-08-03 2012-12-19 北京中广睛彩导航科技有限公司 一种在低端设备上浏览cml文件的方法
CN105354013A (zh) * 2014-08-18 2016-02-24 阿里巴巴集团控股有限公司 应用界面渲染方法及装置
CN106126284A (zh) * 2016-06-21 2016-11-16 东软集团股份有限公司 用于应用程序ui显示的方法及装置
CN108228305A (zh) * 2018-02-02 2018-06-29 广东欧珀移动通信有限公司 应用页面的显示方法、装置、存储介质及电子设备
CN109408136A (zh) * 2018-09-12 2019-03-01 Oppo广东移动通信有限公司 信息处理方法、装置、存储介质及电子设备

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103714172A (zh) * 2013-12-31 2014-04-09 华为技术有限公司 页面处理方法、装置及系统
CN105446739A (zh) * 2015-11-16 2016-03-30 深圳市创维电器科技有限公司 Ui界面设置方法及装置
US20170147323A1 (en) * 2015-11-25 2017-05-25 Le Holding (Beijing) Co., Ltd. Method and electronic device for upgrading software development kit of an application
CN107402747B (zh) * 2016-05-20 2019-08-20 中国科学院声学研究所 一种支持多终端类型的应用页面动态生成方法
CN105912375A (zh) * 2016-05-31 2016-08-31 乐视控股(北京)有限公司 将应用程序部署至服务器的方法及装置
CN106201458A (zh) * 2016-06-27 2016-12-07 上海波汇科技股份有限公司 一种灵活可配的界面生成方法和系统
US20180032634A1 (en) * 2016-07-29 2018-02-01 ALQIMI Analytics & Intelligence, LLC System and methods for retrieving and displaying data utilizing a content authoring toolkit (cat)
CN106454403B (zh) * 2016-09-09 2020-06-12 北京星选科技有限公司 数据显示方法、设备及系统
CN106781100A (zh) * 2017-01-17 2017-05-31 浪潮(苏州)金融技术服务有限公司 一种自助终端设备的配置方法及装置
CN106846451A (zh) * 2017-01-22 2017-06-13 南通大学 面向移动设备的真实感体渲染和交互系统及其工作方法
CN107018450A (zh) * 2017-03-17 2017-08-04 北京潘达互娱科技有限公司 一种页面显示方法与装置
CN108038148A (zh) 2017-11-29 2018-05-15 广东欧珀移动通信有限公司 搜索响应方法、装置、服务器及存储介质
CN108023960B (zh) * 2017-12-08 2019-05-21 百度在线网络技术(北京)有限公司 构建Feed流应用的装置和Feed流信息推送的方法
US10503468B2 (en) * 2017-12-08 2019-12-10 Amazon Technologies, Inc. Voice enabling applications
CN108334608B (zh) * 2018-02-02 2020-08-04 Oppo广东移动通信有限公司 应用页面的链接生成方法、装置、存储介质及电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831190A (zh) * 2012-08-03 2012-12-19 北京中广睛彩导航科技有限公司 一种在低端设备上浏览cml文件的方法
CN105354013A (zh) * 2014-08-18 2016-02-24 阿里巴巴集团控股有限公司 应用界面渲染方法及装置
CN106126284A (zh) * 2016-06-21 2016-11-16 东软集团股份有限公司 用于应用程序ui显示的方法及装置
CN108228305A (zh) * 2018-02-02 2018-06-29 广东欧珀移动通信有限公司 应用页面的显示方法、装置、存储介质及电子设备
CN109408136A (zh) * 2018-09-12 2019-03-01 Oppo广东移动通信有限公司 信息处理方法、装置、存储介质及电子设备

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897523A (zh) * 2020-06-29 2020-11-06 北京金茂绿建科技有限公司 一种信息显示方法和装置
CN111897523B (zh) * 2020-06-29 2024-03-15 北京金茂绿建科技有限公司 一种信息显示方法和装置
CN114090117A (zh) * 2021-11-10 2022-02-25 深圳Tcl新技术有限公司 一种配置方法、装置、设备及存储介质

Also Published As

Publication number Publication date
EP3848798A1 (en) 2021-07-14
US11706331B2 (en) 2023-07-18
CN109408136B (zh) 2021-06-15
EP3848798A4 (en) 2021-11-10
CN109408136A (zh) 2019-03-01
US20210203767A1 (en) 2021-07-01

Similar Documents

Publication Publication Date Title
US20210216700A1 (en) Information Processing Method and System
WO2020052337A1 (zh) 信息处理方法、装置、存储介质及电子设备
US20210191996A1 (en) Method for displaying application page, non-transitory storage medium and electronic device
KR102431773B1 (ko) 애플리케이션 컨테이너를 사용한 코드 및 종속 데이터의 전달 관리
WO2020119485A1 (zh) 一种页面显示方法、装置、设备及存储介质
US10567543B1 (en) Installable web applications
TWI708185B (zh) 程式的運行方法及裝置、計算設備以及儲存介質
WO2020063031A1 (zh) 结构数据的处理方法、装置、存储介质及电子设备
CN111158818A (zh) 一种页面渲染方法和装置
TW201814545A (zh) 多服務集成方法、裝置、智慧型終端、伺服器和操作系統
TW201814510A (zh) 介面移動方法、裝置、智慧型終端機、伺服器和操作系統
CN108549568B (zh) 应用入口处理方法、装置、存储介质及电子设备
WO2020042769A1 (zh) 图像信息的传输方法、装置、存储介质及电子设备
JP2009528647A (ja) 配信コンテンツ用補助表示ガジェット
WO2020206691A1 (zh) 应用程序的处理方法、装置、存储介质及电子设备
CN111309216B (zh) 列表页面的显示方法、装置、计算机设备及存储介质
US20180196584A1 (en) Execution of multiple applications on a device
WO2023103759A1 (zh) 服务调用方法、系统、装置、设备及存储介质
WO2020215833A1 (zh) 离线缓存方法、装置、终端及可读存储介质
CN114385164A (zh) 页面生成与渲染方法、装置、电子设备及存储介质
US9251267B2 (en) Generating behavior information for a link
CN110618811B (zh) 信息呈现方法和装置
WO2020135129A1 (zh) 加载应用的插件的方法、装置和终端
CN111443903A (zh) 软件开发文件获取方法及装置、电子设备、存储介质
CN111008050B (zh) 页面任务执行方法、装置、终端及存储介质

Legal Events

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

Ref document number: 19858994

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2019858994

Country of ref document: EP

Effective date: 20210409