[go: up one dir, main page]

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

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

Info

Publication number
WO2020063019A1
WO2020063019A1 PCT/CN2019/095134 CN2019095134W WO2020063019A1 WO 2020063019 A1 WO2020063019 A1 WO 2020063019A1 CN 2019095134 W CN2019095134 W CN 2019095134W WO 2020063019 A1 WO2020063019 A1 WO 2020063019A1
Authority
WO
WIPO (PCT)
Prior art keywords
display
server
configuration file
rendering
global configuration
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.)
Ceased
Application number
PCT/CN2019/095134
Other languages
English (en)
French (fr)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to EP19867154.7A priority Critical patent/EP3855312A4/en
Publication of WO2020063019A1 publication Critical patent/WO2020063019A1/zh
Priority to US17/213,596 priority patent/US20210216700A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing

Definitions

  • the present application relates to the field of information technology, and in particular, to an information processing method, device, storage medium, electronic device, and system.
  • the rendering engine in the current application needs to parse and render the fast application code in real time. Due to the variety of applications, the types of rendering engines used are not necessarily the same, resulting The need to store multiple rendering engines results in wasted storage space.
  • the embodiments of the present application provide an information processing method, device, storage medium, electronic device, and system, which can improve the rendering efficiency of native pages and save storage space.
  • an embodiment of the present application provides an information processing method applied to an electronic device, including:
  • an embodiment of the present application provides an information processing method, which is applied to a server and includes:
  • an embodiment of the present application provides an information processing apparatus, which is applied to an electronic device and includes:
  • a generating unit configured to generate a rendering instruction when a display instruction of a native page is received
  • a transceiver unit configured to send the rendering instruction to a server, and receive display parameters returned by the server after parsing according to a global configuration file matched by the rendering instruction;
  • a display unit is configured to render the display parameters to obtain a native page and display it.
  • an embodiment of the present application provides an information processing apparatus, which is applied to a server and includes:
  • a receiving unit configured to receive a rendering instruction sent by an electronic device
  • the sending unit is configured to send the display parameter to the electronic device.
  • 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 information processing system provided in the embodiment of the present application includes an electronic device and a server, the electronic device includes any one of the information processing devices described in the third aspect, and the server includes any one of the information processing devices described in the fourth aspect .
  • 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 a schematic flowchart of an information processing method according to an embodiment of the present application.
  • FIG. 5 is a schematic timing diagram of an information processing method according to an embodiment of the present application.
  • FIG. 6 is a schematic block diagram of an information processing apparatus according to an embodiment of the present application.
  • FIG. 7 is a schematic block diagram of an information processing apparatus according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • FIG. 9 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
  • FIG. 10 is a schematic block diagram of an information processing system 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 this kernel, such as the Binder IPC (Internet Process Connection Connection) driver , A special driver for Android, with a separate device node that provides inter-process communication.
  • the Binder IPC Internet Process Connection Connection
  • 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 applied to an electronic device, including:
  • the rendering instruction carries a page identifier
  • the step of sending the rendering instruction to a server and receiving the display parameters returned by the server after parsing according to the global configuration file matched by the rendering instruction may include: sending the rendering instruction to a server, so that the server matches and parses a corresponding global configuration file according to a page identifier carried by the rendering instruction; and receiving a generated and parsed corresponding global configuration file by the server. Display parameters.
  • the step of receiving the display parameter generated by the server after parsing the corresponding configuration file may include: receiving, by using a preset script framework, the server to display the display including the instruction set generated after parsing the corresponding global configuration file. parameter.
  • the step of rendering the display parameters to obtain a native page and displaying may include: traversing and rendering the instruction set in the display parameters according to a preset rule, and sequentially obtaining corresponding The target information; draw the target information in the order of acquisition time to get the native page and display it.
  • the step of rendering the display parameters to obtain a native page and displaying may include: rendering the display parameters to generate a plurality of display effects arranged according to the display position and having corresponding display effects. Controls, and each control contains specific functional logic to form a native page and display it.
  • An embodiment of the present application provides an information processing method. As shown in FIG. 2, the information processing method is applied to an electronic device and may include the following steps:
  • step S101 when a display instruction of a native page is received, a rendering instruction is generated.
  • the native page refers to an application native page opened through a fast application.
  • the fast application refers to a user that does not need to download and install an application, and clicks and enjoys the performance experience of the native application in real time, which can greatly save the storage space of electronic devices. It has the effect of "slimming down" electronic devices.
  • the electronic device when a user performs an operation of opening a native page for the first time, the electronic device generates and receives a display instruction of the native page, and correspondingly generates a rendering instruction, where the rendering instruction includes a page identifier of the native page to be generated.
  • step S102 the rendering instruction is sent to the server, and the display parameter returned by the server after parsing according to the global configuration file matched by the rendering instruction is received.
  • the existing processing method is that after generating a rendering instruction, it is necessary to download the corresponding global configuration file of the native page to the electronic device, and analyze it by a rendering engine in a third-party application to generate a native page.
  • the global configuration file Contains the corresponding code information of the constituent elements of the native page.
  • the embodiment of the present application sends a rendering instruction to the server after generating the rendering instruction, so that the server matches the corresponding global configuration file according to the page identifier indicated by the rendering instruction, and parses the global configuration file through the rendering engine in the server.
  • Generate display parameters that can be read directly by the electronic device.
  • the display parameters include the corresponding attribute information of the generated control, the attribute information includes the logic and layout of the control, the logic is the function logic of the control, etc., The layout is the display position of the control, the display effect and so on.
  • the display parameters are returned to the electronic device.
  • the step of carrying a page identifier in the rendering instruction, sending the rendering instruction to the server, and receiving the display parameter returned by the server after parsing according to the global configuration file matched by the rendering instruction may include:
  • the rendering instruction is sent to the server. Because the rendering instruction carries the page identifier of the native page, when the server receives the rendering instruction, it will match the page identifier to obtain the global configuration file corresponding to the page identifier.
  • the rendering engine in the parsing of the global configuration file generates multiple control instructions that can form the layout and logic of the entire native page.
  • the multiple control instructions form the display parameters, and the server returns the display parameters to On the electronic device that sent the rendering instructions.
  • the electronic device receives the display parameters returned by the server and saves them.
  • the electronic device may set a preset storage space to specifically store the corresponding display parameters, so that the corresponding display parameters can be found quickly and accurately in the later stage.
  • the step of receiving the display parameter generated by the server after parsing the corresponding global configuration file may include receiving the display parameter generated by the server after parsing the corresponding global configuration file and containing the instruction set. .
  • the server may be integrated with a preset script framework.
  • the preset script framework may be a JavaScript scripting language framework.
  • the JavaScript is a scripting language belonging to the network and has been widely used in web application development. , Commonly used to add a variety of dynamic functions for web pages, to provide users with a more smooth and beautiful browsing effect. Therefore, the JavaScript scripting language framework can parse the global configuration file and generate display parameters including an instruction set.
  • the instruction set can be multiple strings, and each string can represent the display style and display position of a control.
  • the instruction set may also be a drawn image, such as a picture in JPEG format, etc. Based on this, the electronic device may directly place the drawn image on a corresponding position to generate a native page.
  • step S103 the display parameters are rendered to obtain a native page and display it.
  • the parsed display parameters can be directly executed by the processor of the electronic device to generate multiple layouts according to a certain rule. Control to get and display the native page.
  • the display parameters include attribute information corresponding to the generated control
  • the attribute information includes the logic and layout of the control
  • the logic is the functional logic of the control, etc.
  • the layout is the display position and display effect of the control. Therefore, after rendering the display parameters, multiple controls with corresponding display effects arranged according to the display position are generated, and each control contains specific functional logic. The displayed multiple controls are combined to form a native page and displayed.
  • the step of rendering the display parameters to obtain a native page and displaying it may include:
  • the instruction set in the display parameter is traversed and rendered according to a preset rule to obtain corresponding target information in order;
  • the target information is drawn in the order of acquisition time to obtain the native page and display it.
  • the code instruction set in the display parameters is traversed and rendered according to the rules from top to bottom to obtain target information (such as display controls) from the top to the bottom of the page and from left to right in order.
  • Target information such as display controls
  • Display controls include display position, display text, and display effects.
  • the display controls are drawn one by one on the page according to the order of the acquired time according to the display effect and display position, forming a streamlined drawing order from top to bottom, so that the native page can be displayed in a progressive manner. To prevent long-time white screen and improve user experience.
  • the rendering engine in the server analyzes the corresponding global configuration file of the native page that needs to be displayed in the electronic device, the third-party application in the electronic device does not need to store the rendering engine, thereby reducing the application installation file.
  • Storage space saving storage space for electronic devices.
  • an information processing method provided by this embodiment generates a rendering instruction when a display instruction of a native page is received, sends the rendering instruction to a server, and receives the server for analysis according to a global configuration file matched by the rendering instruction.
  • the display parameters returned later; render the display parameters to get the native page and display it.
  • a rendering instruction is sent to the server, so that the server side matches the corresponding global configuration file according to the rendering instruction, and the server side analyzes the global configuration file and returns display parameters to directly display the display.
  • the parameters are used for rendering to generate a native page, which improves the rendering efficiency of electronic devices for native pages, and saves the rendering engine, thereby saving 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 a display instruction of a native page is received, a rendering instruction is generated.
  • the electronic device is described by using a mobile phone as an example.
  • the mobile phone when it detects that the user opens the fast application for the first time, it automatically generates a display instruction for the native page and generates a rendering instruction accordingly.
  • the rendering instruction may carry the corresponding page identifier of the native page to be displayed.
  • step S202 the rendering instruction is sent to the server, so that the server matches the corresponding global configuration file and parses it according to the page identifier carried by the rendering instruction.
  • the mobile phone sends rendering instructions to a server.
  • the server stores multiple global configuration files, each global configuration file is associated with a corresponding page identifier, and each global configuration file is a computer that generates a corresponding native page.
  • each global configuration file is a computer that generates a corresponding native page.
  • the server when the server receives the rendering instruction, it will match the page identifier carried by the rendering instruction to find the corresponding global configuration file, and parse the global configuration file through the JavaScript scripting language framework in the server to convert the global configuration file. Parse into display parameters including instruction set.
  • step S203 the receiving server parses the corresponding global configuration file through a preset script framework and generates display parameters including an instruction set.
  • the mobile phone will receive the display parameter containing the instruction set after the server has parsed the corresponding global configuration file through the JavaScript scripting language framework. Since the instruction set has been parsed by the server-side JavaScript scripting language framework, the mobile phone can directly The instruction set is rendered to get the corresponding controls.
  • step S204 the instruction set in the display parameters is traversed and rendered according to a preset rule to sequentially obtain corresponding target information.
  • the mobile phone can perform traversal rendering on the acquired instruction set in the order of receiving time, and obtain target information (such as control information) obtained by rendering the corresponding instruction set in the rendering order.
  • the control information includes display effect data and display position data, such as "Addtext (XX text data) (YY position data)" means to add a text control, XX text is displayed on the file control, and it is displayed at the YY position.
  • step S205 the target information is drawn in the order of acquisition time to obtain a native page and display it.
  • the mobile phone draws the target information one by one on the display page of the mobile phone according to the order of acquisition time, forming a streamline drawing order from the display page from top to bottom, so that the display content on the native page is performed one by one in a progressive manner. Display to prevent white screen for a long time.
  • an information processing method generates a rendering instruction when a display instruction of a native page is received, sends the rendering instruction to a server, and receives a corresponding global configuration of the server through a preset script framework.
  • the display parameters containing the instruction set are generated after the file is parsed.
  • the instruction set in the display parameters is rendered according to the receiving time to obtain the corresponding target information in order, and the target information is drawn in the order of the acquisition time to obtain the native page and Display in a streamlined manner.
  • a rendering instruction is sent to the server, so that the server side matches the corresponding global configuration file according to the rendering instruction, and the server side analyzes the global configuration file and returns display parameters to directly display the display.
  • the parameters are used for rendering to generate a native page, which improves the rendering efficiency of electronic devices for native pages, and saves the rendering engine, thereby saving storage space.
  • An embodiment of the present application provides an information processing method, which is applied to a server and includes:
  • the rendering instruction carries a page identifier, and the matching is performed according to the rendering instruction to obtain a corresponding global configuration file, and the global configuration file is parsed to generate display parameters, which may include: The page identifier carried by the rendering instruction is matched to obtain a global configuration file corresponding to the page identifier; the global configuration file is parsed through a preset script framework to generate corresponding display parameters including an instruction set.
  • An embodiment of the present application provides an information processing method. As shown in FIG. 4, the information processing method, which is applied to a server, may include the following steps:
  • step S301 a rendering instruction sent by an electronic device is received.
  • the server can integrate a rendering engine and store multiple global configuration files corresponding to a fast application.
  • Each global configuration file corresponds to all display data in a fast application. That is, each global configuration file corresponds to a native file in a fast application.
  • each global configuration file is associated with a page identifier of a native page, that is, a corresponding global configuration file can be found through the page identifier.
  • the server can receive the rendering instruction sent by the electronic device, and store the rendering instruction and the International Mobile Equipment Identity (IMEI) of the electronic device in a binding storage.
  • IMEI International Mobile Equipment Identity
  • step S302 matching is performed according to a rendering instruction to obtain a corresponding global configuration file, and the global configuration file is parsed to generate display parameters.
  • the server can match according to the page identifier in the rendering instruction to obtain the corresponding global configuration file, and analyze the global configuration file through the integrated rendering engine to generate display parameters that can be directly read by the electronic device.
  • the corresponding attribute information of the generated control is included.
  • the attribute information includes the logic and layout of the control, the logic is the functional logic of the control, and the layout is the display position and display effect of the control.
  • the rendering instruction carries a page identifier, and the matching is performed according to the rendering instruction to obtain a corresponding global configuration file, and the global configuration file is parsed to generate display parameters, which may include:
  • the server can match the page identifier carried by the rendering instruction to obtain the global configuration file associated with the page identifier, and the JavaScript script integrated in the server
  • the language framework parses the matched global configuration file and generates corresponding display parameters that include instruction sets.
  • the instruction set can be multiple strings, and each string can represent the display style and display position of a control.
  • step S303 the display parameters are sent to the electronic device.
  • the server sends the display parameters that can be directly read by the electronic device to the electronic device corresponding to the international mobile device identification code that needs to be rendered.
  • an information processing method receives a rendering instruction sent by an electronic device, performs matching according to the rendering instruction to obtain a corresponding global configuration file, and analyzes the global configuration file to generate display parameters; Send the display parameters to the electronic device.
  • the server side matches the corresponding global configuration file according to the rendering instructions, and the server side parses the global configuration file and returns the display parameters to the electronic device, so that the electronic device can directly render the display parameters and generate a native page, which improves the The electronic device renders native pages efficiently and saves the rendering engine, which saves storage space.
  • FIG. 5 is a timing diagram of an information processing method provided by an embodiment of the present application.
  • step A when the electronic device receives a display instruction of a native page, it generates a rendering instruction.
  • the electronic device receives a display instruction of the native page and generates a rendering instruction accordingly.
  • the rendering instruction may carry a page identifier corresponding to the native page.
  • step B the electronic device sends a rendering instruction to the server.
  • step C the server performs matching according to the rendering instruction to obtain a corresponding global configuration file, parses the global configuration file, and generates display parameters.
  • the server matches according to the corresponding page identifier of the rendering instruction to obtain the corresponding global configuration file package, and analyzes it through the JavaScript script language framework integrated in the server to generate display parameters that can be directly read by the electronic device.
  • step D the server sends the display parameters to the electronic device.
  • step E the electronic device parses the display parameters to obtain a native page and display it.
  • the parsed display parameter can be directly executed by the processor of the electronic device. Generate a number of controls that are laid out according to a certain rule, and then get and display the native page.
  • 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, which is applied to an electronic device and includes:
  • a generating unit configured to generate a rendering instruction when a display instruction of a native page is received
  • a transceiver unit configured to send the rendering instruction to a server, and receive display parameters returned by the server after parsing according to a global configuration file matched by the rendering instruction;
  • a display unit is configured to render the display parameters to obtain a native page and display it.
  • the rendering instruction carries a page identifier.
  • the rendering instruction is sent to a server, so that the server matches the corresponding global according to the page identifier carried by the rendering instruction.
  • the configuration file is parsed; the display parameter generated by the receiving server after parsing the corresponding global configuration file.
  • the transceiver unit is further specifically configured to: send the rendering instruction to a server, so that the server matches and parses a corresponding global configuration file according to a page identifier carried by the rendering instruction. ;
  • the receiving server parses the corresponding global configuration file through a preset script framework and generates display parameters containing an instruction set.
  • the display unit is specifically configured to: traverse and render the instruction set in the display parameter according to a preset rule to obtain corresponding target information in order; and obtain the target information in the order of the acquisition time Draw to get the native page and display it.
  • the display unit is further configured to: render the display parameters to generate a plurality of controls with corresponding display effects arranged according to the display position, and each control includes specific functional logic, To form a native page and display it.
  • FIG. 6 is a schematic diagram of a module of an information processing apparatus according to an embodiment of the present application.
  • the information processing device is mainly integrated in an electronic device.
  • the information processing apparatus 300 includes a generating unit 31, a transmitting and receiving unit 32, and a display unit 33.
  • the generating unit 31 is configured to generate a rendering instruction when a native page display instruction is received.
  • the native page refers to an application native page opened through a fast application.
  • the fast application refers to a user that does not need to download and install an application, and clicks and enjoys the performance experience of the native application in real time, which can greatly save the storage space of electronic devices. It has the effect of "slimming down" electronic devices.
  • the generating unit 31 when the user performs an operation of opening the native page for the first time, the generating unit 31 generates and receives a display instruction of the native page, and correspondingly generates a rendering instruction, where the rendering instruction includes a page identifier of the native page to be generated.
  • the transceiver unit 32 is configured to send the rendering instruction to the server, and receive the display parameter returned by the server after parsing according to the global configuration file matched by the rendering instruction.
  • the transceiver unit 32 sends the rendering instruction to the server, so that the server matches the corresponding global configuration file according to the page identifier indicated by the rendering instruction, and the global configuration file is processed by the rendering engine in the server
  • the analysis is performed to generate display parameters that can be directly read by the electronic device.
  • the display parameters include corresponding attribute information of the generated control, and the attribute information includes the logic and layout of the control, and the logic is the function logic of the control.
  • the layout is the display position of the control, the display effect, and so on.
  • the display parameters are returned to the electronic device and received by the transceiver unit 32.
  • the rendering instruction carries a page identifier
  • the transceiver unit 32 is specifically configured to send the rendering instruction to the server, so that the server matches the corresponding global configuration file according to the page identifier carried by the rendering instruction and performs Parsing; the display parameters generated by the receiving server after parsing the corresponding global configuration file.
  • the transceiver unit 32 is further specifically configured to send the rendering instruction to the server, so that the server matches and parses the corresponding global configuration file according to the page identifier carried by the rendering instruction; the receiving server passes Suppose that the script framework analyzes the corresponding global configuration file and generates display parameters that include instruction sets.
  • the display unit 33 is configured to parse the display parameters to obtain a native page and display it.
  • the parsed display parameters can be directly executed by the display unit 33, and a plurality of layouts are generated according to a certain rule Control to get and display the native page.
  • the display parameters include attribute information corresponding to the generated control
  • the attribute information includes the logic and layout of the control
  • the logic is the functional logic of the control, etc.
  • the layout is the display position and display effect of the control. Therefore, after the display unit 33 renders the display parameters, multiple controls with corresponding display effects are generated according to the display position, and each control contains specific functional logic. The displayed multiple controls combine to form a native page and Display it.
  • the display unit 33 is specifically configured to traverse and render the instruction set in the display parameter according to a preset rule to obtain corresponding target information in order; draw the target information in the order of the acquisition time, To get the native page and display it.
  • the information processing apparatus generates a rendering instruction when the generating unit 31 receives a display instruction of a native page; the transceiver unit 32 sends the rendering instruction to the server, and receives the server to match according to the rendering instruction.
  • a rendering instruction is sent to the server, so that the server side matches the corresponding global configuration file according to the rendering instruction, and the server side analyzes the global configuration file and returns display parameters to directly display the display.
  • the parameters are used for rendering to generate a native page, which improves the rendering efficiency of electronic devices for native pages, and saves the rendering engine, thereby saving storage space.
  • An embodiment of the present application provides an information processing apparatus, which is applied to a server and includes:
  • a receiving unit configured to receive a rendering instruction sent by an electronic device
  • the sending unit is configured to send the display parameter to the electronic device.
  • FIG. 7 is a schematic diagram of a module of an information processing apparatus according to an embodiment of the present application.
  • the information processing device is mainly integrated in a server.
  • the information processing apparatus 400 includes a receiving unit 41, a matching unit 42, and a sending unit 43.
  • the receiving unit 41 is configured to receive a rendering instruction sent by an electronic device.
  • the server can integrate a rendering engine and store multiple global configuration files corresponding to a fast application.
  • Each global configuration file corresponds to all display data in a fast application. That is, each global configuration file corresponds to a native file in a fast application.
  • each global configuration file is associated with a page identifier of a native page, that is, a corresponding global configuration file can be found through the page identifier.
  • the receiving unit 41 may receive a rendering instruction sent by the electronic device, and store and bind the rendering instruction and the international mobile device identification code of the electronic device.
  • the matching unit 42 is configured to perform matching according to the rendering instruction to obtain a corresponding global configuration file, and analyze the global configuration file to generate display parameters.
  • the matching unit 42 can match according to the page identifier in the rendering instruction to obtain the corresponding global configuration file, and analyze the global configuration file through the integrated rendering engine to generate display parameters that can be directly read by the electronic device.
  • the display parameter includes corresponding attribute information of the generated control.
  • the attribute information includes a logic and a layout of the control, the logic is a function logic of the control, and the like, and the layout is a display position and a display effect of the control.
  • the matching unit 42 is specifically configured to perform matching based on the page identifier carried by the rendering instruction to obtain a global configuration file corresponding to the page identifier; the global configuration file is parsed through a preset script framework to generate The corresponding display parameters containing the instruction set.
  • the sending unit 43 is configured to send the display parameter to the electronic device.
  • the sending unit 43 sends the display parameters that can be directly read by the electronic device to the electronic device corresponding to the international mobile device identification code to be rendered.
  • an information processing apparatus receives a rendering instruction sent by an electronic device through a receiving unit 41; the matching unit 42 performs matching according to the rendering instruction to obtain a corresponding global configuration file, and Parse and generate display parameters; the sending unit 43 sends the display parameters to the electronic device.
  • the server side matches the corresponding global configuration file according to the rendering instructions, and the server side parses the global configuration file and returns the display parameters to the electronic device, so that the electronic device can directly render the display parameters and generate a native page, which improves the The electronic device renders native pages efficiently and saves the rendering engine, which 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.
  • the processor 500 runs or loads a computer program stored in the memory 502, and calls data stored in the memory 502 to execute 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; the storage data area may store data according to 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 the stored data in the memory 502
  • a computer program in the computer to achieve various functions, as follows:
  • the rendering instruction carries a page identifier.
  • the processor 501 may specifically Perform the following steps:
  • the display parameters generated by the receiving server after parsing the corresponding global configuration file are displayed.
  • the processor 501 when receiving the display parameters generated by the server after parsing the corresponding configuration file, the processor 501 may specifically perform the following steps:
  • the receiving server parses the corresponding global configuration file through a preset script framework and generates display parameters including an instruction set.
  • the processor 501 may specifically perform the following steps:
  • the target information is drawn in the order of acquisition time to obtain the native page and display it.
  • the processor 501 may specifically perform the following steps:
  • the electronic device in the embodiment of the present application generates a rendering instruction when receiving a display instruction of a native page; sends the rendering instruction to the server, and receives the server's parsing according to the global configuration file matching the rendering instruction and returns Display parameters; render the display parameters to get the native page and display it.
  • a rendering instruction is sent to the server, so that the server side matches the corresponding global configuration file according to the rendering instruction, and the server side analyzes the global configuration file and returns display parameters to directly display the display.
  • the parameters are used for rendering to generate a native page, which improves the rendering efficiency of electronic devices for native pages, and saves the rendering engine, thereby saving storage space.
  • the electronic device 500 may further include a display 503, a radio frequency circuit 504, an audio circuit 505, and a power supply 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 management of charging, discharging, and power consumption 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.
  • FIG. 10 is a schematic diagram of a module of an information processing system according to an embodiment of the present application.
  • the information processing system 600 includes an electronic device 61 and a server 62.
  • the electronic device 61 is configured to generate a rendering instruction when a native page display instruction is received, send the rendering instruction to a server, and receive display parameters returned by the server after parsing according to a global configuration file matched by the rendering instruction; The display parameters are parsed to get the native page and display it.
  • the server 62 is configured to receive a rendering instruction sent by an electronic device; perform matching according to the rendering instruction to obtain a corresponding global configuration file, and analyze the global configuration file to generate a display parameter; and send the display parameter to the electronic device.
  • the electronic device 61 and the server 62 can execute any one of the information processing methods provided by the embodiments of the invention, the specific implementation process is described in the above-mentioned information processing method embodiments, and is not repeated here.
  • An embodiment of the present application further provides a storage medium that stores a computer program.
  • the computer program runs on a computer, the computer is caused to execute the information processing method in any of the foregoing embodiments, for example, when a native program is received Page display instructions, generating rendering instructions; sending the rendering instructions to the server, and receiving display parameters returned by the server after parsing according to the global configuration file matched by the rendering instructions; parsing the display parameters to obtain a native page and performing display.
  • receive a rendering instruction sent by an electronic device match according to the rendering instruction to obtain a corresponding global configuration file, and analyze the global configuration file to generate a display parameter; and send the display parameter to the electronic device.
  • 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.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本申请公开了一种信息处理方法,包括:当接收到原生页面的显示指令时,生成渲染指令;将渲染指令发送至服务器,并接收服务器根据渲染指令匹配的全局配置文件进行解析后返回的显示参数;对显示参数进行渲染,以得到原生页面并进行显示。

Description

信息处理方法、装置、存储介质、电子设备及系统
本申请要求于2018年09月29日提交中国专利局、申请号为201811152476.1、发明名称为“信息处理方法、装置、存储介质、电子设备及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及信息技术领域,尤其涉及一种信息处理方法、装置、存储介质、电子设备及系统。
背景技术
随着电子技术的不断发展,电子设备如手机的功能越来越强大,用户可以通过各式各样的快应用程序去浏览应用的原生页面,如浏览文字信息、图像信息、音视频信息以及卡片信息等等。
目前,手机在通过快应用程序进行浏览原生页面时,都需要当前应用中的渲染引擎对快应用代码进行实时解析和渲染,由于应用程序的种类繁多,使用的渲染引擎种类也不一定相同,造成需要存储多个渲染引擎,造成存储空间浪费。
发明内容
本申请实施例提供一种信息处理方法、装置、存储介质、电子设备及系统,可以提升原生页面的渲染效率,且节省存储空间。
第一方面,本申请实施例提供了一种信息处理方法,应用于电子设备,包括:
当接收到原生页面的显示指令时,生成渲染指令;
将所述渲染指令发送至服务器,并接收所述服务器根据所述渲染指令匹配的全局配置文件进行解析后返回的显示参数;
对所述显示参数进行渲染,以得到原生页面并进行显示。
第二方面,本申请实施例提供了一种信息处理方法,应用于服务器,包括:
接收电子设备发送的渲染指令;
根据所述渲染指令进行匹配,以得到相应的全局配置文件,并对全局配置文件进行解析,生成显示参数;
将所述显示参数发送至电子设备。
第三方面,本申请实施例提供了一种信息处理装置,应用于电子设备,包括:
生成单元,用于当接收到原生页面的显示指令时,生成渲染指令;
收发单元,用于将所述渲染指令发送至服务器,并接收所述服务器根据所述渲染指令匹配的全局配置文件进行解析后返回的显示参数;
显示单元,用于对所述显示参数进行渲染,以得到原生页面并进行显示。
第四方面,本申请实施例提供了一种信息处理装置,应用于服务器,包括:
接收单元,用于接收电子设备发送的渲染指令;
匹配单元,用于根据所述渲染指令进行匹配,以得到相应的全局配置文件,并对全局配置文件进行解析,生成显示参数;
发送单元,用于将所述显示参数发送至电子设备。
第五方面,本申请实施例提供的存储介质,其上存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行如本申请任一实施例提供的信息处理方法。
第六方面,本申请实施例提供的电子设备,包括处理器和存储器,所述处理器通过调用所述存储器中存储的计算机程序,用于执行步骤:
当接收到原生页面的显示指令时,生成渲染指令;
将所述渲染指令发送至服务器,并接收所述服务器根据所述渲染指令匹配的全局配置文件进行解析后返回的显示参数;
对所述显示参数进行渲染,以得到原生页面并进行显示。
第七方面,本申请实施例提供的信息处理系统,包括电子设备和服务器,电子设备包括第三方面所述的任一项信息处理装置,服务器包括第四方面所述的任一项信息处理装置。
附图说明
下面结合附图,通过对本申请的具体实施方式详细描述,将使本申请的技术方案及其它有益效果显而易见。
图1为本申请实施例所提供电子设备运行的系统架构图。
图2是本申请实施例提供的信息处理方法的流程示意图。
图3为本申请实施例提供的信息处理方法的另一流程示意图。
图4为本申请实施例提供的信息处理方法的流程示意图。
图5为本申请实施例提供的信息处理方法的时序示意图。
图6为本申请实施例提供的信息处理装置的模块示意图。
图7为本申请实施例提供的信息处理装置的模块示意图。
图8为本申请实施例提供的电子设备的结构示意图。
图9为本申请实施例提供的电子设备的另一结构示意图。
图10为本申请实施例提供的信息处理系统的模块示意图。
具体实施方式
请参照图式,其中相同的组件符号代表相同的组件,本申请的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本申请具体实施例,其不应被视为限制本申请未在此详述的其它具体实施例。
本文所使用的术语「模块」可看做为在该运算系统上执行的软件对象。本文该的不同组件、模块、引擎及服务可看做为在该运算系统上的实施对象。而本文该的装置及方法优选的以软件的方式进行实施,当然也可在硬件上进行实施,均在本申请保护范围之内。
请参阅图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)接收服务器对相应的全局配置文件解析后的生成的显示参数。
其中,将该渲染指令发送至服务器中,由于渲染指令中携带原生页面的页面标识,所以服务器在接收到渲染指令时,会根据该页面标识进行匹配,得到页面标识相应的全局配置文件,通过服务器中的渲染引擎对全局配置文件进行解析,生成包含多个控件指令,该多个控件指令可以形成整个原生页面的布局和逻辑,该多个控件指令组成显示参数,服务器会相应将显示参数返回到发送渲染指令的电子设备上。
进一步的,电子设备会接收服务器返回的显示参数并进行保存,在一实施方式中,电子设备可以设置预设存储空间来专门存储相应的显示参数,使得后期可以快速准确的找到相应的显示参数。
在一些实施方式中,该接收服务器对相应的全局配置文件解析后的生成的显示参数的步骤,可以包括接收服务器通过预设脚本框架对相应的全局配置文件解析后生成的包含指令集的显示参数。
其中,该服务器中可以集成有预设脚本框架,在一实施方式中,该预设脚本框架可以为JavaScript脚本语言框架,该JavaScript是一种属于网络的脚本语言,已经被广泛用于Web应用开发,常用来为网页添加各式各样的动态功能,为用户提供更流畅美观的浏览效果。因此,该JavaScript脚本语言框架可以对全局配置文件进行解析,生成包含指令集的显示参数,该指令集可以为多个字符串,每一个字符串可以代表一个控件的显示风格以及显示位置。
在一实施方式中,该指令集还可以为绘制好的图像,如JPEG格式的图片等,基于此,电子设备可以直接将绘制好的图像放到相应的位置上,以生成原生页面。
在步骤S103中,对显示参数进行渲染,以得到原生页面并进行显示。
其中,在接收到显示参数后,由于显示参数为服务器侧通过渲染引擎进行解析后生成的显示参数,该解析后的显示参数可以直接通过电子设备的处理器执行,生成多个按照一定规律布局的控件,进而得到并显示原生页面。
在一实施方式中,由于显示参数中包括生成的控件相应的属性信息,属性信息包括控件的逻辑和布局,该逻辑为控件的功能逻辑等,该布局为控件的显示位置以及显示效果等等。所以,在对显示参数进行渲染后,会生成多个按照显示位置排布具有相应显示效果的控件,且每一控件包含特定的功能逻辑,该显示的多个控件组合形成原生页面并进行显示。
在一些实施方式中,该对显示参数进行渲染,以得到原生页面并进行显示的步骤,可以包括:
(1)对该显示参数中的指令集按照预设规则进行遍历渲染,以顺序获取相应的目标信息;
(2)将目标信息按照获取时间的先后顺序进行绘制,以得到原生页面并进行显示。
其中,对显示参数中的代码指令集按照从上至下的规则进行遍历渲染,以得到从页面的顶部到底部规律以及从左至右的顺序的目标信息(如显示控件),该渲染后的显示控件包括显示位置、显示文字以及显示效果。
进一步的,将显示控件按照获取到的时间的先后顺序在页面中按照找显示效果和显示位置进行逐一绘制,形成从上至下的流线式绘制顺序,使得原生页面可以以渐进式方式进行显示,防止出现长时间白屏现象,提高了用户体验。
并且由于通过服务器中的渲染引擎对电子设备中的需要显示的原生页面相应的全局配置文件进行统一解析,使得电子设备中的第三方应用中不需要存储渲染引擎,进而减小了应用的安装文件的存储空间,节省了电子设备的存储空间。
由上述可知,本实施例提供的一种信息处理方法,通过当接收到原生页面的显示指令时,生成渲染指令;将渲染指令发送至服务器,并接收服务器根据渲染指令匹配的全局配置文件进行解析后返回的显示参数;对显示参数进行渲染,以得到原生页面并进行显示。以此当接收到原生页面的显示指令时,发送渲染指令至服务器,使得服务器侧根据渲染指令匹配到相应的全局配置文件,并由服务器侧对全局配置文件进行解析后返回显示参数,直接对显示参数进行渲染,生成原生页面,提升了电子设备对原生页面的渲染效率,且省去了渲染引擎,进而节省了存储空间。
根据上述实施例所描述的方法,以下将举例作进一步详细说明。
请参阅图3,图3为本申请实施例提供的信息处理方法的另一流程示意图。
具体而言,该方法包括:
在步骤S201中,当接收到原生页面的显示指令时,生成渲染指令。
需要说明的是,为了更好的说明本实施例,将电子设备以手机为例进行说明。
其中,当手机检测到用户首次打开快应用时,自动生成原生页面的显示指令,并相应生成渲染指令,该渲染指令可以携带需要显示的原生页面相应的页面标识。
在步骤S202中,将渲染指令发送至服务器,以使得服务器根据渲染指令携带的页面标识匹配到相应的全局配置文件并进行解析。
其中,手机将渲染指令发送至服务器中,该服务器中存储了多个全局配置文件,每一全局配置文件分别与相应的页面标识关联,且每一全局配置文件为相应原生页面的生成形式的计算机代码形式,所以服务器在接收到渲染指令时,会根据渲染指令携带的页面标识进行匹配,找到相应的全局配置文件,并通过服务器中的JavaScript脚本语言框架对全局配置文件进行解析,将全局配置文件解析为包括指令集的显示参数。
在步骤S203中,接收服务器通过预设脚本框架对相应的全局配置文件解析后生成的包含指令集的显示参数。
其中,手机会接收服务器通过JavaScript脚本语言框架对相应的全局配置文件解析后的包含指令集的显示参数,该指令集由于已经通过服务器侧的JavaScript脚本语言框架解析, 所以手机可以直接对显示参数的指令集进行渲染,得到相应的控件。
在步骤S204中,对显示参数中的指令集按照预设规则进行遍历渲染,以顺序获取相应的目标信息。
其中,手机可以对获取的指令集按照接收时间的顺序进行遍历渲染,以渲染顺序获取相应的指令集渲染得到的目标信息(如控件信息),该控件信息包含显示效果数据以及显示位置数据,如“addtext(XX文字数据)(YY位置数据)”表示为添加一个文本控件,文件控件上显示XX文字,显示在YY位置上。
在步骤S205中,将目标信息按照获取时间的先后顺序进行绘制,以得到原生页面并进行显示。
其中,手机将目标信息按照获取时间的先后顺序在手机显示页面上进行逐一绘制,形成从显示页面从上至下的流线式绘制顺序,使得原生页面上的显示内容以渐进式方式进行一一显示,防止出现长时间白屏现象。
由上述可知,本实施例提供的一种信息处理方法,通过当接收到原生页面的显示指令时,生成渲染指令,将渲染指令发送至服务器,并接收服务器通过预设脚本框架对相应的全局配置文件解析后生成的包含指令集的显示参数,对显示参数中的指令集按照接收时间进行渲染,以顺序获取相应的目标信息,将目标信息按照获取时间的先后顺序进行绘制,以得到原生页面并以流线型方式进行显示。以此当接收到原生页面的显示指令时,发送渲染指令至服务器,使得服务器侧根据渲染指令匹配到相应的全局配置文件,并由服务器侧对全局配置文件进行解析后返回显示参数,直接对显示参数进行渲染,生成原生页面,提升了电子设备对原生页面的渲染效率,且省去了渲染引擎,进而节省了存储空间。
本申请实施例提供一种信息处理方法,应用于服务器,包括:
接收电子设备发送的渲染指令;
根据所述渲染指令进行匹配,以得到相应的全局配置文件,并对全局配置文件进行解析,生成显示参数;
将所述显示参数发送至电子设备。
在一种实施方式中,所述渲染指令携带页面标识,该根据所述渲染指令进行匹配,以得到相应的全局配置文件,并对全局配置文件进行解析,生成显示参数的步骤,可以包括:根据所述渲染指令携带的页面标识进行匹配,以得到所述页面标识对应的全局配置文件;通过预设脚本框架对所述全局配置文件进行解析,生成相应的包含指令集的显示参数。
本申请实施例提供一种信息处理方法,如图4所示,该信息处理方法,应用于服务器中,可以包括以下步骤:
在步骤S301中,接收电子设备发送的渲染指令。
其中,该服务器中可以集成渲染引擎,并存储多个快应用相应的全局配置文件,每一全局配置文件对应一个快应用中的所有显示数据,即每一全局配置文件对应一个快应用中 的原生页面,在一实施方式中,每一全局配置文件与原生页面的页面标识关联,即通过页面标识可以找到相应的全局配置文件。
因此,服务器可以接收电子设备发送的渲染指令,将该渲染指令以及该电子设备的国际移动设备识别码(International Mobile Equipment Identity,IMEI)进行绑定存储。
在步骤S302中,根据渲染指令进行匹配,以得到相应的全局配置文件,并对全局配置文件进行解析,生成显示参数。
其中,服务器可以根据渲染指令中的页面标识进行匹配,匹配得到相应的全局配置文件,并通过集成的渲染引擎对全局配置文件进行解析,生成电子设备可以直接读取的显示参数,在一实施方式中,该显示参数中包括生成的控件相应的属性信息,该属性信息包括控件的逻辑和布局,该逻辑为控件的功能逻辑等,该布局为控件的显示位置以及显示效果等等。
在一些实施方式中,该渲染指令携带页面标识,该根据渲染指令进行匹配,以得到相应的全局配置文件,并对全局配置文件进行解析,生成显示参数的步骤,可以包括:
(1)根据该渲染指令携带的页面标识进行匹配,以得到该页面标识对应的全局配置文件;
(2)通过预设脚本框架对该全局配置文件进行解析,生成相应的包含指令集的显示参数。
其中,由于服务器中存储了页面标识与相应的全局配置文件的关联关系,所以服务器可以根据渲染指令携带的页面标识进行匹配,以得到页面标识关联的全局配置文件,并通过服务器中集成的JavaScript脚本语言框架对匹配到的全局配置文件进行解析,生成相应的包含指令集的显示参数,该指令集可以为多个字符串,每一个字符串可以代表一个控件的显示风格以及显示位置。
在步骤S303中,将显示参数发送至电子设备。
其中,在生成显示参数后,服务器会将电子设备可以直接读取的显示参数发送到需要渲染的国际移动设备识别码相应的电子设备中。
由上述可知,本实施例提供的一种信息处理方法,通过接收电子设备发送的渲染指令;根据渲染指令进行匹配,以得到相应的全局配置文件,并对全局配置文件进行解析,生成显示参数;将显示参数发送至电子设备。以此服务器侧根据渲染指令匹配到相应的全局配置文件,并由服务器侧对全局配置文件进行解析后返回显示参数至电子设备,使得电子设备可以直接对显示参数进行渲染,生成原生页面,提升了电子设备对原生页面的渲染效率,且省去了渲染引擎,进而节省了存储空间。
请参阅图5,图5是本申请实施例提供的信息处理方法的时序示意图。
在步骤A中,当电子设备接收到原生页面的显示指令时,生成渲染指令。
例如,当用户在电子设备上首次打开某快应用时,电子设备会接收到原生页面的显示 指令,并相应生成渲染指令。该渲染指令可以携带原生页面相应的页面标识。
在步骤B中,电子设备将渲染指令发送至服务器。
在步骤C中,服务器根据渲染指令进行匹配,以得到相应的全局配置文件,并对全局配置文件进行解析,生成显示参数。
例如,服务器根据渲染指令相应的页面标识进行匹配,以得到相应的全局配置文件包,并通过服务器中集成的JavaScript脚本语言框架进行解析,生成电子设备可以直接读取的显示参数。
在步骤D中,服务器将显示参数发送至电子设备。
在步骤E中,电子设备对显示参数进行解析,以得到原生页面并进行显示。
例如,电子设备在接收到显示参数后,由于显示参数为服务器侧通过JavaScript脚本语言框架对全局配置文件进行解析后生成的显示参数,该解析后的显示参数可以直接通过电子设备的处理器执行,生成多个按照一定规律布局的控件,进而得到并显示原生页面。
为便于更好的实施本申请实施例提供的信息处理方法,本申请实施例还提供一种基于上述信息处理方法的装置。其中名词的含义与上述信息处理方法中相同,具体实现细节可以参考方法实施例中的说明。
本申请实施例提供一种信息处理装置,应用于电子设备,包括:
生成单元,用于当接收到原生页面的显示指令时,生成渲染指令;
收发单元,用于将所述渲染指令发送至服务器,并接收所述服务器根据所述渲染指令匹配的全局配置文件进行解析后返回的显示参数;
显示单元,用于对所述显示参数进行渲染,以得到原生页面并进行显示。
在一种实施方式中,所述渲染指令携带页面标识,在一种实施方式中,将所述渲染指令发送至服务器,以使得所述服务器根据所述渲染指令携带的页面标识匹配到相应的全局配置文件并进行解析;接收服务器对相应的全局配置文件解析后的生成的显示参数。
在一种实施方式中,所述收发单元,具体还用于:将所述渲染指令发送至服务器,以使得所述服务器根据所述渲染指令携带的页面标识匹配到相应的全局配置文件并进行解析;接收服务器通过预设脚本框架对相应的全局配置文件解析后生成的包含指令集的显示参数。
在一种实施方式中,所述显示单元,具体用于:对所述显示参数中的指令集按照预设规则进行遍历渲染,以顺序获取相应的目标信息;将目标信息按照获取时间的先后顺序进行绘制,以得到原生页面并进行显示。
在一种实施方式中,所述显示单元,具体还用于:对所述显示参数进行渲染,生成多个按照显示位置排布具有相应显示效果的控件,且每一控件包含特定的功能逻辑,以形成原生页面并进行展示。
请参阅图6,图6为本申请实施例提供的信息处理装置的模块示意图。其中该信息处理装置主要集成在电子设备中。具体而言,该信息处理装置300,包括:生成单元31、收 发单元32以及显示单元33。
生成单元31,用于当接收到原生页面显示指令,生成渲染指令。
其中,该原生页面指通过快应用打开的应用原生页面,该快应用指用户无需下载安装应用,即点即用,实时享受原生应用的性能体验,可以很大程度的节省电子设备的存储空间,起到对电子设备“瘦身”的效果。
进一步的,当用户执行首次打开原生页面的操作时,生成单元31生成并接收原生页面的显示指令,对应生成渲染指令,该渲染指令包含需要生成的原生页面的页面标识。
收发单元32,用于将该渲染指令发送至服务器,并接收该服务器根据该渲染指令匹配的全局配置文件进行解析后返回的显示参数。
其中,本申请实施例在生成渲染指令后,收发单元32将渲染指令发送至服务器中,使得服务器根据渲染指令指示的页面标识匹配到相应的全局配置文件,通过服务器中的渲染引擎对全局配置文件进行解析,生成电子设备可以直接读取的显示参数,在一实施方式中,该显示参数中包括生成的控件相应的属性信息,该属性信息包括控件的逻辑和布局,该逻辑为控件的功能逻辑等,该布局为控件的显示位置以及显示效果等等。
进一步的,当服务器生成了显示参数后,会将显示参数返回到电子设备上由收发单元32进行接收。
在一些实施方式中,该渲染指令携带页面标识,该收发单元32,具体用于将该渲染指令发送至服务器,以使得该服务器根据该渲染指令携带的页面标识匹配到相应的全局配置文件并进行解析;接收服务器对相应的全局配置文件解析后的生成的显示参数。
在一些实施方式中,该收发单元32,具体还用于将该渲染指令发送至服务器,以使得该服务器根据该渲染指令携带的页面标识匹配到相应的全局配置文件并进行解析;接收服务器通过预设脚本框架对相应的全局配置文件解析后生成的包含指令集的显示参数。
显示单元33,用于对该显示参数进行解析,以得到原生页面并进行显示。
其中,在收发单元32接收到显示参数后,由于显示参数为服务器侧通过渲染引擎进行解析后生成的显示参数,该解析后的显示参数可以直接通过显示单元33执行,生成多个按照一定规律布局的控件,进而得到并显示原生页面。
在一实施方式中,由于显示参数中包括生成的控件相应的属性信息,属性信息包括控件的逻辑和布局,该逻辑为控件的功能逻辑等,该布局为控件的显示位置以及显示效果等等。所以,在显示单元33对显示参数进行渲染后,会生成多个按照显示位置排布具有相应显示效果的控件,且每一控件包含特定的功能逻辑,该显示的多个控件组合形成原生页面并进行显示。
在一些实施方式中,该显示单元33,具体用于对该显示参数中的指令集按照预设规则进行遍历渲染,以顺序获取相应的目标信息;将目标信息按照获取时间的先后顺序进行绘制,以得到原生页面并进行显示。
由上述可知,本实施例提供的一种信息处理装置,通过当生成单元31接收到原生页面的显示指令时,生成渲染指令;收发单元32将渲染指令发送至服务器,并接收服务器根据渲染指令匹配的全局配置文件进行解析后返回的显示参数;显示单元33对显示参数进行渲染,以得到原生页面并进行显示。以此当接收到原生页面的显示指令时,发送渲染指令至服务器,使得服务器侧根据渲染指令匹配到相应的全局配置文件,并由服务器侧对全局配置文件进行解析后返回显示参数,直接对显示参数进行渲染,生成原生页面,提升了电子设备对原生页面的渲染效率,且省去了渲染引擎,进而节省了存储空间。
本申请实施例提供一种信息处理装置,应用于服务器,包括:
接收单元,用于接收电子设备发送的渲染指令;
匹配单元,用于根据所述渲染指令进行匹配,以得到相应的全局配置文件,并对全局配置文件进行解析,生成显示参数;
发送单元,用于将所述显示参数发送至电子设备。
请参阅图7,图7为本申请实施例提供的信息处理装置的模块示意图。其中该信息处理装置主要集成在服务器中。具体而言,该信息处理装置400,包括:接收单元41、匹配单元42以及发送单元43。
接收单元41,用于接收电子设备发送的渲染指令。
其中,该服务器中可以集成渲染引擎,并存储多个快应用相应的全局配置文件,每一全局配置文件对应一个快应用中的所有显示数据,即每一全局配置文件对应一个快应用中的原生页面,在一实施方式中,每一全局配置文件与原生页面的页面标识关联,即通过页面标识可以找到相应的全局配置文件。
因此,接收单元41可以接收电子设备发送的渲染指令,将该渲染指令以及该电子设备的国际移动设备识别码进行绑定存储。
匹配单元42,用于根据该渲染指令进行匹配,以得到相应的全局配置文件,并对全局配置文件进行解析,生成显示参数。
其中,匹配单元42可以根据渲染指令中的页面标识进行匹配,匹配得到相应的全局配置文件,并通过集成的渲染引擎对全局配置文件进行解析,生成电子设备可以直接读取的显示参数,在一实施方式中,该显示参数中包括生成的控件相应的属性信息,该属性信息包括控件的逻辑和布局,该逻辑为控件的功能逻辑等,该布局为控件的显示位置以及显示效果等等。
在一些实施方式中,该匹配单元42,具体用于根据该渲染指令携带的页面标识进行匹配,以得到该页面标识对应的全局配置文件;通过预设脚本框架对该全局配置文件进行解析,生成相应的包含指令集的显示参数。
发送单元43,用于将该显示参数发送至电子设备。
其中,在生成显示参数后,发送单元43会将电子设备可以直接读取的显示参数发送到 需要渲染的国际移动设备识别码相应的电子设备中。
由上述可知,本实施例提供的一种信息处理装置,通过接收单元41接收电子设备发送的渲染指令;匹配单元42根据渲染指令进行匹配,以得到相应的全局配置文件,并对全局配置文件进行解析,生成显示参数;发送单元43将显示参数发送至电子设备。以此服务器侧根据渲染指令匹配到相应的全局配置文件,并由服务器侧对全局配置文件进行解析后返回显示参数至电子设备,使得电子设备可以直接对显示参数进行渲染,生成原生页面,提升了电子设备对原生页面的渲染效率,且省去了渲染引擎,进而节省了存储空间。
本申请实施例还提供一种电子设备。请参阅图8,电子设备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可以具体执行以下步骤:
对所述显示参数进行渲染,生成多个按照显示位置排布具有相应显示效果的控件,且每一控件包含特定的功能逻辑,以形成原生页面并进行展示。
由上述可知,本申请实施例的电子设备,通过当接收到原生页面的显示指令时,生成渲染指令;将渲染指令发送至服务器,并接收服务器根据渲染指令匹配的全局配置文件进行解析后返回的显示参数;对显示参数进行渲染,以得到原生页面并进行显示。以此当接收到原生页面的显示指令时,发送渲染指令至服务器,使得服务器侧根据渲染指令匹配到相应的全局配置文件,并由服务器侧对全局配置文件进行解析后返回显示参数,直接对显示参数进行渲染,生成原生页面,提升了电子设备对原生页面的渲染效率,且省去了渲染引擎,进而节省了存储空间。
请一并参阅图9,在某些实施方式中,电子设备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逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
尽管图9中未示出,电子设备500还可以包括摄像头、蓝牙模块等,在此不再赘述。
请参阅图10,图10为本申请实施例提供的信息处理系统的模块示意图。
具体而言,该信息处理系统600,包括:电子设备61以及服务器62。
该电子设备61,用于当接收到原生页面显示指令,生成渲染指令;将该渲染指令发送至服务器,并接收该服务器根据该渲染指令匹配的全局配置文件进行解析后返回的显示参数;对该显示参数进行解析,以得到原生页面并进行显示。
该服务器62,用于接收电子设备发送的渲染指令;根据该渲染指令进行匹配,以得到相应的全局配置文件,并对全局配置文件进行解析,生成显示参数;将该显示参数发送至电子设备。
由于该电子设备61以及服务器62可以执行发明实施例所提供的任一种信息处理方法,其具体实现过程详见上述信息处理方法实施例,此处不再赘述。
本申请实施例还提供一种存储介质,该存储介质存储有计算机程序,当该计算机程序在计算机上运行时,使得该计算机执行上述任一实施例中的信息处理方法,比如:当接收到原生页面显示指令,生成渲染指令;将该渲染指令发送至服务器,并接收该服务器根据该渲染指令匹配的全局配置文件进行解析后返回的显示参数;对该显示参数进行解析,以得到原生页面并进行显示。或者接收电子设备发送的渲染指令;根据该渲染指令进行匹配,以得到相应的全局配置文件,并对全局配置文件进行解析,生成显示参数;将该显示参数发送至电子设备。
在本申请实施例中,存储介质可以是磁碟、光盘、只读存储器(Read Only Memory,ROM,)、或者随机存取记忆体(Random Access Memory,RAM)等。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
需要说明的是,对本申请实施例的信息处理方法而言,本领域普通测试人员可以理解实现本申请实施例的信息处理方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,该计算机程序可存储于一计算机可读取存储介质中,如存储在电子设备的存储器中,并被该电子设备内的至少一个处理器执行,在执行过程中可包括如信息处理方法的实施例的流程。其中,该的存储介质可为磁碟、光盘、只读存储器、随机存取记忆体等。
对本申请实施例的信息处理装置而言,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。该集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中,该存储介质譬如为只读存储器,磁盘或光盘等。
以上对本申请实施例所提供的一种信息处理方法、装置、存储介质、电子设备及系统进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书 内容不应理解为对本申请的限制。

Claims (20)

  1. 一种信息处理方法,应用于电子设备,其中,包括:
    当接收到原生页面的显示指令时,生成渲染指令;
    将所述渲染指令发送至服务器,并接收所述服务器根据所述渲染指令匹配的全局配置文件进行解析后返回的显示参数;
    对所述显示参数进行渲染,以得到原生页面并进行显示。
  2. 如权利要求1所述的信息处理方法,其中,所述渲染指令携带页面标识,将所述渲染指令发送至服务器,并接收所述服务器根据所述渲染指令匹配的全局配置文件进行解析后返回的显示参数的步骤,包括:
    将所述渲染指令发送至服务器,以使得所述服务器根据所述渲染指令携带的页面标识匹配到相应的全局配置文件并进行解析;
    接收服务器对相应的全局配置文件解析后的生成的显示参数。
  3. 如权利要求2所述的信息处理方法,其中,所述接收服务器对相应的配置文件解析后的生成的显示参数的步骤,包括:
    接收服务器通过预设脚本框架对相应的全局配置文件解析后生成的包含指令集的显示参数。
  4. 如权利要求3所述的信息处理方法,其中,所述对所述显示参数进行渲染,以得到原生页面并进行显示的步骤,包括:
    对所述显示参数中的指令集按照预设规则进行遍历渲染,以顺序获取相应的目标信息;
    将目标信息按照获取时间的先后顺序进行绘制,以得到原生页面并进行显示。
  5. 如权利要求1所述的信息处理方法,其中,所述对所述显示参数进行渲染,以得到原生页面并进行显示的步骤,包括:
    对所述显示参数进行渲染,生成多个按照显示位置排布具有相应显示效果的控件,且每一控件包含特定的功能逻辑,以形成原生页面并进行展示。
  6. 一种信息处理方法,应用于服务器,其中,包括:
    接收电子设备发送的渲染指令;
    根据所述渲染指令进行匹配,以得到相应的全局配置文件,并对全局配置文件进行解析,生成显示参数;
    将所述显示参数发送至电子设备。
  7. 如权利要求6所述的信息处理方法,其中,所述渲染指令携带页面标识,根据所述渲染指令进行匹配,以得到相应的全局配置文件,并对全局配置文件进行解析,生成显示参数的步骤,包括:
    根据所述渲染指令携带的页面标识进行匹配,以得到所述页面标识对应的全局配置文件;
    通过预设脚本框架对所述全局配置文件进行解析,生成相应的包含指令集的显示参数。
  8. 一种信息处理装置,应用于电子设备,其中,包括:
    生成单元,用于当接收到原生页面的显示指令时,生成渲染指令;
    收发单元,用于将所述渲染指令发送至服务器,并接收所述服务器根据所述渲染指令匹配的全局配置文件进行解析后返回的显示参数;
    显示单元,用于对所述显示参数进行渲染,以得到原生页面并进行显示。
  9. 如权利要求8所述的信息处理装置,其中,所述渲染指令携带页面标识,所述收发单元,具体用于:
    将所述渲染指令发送至服务器,以使得所述服务器根据所述渲染指令携带的页面标识匹配到相应的全局配置文件并进行解析;
    接收服务器对相应的全局配置文件解析后的生成的显示参数。
  10. 如权利要求9所述的信息处理装置,其中,所述收发单元,具体还用于:
    将所述渲染指令发送至服务器,以使得所述服务器根据所述渲染指令携带的页面标识匹配到相应的全局配置文件并进行解析;
    接收服务器通过预设脚本框架对相应的全局配置文件解析后生成的包含指令集的显示参数。
  11. 如权利要求10所述的信息处理装置,其中,所述显示单元,具体用于:
    对所述显示参数中的指令集按照预设规则进行遍历渲染,以顺序获取相应的目标信息;
    将目标信息按照获取时间的先后顺序进行绘制,以得到原生页面并进行显示。
  12. 如权利要求8所述的信息处理装置,其中,所述显示单元,具体还用于:
    对所述显示参数进行渲染,生成多个按照显示位置排布具有相应显示效果的控件,且每一控件包含特定的功能逻辑,以形成原生页面并进行展示。
  13. 一种信息处理装置,应用于服务器,其中,包括:
    接收单元,用于接收电子设备发送的渲染指令;
    匹配单元,用于根据所述渲染指令进行匹配,以得到相应的全局配置文件,并对全局配置文件进行解析,生成显示参数;
    发送单元,用于将所述显示参数发送至电子设备。
  14. 一种存储介质,其上存储有计算机程序,其中,当所述计算机程序在计算机上运行时,使得所述计算机执行如权利要求1所述的信息处理方法或如权利要求6所述的信息处理方法。
  15. 一种电子设备,包括存储器和处理器,其中,所述处理器通过调用所述存储器中存储的计算机程序,用于执行步骤:
    当接收到原生页面的显示指令时,生成渲染指令;
    将所述渲染指令发送至服务器,并接收所述服务器根据所述渲染指令匹配的全局配置 文件进行解析后返回的显示参数;
    对所述显示参数进行渲染,以得到原生页面并进行显示。
  16. 如权利要求15所述的电子设备,其中,所述处理器通过调用所述计算机程序,用于执行步骤:
    将所述渲染指令发送至服务器,以使得所述服务器根据所述渲染指令携带的页面标识匹配到相应的全局配置文件并进行解析;
    接收服务器对相应的全局配置文件解析后的生成的显示参数。
  17. 如权利要求16所述的电子设备,其中,所述处理器通过调用所述计算机程序,用于执行步骤:
    接收服务器通过预设脚本框架对相应的全局配置文件解析后生成的包含指令集的显示参数。
  18. 如权利要求17所述的电子设备,其中,所述处理器通过调用所述计算机程序,用于执行步骤:
    对所述显示参数中的指令集按照预设规则进行遍历渲染,以顺序获取相应的目标信息;
    将目标信息按照获取时间的先后顺序进行绘制,以得到原生页面并进行显示。
  19. 如权利要求15所述的电子设备,其中,所述处理器通过调用所述计算机程序,用于执行步骤:
    对所述显示参数进行渲染,生成多个按照显示位置排布具有相应显示效果的控件,且每一控件包含特定的功能逻辑,以形成原生页面并进行展示。
  20. 一种信息处理系统,包括电子设备和服务器,其中,所述电子设备包括权利要求8所述的信息处理装置;所述服务器包括权利要求13所述的信息处理装置。
PCT/CN2019/095134 2018-09-29 2019-07-08 信息处理方法、装置、存储介质、电子设备及系统 Ceased WO2020063019A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP19867154.7A EP3855312A4 (en) 2018-09-29 2019-07-08 INFORMATION PROCESSING PROCESS, DEVICE, INFORMATION MEDIA, ELECTRONIC DEVICE AND SYSTEM
US17/213,596 US20210216700A1 (en) 2018-09-29 2021-03-26 Information Processing Method and System

Applications Claiming Priority (2)

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

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/213,596 Continuation US20210216700A1 (en) 2018-09-29 2021-03-26 Information Processing Method and System

Publications (1)

Publication Number Publication Date
WO2020063019A1 true WO2020063019A1 (zh) 2020-04-02

Family

ID=65348150

Family Applications (1)

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

Country Status (4)

Country Link
US (1) US20210216700A1 (zh)
EP (1) EP3855312A4 (zh)
CN (1) CN109358936B (zh)
WO (1) WO2020063019A1 (zh)

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109358936B (zh) * 2018-09-29 2021-09-10 Oppo广东移动通信有限公司 信息处理方法、装置、存储介质、电子设备及系统
WO2020168568A1 (zh) * 2019-02-22 2020-08-27 深圳市欢太科技有限公司 数据处理方法、装置、电子设备及可读存储介质
CN111861854A (zh) * 2019-04-30 2020-10-30 华为技术有限公司 用于图形渲染的方法及装置
CN110109728A (zh) * 2019-05-07 2019-08-09 安徽省渠道网络股份有限公司 信息处理装置、信息处理方法以及存储介质
CN110262867B (zh) * 2019-06-20 2023-02-10 广州小鹏汽车科技有限公司 一种基于车载系统的远程控制方法和装置
CN110443880B (zh) * 2019-08-08 2023-05-16 Oppo广东移动通信有限公司 图像渲染方法、装置、存储介质及电子设备
CN110471701B (zh) * 2019-08-12 2021-09-10 Oppo广东移动通信有限公司 图像渲染的方法、装置、存储介质及电子设备
CN110717248A (zh) * 2019-09-11 2020-01-21 武汉光庭信息技术股份有限公司 自动驾驶仿真场景的生成方法及系统、服务器及介质
CN111193878B (zh) * 2020-01-03 2022-04-22 北京字节跳动网络技术有限公司 一种多媒体文本信息处理方法、装置、介质和电子设备
CN113938750A (zh) * 2020-06-29 2022-01-14 阿里巴巴集团控股有限公司 视频处理方法、装置、电子设备和存储介质
CN112015408A (zh) * 2020-07-08 2020-12-01 广州乐摇摇信息科技有限公司 组件渲染方法、装置、存储介质及电子装置
CN113961278B (zh) * 2020-07-20 2024-07-05 华为技术有限公司 一种页面显示方法及相关设备
CN112163174B (zh) * 2020-09-29 2024-01-09 广州博冠信息科技有限公司 消息的显示方法、装置、存储介质及计算机设备
CN112230923B (zh) * 2020-11-05 2024-11-19 Oppo广东移动通信有限公司 用户界面渲染方法、用户界面渲染装置及服务器
CN112540820A (zh) * 2020-12-09 2021-03-23 北京奇艺世纪科技有限公司 一种用户界面的更新方法、装置及电子设备
KR102686643B1 (ko) * 2020-12-25 2024-07-22 베이징 바이두 넷컴 사이언스 앤 테크놀로지 코., 엘티디. 애플릿 페이지 렌더링 방법, 장치, 전자 설비 및 저장 매체
CN112882707B (zh) * 2021-03-09 2024-02-09 成都新希望金融信息有限公司 一种渲染方法、装置、存储介质及电子设备
CN113051015B (zh) * 2021-03-30 2024-01-09 北京达佳互联信息技术有限公司 页面渲染方法、装置、电子设备及存储介质
CN115942016B (zh) * 2021-08-27 2025-11-11 上海博泰悦臻网络技术服务有限公司 信息处理方法及相关产品
CN113703875B (zh) * 2021-09-09 2024-08-16 京东科技控股股份有限公司 瀑布流渲染方法、装置、设备及服务器
CN114115908B (zh) * 2021-12-03 2025-07-04 北京百度网讯科技有限公司 一种指令集生成、程序解析方法装置、设备以及存储介质
CN114327733B (zh) * 2021-12-31 2024-06-18 中科可控信息产业有限公司 开机启动交互界面的动态更新方法、装置、设备及介质
CN114489620B (zh) * 2022-01-27 2026-02-17 京东方科技集团股份有限公司 页面配置方法、页面配置系统、电子设备和可读存储介质
CN114567623B (zh) * 2022-02-20 2023-09-08 中国银联股份有限公司 一种页面显示方法及装置
CN115544333B (zh) * 2022-10-21 2025-12-02 北京安信天行科技有限公司 一种数据展示方法、系统及电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060262915A1 (en) * 2005-05-19 2006-11-23 Metreos Corporation Proxy for application server
CN101771681A (zh) * 2008-12-30 2010-07-07 北大方正集团有限公司 一种页面显示控制方法、服务器及系统
CN103761317A (zh) * 2014-01-27 2014-04-30 北京京东尚科信息技术有限公司 一种多线程异步渲染系统及方法
CN108228305A (zh) * 2018-02-02 2018-06-29 广东欧珀移动通信有限公司 应用页面的显示方法、装置、存储介质及电子设备
CN109358936A (zh) * 2018-09-29 2019-02-19 Oppo广东移动通信有限公司 信息处理方法、装置、存储介质、电子设备及系统

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7730157B2 (en) * 2005-02-03 2010-06-01 The Trustees Of Columbia University In The City Of New York Methods, media, and systems for displaying information on a thin-client in communication with a network
CN100476820C (zh) * 2006-02-27 2009-04-08 株式会社日立制作所 在用户终端设备上生成用户界面的入口服务器和方法
US8103865B2 (en) * 2007-08-01 2012-01-24 Phunware, Inc. Server method and system for rendering content on a wireless device
CN102930592B (zh) * 2012-11-16 2015-09-23 厦门光束信息科技有限公司 基于统一资源定位符解析的云计算渲染方法
CN103714172A (zh) * 2013-12-31 2014-04-09 华为技术有限公司 页面处理方法、装置及系统
US11449560B2 (en) * 2015-07-27 2022-09-20 WP Company, LLC Native integration of arbitrary data sources
CN105302580B (zh) * 2015-11-28 2019-04-23 武汉斗鱼网络科技有限公司 一种通过gpu纹理共享实现快速获取游戏图像的方法和系统
CN108334608B (zh) * 2018-02-02 2020-08-04 Oppo广东移动通信有限公司 应用页面的链接生成方法、装置、存储介质及电子设备
CN108363792B (zh) * 2018-02-13 2020-09-22 Oppo广东移动通信有限公司 应用页面的链接生成方法、装置、存储介质及电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060262915A1 (en) * 2005-05-19 2006-11-23 Metreos Corporation Proxy for application server
CN101771681A (zh) * 2008-12-30 2010-07-07 北大方正集团有限公司 一种页面显示控制方法、服务器及系统
CN103761317A (zh) * 2014-01-27 2014-04-30 北京京东尚科信息技术有限公司 一种多线程异步渲染系统及方法
CN108228305A (zh) * 2018-02-02 2018-06-29 广东欧珀移动通信有限公司 应用页面的显示方法、装置、存储介质及电子设备
CN109358936A (zh) * 2018-09-29 2019-02-19 Oppo广东移动通信有限公司 信息处理方法、装置、存储介质、电子设备及系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3855312A4 *

Also Published As

Publication number Publication date
US20210216700A1 (en) 2021-07-15
EP3855312A1 (en) 2021-07-28
EP3855312A4 (en) 2021-11-24
CN109358936A (zh) 2019-02-19
CN109358936B (zh) 2021-09-10

Similar Documents

Publication Publication Date Title
WO2020063019A1 (zh) 信息处理方法、装置、存储介质、电子设备及系统
US11706331B2 (en) Information processing method and apparatus, storage medium, and electronic device
CN109445784B (zh) 结构数据的处理方法、装置、存储介质及电子设备
KR102436987B1 (ko) 웹페이지 콘텐츠를 추출하기 위한 방법 및 단말 장치
CN112257135B (zh) 一种基于多线程的模型加载方法、装置、存储介质及终端
CN110795195A (zh) 一种网页渲染方法、装置、电子设备及存储介质
CN111580879A (zh) 小程序的运行方法、装置、电子设备及计算机存储介质
CN108549568B (zh) 应用入口处理方法、装置、存储介质及电子设备
CN108228305A (zh) 应用页面的显示方法、装置、存储介质及电子设备
CN105740263B (zh) 页面显示方法和装置
CN108319708B (zh) 视频播放方法、装置、存储介质及电子设备
WO2020042769A1 (zh) 图像信息的传输方法、装置、存储介质及电子设备
CN108287918A (zh) 基于应用页面的音乐播放方法、装置、存储介质和电子设备
CN110908629A (zh) 电子设备操作方法、装置、电子设备和存储介质
CN110471701A (zh) 图像渲染的方法、装置、存储介质及电子设备
CN113761871A (zh) 富文本渲染方法、装置、电子设备以及存储介质
WO2025077566A1 (zh) 应用页面的动态换肤方法、装置、设备、存储介质及产品
WO2025031100A1 (zh) 媒体信息素材处理方法、装置、电子设备以及存储介质
CN111078325B (zh) 应用程序运行方法、装置、电子设备及存储介质
US20240103928A1 (en) Information processing method and apparatus for animation resource, device, medium and product
CN111046265A (zh) 卡片数据显示方法、装置、设备及存储介质
CN108563476B (zh) 应用程序运行方法、装置、存储介质及电子设备
CN103702221B (zh) 在线视频的内容发布呈现系统及发布呈现方法
CN114020309B (zh) 通过webpack构建多页面应用的方法、装置及存储介质
CN114786069B (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: 19867154

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: 2019867154

Country of ref document: EP

Effective date: 20210419