WO2018177032A1 - 处理响应数据的方法、设备、客户端设备和电子设备 - Google Patents

处理响应数据的方法、设备、客户端设备和电子设备 Download PDF

Info

Publication number
WO2018177032A1
WO2018177032A1 PCT/CN2018/075762 CN2018075762W WO2018177032A1 WO 2018177032 A1 WO2018177032 A1 WO 2018177032A1 CN 2018075762 W CN2018075762 W CN 2018075762W WO 2018177032 A1 WO2018177032 A1 WO 2018177032A1
Authority
WO
WIPO (PCT)
Prior art keywords
field
response data
configuration file
data
data object
Prior art date
Application number
PCT/CN2018/075762
Other languages
English (en)
French (fr)
Inventor
胡鹏
Original Assignee
广州优视网络科技有限公司
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 广州优视网络科技有限公司 filed Critical 广州优视网络科技有限公司
Publication of WO2018177032A1 publication Critical patent/WO2018177032A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • G06F16/84Mapping; Conversion
    • G06F16/86Mapping to a database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application

Definitions

  • the present disclosure relates to the processing of business data and, more particularly, to a method of processing response data, a device for processing response data, a client device, and an electronic device.
  • Various services are set in an electronic device such as a terminal device or a server.
  • the service may request data from other electronic devices and obtain returned response data.
  • HTTP HyperText Transfer Protocol
  • HTTP is a transport protocol used to transfer hypertext from a web server to a local browser.
  • the data returned from the server can be JSON (JavaScript Object Notation) data.
  • JSON is a lightweight data exchange format.
  • the returned JSON data can be stored in a table in a MySQL database.
  • MySQL is a relational database management system. Often, different services require different interface requests and return response data in different formats.
  • the response data returned may sometimes not directly meet the requirements of the business requester.
  • a service interface is typically set separately for each service to process the returned response data.
  • a method of processing response data comprising: receiving response data; dynamically generating a service data object based on a class specified in a configuration file, wherein the configuration file includes a number in response data a correspondence between a field and a second field in the business data object to be generated, the content in the business data object is generated based on the configuration file when processing; obtaining the service value of the first field from the response data; The configuration file sets the business value of the first field to the corresponding second field in the business data object.
  • the response data is response data from a server
  • the method further comprises: requesting response data from the server using an HTTP request.
  • the response data is a JSON data string.
  • the business data object is a Java business data object.
  • the configuration file is an XML file.
  • the response data includes a service value of the first field and the first field.
  • the configuration file further includes format information of the second field
  • the method further includes: converting the service value based on format information of the second field.
  • the method further includes: returning the set business data object to the service caller for use by the service caller.
  • the traffic data object may be generated using a reflection mechanism based on a class specified in the configuration file; and/or the traffic value of the first field is set to a corresponding one of the service data objects using a reflection mechanism based on the configuration file.
  • the configuration file also includes a common configuration item for recording general configuration information.
  • a public configuration item is designated as a parent configuration item if a public configuration item is required.
  • the method further comprises loading the configuration file using a processing object of the singleton mode.
  • the method further includes parsing the configuration file, and storing configuration information corresponding to different requests into the corresponding configuration object.
  • the method further comprises storing the configuration information in the form of a key value pair.
  • an apparatus for processing response data comprising: means for receiving response data; means for dynamically generating a service data object based on a class specified in a configuration file, wherein the configuration The file further includes a correspondence between the first field in the response data and a second field in the business data object to be generated, the content in the business data object is generated based on the configuration file when processing; and the response data is used Means for obtaining a traffic value of the first field; and means for setting a traffic value of the first field to a corresponding second field in the service data object based on the configuration file.
  • a client device comprising an apparatus for processing response data according to an embodiment, or a method designed to perform processing response data according to an embodiment Operation.
  • an electronic device comprising a memory and a processor, wherein the memory is for storing instructions that, when the electronic device is in operation, control the processor to execute according to an embodiment The operation in the method of processing response data.
  • a computer readable storage medium having stored thereon computer program instructions, wherein a method of processing response data is implemented when the computer program instructions are executed by a processor.
  • the efficiency of processing response data can be improved.
  • FIG. 1 is a schematic flow chart of a method of processing response data according to an embodiment of the present disclosure.
  • FIG. 2 is a schematic block diagram of a client device in accordance with one embodiment of the present disclosure.
  • FIG. 3 is a schematic block diagram of an electronic device in accordance with one embodiment of the present disclosure.
  • FIG. 4 is a schematic diagram of an example of a network system in accordance with an embodiment of the present disclosure.
  • FIG. 5 is a schematic flow chart of an example of processing response data in accordance with one embodiment of the present disclosure.
  • the response data of the server is obtained by using different HTTP requests, and the server returns different service response data to the client after receiving the request, and the client parses the response data and stores the data in the database. , available to the application system.
  • FIG. 1 shows a schematic flow chart of a method for processing response data in accordance with one embodiment of the present disclosure.
  • the response data is received in step S1100.
  • the response data can be requested from the server using an HTTP request.
  • the response data may be response data from a server.
  • the response data is a JSON data string.
  • a business request includes a unique request ID (service identifier) and multiple business parameters (eg, start date, end date, etc.).
  • the server performs business processing according to different service identifiers and returns response data.
  • the response data returned is, for example, a JSON string.
  • the following is an example of a JSON string, which includes: the field name of the response (eg "IMEI_APP_DOWN_UP_BTN_CLICK_PV”), the field type (eg "yyyy-MM-dd HH:mm”), the business value (eg "9667”), and so on.
  • step S1200 a business data object is dynamically generated based on the class specified in the configuration file.
  • a reflection mechanism can be used to generate business data objects.
  • the reflection mechanism is a self-describing and self-control mechanism.
  • the configuration file further includes a correspondence between the first field in the response data and the second field in the business data object to be generated.
  • the configuration file is, for example, an XML file.
  • the first field refers to the field in the response data.
  • the response data can include one or more first fields.
  • the second field refers to the field to be mapped to the service requester, which can be one or more second fields.
  • the XML file may include a first field (name) in the response data, a field type in the response data, a second field (name) in the object to be generated, a format between the first field and the second field Conversion information, etc.
  • the client can use the object-oriented program to perform response data parsing, and can map the returned data field name, return type, object field name, and object conversion format into an XML format.
  • the general configuration information can be extracted into a separate configuration item (common configuration item), and when the common configuration information (that is, the public configuration item) needs to be used, the public configuration item can be designated as the parent. Configure the project.
  • the first field "IMEI_APP_DOWN_UP_BTN_CLICK_PV” is mapped to the second field "rawImeiAppDownUpBtnClickPv" in the generated object.
  • the general configuration information can be extracted and placed into a separate public configuration item.
  • you need to use a public configuration project you can specify that public configuration project as the parent configuration project.
  • the content in the business data object is generated based on a configuration file when processing.
  • the features of a programming language that allows objects to be dynamically built while the program is running are utilized.
  • the class specified in the configuration file is a class written in this programming language that allows objects to be generated dynamically.
  • the programming language can be the Java language.
  • the class is a Java class.
  • the business data object is a Java business data object.
  • the configuration file can be loaded using the singleton mode (that is, a class has only one object instance).
  • the XML configuration file can be parsed, the configuration information of each different request is stored in each configuration object, and all the configuration information is loaded into the collection for storage by using a data structure of a key-value pair (KEY/VALUE).
  • KEY/VALUE key-value pair
  • step S1300 the traffic value of the first field is obtained from the response data.
  • the response data includes a traffic value of the first field and the first field.
  • the configuration file further includes format information of the second field. Transmitting the traffic value based on format information of the second field. This can meet the requirements of the business requester.
  • the traffic value of the first field is set to a corresponding second field in the service data object based on the configuration file.
  • the returned JSON data (including the response data field name, field type, conversion format, etc.) is calculated according to the corresponding configuration information, and the final return value is calculated.
  • the final business data object is returned to the business caller. For its use.
  • the parsed business data objects can be reprocessed or processed, stored in a database, and used by the system.
  • the programming language can be utilized to dynamically generate the characteristics of the object to process the response data.
  • the configuration file can be utilized to meet the data request requirements of different services. This can improve efficiency.
  • the interface needs to call the interface to return the processed data, it is not necessary to repeatedly write a similar parsing code for each interface.
  • the configuration file can be modified to adapt to the change. It can make the program more concise and versatile, and improve the flexibility of the system.
  • the apparatus includes: means for receiving response data; means for dynamically generating a service data object based on a configuration file using a class specified in a configuration file, wherein the configuration file further includes a first one of the response data a correspondence between the field and a second field in the business data object to be generated, the content in the business data object is generated based on the configuration file when processing; and the means for obtaining the business value of the first field from the response data And means for setting a business value of the first field to a corresponding second field in the business data object based on the configuration file.
  • the device for processing response data may be a component in an electronic device such as a server or a terminal device or a component in a client device such as application software in the electronic device.
  • FIG. 2 shows a schematic block diagram of a client device in accordance with one embodiment of the present disclosure.
  • client device 2000 includes device 2010 for processing response data as described above.
  • the client device is, for example, an application in an electronic device.
  • a client device is also provided that is designed to perform the operations in the method described in FIG.
  • the electronic device is, for example, a notebook computer, a smart phone, a tablet computer, a server, or the like.
  • FIG. 3 shows a schematic block diagram of an electronic device in accordance with one embodiment of the present disclosure.
  • the electronic device 3000 can include a processor 3010, a memory 3020, an interface device 3030, a communication device 3040, a display device 3050, an input device 3060, a speaker 3070, a microphone 3080, and the like.
  • the processor 3010 can be, for example, a central processing unit CPU, a microprocessor MCU, or the like.
  • the memory 3020 includes, for example, a ROM (Read Only Memory), a RAM (Random Access Memory), a nonvolatile memory such as a hard disk, and the like.
  • the interface device 3030 includes, for example, a USB interface, a headphone jack, and the like.
  • the communication device 3040 can perform wired or wireless communication, for example.
  • the display device 3050 is, for example, a liquid crystal display, a touch display, or the like.
  • Input device 3060 can include, for example, a touch screen, a keyboard, and the like. The user can input/output voice information through the speaker 3070 and the microphone 3080.
  • the memory 3020 is for storing instructions for controlling the processor 3010 to operate to perform the operations in the method for processing response data previously described with reference to FIG.
  • the present invention may relate only to some of the devices therein, such as processor 3010 and storage device 3020, and the like.
  • a technician can design an instruction in accordance with the teachings disclosed herein. How the instructions control the processor for operation is well known in the art and will not be described in detail herein.
  • FIG. 4 is a schematic diagram of an example of a network system to which an embodiment in accordance with the present disclosure may be applied.
  • FIG. 5 is a schematic diagram of an example in accordance with an embodiment of the present disclosure.
  • the terminal devices 4020, 4030 and the servers 4040, 4050 are connected to each other through a network.
  • the technical solution according to the above embodiment can be implemented in any of the terminal devices 4020, 4030 and the servers 4040, 4050.
  • FIG. 5 an example according to an embodiment of the present disclosure is illustrated by taking the terminal device 4020 and the server 4040 as an example.
  • the service request direction server in the terminal device 4020 requests data.
  • the terminal device 4020 can include a plurality of service requesters.
  • the terminal device 4020 transmits an HTTP data request to the server 4040.
  • the server 4040 processes the request and generates HTTP response data after receiving the HTTP data request.
  • the HTTP response data is, for example, JSON data.
  • the server 4040 transmits the HTTP response data to the terminal device 4020.
  • the terminal device 4020 After receiving the response data, the terminal device 4020 can process the data using the singleton mode.
  • the terminal device 4020 loads an XML configuration file.
  • the terminal device 4020 can determine the configuration information to be loaded based on the interface identifier in the configuration file.
  • the terminal device 4020 dynamically generates a service data object, such as a JAVA service data object, based on the configuration information in the configuration file, using the class specified in the configuration file.
  • a service data object such as a JAVA service data object
  • the content in the business data object is not preset or pre-compiled and generated.
  • the content in the business data object is generated based on a configuration file while processing.
  • the configuration file includes a correspondence between fields in the response data and fields in the business data object to be generated.
  • the configuration file may be data in the form of a keyword/value pair. This way, when using configuration information, configuration information can be quickly obtained from the configuration file.
  • the set business data objects can be reprocessed or processed for storage in a database for use by the system.
  • the application can be made more concise and more versatile.
  • the invention can be an apparatus, method and/or computer program product.
  • the computer program product can comprise a computer readable storage medium having computer readable program instructions embodied thereon for causing a processor to implement various aspects of the present invention.
  • the computer readable storage medium can be a tangible device that can hold and store the instructions used by the instruction execution device.
  • the computer readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
  • Non-exhaustive list of computer readable storage media include: portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM) Or flash memory), static random access memory (SRAM), portable compact disk read only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical encoding device, for example, with instructions stored thereon A raised structure in the hole card or groove, and any suitable combination of the above.
  • a computer readable storage medium as used herein is not to be interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (eg, a light pulse through a fiber optic cable), or through a wire The electrical signal transmitted.
  • the computer readable program instructions described herein can be downloaded from a computer readable storage medium to various computing/processing devices or downloaded to an external computer or external storage device over a network, such as the Internet, a local area network, a wide area network, and/or a wireless network.
  • the network may include copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and/or edge servers.
  • a network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium in each computing/processing device .
  • Computer program instructions for performing the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine related instructions, microcode, firmware instructions, state setting data, or in one or more programming languages.
  • Source code or object code written in any combination including object oriented programming languages such as Smalltalk, C++, etc., as well as conventional procedural programming languages such as the "C" language or similar programming languages.
  • the computer readable program instructions can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer, partly on the remote computer, or entirely on the remote computer or server. carried out.
  • the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or wide area network (WAN), or can be connected to an external computer (eg, using an Internet service provider to access the Internet) connection).
  • the customized electronic circuit such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), can be customized by utilizing state information of computer readable program instructions.
  • Computer readable program instructions are executed to implement various aspects of the present disclosure.
  • the computer readable program instructions can be provided to a general purpose computer, a special purpose computer, or a processor of other programmable data processing apparatus to produce a machine such that when executed by a processor of a computer or other programmable data processing apparatus Means for implementing the functions/acts specified in one or more of the blocks of the flowcharts and/or block diagrams.
  • the computer readable program instructions can also be stored in a computer readable storage medium that causes the computer, programmable data processing device, and/or other device to operate in a particular manner, such that the computer readable medium storing the instructions includes An article of manufacture that includes instructions for implementing various aspects of the functions/acts recited in one or more of the flowcharts.
  • the computer readable program instructions can also be loaded onto a computer, other programmable data processing device, or other device to perform a series of operational steps on a computer, other programmable data processing device or other device to produce a computer-implemented process.
  • instructions executed on a computer, other programmable data processing apparatus, or other device implement the functions/acts recited in one or more of the flowcharts and/or block diagrams.
  • each block in the flowchart or block diagram can represent a module, a program segment, or a portion of an instruction that includes one or more components for implementing the specified logical functions.
  • Executable instructions can also occur in a different order than those illustrated in the drawings. For example, two consecutive blocks may be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented in a dedicated hardware-based system that performs the specified function or function. Or it can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are equivalent.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种处理响应数据的方法、设备、客户端设备和电子设备。该方法包括:接收响应数据(S1100);基于配置文件中指定的类,动态生成业务数据对象(S1200),其中,所述配置文件包括响应数据中的第一字段与要生成的业务数据对象中的第二字段的对应关系,所述业务数据对象中的内容是在进行处理时基于配置文件生成的;从响应数据获取第一字段的业务值(S1300);以及基于配置文件将第一字段的业务值设置到业务数据对象中的相应第二字段(S1400)。根据该方法,可以提高处理响应数据的效率。

Description

处理响应数据的方法、设备、客户端设备和电子设备 技术领域
本公开涉及业务数据的处理,以及更具体来说,涉及一种处理响应数据的方法、处理响应数据的设备、客户端设备和电子设备。
背景技术
在诸如终端设备或服务器的电子设备中设置有各种业务。所述业务可以向其他电子设备请求数据并获取返回的响应数据。
例如,可以根据不同业务,使用HTTP(HyperText Transfer Protocol,超文本传输协议)请求访问服务器,以获取数据。HTTP是用于从网页服务器传输超文本到本地浏览器的传输协议。从服务器返回来的数据可以是JSON(JavaScript Object Notation)数据。JSON是一种轻量级的数据交换格式。例如,可以将所返回的JSON数据存储在MySQL数据库的表中。MySQL是一种关系型数据库管理系统。通常,不同的业务需要不同接口请求,并返回不同格式的响应数据。
所返回的响应数据有时可能不能直接满足业务请求方的要求。在现有技术中,通常针对每种业务单独设置业务接口,以处理返回的响应数据。
此外,当返回的响应数据发生变化时,可能需要重新设计、编写和生成整个程序。
因此,需要提供一种新的技术方案,针对上述现有技术中的至少一个技术问题进行改进。
发明内容
本公开的一个目的是提供一种处理响应数据的新技术方案。
根据本公开的第一方面,提供了一种处理响应数据的方法,包括:接收响应数据;基于配置文件中指定的类,动态生成业务数据对象,其中, 所述配置文件包括响应数据中的第一字段与要生成的业务数据对象中的第二字段的对应关系,所述业务数据对象中的内容是在进行处理时基于配置文件生成的;从响应数据获取第一字段的业务值;以及基于配置文件将第一字段的业务值设置到业务数据对象中的相应第二字段。
可选地,所述响应数据是来自服务器的响应数据,以及所述方法还包括:使用HTTP请求向服务器请求响应数据。
可选地,所述响应数据是JSON数据字符串。
可选地,所述业务数据对象是Java业务数据对象。
可选地,所述配置文件是XML文件。
可选地,所述响应数据包括第一字段和第一字段的业务值。
可选地,所述配置文件还包括第二字段的格式信息,以及所述方法还包括:基于所述第二字段的格式信息转换所述业务值。
可选地,所述方法还包括:将设置后的业务数据对象返回给业务调用方,以供其使用。
可选地,可以基于配置文件中指定的类,使用反射机制生成业务数据对象;并且/或者基于配置文件,使用反射机制,将所述第一字段的业务值设置到业务数据对象中的相应第二字段。
可选地,配置文件还包括用于记录通用配置信息的公共配置项目。在需要使用公共配置项目的情况下,公共配置项目被指定为父配置项目。
可选地,该方法还包括使用单例模式的处理对象加载所述配置文件。
可选地,该方法还包括对所述配置文件进行解析,将对应于不同请求的配置信息分别存入相应的配置对象中。
可选地,该方法还包括使用键值对形式存储所述配置信息。
根据本公开的第二方面,提供了一种处理响应数据的设备,包括:用于接收响应数据的装置;用于基于配置文件中指定的类动态生成业务数据对象的装置,其中,所述配置文件还包括响应数据中的第一字段与要生成的业务数据对象中的第二字段的对应关系,所述业务数据对象中的内容是在进行处理时基于配置文件生成的;用于从响应数据获取第一字段的业务值的装置;以及用于基于配置文件将第一字段的业务值设置到业务数据对象中的相应第二字段的装置。
根据本公开的第三方面,提供了一种客户端设备,包括根据实施例所述的用于处理响应数据的设备,或者被设计成用于执行根据实施例所述的处理响应数据的方法中的操作。
根据本公开的第四方面,提供了一种电子设备,包括存储器和处理器,其中,所述存储器用于存储指令,所述指令在所述电子设备运行时控制所述处理器执行根据实施例所述的处理响应数据的方法中的操作。
根据本公开的第五方面,提供了一种计算机可读存储介质,其上存储有计算机程序指令,其特征在于,当所述计算机程序指令被处理器执行时实现处理响应数据的方法。
根据本公开的一个实施例,可以提高处理响应数据的效率。
通过以下参照附图对本公开的示例性实施例的详细描述,本公开的其它特征及其优点将会变得清楚。
附图说明
被结合在说明书中并构成说明书的一部分的附图示出了本公开的实施例,并且连同其说明一起用于解释本公开的原理。
图1是根据本公开的一个实施例的处理响应数据的方法的示意性流程图。
图2是根据本公开的一个实施例的客户端设备的示意性框图。
图3是根据本公开的一个实施例的电子设备的示意性框图。
图4是根据本公开一实施例的网络系统的示例的示意图。
图5是根据本公开的一个实施例的处理响应数据的示例的示意性流程图。
具体实施方式
现在将参照附图来详细描述本公开的各种示例性实施例。应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本发明的范围。
以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作 为对本发明及其应用或使用的任何限制。
对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为说明书的一部分。
在这里示出和讨论的所有例子中,任何具体值应被解释为仅仅是示例性的,而不是作为限制。因此,示例性实施例的其它例子可以具有不同的值。
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。
下面,参照附图描述根据本公开的各个实施例和例子。
<方法>
在本公开的技术方案中,根据业务需求,使用不同的HTTP请求获取服务器的响应数据,服务器收到请求后返回不同的业务响应数据给客户端,客户端对响应数据进行解析后存入数据库中,提供给应用系统使用。
图1示出了根据本公开的一个实施例的用于处理响应数据的方法的示意性流程图。
如图1所示,在步骤S1100中接收响应数据。可以使用HTTP请求向服务器请求响应数据。所述响应数据可以是来自服务器的响应数据。例如,所述响应数据是JSON数据字符串。
例如,一个业务请求包括:唯一的请求ID(业务标识)和多个业务参数(例如,开始日期、结束日期等)。服务器端根据不同的业务标识进行业务处理并返回响应数据。所返回的响应数据例如是JSON字符串式。下面是JSON字符串的例子,它包括:响应的字段名(例如“IMEI_APP_DOWN_UP_BTN_CLICK_PV”)、字段类型(例如“yyyy-MM-dd HH:mm”)、业务值(例如“9667”)等。
Figure PCTCN2018075762-appb-000001
Figure PCTCN2018075762-appb-000002
在步骤S1200,基于配置文件中指定的类,动态生成业务数据对象。
例如,可以使用反射机制生成业务数据对象。如本领域所公知,反射机制是一种自描述和自控制的机制。
这里,所述配置文件还包括响应数据中的第一字段与要生成的业务数 据对象中的第二字段的对应关系。所述配置文件例如是XML文件。这里,第一字段指的是响应数据中的字段。响应数据可以包括一个或多个第一字段。第二字段指的是要映射给业务请求方的字段,它可以是一个或多个第二字段。
例如,所述XML文件可以包括响应数据中的第一字段(名)、响应数据中的字段类型、所要生成的对象中的第二字段(名)、第一字段和第二字段之间的格式转换信息等。客户端可以使用面向对象程序进行响应数据解析,可以将返回的数据字段名、返回类型、对象字段名、对象转换格式等进行XML格式的映射。为了缩小配置信息,可以将通用的配置信息抽出来放入一个单独的配置项目(公共配置项目)中,当需要使用通用的配置信息(即公共配置项目)时,可以将公共配置项目指定为父配置项目。下面是XML文件的一个例子:
Figure PCTCN2018075762-appb-000003
Figure PCTCN2018075762-appb-000004
Figure PCTCN2018075762-appb-000005
例如,第一字段“IMEI_APP_DOWN_UP_BTN_CLICK_PV”被映射到所生成的对象中的第二字段“rawImeiAppDownUpBtnClickPv”。这里,还可以基于接口标识(例如,id=“106651”),为不同的接口选择配置文件中的不同配置信息。
此外,为了简化配置信息,可以将通用的配置信息抽出来放入到单独的公共配置项目中。例如,上面id=“root”的项目是公共配置项目。当需要使用公共配置项目时,可以指定该公共配置项目作为父配置项目。
与现有技术不同,所述业务数据对象中的内容是在进行处理时基于配置文件生成的。在这里,利用了允许在程序运行时动态构建对象的编程语言的特性。例如,配置文件中所指定的类是这种编程语言所编写的类,它允许动态生成对象。例如,所述编程语言可以是Java语言。在这种情况下,所述类是Java类。所述业务数据对象是Java业务数据对象。
在客户端处理服务器返回数据时,可以使用单例模式(即一个类只有一个对象实例)的处理对象加载配置文件。可以对XML配置文件进行解析,将每个不同请求的配置信息存入每个配置对象中,并使用键值对(KEY/VALUE)形式的数据结构将所有的配置信息加载到集合中进行存储,以便不同的接口响应数据解析时,快速获取配置信息。
在步骤S1300,从响应数据获取第一字段的业务值。这里,所述响应数据包括第一字段和第一字段的业务值。
例如,所述配置文件还包括第二字段的格式信息。基于所述第二字段的格式信息转换所述业务值。这样可以满足业务请求方的要求。
在步骤S1400,基于配置文件将第一字段的业务值设置到业务数据对象中的相应第二字段。
例如,将返回的JSON数据(包括响应数据字段名、字段类型、转换格式等)根据对应的配置信息,计算出最终的返回值。使用反射机制将计算后的返回值设置到业务数据对象的第二字段中。经过所有的遍历处理后,将最终的业务数据对象返回给业务调用方。以供其使用。可以将经过解析的业务数据对象,进行再加工或业务处理后,存储到数据库中,供应用系统使用。
在上述实施例中,利用了编程语言可以动态产生对象的特性来处理响 应数据。这样,可以利用配置文件满足不同业务的数据请求需求。这可以提高效率。在需要调用接口返回处理后的数据时,不需要每一个接口再去重复写类似的解析代码,当接口或数据发生变化时,可以简单地通过修改配置文件来适应这种变化。可以使程序更简洁和通用,提高了系统的灵活性。
<设备>
本领域技术人员应当理解,在电子技术领域中,可以通过软件、硬件以及软件和硬件结合的方式,将上述方法体现在产品中本领域技术人员很容易基于上面公开的方法,产生一种用于处理响应数据的设备,所述设备包括用于执行根据所述实施例的用于处理响应数据的方法中的各个操作。例如,所述设备包括:用于接收响应数据的装置;用于基于配置文件利用利用配置文件中指定的类动态生成业务数据对象的装置,其中,所述配置文件还包括响应数据中的第一字段与要生成的业务数据对象中的第二字段的对应关系,所述业务数据对象中的内容是在进行处理时基于配置文件生成的;用于从响应数据获取第一字段的业务值的装置;以及用于基于配置文件将第一字段的业务值设置到业务数据对象中的相应第二字段的装置。
例如,所述用于处理响应数据的设备可以是诸如服务器或终端设备的电子设备中的部件或者所述电子设备中的诸如应用软件的客户端设备中的部件。
<客户端设备>
图2示出了根据本公开的一个实施例的客户端设备的示意性框图。
如图2所示,客户端设备2000包括上面所述的用于处理响应数据的设备2010。
所述客户端设备例如是电子设备中的应用。
另外,对于电子信息技术领域的普通技术人员来说,更为直接和清楚地描述一个技术方案的方式是描述该方案中的各个操作。在知道所要执行的操作的情况下,本领域技术人员可以直接设计出期望的产品。从这个方面来说,在这个实施例中,还提供了一种客户端设备,它被设计成用于执行图1所述的方法中的操作。
本领域技术人员公知的是,随着诸如大规模集成电路技术的电子信息技术的发展和软件硬件化的趋势,要明确划分计算机系统软、硬件界限已 经显得比较困难了。因为,任何操作可以软件来实现,也可以由应当来实现。任何指令的执行可以由硬件完成,同样也可以由软件来完成。对于某一机器功能采用硬件实现方案还是软件实现方案,取决于价格、速度、可靠性、存储容量、变更周期等非技术性因素。对于技术人员来说,软件实现方式和硬件实现方式是等同的。技术人员可以根据需要选择软件或硬件来实现上述方案。因此,这里不对具体的软件或硬件进行限制。
<电子设备>
可以在电子设备中实现根据本公开的各个实施例。所述电子设备例如是笔记本电脑、智能手机、平板电脑、服务器等。
图3示出了根据本公开的一个实施例的电子设备的示意性框图。
如图3所示,电子设备3000可以包括处理器3010、存储器3020、接口装置3030、通信装置3040、显示装置3050、输入装置3060、扬声器3070、麦克风3080,等等。
处理器3010例如可以是中央处理器CPU、微处理器MCU等。存储器3020例如包括ROM(只读存储器)、RAM(随机存取存储器)、诸如硬盘的非易失性存储器等。接口装置3030例如包括USB接口、耳机接口等。
通信装置3040例如能够进行有有线或无线通信。
显示装置3050例如是液晶显示屏、触摸显示屏等。输入装置3060例如可以包括触摸屏、键盘等。用户可以通过扬声器3070和麦克风3080输入/输出语音信息。
图3所示的电子设备仅是解释性的,并且决不是为了要限制本发明、其应用或用途。
在这个实施例中,所述存储器3020用于存储指令,所述指令用于控制所述处理器3010进行操作以执行前面参照图1所述的用于处理响应数据的方法中的操作。本领域技术人员应当理解,尽管在图3中示出了多个装置,但是,本发明可以仅涉及其中的部分装置,例如,处理器3010和存储装置3020等。技术人员可以根据本公开所公开方案设计指令。指令如何控制处理器进行操作,这是本领域公知,故在此不再详细描述。
<例子>
图4是可以应用根据本公开的实施例的网络系统的例子的示意图。图5是根据本公开的一个实施例的例子的示意图。
如图4所示,终端设备4020、4030和服务器4040、4050通过网络相互连接。可以在终端设备4020、4030和服务器4040、4050中的任何一个中实现根据上述实施例的技术方案。
在图5中,以终端设备4020和服务器4040为例说明了根据本公开的实施例的一个例子。
如图5所示,终端设备4020中的业务请求方向服务器请求数据。终端设备4020可以包含多个业务请求方。终端设备4020向服务器4040发送HTTP数据请求。
服务器4040在接收到HTTP数据请求后处理该请求并生成HTTP响应数据。所述HTTP响应数据例如是JSON数据。
服务器4040将HTTP响应数据发送给终端设备4020。
终端设备4020在接收到响应数据后,可以使用单例模式处理所述数据。
例如,终端设备4020加载XML配置文件。终端设备4020可以基于配置文件中的接口标识确定所要加载的配置信息。终端设备4020基于配置文件中的配置信息,使用配置文件中所指定的类,动态生成业务数据对象,例如,JAVA业务数据对象。这里,业务数据对象中的内容不是预先设置的或者预先编译生成的。所述业务数据对象中的内容是在进行处理时基于配置文件生成的。
接着,根据所述配置文件,将响应数据中的业务值设置到业务数据对象中的相应字段中。所述配置文件包括响应数据中的字段与要生成的业务数据对象中的字段的对应关系。
这里,配置文件可以是关键词/值对的形式的数据。这样,当使用配置信息时,可以快速地从配置文件获得配置信息。
可以对所设置的业务数据对象进行再加工或处理,以存储到数据库中,供应用系统使用。
这里,通过使用配置文件,在调用接口以获得返回的响应数据时,不 需要针对每一个接口重复编写类似的解析代码。这可以提高效率。可选地,可以使应用程序更简洁,通用性更高。
本发明可以是设备、方法和/或计算机程序产品。计算机程序产品可以包括计算机可读存储介质,其上载有用于使处理器实现本发明的各个方面的计算机可读程序指令。
计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是――但不限于――电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、静态随机存取存储器(SRAM)、便携式压缩盘只读存储器(CD-ROM)、数字多功能盘(DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。这里所使用的计算机可读存储介质不被解释为瞬时信号本身,诸如无线电波或者其他自由传播的电磁波、通过波导或其他传输媒介传播的电磁波(例如,通过光纤电缆的光脉冲)、或者通过电线传输的电信号。
这里所描述的计算机可读程序指令可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。
用于执行本公开操作的计算机程序指令可以是汇编指令、指令集架构(ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,所述编程语言包括面向对象的编程语言—诸如Smalltalk、C++等,以及常规的过程式编程语言—诸如“C”语言或类似的编程语言。计算机可读程序指令 可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络—包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、现场可编程门阵列(FPGA)或可编程逻辑阵列(PLA),该电子电路可以执行计算机可读程序指令,从而实现本公开的各个方面。
这里参照根据本公开实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本公开的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。
这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。
也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。
附图中的流程图和框图显示了根据本公开的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,所述 模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。对于本领域技术人员来说公知的是,通过硬件方式实现、通过软件方式实现以及通过软件和硬件结合的方式实现都是等价的。
以上已经描述了本公开的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。本发明的范围由所附权利要求来限定。

Claims (18)

  1. 一种处理响应数据的方法,包括:
    接收响应数据;
    基于配置文件中指定的类,动态生成业务数据对象,其中,所述配置文件包括响应数据中的第一字段与要生成的业务数据对象中的第二字段的对应关系,所述业务数据对象中的内容是在进行数据处理时基于配置文件生成的;
    从所述响应数据获取第一字段的业务值;以及
    基于所述配置文件,将所述第一字段的业务值设置到业务数据对象中的相应第二字段。
  2. 根据权利要求1所述的方法,其中,所述响应数据是来自服务器的响应数据,所述方法还包括:使用HTTP请求向服务器请求响应数据。
  3. 根据权利要求1所述的方法,其中,所述响应数据是JSON数据字符串。
  4. 根据权利要求1所述的方法,其中,所述业务数据对象是Java业务数据对象。
  5. 根据权利要求1所述的方法,其中,所述配置文件是XML文件。
  6. 根据权利要求1所述的方法,其中,所述响应数据包括第一字段和第一字段的业务值。
  7. 根据权利要求1所述的方法,其中,所述配置文件还包括第二字段的格式信息,所述方法还包括:基于所述第二字段的格式信息转换所述业务值。
  8. 根据权利要求1所述的方法,还包括:将设置后的业务数据对象返回给业务调用方,以供其使用。
  9. 根据权利要求1所述的方法,其中,
    基于配置文件中指定的类,使用反射机制生成业务数据对象;并且/或者
    基于所述配置文件,使用反射机制,将所述第一字段的业务值设置到业务数据对象中的相应第二字段。
  10. 根据权利要求1所述的方法,其中,所述配置文件包括用于记录通用配置信息的公共配置项目。
  11. 根据权利要求10所述的方法,其中,
    在需要使用所述公共配置项目的情况下,所述公共配置项目被指定为父配置项目。
  12. 根据权利要求1所述的方法,还包括:
    使用单例模式的处理对象加载所述配置文件。
  13. 根据权利要求12所述的方法,还包括:
    对所述配置文件进行解析,将对应于不同请求的配置信息分别存入相应的配置对象中。
  14. 根据权利要求13所述的方法,还包括:
    使用键值对形式存储所述配置信息。
  15. 一种处理响应数据的设备,包括:
    用于接收响应数据的装置;
    用于基于配置文件中指定的类动态生成业务数据对象的装置,其中,所述配置文件包括响应数据中的第一字段与要生成的业务数据对象中的第二字段的对应关系,所述业务数据对象中的内容是在进行数据处理时基于配置文件生成的;
    用于从所述响应数据获取第一字段的业务值的装置;以及
    用于基于配置文件将所述第一字段的业务值设置到业务数据对象中 的相应第二字段的装置。
  16. 一种客户端设备,包括根据权利要求15所述的用于处理响应数据的设备,或者被设计成用于执行根据权利要求1-14中的任何一项所述的处理响应数据的方法中的操作。
  17. 一种电子设备,包括存储器和处理器,其中,所述存储器用于存储指令,所述指令在所述电子设备运行时控制所述处理器执行根据权利要求1-14中的任何一项所述的处理响应数据的方法中的操作。
  18. 一种计算机可读存储介质,其上存储有计算机程序指令,其特征在于,当所述计算机程序指令被处理器执行时实现如权利要求1-14中任一项所述的方法。
PCT/CN2018/075762 2017-03-29 2018-02-08 处理响应数据的方法、设备、客户端设备和电子设备 WO2018177032A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710196658.8 2017-03-29
CN201710196658.8A CN107168993A (zh) 2017-03-29 2017-03-29 处理响应数据的方法、设备、客户端设备和电子设备

Publications (1)

Publication Number Publication Date
WO2018177032A1 true WO2018177032A1 (zh) 2018-10-04

Family

ID=59849903

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/075762 WO2018177032A1 (zh) 2017-03-29 2018-02-08 处理响应数据的方法、设备、客户端设备和电子设备

Country Status (2)

Country Link
CN (1) CN107168993A (zh)
WO (1) WO2018177032A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343181A (zh) * 2020-02-26 2020-06-26 中国邮政储蓄银行股份有限公司 报文的处理方法,系统以及数据池和计算机可读存储介质
US11480429B2 (en) * 2018-12-19 2022-10-25 Airbus Helicopters Method of detecting proximity to the ground of a side arrangement on an aircraft, and an aircraft

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107168993A (zh) * 2017-03-29 2017-09-15 广州优视网络科技有限公司 处理响应数据的方法、设备、客户端设备和电子设备
CN110968368B (zh) * 2018-09-30 2022-05-13 武汉斗鱼网络科技有限公司 一种直播数据的处理方法及其相关设备
CN111404979B (zh) * 2019-09-29 2023-04-07 杭州海康威视系统技术有限公司 业务请求处理的方法、装置及计算机可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294652A (zh) * 2012-02-27 2013-09-11 腾讯科技(深圳)有限公司 一种数据转换方法及系统
CN103853535A (zh) * 2012-11-30 2014-06-11 国际商业机器公司 修改中间件的方法和装置
CN104683386A (zh) * 2013-11-26 2015-06-03 腾讯科技(深圳)有限公司 可定制响应的桩服务实现方法及装置
CN107168993A (zh) * 2017-03-29 2017-09-15 广州优视网络科技有限公司 处理响应数据的方法、设备、客户端设备和电子设备

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7546582B2 (en) * 2005-03-30 2009-06-09 International Business Machines Corporation Managing dynamic configuration data for producer components in a computer infrastructure
CN102393817A (zh) * 2011-06-28 2012-03-28 浪潮集团山东通用软件有限公司 一种通过配置在运行时动态创建对象实例方法
CN102968307B (zh) * 2012-11-29 2016-02-24 中国传媒大学 一种基于java的web开发中间件
CN103093001A (zh) * 2013-02-27 2013-05-08 人民搜索网络股份公司 微博数据解析方法及装置
CN104516908A (zh) * 2013-09-29 2015-04-15 华为技术有限公司 一种数据库访问方法和装置
CN103699386A (zh) * 2013-12-27 2014-04-02 云南电网公司玉溪供电局 一种基于osgi的通用数据转换引擎系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294652A (zh) * 2012-02-27 2013-09-11 腾讯科技(深圳)有限公司 一种数据转换方法及系统
CN103853535A (zh) * 2012-11-30 2014-06-11 国际商业机器公司 修改中间件的方法和装置
CN104683386A (zh) * 2013-11-26 2015-06-03 腾讯科技(深圳)有限公司 可定制响应的桩服务实现方法及装置
CN107168993A (zh) * 2017-03-29 2017-09-15 广州优视网络科技有限公司 处理响应数据的方法、设备、客户端设备和电子设备

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11480429B2 (en) * 2018-12-19 2022-10-25 Airbus Helicopters Method of detecting proximity to the ground of a side arrangement on an aircraft, and an aircraft
CN111343181A (zh) * 2020-02-26 2020-06-26 中国邮政储蓄银行股份有限公司 报文的处理方法,系统以及数据池和计算机可读存储介质
CN111343181B (zh) * 2020-02-26 2022-08-09 中国邮政储蓄银行股份有限公司 报文的处理方法,系统以及数据池和计算机可读存储介质

Also Published As

Publication number Publication date
CN107168993A (zh) 2017-09-15

Similar Documents

Publication Publication Date Title
WO2018177032A1 (zh) 处理响应数据的方法、设备、客户端设备和电子设备
CN110019350B (zh) 基于配置信息的数据查询方法和装置
US9363195B2 (en) Configuring cloud resources
US11182451B2 (en) Automated generation of web API descriptions from usage data
WO2017206626A1 (zh) 网络资源访问设备、混合设备及方法
US20170185609A1 (en) Universal adaptor for rapid development of web-based data visualizations
US10284671B2 (en) Dynamic bundling of web components for asynchronous delivery
JP2021103506A (ja) 情報を生成するための方法及び装置
CN110334109A (zh) 关系式数据库数据查询方法、系统、介质和电子设备
CN110795649A (zh) 目标页面展示方法、装置、系统及电子设备
CN113505302A (zh) 支持动态获取埋点数据的方法、装置、系统及电子设备
CN110109983B (zh) 一种操作Redis数据库的方法和装置
US20200073979A1 (en) Multiple parameter based composite rule wise data validation in cloud hybrid model
US9251267B2 (en) Generating behavior information for a link
US10944824B2 (en) Method and apparatus for processing media type in rest software architecture
US8612451B1 (en) Searching for data structures
US11366613B2 (en) Method and apparatus for writing data
CN110554892A (zh) 信息获取方法和装置
CN113779018A (zh) 一种数据处理方法和装置
US11316913B2 (en) Sending and requesting feed
CN111338621A (zh) 显示数据方法、装置、电子设备和计算机可读介质
US10516767B2 (en) Unifying realtime and static data for presenting over a web service
US9519632B1 (en) Web document annotation service
WO2023066063A1 (en) Replaying a webpage based on virtual document object model
CN111695059A (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: 18775924

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 22/01/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18775924

Country of ref document: EP

Kind code of ref document: A1