Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data processing method and apparatus

A data processing and data technology, applied in the computer field, can solve the problem of unable to display data structure test data and so on

Active Publication Date: 2017-12-29
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a data processing method and device to at least solve the technical problem of being unable to display test data with complex data structures

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data processing method and apparatus
  • Data processing method and apparatus
  • Data processing method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0022] In an embodiment of the present invention, an embodiment of the above data processing method is provided. As an optional implementation, the data processing method can be applied, but not limited to, such as figure 1 In the shown application environment, after the server 106 obtains the data hierarchy relationship of the test data to be processed from the terminal 102 through the network 104, it will construct a nested statement for the test data according to the data hierarchy relationship, wherein the nested statement is used for control the synthesis of the target data to be displayed, the target data includes an input interface, the input interface is used to input test result parameters that match the test data, and the nested statement includes one or more nested structures for nesting, and then The above nested statement is stored in a preset database, so that when the terminal 102 requests to display the target data, the nested statement can be used to obtain th...

Embodiment 2

[0084] According to an embodiment of the present invention, a data processing device for implementing the above data processing method is also provided, such as Figure 8 As shown, the device includes:

[0085] 1) The first acquiring unit 802 is configured to acquire the data hierarchy relationship of the test data to be processed, wherein in the data hierarchy relationship, the test data of adjacent levels have an association relationship;

[0086] 2) The construction unit 804 is used to construct a nested statement for the test data according to the data hierarchy relationship, wherein the nested statement is used to control and synthesize the target data to be displayed, and the target data includes an input interface, which is used for inputting and testing data Matching test result parameters, the nested statement includes one or more nested structures for nesting;

[0087] 3) The storage unit 806 is configured to store the nested statement in a preset database.

[0088...

Embodiment 3

[0140] The application environment of the embodiment of the present invention may be, but not limited to, refer to the application environment in Embodiment 1, which will not be repeated in this embodiment. The embodiment of the present invention provides an optional specific application example for implementing the above data processing method.

[0141]As an optional embodiment, assuming that the nested structure takes MateQuestion as an example, the test data is transformed into a test statement including QuestionDetail according to the data hierarchy relationship, wherein the QuestionDetail is related to the level identifier of the data hierarchy relationship. Here MateQuestion exists as a parent question structure, including title, material, and a list of subquestions. MateQuestion and QuestionDetail can be continuously nested and called, so as to realize the continuous extension and expansion of the hierarchy, so as to achieve the purpose of improving data scalability. A...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a data processing method and apparatus. The method comprises the steps of obtaining a data hierarchy relationship of to-be-processed test data, wherein the test data of the adjacent hierarchies in the hierarchy relationship has a correlation relationship; according to the data hierarchy relationship, constructing a nested statement for the test data, wherein the nested statement is used for controlling synthesis of to-be-displayed target data, the target data comprises an input interface, the input interface is used for inputting a test result parameter matched with the test data, and the nested statement comprises one or more nested structures used for nesting; and storing the nested statement in a preset database. The technical problem of incapability of displaying the test data with relatively complex data structure is solved.

Description

technical field [0001] The present invention relates to the field of computers, in particular to a data processing method and device. Background technique [0002] Nowadays, in order to enable users to learn online anytime and anywhere without being restricted by time and region, more and more online education platforms have begun to receive great attention. Among them, at present, many online education platforms, in addition to providing a large number of online courses, also provide a lot of supporting electronic test questions or electronic simulation test papers to consolidate the knowledge learned in the classroom. [0003] However, the question types of existing electronic test questions are often questions with a relatively simple question structure, such as multiple-choice questions, multiple-choice questions, fill-in-the-blank questions, and judgment questions, etc. It cannot be displayed normally on the online education platform. [0004] For the above problems, ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/2272
Inventor 江军刘洋衡阵
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products